PeronchoCraft Posted October 8 Posted October 8 Hello, I need help decompressing the font in this file, which is compressed using lzss. This file comes from the game Digimon World Data Squad. I am attaching the file in case you want to examine it. gamefont.rar
PeronchoCraft Posted October 10 Author Posted October 10 Apparently, the file also has some kind of encryption. If you want to investigate, start at offset 00002680.
Engineers Rabatini Posted October 11 Engineers Posted October 11 25 minutes ago, PeronchoCraft said: Apparently, the file also has some kind of encryption. If you want to investigate, start at offset 00002680. What I find Dissambly the SLUS/ELF Probable decompressor core: 0x0024C684 Evidence: the function receives 3 arguments ($a0, $a1, $a2), tests for size/alignment right at the beginning, and has many lbu/sb instructions (byte-by-byte reading from the stream and writing to the output buffer) — a typical LZ pattern. Disassembly: disasm_0x24C684.txt "Wrapper"/upper-stage callers: 0x00246B00 → calls 0x0024C684 early in its execution flow. disasm_topglobal_0x246B00.txt 0x00246C68 → a very large function (stack ~3.6 KB) that also goes through 0x00246B00. disasm_topglobal_0x246C68.txt Other related routines for buffer/file manipulation that appear in the code paths: 0x001E3A18 (probable block/buffer manager with writes and utility calls). disasm_target_0x1E3A18.txt 0x001E3680 and 0x0010F9F8 appear as helpers in some paths. disasm_target_0x1E3680.txt disasm_target_0x10F9F8.txt Very strong core: 0x0024C684, called right at the beginning by the wrappers: 0x00246B00 → calls 0x0024C684 0x00246C68 → also goes through 0x00246B00 A callee with a lot of byte I/O (likely part of the pipeline): 0x00245AA8 It calls helpers 0x0024AF68 and 0x0024AFF8 (0x0024AF68 applies a 0x07FF mask → strong indication of an 11-bit offset). Need to deep into it. unfornately i cant use pcsx2 to make breakpoints, maybe someone here can do it for you. disasm_topglobal_0x246C68.zip
Engineers Rabatini Posted October 27 Engineers Posted October 27 Hello, could you tell me if this is the game font?
DaryuKien511 Posted October 27 Posted October 27 4 hours ago, Rabatini said: Hello, could you tell me if this is the game font? Yep, this is the font
Engineers Rabatini Posted Tuesday at 10:56 AM Engineers Posted Tuesday at 10:56 AM On 10/27/2025 at 2:28 AM, DaryuKien511 said: Yep, this is the font Ok. And can you test in game, o am trying tô make a compressor as well.
PeronchoCraft Posted Tuesday at 07:47 PM Author Posted Tuesday at 07:47 PM 8 hours ago, Rabatini said: Ok. And can you test in game, o am trying tô make a compressor as well. Could you create a compressor and decompressor? It would help me a lot.
Engineers Rabatini Posted Wednesday at 10:09 AM Engineers Posted Wednesday at 10:09 AM There hás only This file lzs? Or have other filés? Need to know that.
Engineers Rabatini Posted Thursday at 01:59 AM Engineers Posted Thursday at 01:59 AM First uses unpack to unpack the lzs, then use the tool lzss to decompress or compress. UnPack Digimon World Squad PS2.py LZSS-DWSquad-Ps2.zip
PeronchoCraft Posted Thursday at 09:51 PM Author Posted Thursday at 09:51 PM On 10/29/2025 at 7:09 AM, Rabatini said: There hás only This file lzs? Or have other filés? Need to know that. I don't think there are any other files with this type of compression, at least as far as I know. 19 hours ago, Rabatini said: First uses unpack to unpack the lzs, then use the tool lzss to decompress or compress. UnPack Digimon World Squad PS2.py 21.01 kB · 3 downloads LZSS-DWSquad-Ps2.zip 22.05 kB · 2 downloads Thank you for your help and efforts. When I try to open the decompressed font with Tile Molester, it doesn't look very good. Do I need to use a specific encoding?
Engineers Rabatini Posted Thursday at 10:05 PM Engineers Posted Thursday at 10:05 PM i am using mummggtol not tile molester.
PeronchoCraft Posted Thursday at 10:13 PM Author Posted Thursday at 10:13 PM 5 minutes ago, Rabatini said: i am using mummggtol not tile molester. Sorry to bother you, but could you send me a link to that tool, pls?
Engineers Rabatini Posted Friday at 11:02 AM Engineers Posted Friday at 11:02 AM 12 hours ago, PeronchoCraft said: Sorry to bother you, but could you send me a link to that tool, pls? Here has a lot of tool to deal with textures. take me 1 minute to find it using Search... button of this forum. I get annoyed with these "request hooks." A user creates a topic about compressing a file, then someone dedicates their time to solve it. Instead of simply marking it as resolved, no, they keep attaching other questions within the same thread. It's very annoying, and it pollutes the topic because it ends up generating a bunch of subjects outside of the main topic, which was compression. In short, is the file decompressed? Yes! But "I can't see it correctly" – that's another problem, it's not about compression anymore.
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