Forums

Full Version: Can't open game?!?!?!?!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
The latest version for Windows includes OpenAL. Download VDrift 2006-07-08 and use that.
Yea....I have the latest version,but I have the same problem as Drago,I start the game,all the stuff starts loading,and then i see the vDrift beginning screen,and then it closes automatically...T.T....and I really want to play this game...T.T...
sorry for the UP but I'm facing the same problem with the SVN version while the 10-06 version work fine
both compiled exactly the same way
I wonder if it's not a problem with SDL_GFX, since the 10-06 version does not require this lib

any idea ? :roll:
Yes, you'll need to install SDL_gfx, and SDL_gfx's development files (headers, etc.) to compile SVN. This allows us to eliminate all the duplicate textures at different sizes, now texture scaling is done on the fly.
of course I did install this lib, even vDrift is compiling fine, but it crashes when it should display the menu

let's say it differently : is there anyone who is using the mingw32 compilator under Windows (Dev-C++, CodeBlocks, ...) and who is running the last SVN version ? what version of the libs (SDL, SDL_image, SDL_gfx, ...) are you using ? thanks Wink

also, do you manage to get a console ? I don't have any console output, even when a remove -mwindows :cry:
Nigo Wrote:of course I did install this lib, even vDrift is compiling fine, but it crashes when it should display the menu

let's say it differently : is there anyone who is using the mingw32 compilator under Windows (Dev-C++, CodeBlocks, ...) and who is running the last SVN version ? what version of the libs (SDL, SDL_image, SDL_gfx, ...) are you using ? thanks Wink

also, do you manage to get a console ? I don't have any console output, even when a remove -mwindows :cry:

I compile VDrift regurlay on windows (althoug my main platform is linux). The latest time I didn't try svn (because there is some race problem in some older version, and I didn't update further)
To have a console:
start -> Execute -> cmd
and start vdrdift from the commandline (best with -verbose, so it outputs something)

The crash you describe do i encounter when I cross-compile vdrift on linux (for windows) and run with wine. On windows it worked always without crashing. Maybe you could try to get a backtrace. (with gdb and bt)
How do you compile by the way? With dev-cpp or Codeblocks (that cross-compile where I talked about was with Codeblocks, normal win compilations is with dev-cpp)

Maybe I'll try the latest soon to test some things.
Ok I tried the latest svn

Notices:
I needed to install SDL_gfx library (duh), But for some reason I don't need the SDL_gfx dll??
Racing seems to work again?
No encountered crashes

So it was a real positive thing.
Nigo: Maybe I had the startup crash too, but didn't I remember, I have comiited the fix now, please try again.
Hello,

I'm using CodeBlocks with the mingw compiler (the same used by Dev-C++)

thanks to GDB I know where is hangs
src/gui/gui.cpp line 64, for some reason this GetFolderIndex returns an empty list (my "data\skins\simple\menus" is OK), and as such, no Page are loaded line 70. The game crashes further when it tries to get the "Main" page, since it isn't loaded
any idea ?
it's very weird that I seem to be the only one who's facing that Confusedhock:

FFuser : I will update my working copy in some days. I can't do it everyday for now Sad so maybe you already fixed the bug Wink

to go any further I would need a decent debugger; do you know a DDD-like under Windows ?

Quote:To have a console:
start -> Execute -> cmd
and start vdrdift from the commandline (best with -verbose, so it outputs something)
I already tried, when I type "vdrift" it just start the game and give me another prompt (like a "vdrift &" would behave under Linux, but with no output at all). The backtrace tells me that Winmain and SDL_main are loaded before main... weird... don't know Sad

if YOU (anyone) have an ouput using CodeBlocks, I would be interested by your .cbp Wink

thanks Wink
Nigo, I don't think anyone's using CodeBlocks. It will probably work, in fact you could proably compile VDrift using SCons if you tried hard enough...but why not just use Dev-C++? The build is already set up there, so you wouldn't have to do that. Even if you do want to use CodeBlocks in the future, I'd suggest use Dev-C++, and learn how the build is set up, and then try to set up a CodeBlocks build. Or better yet - SCons so we don't need anything more than we've already got...

Keep in mind that Nathan is pretty much the only person doing anything at all with the Windows build right now.
I don't mind installing Dev-C++ to try this, even if I don't think it'll change anything

the reasons why I use CodeBlocks rather than Dev-C++ :
_it's more stable
_it's open source
_it runs on Linux
_it's compatible with most compilers, and not only mingw
_it can import Dev-C++ and Visual projects

maybe Nathan should consider all that, he probably just doesn't bother
just installed Dev-C++, it behaves exactly the same (as expected)
in the meantime my console came back, no idea how Smile

anyway, I'm updating my working copy Wink
Nigo Wrote:thanks to GDB I know where is hangs
src/gui/gui.cpp line 64, for some reason this GetFolderIndex returns an empty list (my "data\skins\simple\menus" is OK), and as such, no Page are loaded line 70. The game crashes further when it tries to get the "Main" page, since it isn't loaded
any idea ?
it's very weird that I seem to be the only one who's facing that Shocked

Thats the bug I fixed (and I was also the one who "Implemented" the bug :oops: )

About CodeBlocks and commandline: Normally I don't need commandline so I don't use it. CodeBlocks I've used once on Linux, normally I guess it should work on windows too.
yes, my updated version works fine, thanks Wink
Pages: 1 2