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.

reimporting files in padded offset

Featured Replies

  • Author
  • Localization

Shokoniraya, posted Mon Mar 25, 2019 7:13 am (46006)


how can i reimport a file with padded offset?
i had this problem in past but is there any way to do in reimport? it is possible to export padded file but how can i do it in import mode?
  • Author
  • Localization

aluigi, posted Thu Mar 28, 2019 2:44 pm (46142)


I still have to investigate that so I don't know or remember the details.

In the meantime I need the exact script and sample for the test.
  • Author
  • Localization

Shokoniraya, posted Fri Mar 29, 2019 2:46 pm (46178)


here a sample
download/file.php?id=6160

offset padded to 64, but how can i reimport files as padded offset? game can't read offset if i add a none-padded file, but a padded file, even with a new offset can works fine
  • Author
  • Localization

aluigi, posted Sat Mar 30, 2019 8:28 pm (46214)


Ok I see.

The problem is very simple: reimport2 appends the file at the end of the archive but the end is not aligned, therefore the new offset will point to a wrong location some bytes before.

I will check what may be the best and simplest solution
  • Author
  • Localization

aluigi, posted Sat Mar 30, 2019 8:59 pm (46215)


The solution I just implemented in my beta works well.
  • Author
  • Localization

Shokoniraya, posted Sun Mar 31, 2019 9:32 am (46235)


aluigi wrote:
The solution I just implemented in my beta works well.

exactly. it's really important in New games or padded files
Thank you
  • Author
  • Localization

GHFear, posted Sun Mar 31, 2019 2:01 pm (46259)


Shokoniraya wrote:
aluigi wrote:
The solution I just implemented in my beta works well.

exactly. it's really important in New games or padded files
Thank you


If it's the same padding each time or a pattern to it, couldn't you make a script that goes through the file and adds the NON-PADDED offsets to a location in the padding bytes, and then make a script only for importing by using those correct offsets., then make a third script that goes through the file and checks the newly printed offset in the padding, subtract your current offset, then take the new value and print that to the padded offset. then make a batch file for doing it automatically.

This way you could reimport to padded offsets or offsets that don't use actual offsets, but rather only a padding offset from the start of the filedata. anything like that.
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.