Tetris PS3 Data.pak

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
MexicanPB
Posts: 15
Joined: Tue Apr 07, 2020 5:44 am

Tetris PS3 Data.pak

Post by MexicanPB »

I would like to open up this file, can someone help me

Here is the link: https://drive.google.com/file/d/1vpuqss ... sp=sharing
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Tetris PS3 Data.pak

Post by Ekey »

MexicanPB
Posts: 15
Joined: Tue Apr 07, 2020 5:44 am

Re: Tetris PS3 Data.pak

Post by MexicanPB »

Thanks, it works :D
MexicanPB
Posts: 15
Joined: Tue Apr 07, 2020 5:44 am

Re: Tetris PS3 Data.pak

Post by MexicanPB »

Okay so now I have a new problem, I can't reimport textures into the .pak file without the game crashing on start and when I extracted the modified Data.pak file, it gives me this error

Error: the compressed LZMA input is wrong or incomplete (3)
you must provide more input bytes
Info: algorithm 17
offset 00010000
input size 0x00000d3c 3388
output size 0x00000d3c 3388
result 0xffffff99 -103

Error: there is an error with the decompression
the returned output size is negative (-103)

Last script line before the error or that produced the error:
19 clog NAME OFFSET SIZE SIZE

Don't know why it's happening but can someone figure out what is causing this?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Tetris PS3 Data.pak

Post by aluigi »

In short the archive only stores the compressed size, the file will be decompressed without knowing the uncompressed size.
The script used the same variable for containing both the compressed and decompressed size and this solution caused some confusion in reimporting.
I just updated the script and now it seems to work :)