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.

[NFS Undercover N-Gage] incorrectly sorted notes in .mod

Featured Replies

  • Author
  • Localization

link12738, posted Fri Aug 11, 2017 3:09 pm (25391)


--
  • Author
  • Localization

link12738, posted Fri Aug 11, 2017 4:38 pm (25395)


--
  • Author
  • Localization

aluigi, posted Fri Aug 11, 2017 10:09 pm (25404)


Do you mean like this?
Code:
findloc OFFSET string "8CHN"
math OFFSET 6
goto OFFSET
get SIZE asize
log MEMORY_FILE 0 OFFSET
goto OFFSET MEMORY_FILE
append
for OFFSET = OFFSET < SIZE
    get TMP1 short
    get TMP2 byte
    math TMP1 z 8
    math TMP2 z 4
    put TMP1 short MEMORY_FILE
    put TMP2 byte MEMORY_FILE
next OFFSET 3
append

get NAME basename
get EXT extension
string NAME "_ok."
string NAME EXT
log NAME 0 SIZE MEMORY_FILE
The swapping starts from offset 0x104b0 of the sample you provided because it's the only way to match the file length with the 3 bytes step, you didn't provide info about that.
  • Author
  • Localization

link12738, posted Sat Aug 12, 2017 6:05 am (25410)


--
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.