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.

Need Help!

Featured Replies

  • Author
  • Localization

Omarios, posted Mon Oct 05, 2020 8:56 pm (59053)


Hello, can anybody help me with a script for recompressing a file?

Here is the script I used for decompression

comtype LZSS
CLog "decompressed" 0x0c 0xAE4 0x3577

But the problem is that when I use it in the reimport feature, it builds the file in a different way, so the game can't read it :( , can anybody help me with this? I will link the file that contains both the original and decompressed file below.
  • Author
  • Localization

aluigi, posted Wed Oct 07, 2020 12:42 am (59080)


Try this script with reimport2:
Code:
comtype lzss
get DUMMY long
get DUMMY long  # 1
get SIZE long
savepos OFFSET
get ZSIZE asize
math ZSIZE - OFFSET
clog "decompressed" OFFSET ZSIZE SIZE


But I guess it's better if you build the compressed file from scratch, use this script on the decompressed file:
Code:
get SIZE asize

log MEMORY_FILE 0 0
put 0xd3e9e2e2 long MEMORY_FILE
put 1 long MEMORY_FILE
put SIZE long MEMORY_FILE
log "compressed" 0 12 MEMORY_FILE

comtype lzss_compress
append
clog "compressed" 0 SIZE SIZE
append
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.