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

Castle of Illusion

Featured Replies

  • Author
  • Localization

aluigi, posted Mon Jun 20, 2016 6:26 pm (14644)


Do you mean reimporting the extracted and modified files back in the archive?
You can find all the explanation and the technical limitations in section 3 of quickbms.txt:
http://aluigi.org/papers/quickbms.txt
  • Author
  • Localization

April Diaz, posted Mon Jun 20, 2016 8:35 pm (14646)


I want to repack the game with maximum compression of all the resources from the archive data.pak
Maybe there is a way to create data.pak size in 1kb and then reimport the resources?
How can I get the original size data.pak bit-accurate?
  • Author
  • Localization

aluigi, posted Mon Jun 20, 2016 9:08 pm (14647)


So, basically, you want a rebuilder.
The format is not easy so I doubt someone would like to write a rebuilder from scratch and understanding ALL the fields of the format.
Additionally the format already uses compression (lz4) so you would have no big improvements if the settings of the original lz4 used by the developers are already at max.
There is even a problem with the reimport mode of quickbms that will probably give you something that is not usable by the game because lz4 doesn't have a "container" like zlib and will return an error if the compressed size is not the same of the original file (not minor, just the same).
So the script is valid for reimporting but the game will not work with the modified archive.
  • Author
  • Localization

April Diaz, posted Tue Jun 21, 2016 7:23 am (14654)


Yes, now I understand. Definitely the game supports the container size larger than the original, because the Russian group of enthusiasts has transferred all of the resources and found a way to update the file data.pak The question is how they did it?
  • Author
  • Localization

April Diaz, posted Tue Jun 21, 2016 7:01 pm (14670)


I express my gratitude to you for detailed explanations.
  • Author
  • Localization

Savage, posted Sat Jun 25, 2016 1:35 pm (14743)


The game uses FSB5 for the audios (mp3 i think), you can reduce the bitrate for this FSB5 files and the game will be more smaller, you can found the FSB5 in the extracted data and the non extracted data, i think the 70% of the game are compressed audios
  • Author
  • Localization

April Diaz, posted Tue Jun 28, 2016 6:19 pm (14874)


Thanks but I'm only interested in lossless compression.
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.