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.

File compressed with some type of LZS

Featured Replies

  • Author
  • Localization

masagrator, posted Tue Feb 21, 2023 6:56 am (75509)


Does anybody know how to decompress this type of file? From archive that I unpacked it I got a magic "LZS" so my guess is that it's using compression type from this family.
This is from game Tongari Boushi from Nintendo 3DS

Screen of file in hex editor:
Image

In files.zip there are all files compressed in the same way. First 20 bytes are always the same
  • Author
  • Localization

masagrator, posted Tue Feb 21, 2023 4:59 pm (75518)


ok, figured it out. It's LZ11 starting from 0x10
  • Author
  • Localization

lvlrk, posted Mon Mar 06, 2023 1:26 am (75699)


try this script i wrote

Code:
# extract Tongari Boushi .lzs file

idstring "1.00"
getdstring DUMMY 16

comtype puyo_lz11
get NAME basename
get ZSIZE asize
math ZSIZE -= 20
xmath SIZE "SIZE = ZSIZE * 8" # this is a dummy size
savepos OFFSET

clog NAME OFFSET ZSIZE SIZE


are you sure these are the correct files? or lz11 is the correct type? the uncompressed files seem to be random data :? :?
  • Author
  • Localization

masagrator, posted Sun Apr 16, 2023 1:48 am (76403)


Yes, I'm sure. They are not random data, many of them have UTF-16-LE strings. You can even see them on uploaded screenshot
Guest
This topic is now closed to further replies.

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.