Test Drive (2002) .xdt file?

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
PermissionToLand
Posts: 3
Joined: Wed Nov 16, 2022 2:33 am

Test Drive (2002) .xdt file?

Post by PermissionToLand »

I want to edit the vehicle handling in this game. I was able to unpack the Cars_A.xdt, but inside revealed each car has its own .xdt file and the same method doesn't seem to work. I assume that's where the handling files would be, anyway.

I tried to attach the file but the forum told me that file extension is not allowed.

Edit: Here's what it says when I try to extract the car's XDT:

"Error: incomplete input file 0: C:\Users\Owner\Downloads\TestDrive mod\69corvette\69corvette_v.xdt
Can't read 524288 bytes from offset 71aa7339.
Anyway don't worry, it's possible that the BMS script has been written
to exit in this way if it's reached the end of the archive so check it
or contact its author or verify that all the files have been extracted.
Please check the following coverage information to know if it's ok.

coverage file 0 0% 148 145952 . offset 71aa7339

Last script line before the error or that produced the error:
15 log NAME OFFSET SIZE

- OFFSET 0x71aa7339
- SIZE 0x52ad5c90
coverage file 0 0% 148 145952 . offset 71aa7339"

I'm clueless with this stuff, so that's basically gibberish to me.
Last edited by PermissionToLand on Wed Nov 16, 2022 6:44 am, edited 2 times in total.
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: Test Drive (2002) .xdt file?

Post by BloodRaynare »

Don't worry, I have the game installed so I can look it for you (But still, upload it anyway so the ones who didn't install the game can take a look as well. Use Google drive or MEGA for that. Or you can just compress it to zip and attach it on the forum).

The XDT inside are compressed with Steve Snake's (Yes, THAT Steve Snake who developed KEGA Fusion emulator) own proprietary compression algorithm with "SNK0" magic. Someone will have to reverse engineer the game to figure it out since reverse engineering a compression method is beyond my abilities however (The same compression algorithm was used in PS2 and Xbox? version as well).
Last edited by BloodRaynare on Wed Nov 16, 2022 8:16 am, edited 1 time in total.
PermissionToLand
Posts: 3
Joined: Wed Nov 16, 2022 2:33 am

Re: Test Drive (2002) .xdt file?

Post by PermissionToLand »

Thanks for the tip, here's a zip with the two .xdt files found in the folders for each car.