Tokyo Xtreme Racer Zero CDDATA.000 (Assumed TIM2)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Argonaut
Posts: 46
Joined: Sat Sep 27, 2014 10:24 pm

Tokyo Xtreme Racer Zero CDDATA.000 (Assumed TIM2)

Post by Argonaut »

This should be easier than the last one due to the extremely obvious TIM2 header at the start of the archive+ a bunch of uncompressed text descriptions in the archive..

Sample files: https://www.dropbox.com/s/4wq51ui0yxkap ... s.zip?dl=0
CDDATA.LOC: https://www.dropbox.com/s/29byeo1xbpwr9 ... A.LOC?dl=0

Sample Screenshot:
http://i.imgur.com/4OjKust.jpg


Also: Happy 101 threads :!:
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Tokyo Xtreme Racer Zero CDDATA.000 (Assumed TIM2)

Post by aluigi »

Code: Select all

open FDSE "CDDATA.LOC"
open FDSE "CDDATA.000.DAT" 1

get FILES long
for i = 0 < FILES
    get OFFSET long
    get SIZE long
    get BLOCKS long
    math OFFSET *= 0x800
    math BLOCKS *= 0x800
    log "" OFFSET SIZE 1
next i
Argonaut
Posts: 46
Joined: Sat Sep 27, 2014 10:24 pm

Re: Tokyo Xtreme Racer Zero CDDATA.000 (Assumed TIM2)

Post by Argonaut »

aluigi wrote:

Code: Select all

open FDSE "CDDATA.LOC"
open FDSE "CDDATA.000.DAT" 1

get FILES long
for i = 0 < FILES
    get OFFSET long
    get SIZE long
    get BLOCKS long
    math OFFSET *= 0x800
    math BLOCKS *= 0x800
    log "" OFFSET SIZE 1
next i


Short and sweet, eh? Works perfectly, cheers :) ! I should probably begin to learn BMS, seems like something I could do..
Argonaut
Posts: 46
Joined: Sat Sep 27, 2014 10:24 pm

Re: Tokyo Xtreme Racer Zero CDDATA.000 (Assumed TIM2)

Post by Argonaut »

Unlike the D1 Gran Prix game, TXR Zero still might have some hope left in it in the form of some .DAT archives with common car title strings littered in the 44MB file.. hopefully there is some in there.

(also apologies for reposting a reply, my tablet screwed up for the nth time and I had to rewrite :oops: )

Sample files:

https://www.dropbox.com/s/icclhqr3ljw02 ... o.zip?dl=0
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Tokyo Xtreme Racer Zero CDDATA.000 (Assumed TIM2)

Post by aluigi »

It's a simple sequence of offsets but I don't know what compression it's used, I tried the scanner with the data from offset 4 (byte 0x01 + big endian SIZE) and from offset 0x14 but no results:

Code: Select all

get FILES long
    get OFFSET long
for i = 1 <= FILES
    if i == FILES
        get NEXT_OFFSET asize
    else
        get NEXT_OFFSET long
    endif
    xmath SIZE "NEXT_OFFSET - OFFSET"
    log "" OFFSET SIZE
    math OFFSET = NEXT_OFFSET
next i
Argonaut
Posts: 46
Joined: Sat Sep 27, 2014 10:24 pm

Re: Tokyo Xtreme Racer Zero CDDATA.000 (Assumed TIM2)

Post by Argonaut »

aluigi wrote:It's a simple sequence of offsets but I don't know what compression it's used, I tried the scanner with the data from offset 4 (byte 0x01 + big endian SIZE) and from offset 0x14 but no results:

Code: Select all

get FILES long
    get OFFSET long
for i = 1 <= FILES
    if i == FILES
        get NEXT_OFFSET asize
    else
        get NEXT_OFFSET long
    endif
    xmath SIZE "NEXT_OFFSET - OFFSET"
    log "" OFFSET SIZE
    math OFFSET = NEXT_OFFSET
next i


Thanks for your consistent output aluigi.. I've got some easier ones lined up soon that I probably could do myself if I *hint* had a Linux system.

Ah Genki.. why u no be normal and have like no compression, if you squint hard enough it could probably still fit on a PS2 disc. Probably.. :|