1 hour ago1 hr Hi, sorry if my English isn't great.I'm trying to get textures from Danball Senki W (PSP) and I'm stuck on a compressed file. I'm not a programmer, just doing this as a hobby, so please bear with me.what I already did:-extracted the game's CPK with VGMToolbox-found MRON3.00 containers inside-wrote a QuickBMS script that extracts entries from MRON (32-byte entries, 6-byte tag, 2-byte ID, 4-byte offset, 4-byte size). It works.-inside MRON I found PSMF videos, nested MRON, and SLZ compressed dataNow I'm stuck on SLZ.(( The block I'm looking at is split between two MRON files (0002 and 0003), so I merged them and cut out the SLZ stream into one file.The header starts like this:53 4C 5A 02 00 01 24 00 38 28 00 00 30 86 00 00 00 00 00 00 20 00 00 00 01 40 10 00 00 00 00 00what I think it means-"SLZ" + type 2-uncompressed size = 0x2838 (10296)-packed size = 0x8630 (34352)-header size = 0x20 (32 bytes)I tried a lot of tools and scripts, none worked (slz.bms by aluigi (expects PACK, doesn't match), slz_triace.bms (reads header, fails on second block, saves nothing), slz_chunks.bms (just copies data), CUE's SLZ decompressor v1.1 (doesn't recognize signature), QuickBMS comtype slz_02 (needs 16-byte header, ours is 32), several Python LZSS attempts with different offset/length bit layouts, inverted flags, both endiannesses. Nothing valid came out.)Someone on GBAtemp mentioned a Capcom SLZ variant with inverted flags (0x00 = literal, 0x01 = match). I tried that too, but maybe I got the offset/length formula wrong.I think this might be a Level-5 custom version of tri-Ace SLZ type 2 (LZSS + RLE/FILL), maybe chunk-based instead of a single stream.Here is the file! https://limewire.com/d/eV7Dt#3kshB5t6pr(slz_one.bin, 34384 bytes = 32-byte header + 34352 packed bytes)If anyone could take a look and tell me what the correct bit layout is, or share a working script, I'd be really grateful. I can provide more samples if needed.Thanks a lot! Edited 1 hour ago1 hr by momoseiki
8 minutes ago8 min Localization just took a look and pretty sure i have it cracked however can't fully test because i'm pretty sure your file is missing something somewhereprovide more samples or take a look at how you're extracting the files to make sure it's not cutting off anything. Edited just now1 min by Hazza12555
Create an account or sign in to comment