I'm having problems running r324 correctly
This version compiles pretty much owkey, but it looked like it was crashing when trying to load the init screen.
When I tried to run it through gdb, it showed me that it's having problems with
Code: Select all
[Switching to Thread 0x7f700f389790 (LWP 30419)]
0x00000000006c9cc6 in FWadCollection::CheckNumForName (this=0xc823e0, name=0x8bf733 "PNAMES", space=0, wadnum=0, exact=false) at /GuntherDW/src/svn/gzdoom/src/w_wad.cpp:436
436 lump = LumpInfo[i].lump;
(gdb)
when i commented out this line, or tried adding a check for exact ( if(exact) ), some wads would just run fine, but as suspected,
when i try to open some wad that changes the texture from the IWAD, you get a lot of
Code: Select all
Unknown texture: "SKY1"
Unknown texture: "SKY1"
messages and the game crashes as soon as you enter a level.
When i added that if(exact) part, gzdoom would just crash on line 431 of w_wad.cpp (with exact set to true)
Code: Select all
FResourceLump *lump = LumpInfo[i].lump;
i'm using gcc 4.3.3-r1 (gentoo), and am building a 64b version
Where should i start to look if i want to create a patch? It's been a while since i've been programming in C
edit: copying over zdoom's svn version of that function made it work like a charm