Members Alpha 1001 Posted June 3 Members Posted June 3 (edited) Hi guys, someone can create for me a decoder to decode this file or maybe a bms script? https://drive.google.com/file/d/12SOsJxcs7536JSJ2iv_nbcAJL7SUopim/view?usp=drive_link There is some visble strings of uncompressed content. The original algorithm is the yz2, but this game version uses a custom compression, maybe an lzss variant. I have the encoder and decoder for the yz2, but for this game the yz2 compression has been replaced with a custom compression as I said. I can read the zsize and unpacked size fields from header with this C code: #include <stdio.h> #include <stdint.h> int read_header(FILE *fp, uint32_t *packed_size, uint32_t *unpacked_size) { char hdr[33]; if (fread(hdr, 1, 32, fp) != 32) return -1; hdr[32] = '\0'; unsigned int a, b; if (sscanf(hdr, "%x%x", &a, &b) != 2) return -1; *packed_size = a; *unpacked_size = b; return 0; } Edited June 3 by Alpha 1001
Members NeoGT404 Posted 6 hours ago Members Posted 6 hours ago from a bit of trial and error LZO1X doesn't seem too bad but I'll need the executable
Members Alpha 1001 Posted 2 hours ago Author Members Posted 2 hours ago Here the executable: https://drive.google.com/file/d/1uNtUpMyFZLqc2AnjjunMzX58fEg3mdRQ/view?usp=drivesdk
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now