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.

Can't reimport this file (LZMA)

Featured Replies

  • Author
  • Localization

kvn, posted Fri Aug 05, 2016 1:35 pm (16201)


Hi
I created this script to extract this file
Code:
comtype lzma
get NAME filename
string NAME = ".assets"
clog NAME 0x70 0x3ff87 0x208ad0


But when i use reimport.bat with unmodified file, i got this problem,
something is not right?
Image
  • Author
  • Localization

aluigi, posted Fri Aug 05, 2016 4:06 pm (16205)


quickbms already uses the latest version of the lzma sdk and uses the most extreme compression setting, so there is not much I can do.

The settings of compression algorithms sometimes don't work as you expect, for example sometimes with some types of files you can get better performances using a normal compression level rather than an extreme one. These settings are hardcoded in quickbms so you can't change them and there is no "brute forcing" mechanism like instead is implemented for the deflate/zlib algorithms (long story).
  • Author
  • Localization

kvn, posted Mon Aug 15, 2016 6:56 am (16479)


Ok, there any way I can compress files back to lzma?
  • Author
  • Localization

aluigi, posted Mon Aug 15, 2016 12:22 pm (16489)


An easy solution that doesn't involve programming and manual reinjection of the new manually compressed data back in the archive at the exact offset and repeated for all the files to reimport? :D

If you open quickbms.exe 0.7.5 with a hex editor and go at offset 0xdd25 you will find the byte 0x1b, you can try to replace it with 0x18 and retrying the reimporting but I don't think it will change much because there are many other low level lzma settings used by quickbms.
  • Author
  • Localization

kvn, posted Tue Aug 16, 2016 1:59 am (16518)


Doesn't work, but still thanks.
This archive start with a magic: 0x5D 0x00 0x00 0x08, not same with reimported file
Image
  • Author
  • Localization

aluigi, posted Tue Aug 16, 2016 9:01 am (16527)


It's correct because it's NOT a magic, that one is an header with information in it about the parameters of the compression, the dictionary size and so on.
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.