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.

Revert PlayStation LZ77 Compression

Featured Replies

  • Author
  • Localization

Eldinen, posted Wed Nov 01, 2017 3:11 pm (29618)


I am using your amazing tool with this script:

http://aluigi.altervista.org/bms/ps_lz77.bms

The file :
https://drive.google.com/open?id=0B2552 ... kg4TlQxSmM

The script works perfectly, but, how can I revert the process? To be able to compress the file in the same Lz77 format again.

Thanks in advance!
  • Author
  • Localization

aluigi, posted Wed Nov 01, 2017 4:27 pm (29622)


Have you tried to use the decompressed file as-is with the original name and checking if the game loads it?
Because that lz77 seems a sort of gzip-like file, a single compressed file with a "LZ77" magic.

Worst case scenario you have to create a fake recompressor on your own (compressed size bigger than the uncompressed one)
  • Author
  • Localization

aluigi, posted Wed Nov 01, 2017 7:46 pm (29631)


A fake header is not enough mainly because it's not that easy, if you know C feel free to check the function ps_lz77_decompress in the src\unz.c source code of quickbms
  • Author
  • Localization

Eldinen, posted Wed Nov 01, 2017 10:02 pm (29637)


Yes, i know C, but it isnot my main programming language hehe.

But, if you know how decompress the file with your algorithm, cant you revert the process?
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.