Help-me please. How can I reimport sega_lzs2 PAKFILE\0

Doubts, help and support about QuickBMS and other game research tools
Vincent
Posts: 3
Joined: Wed Dec 19, 2018 10:19 pm

Help-me please. How can I reimport sega_lzs2 PAKFILE\0

Post by Vincent »

Hello. Could someone help me? I wanted to reimport translations of some games from the PS2 series Sega Ages 2500 Series, with my native language, but I can not reimport it.

Thank you very much in advance.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help-me please. How can I reimport sega_lzs2 PAKFILE\0

Post by aluigi »

Try reimport2.bat with quickbms 0.9.2 (the current version of quickbms).

Quickbms 0.9.2 contains a fake compressor for this algorithm and it allows reimporting even if the compressed file will be bigger than the uncompressed one (because it's a fake compressor)
Vincent
Posts: 3
Joined: Wed Dec 19, 2018 10:19 pm

Re: Help-me please. How can I reimport sega_lzs2 PAKFILE\0

Post by Vincent »

Hello. I have now tried with version 0.9.2 with the reimport, reimport2 and reimport2_4gb_files options and got the same result. No files are reimported, although they are the exact size, I also hear the sound of the error in the middle of the process.

Image
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help-me please. How can I reimport sega_lzs2 PAKFILE\0

Post by aluigi »

You are using the reimport feature in the wrong way.
Read section 3 of http://aluigi.org/papers/quickbms.txt
Vincent
Posts: 3
Joined: Wed Dec 19, 2018 10:19 pm

Re: Help-me please. How can I reimport sega_lzs2 PAKFILE\0

Post by Vincent »

It worked, I was missing the order. Next time I'll read the manual. Thank you very much for your attention and help.

A Merry Christmas and a Happy New Year.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help-me please. How can I reimport sega_lzs2 PAKFILE\0

Post by aluigi »

Don't worry it's not your fault :)
Your logic was correct for a rebuilder.

quickbms instead works like a reinjector, few lines of code allowed me to convert the extractor in a reimporter for copying the extracted files back into the original archive.