Hard Light Productions Forums
General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: Mahak on June 19, 2010, 11:50:24 am
-
Hey folks,
I've noticed over the years (yep, thats how long I have been developing, can't believe how much time this stuff eats up!) that I have never been able to run debug builds. Even when I fix all the stuff in my tables, it will still crash with the usual "send info to microsoft" thingo (seriously, who does that!?).
As far as I know, I have all the c++ runtime stuff installed correctly - but I'm not a coder so I don't really know whats what in that regard. If anyone has any clues, or ideas on how I can get more info to find out whats going on, let me know!
M.
-
Hmm.
There should be an errorlog.txt thingie in your fs2 folder. Post that.
-
Debug builds don't require any additional developer stuff to run. Their main purpose is to generate a debug log file, otherwise they should function as the release builds (though often with reduced performance due to more rigorous error-checking). I can't immediately think of any one reason that would stop debug builds from working while release builds would work normally.
It could be an environment issue or game data issue, or something else.
Could you provide some more information?
-what operating system are you running?
-what sort of data are you using (mediaVP's, mods etc.)
-what version of FS2_Open are you using?
...aand as The E said, post errorlog.txt.
-
Don't you two mean fs2_open.log?
-
No, I mean what I said. In this case, there seems to be an error with the exe starting up. The errorlog.txt contains the errors Windows throws (and that could tell us what's going wrong).
-
The information that turns up in the windows logs would also be very useful:
Control Panel->Administrative Tools->Event Viewer->Windows Logs->Application
Find the crashing instance of FSO in there (it'll be marked with a red or yellow icon), and copy/paste the info from the lower window (the details section).
That will tell exactly what windows thinks happened.
Recent builds do not produce errorlog.txt (IIRC)
-
Cool - I'm on the road at the moment, I will grab that info as soon as I am in one place for a while!
It does seem to be unrelated to any table data or junk that I play around with (I don't mess with code) - I don't get any parsing errors in any case. It just seems weird that it only happens with debug builds - retail builds all work fine. So yeah, must be all the extra error checking that goes on.
Curiousier and curiousier...
-
So, since the debug builds don't write to errorlog.txt anymore, can't post that. But I do have the debug spew, see attached.
As you can see I get an interrupt:
Int3(): From d:\fso\scp - clean\code\gamehelp\contexthelp.cpp at line 373
I have no idea what this might be.
M.
[attachment deleted by admin]
-
Well problem 1:
Requested WGL Video values = R: 8, G: 8, B: 8, depth: 32, double-buffer: 1
Actual WGL Video values = R: 5, G: 6, B: 5, depth: 16, double-buffer: 1
You need 32 bit in both launcher and desktop
Problem 2:
DDS ERROR: Couldn't open '2_PreLoad.dds' -- Cannot load DDS if not power-of-2
Which is strange since the non power of 2 support loaded without error.
Personally I'd blame it on this:
OpenGL Vendor : Intel
OpenGL Renderer : Intel 965/963 Graphics Media Accelerator
Not sure about that - in the directory name either. Haven't heard of a problem but since - is used for passing parameters there is always a possibility.
And it crashes right when loading a bitmap
// load right_bracket bitmap
help_right_bracket_bitmap = bm_load("right_bracket");
if(help_right_bracket_bitmap < 0){
// we failed to load the bitmap - this is very bad
Int3();
}
Which leads me back to the non power of 2 and Intel card.
-
That is not really the problem... Game is pretty much saying that it cant find any game data files.
...
'Building file index...
Searching root 'C:\Games\Mahak\' ... 7103 files
Found 1 roots and 7103 files.
Setting language to English
...
Are you running the exe in the location where the FreeSpace vp files are located.
-
If it's his mod then then vp files are probably not present or extracted and removed. 7103 files but not in any in vps. Now it's still possible it can't find that file but he has other issues as well.
-
Such as apparently never having read any of the install guides.
Mahak, please start from scratch.
Reinstall FS2. Then use the online installer found here: http://www.fsoinstaller.com/ to get all the goodies. Then get the .12 exe.
Also, check your driver install.