Mister.Xbox escribió:
Shoometsu escribió:
thanks for the info and binary. did you compile it using tcc , as in make_win.bat file, or did you use another dev environment (using mingw, cygwin, or something else)?
I always use Visual Studio because the Xbox SDK is only available for it and it's more handy for debugging and testing the Windows version before.
Citar:
hi, this .exe crashes when running from a CD, during cs_rogo.mpg playing. could it have something with smpeg lib inclusion inside the .exe file?
That's because this line:
mpeg = SMPEG_new_rwops(RING_RW_open(SDL_RWFromFile(name, "rw"), 0x200000, 0x2000), &mpeg_info, 0);
The mpeg is opened for writing and reading and, for that reason, the program crashes. Compiling with "r" fixes the problem but it's a bit pointless because if you run it from a CD, you won't be able to save the game.
hmm maybe this explains why there's no dreamcast version with video playback enabled, right? is there a way to change it, os this read & write playback is the only way to do that?
Here I changed the save and read directory to C:\dd via hex editing (sorry, but I'm not able to compile the source code yet) so it's saving to hd, even when running from a CD. my goal is to release in a "dual" (for dreamcast and pc) cd version, so that's the reason why I changed the save & load directory.
PS: sorry if I'm bothering with questions about source code, compiling, etc, even when soywiz already posted that there'll be no support for that. if is against the forum rules, please just confirm that, and I'll stop posting about it.