WineHQ
Category: Main Games Sports Games VDrift 25-08-2006 SVN TRUNK

VDrift

No Screenshot

Submit Screenshot

A self compiled (on linux with mingw) version of the trunk with one code patch (added at the end).

This patch was required otherwise it wont start.

Index: src/settings.cpp
===================================================================
--- src/settings.cpp (revision 1228)
+++ src/settings.cpp (working copy)
@@ -37,7 +37,7 @@
}
else
{
- settings_path = home_directory + settings_directory;
+ settings_path = home_directory + settings_directory;
}
#endif

@@ -113,7 +113,7 @@

if( !FileExists( dconfig_filename.c_str() ) )
{
-
+
cout << dconfig_filename;
cout << " not found.";
switch( chance )
@@ -206,7 +206,7 @@
subdirs.push_back( "logs/" );
//subdirs.push_back( "carsettings/" );
subdirs.push_back( "userdata/" );
-
+
// Check for settings dir and create if non-existant (I think that a directory cannot be opened as a file)
if(!FileExists(settings_path + "/VDrift.config"))
{
@@ -263,7 +263,7 @@
option_id << "option-" << setfill( '0' ) << setw( 2 ) << i;
string opt_id = option_id.str();
string cat, name, title, desc, type;
-
+
if( !options_configfile.GetParam( opt_id + ".cat", cat ) )
{
cout << "Error: " << opt_id << " is missing its category." << endl;
@@ -662,7 +662,7 @@
vector vals;
vector opts;
opt_full_name = int_opt_iter->GetCat() + "." + int_opt_iter->GetName();
-
+
if( opt_full_name == "display.width" )
{
vector modes = valid_display_modes.GetModes();@@ -715,16 +715,15 @@

void SETTINGS::GetValidVideoModes()
{
- int videoFlags = SDL_OPENGL; /* Enable OpenGL in SDL */
- videoFlags |= SDL_GL_DOUBLEBUFFER; /* Enable double buffering */
- videoFlags |= SDL_HWPALETTE; /* Store the palette in hardware */
- videoFlags |= SDL_RESIZABLE; /* Enable window resizing */
- videoFlags |= SDL_HWSURFACE|SDL_ANYFORMAT|SDL_FULLSCREEN;
+ /*int videoFlags = SDL_OPENGL; /
+ videoFlags |= SDL_GL_DOUBLEBUFFER;
+ videoFlags |= SDL_HWPALETTE;
+ videoFlags |= SDL_RESIZABLE;
+ videoFlags |= SDL_HWSURFACE|SDL_ANYFORMAT|SDL_FULLSCREEN;

- /* Get available fullscreen/hardware modes */
SDL_Rect **tmodes = SDL_ListModes( NULL, SDL_HWSURFACE | SDL_FULLSCREEN );
vector modes;
-
+
// put all dynamic determined modes into the vector
for( int i = 0; tmodes[i] != NULL; i++ )
{
@@ -742,8 +741,8 @@
if( !vmf.eof() )
{
// put all valid modes from the videomodes file into the vector
- if( SDL_VideoModeOK( w,h, 16, videoFlags ) )
- {
+ if( SDL_VideoModeOK( w,h, 16, videoFlags ) )
+ {
SDL_Rect r = {0, 0, w, h};
modes.push_back( r );
}
@@ -753,12 +752,13 @@
// sort vector by (w*h)
sort( modes.begin(), modes.end(), gt_rect );
// make items in vector unique
- vector::iterator new_end = unique( modes.begin(), modes.end(), eq_rect );
+ vector::iterator new_end = unique( modes.begin(), modes.end(), eq_rect );*/
vector unique_modes;
- for( vector::iterator mi = modes.begin(); mi != new_end; ++mi )
+ /*for( vector::iterator mi = modes.begin(); mi != new_end; ++mi )
{
unique_modes.push_back( *mi );
- }
+ }*/
+
valid_display_modes.SetModes( unique_modes );
}

Application Details:

Version: 25-08-2006 SVN TRUNK
License:
URL: http://vdrift.net/
Votes: 0
Latest Rating: Garbage
Latest Wine Version Tested: 0.9.19.

Maintainers: About Maintainership

No maintainers. Volunteer today!

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

Running with winedbg

Configuring keys (required to drive with keys)

Practicing on road atlanta (other tracks wont work but thats because of the version and not wine specific)

sound

What does not

Running with wine (crashes at startup)

Options->video (crash)

Workarounds

What was not tested

Many things

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentUbuntu 6.06 "Dapper" i386 (+ variants like Kubuntu)Aug 25 20060.9.19.Yes No Garbagean anonymous user 

Known Bugs

Bug # Description Status Resolution Other apps affected

Show all bugs

Comments

Comments Disabled

Comments for this application have been disabled because there are no maintainers.
Back