Star Wars Episode I Racer BIN

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Teancum
Posts: 94
Joined: Mon Sep 22, 2014 5:13 pm

Star Wars Episode I Racer BIN

Post by Teancum »

https://drive.google.com/open?id=1T3SmL ... 4IDn-TNP0W
Small download of 6MB.

I'm not sure if this is 100% proprietary or anything. The .bin files have no human readable text, so I included other files that could be a reference table, including the .exe itself. There is a default.mat file included that was part of the assets, which was a LucasArts format at the time. It can be opened using Mat16, which can be found at https://www.massassi.net/programs/ . It may prove useful against and possible samples extracted.

Thanks for all that you do.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Star Wars Episode I Racer BIN

Post by aluigi »

Just a sequence of offsets to the files, easy to dump:

Code: Select all

endian big
get FILES long
for i = 0 < FILES
    get OFFSET long
    putarray 0 i OFFSET
next i
    get OFFSET asize
    putarray 0 i OFFSET
for i = 0 < FILES
    getarray OFFSET 0 i
    math i + 1
    getarray SIZE   0 i
    math SIZE - OFFSET
    log "" OFFSET SIZE
next
Teancum
Posts: 94
Joined: Mon Sep 22, 2014 5:13 pm

Re: Star Wars Episode I Racer BIN

Post by Teancum »

Thanks much. I'll start digging around with things.
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Star Wars Episode I Racer BIN

Post by Acewell »

the script fails on "out_textureblock.bin" sample,
the number of offset entries is double the FILES variable
in that sample.
what platform is the samples from?
Teancum
Posts: 94
Joined: Mon Sep 22, 2014 5:13 pm

Re: Star Wars Episode I Racer BIN

Post by Teancum »

Windows.
Teancum
Posts: 94
Joined: Mon Sep 22, 2014 5:13 pm

Re: Star Wars Episode I Racer BIN

Post by Teancum »

So I'm trying to educate myself on this -- surely there is some table of contents reference that exists, whether human-readable or not. How are such things typically stored, if they can be found at all? Is there a standard to this?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Star Wars Episode I Racer BIN

Post by aluigi »

No standard, every developer stores the information he desires and how he desires.
Usually you have at least an offset and size of the file, often the filenames.
In this case just the offset so you calculate the size from the difference of the next file offset.
http://aluigi.org/papers/game_formats_stats.txt