[HELP] Extract textures from *.LZ files of 3DS ROM

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
amVspR
Posts: 40
Joined: Mon Aug 14, 2017 2:45 am

[HELP] Extract textures from *.LZ files of 3DS ROM

Post by amVspR »

Hi there, I decompress a 3DS ROM (Kuroko no Basuke Mirai e no Kizuna (*.3DS)) with HackingToolkit9DS.
I would like to extract some textures (CG, Sprites, BG) from the obtained 'ExtractedRomFS' folder.
I did try the "Kuroko No Basuke" and "3ds Lz" scripts but still no luck. Could someone help me extracting these .lz files? Thank you so much.
Archive link: https://www.mediafire.com/file/61ca7nxd ... S.rar/file
I also attach herewith the hex data photo for the sprite file.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [HELP] Extract textures from *.LZ files of 3DS ROM

Post by aluigi »

They are just compressed with the Nintendo compression, script:

Code: Select all

comtype lz77wii
get SIZE asize
get NAME basename
clog NAME 0 SIZE SIZE
amVspR
Posts: 40
Joined: Mon Aug 14, 2017 2:45 am

Re: [HELP] Extract textures from *.LZ files of 3DS ROM

Post by amVspR »

aluigi wrote:They are just compressed with the Nintendo compression, script:

Code: Select all

comtype lz77wii
get SIZE asize
get NAME basename
clog NAME 0 SIZE SIZE

Thank you so much! I managed to extract the desired files with your scripts!