Lo2k Wrote:
-------------------------------------------------------
> Hmm, I tried with a 2361 sectors oval but whatever
> my attempts (shr'd by 7 or cmp to 64h), GP4 always
> show a popup saying 'bad file type'...
>
> If you want to try, Shutt1e, you can grab the test
> .dat here.
>
>
are you sure this is a valid track? the cc-line has the initial section but all values are at 0.
i've find a couple of places in the code where some other limits are set, but i fail loading the track, the game read strange data from this dat, so it crashes when run some SAR asm instructions (arithmetic shift operation) with wrong data.
the patched exe can read a standard track but not this.
text:00536A7B call sub_54D0AC
.text:00536A80 mov edi, dword_8914E8
.text:00536A86 mov ecx, 30D40h (this set another limit- 200.000 bytes??)
.text:00536A8B call sub_5364C5 (here the dat is loaded)
.text:00536A90 jb short loc_536ABA (if something is wrong you get the "bad file type" error)