Captain Tsubasa (PS2) lzs compressed textures

Textures, recreate headers, conversions, algorithms and parsing of image files
Wasabi
Posts: 29
Joined: Thu Jul 30, 2015 5:39 pm

Captain Tsubasa (PS2) lzs compressed textures

Post by Wasabi »

I decided to take a look to this game after reading another users post asking to extract its .PAC files and seemingly losing interest on the matter (probably bought a PS3/4 :D ). Those posts were old and maybe some new scripts/tools will work today. And it seems so... almost a little thing. Let's develope:
The game data is stored in AFS, we extract the content and lot of the mentioned PAC files emerge. They can be extracted with bms script "add_pac". Lets take for example and being practical for a later menu translation, "d_title.pac". It contains images encoded/compressed (don't know for sure) in .tmz.
After applying LZS (PSP_Nanoha) (script 0.1.2), changin the line: idstring "LZS\0" to idstring "lzs\0", over the file ttl_tubasa0.tmz
it resulted in a corrupted ttl_tubasa0.tm2.
Any clues? Thanks in advance.
Here the files to extract:
files.zip

And scripts for your confort:
extraction_scripts.zip
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Captain Tsubasa (PS2) lzs compressed textures

Post by Acewell »

you get a corrupt tm2 file because the structure of the tmz file doesn't work with the
script, it breaks at "get OFFSET long" and looks like there is some data missing there.
i am not a compression expert though, just posting what i see in there :)
rabatini
Posts: 179
Joined: Tue Jan 18, 2022 12:21 am

Re: Captain Tsubasa (PS2) lzs compressed textures

Post by rabatini »

Hi.
I´ve update the tool.
You can now decompress the files.
Last edited by rabatini on Tue Feb 22, 2022 1:32 am, edited 1 time in total.
rabatini
Posts: 179
Joined: Tue Jan 18, 2022 12:21 am

Re: Captain Tsubasa (PS2) lzs compressed textures

Post by rabatini »

Hello.
Update the tool

Here the decompress and compress tul.

commando
Shinkon Gattai Godannar.

Code: Select all

program -d file.lzs -noinfo 
to decompress
program -c file.lzs -noinfo
To compress


To capitain tsubasa ps2
Battle Assault 3 featuring Gundam Seed
DICE - DNA Integrated Cybernetic Enterprises


Code: Select all

program.exe-d file.lzs 
to decompress
program.exe -c file.lzs
To compress
leyme
Posts: 13
Joined: Sat May 28, 2016 5:34 am

Re: Captain Tsubasa (PS2) lzs compressed textures

Post by leyme »

rabatini wrote:Hello.
Update the tool

Here the decompress and compress tul.

commando
Shinkon Gattai Godannar.

Code: Select all

program -d file.lzs -noinfo 
to decompress
program -c file.lzs -noinfo
To compress


To capitain tsubasa ps2
Battle Assault 3 featuring Gundam Seed
DICE - DNA Integrated Cybernetic Enterprises


Code: Select all

program.exe-d file.lzs 
to decompress
program.exe -c file.lzs
To compress


Please help
How to decompress this file?
db_chr.7z
rabatini
Posts: 179
Joined: Tue Jan 18, 2022 12:21 am

Re: Captain Tsubasa (PS2) lzs compressed textures

Post by rabatini »

leyme wrote:
rabatini wrote:Hello.
Update the tool

Here the decompress and compress tul.

commando
Shinkon Gattai Godannar.

Code: Select all

program -d file.lzs -noinfo 
to decompress
program -c file.lzs -noinfo
To compress


To capitain tsubasa ps2
Battle Assault 3 featuring Gundam Seed
DICE - DNA Integrated Cybernetic Enterprises


Code: Select all

program.exe-d file.lzs 
to decompress
program.exe -c file.lzs
To compress


Please help
How to decompress this file?
db_chr.7z


Easy, reading my message, i put all the commands there.
inside the the zip file have a .bat open it in notepad and then change the name of the file for yours, save and execute the bat.
you will need to put your file in the same folder.

Image