Crashes when loading. - by Dark Arrow
Dark Arrow on 20/3/2007 at 16:28
I'm currently trying to test my CreatureClash3 on the game version, but it keeps crashing when about 10% of the level is loaded. I have edited the vertex pools, so that shouldn't be the cause to the problem.
I remember having some problems with missing object files that wouldn't compile to the .ibt file and it caused a similar crash. However, I have forgotten how to debug the said problem.
So does anyone know how I might fix this kind of a problem? If it is any help, I have uploaded the mission to my site: (
http://koti.mbnet.fi/darkar/demos_tiedostot/temp/TDS_CreatureClash3.zip) http://koti.mbnet.fi/darkar/demos_tiedostot/temp/TDS_CreatureClash3.zip
I wouldn't be doing this, but a couple people translated the FM to other languages, and I promised to do the update. Right now the only reason why the T3 cd hasn't flown across the room is that I'm afraid it might scratch furniture or the walls. :mad:
Can someone help me fix or locate the problem? I really want to put this behind me.
Edit: The .ibt file has been compressed with GL.
Bardic on 20/3/2007 at 17:10
Page doesn't come up. You have 2 http:// in your link and it causes an intranet warning, but even if I take it out I don't get a page or download. Maybe too many people trying to get it.
Ziemanskye on 20/3/2007 at 18:53
First thing you need to do is try load it with the editor version of the *.exe (rather than the one that lets you play fms), so that it generates the log files.
Then check out the (savegames folder)/T3Main.log, and right at the bottom it will hopefully tell you what's causing it to drop out. The chances are high it's either the other vertexpools needing sorted or a missing static-mesh: remember that the stuff in the gamesys *isn't* in the mission ibt, so the smeshes so associated are I think either in the kernal*.ibt files or you can root them out personally and put them in the StaticMeshes/DynamicallyLoaded folder.
Dark Arrow on 20/3/2007 at 20:08
I fixed the file and the link.
I will have to check that thing tomorrow. I am spawning objects from the gamesys, but the bug seems completely irrational. It works in some versions and if I change something, something else completely unrelated breaks. It's like I have exceeded some limit and now it is randomly taking stuff out of the .ibt (assuming that is the case again).
This makes me wonder two things:
1. Do thay have a dvd throwing competition in the Assembly 2007 Winter event?
2. How far can I throw the dvd? :joke:
Dark Arrow on 25/3/2007 at 09:15
Problem located. Apparently there is a bug in the .ibt compressor that comes with GarrettLoader. An uncompressed file worked fine, but a compressed (and then decompressed) file crashed on load.
Ziemanskye on 25/3/2007 at 10:43
Do you know what it's mangling?
I've had my suspicions for a while now, but mostly put things down to me being a moron.
Dark Arrow on 25/3/2007 at 11:42
It complains about hammerhaunt_u_d.dds file (or something like that) missing.I tried adding the file to PCTextures/DynamicallyLoaded, Textures/DynamicallyLoaded and PCTextures/Characters folder, but nothing worked. It still kept complaining about the missing file.
Eventually, I got fed up with it and I checked to see if an old .ibt file would cause it as well. I downloaded my FM for thiefmissions and installed the level and it worked. I compressed the .ibt file with GL and used GL to install the level. The result was a crash when 10% was loaded. So the problem was in the compression. I don't know anything about programming or how the files are accessed, but my common sense tells me that it couldn't find the file information from the .ibt. The index in the .ibt probably had the filename, but it couldn't find the texture data. That would explain (to me atleast) why it didn't find the file in the .ibt, but it also couldn't or wouldn't even search for the file in another place. Am I completely wrong with my guess?
This could just be a problem caused by the spawn event, as nearly all of the AI's are spawned in the FM.
nomad of the pacific on 25/3/2007 at 15:04
I've always been able to fix my missing resource problems with the ibt compressor by putting them in Dynamically Loaded folders, but then again, I'm not spawning things like you are. :p Is the texture used on anything that's not spawned? If not, try hiding it on a non-spawned object somewhere (blue room, maybe) to force GL to load it when decompressing the game.