Superman Returns (.ast files)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Superman Returns (.ast files)

Post by Puterboy1 »

Does anybody know how to extract these with proper names?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Superman Returns (.ast files)

Post by aluigi »

The script needed a little update :)
http://aluigi.org/bms/nbajamfire.bms

Some archives like TEXT.AST don't have filenames (NAMESZ set to zero)
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Re: Superman Returns (.ast files)

Post by Puterboy1 »

aluigi wrote:The script needed a little update :)
http://aluigi.org/bms/nbajamfire.bms

Some archives like TEXT.AST don't have filenames (NAMESZ set to zero)

What if I sent you the entire directory?
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Re: Superman Returns (.ast files)

Post by Puterboy1 »

So I tried it and I got this error:

Error: the compressed zlib/deflate input is wrong or incomplete (-3)
Info: algorithm 1
offset 00001c28
input size 0x0084d6da 8705754
output size 0x008553dc 8737756
result 0xffffffff -1

Error: the uncompressed data (-1) is bigger than the allocated buffer (8737756)

Last script line before the error or that produced the error:
16 clog name offset zsize size
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Superman Returns (.ast files)

Post by aluigi »

Please upload the sample that is giving you that error because the script works perfectly with all the samples you provided.
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Re: Superman Returns (.ast files)

Post by Puterboy1 »

aluigi wrote:Please upload the sample that is giving you that error because the script works perfectly with all the samples you provided.

It is the sounds and voices files. If you had a copy of the game, you’d understand.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Superman Returns (.ast files)

Post by aluigi »

I asked because I don't have a sample and I can't fix an issue with the files that cause it.
So no sample, no fix.
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Re: Superman Returns (.ast files)

Post by Puterboy1 »

aluigi wrote:I asked because I don't have a sample and I can't fix an issue with the files that cause it.
So no sample, no fix.

Here's an example from the XBOX 360 version: https://mega.nz/#!2KAlhABT!899BBaTMTRvl ... BPdey-HZ9Y
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Superman Returns (.ast files)

Post by aluigi »

Here I have no problems with the nbajamfire.bms script: "6358 files found in 17 seconds"