Need help understanding track references/names

Posted by zifox 
Need help understanding track references/names
Date: September 02, 2021 11:14PM
Posted by: zifox
Hi everybody,

I'm trying to start doing some track modifications, and I'm stumbling on crashes I have a hard time understanding/solving.

Everything started from a 2011 Jerez track by xandy I would like to update. In the wad file, I can see that the track was using the "nurburgring" prefix. I can use it directly, without gpxtrack, by replacing the original nurburgring2001 wad file and the matching dat file.

Thing got complicated when I tried to use gpxtrack and the config file provided in the track archive. I get a crash as soon as the game tries to load the track, and I can see in the dump that the game looks for 'maps\jerez2011\envmapright.tga.
Which does not exists in the wad, as mentionned earlier, it's using nurburgring prefix. So I guess that's the source of the crash.

So i edited the folder path, and renamed all the matching files (col, env, etc...) to use jerez2011, repacked the wad file.

This time the loading bar fills up completely and the game crashes afterward. I get an exception like this one

*********************************************
[23:13:30.347] >>  ANIM: Entering a new session - creating animation variable storage.
[23:13:30.407] >>  
InitTimers()
[23:13:30.408] Debug event: EXCEPTION_DEBUG_EVENT
[23:13:30.408]   Thread ID = 0x000010f8
[23:13:30.408]   First chance exception
[23:13:30.408]   Exception address: 0x004ed32d
[23:13:30.408]   Exception flags: 0x00000000
[23:13:30.408]   Exception code: EXCEPTION_ACCESS_VIOLATION
[23:13:30.408]     Process tried to write to virtual address 0x000026b1
[23:13:30.408] Debug event: EXCEPTION_DEBUG_EVENT
[23:13:30.408]   Thread ID = 0x000010f8
[23:13:30.408]   Unhandled exception
[23:13:30.408]   Exception address: 0x004ed32d
[23:13:30.408]   Exception flags: 0x00000000
[23:13:30.408]   Exception code: EXCEPTION_ACCESS_VIOLATION
[23:13:30.408]     Process tried to write to virtual address 0x000026b1


And the dump doesn't show any readable string, apart from the EXE path.

I don't know what I am missing.
Is it actually possible to use a prefix that is not one of the original track names ?

That's what I was begin to think, but then I removed the jerez2011.wad by mistake just before launching the game and starting a quick race. This time, everything load up correctly, but using the original nurburgring2001.wad file ! I'm completely lost, there doesn't seem to really be issues with the path inside the wad file ?!?

Then the final blow: I installed an unmodified version of the mod (with nurburgring subfolder and files in the wad), I renamed the jerez2011.wad file to nurburgring2001.wad, edited the ini to use this new name. And it works !

I'm completely lost, not understanding which names gpxpatch overrides, if filepaths in the wad file actually have anything to do, if there is maybe something a path list that I should edit ?

Any help is appreciated.



Edited 6 time(s). Last edit at 09/02/2021 11:32PM by zifox.
Re: Need help understanding track references/names
Date: September 05, 2021 12:15PM
Posted by: TomMK
Always best just to use an original 2001 .wad name. See here: [www.gp4central.com]

=====================================================


Intel NUC 8i3, 8GB RAM, MS Sidewinder Wheel
Sorry, only registered users may post in this forum.

Click here to login

Maintainer: mortal, stephan | Design: stephan, Lo2k | Moderatoren: mortal, TomMK, Noog, stephan | Downloads: Lo2k | Supported by: Atlassian Experts Berlin | Forum Rules | Policy