Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.
Zero Tolerance for Disrespect

Help with this file of a ps2 game font

Featured Replies

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

Solved by Rabatini

  • Author

Apparently, the file also has some kind of encryption. If you want to investigate, start at offset 00002680.

 

  • Supporter
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

  • 3 weeks later...
4 hours ago, Rabatini said:

Hello, could you tell me if this is the game font?

font@0000000000.png

Yep, this is the font

  • Supporter
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.

  • Author
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.

  • Author
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?

  • Author
5 minutes ago, Rabatini said:

i am using mummggtol not tile molester.


image.thumb.png.510e09e06d74be501bb13bd34055f696.pngimage.png.3df894786b99d86e48f8584ca8700064.png

Sorry to bother you, but could you send me a link to that tool, pls?

  • Supporter
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.

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.