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.

Need for Speed World (*.HSH;*.BIN)

Featured Replies

  • Author
  • Localization

Ekey, posted Sun Aug 31, 2014 9:49 am (332)


Simple script for decrypt HSH files :)

Code:
# Need for Speed World (HSH format) Decryptor
#
# Written by Ekey (h4x0r)
#
# script for QuickBMS http://quickbms.aluigi.org

encryption des "12345678" "12345678"
get SIZE asize
log "decrypted_file.dat" 0 SIZE


And simple code for decrypt BIN files from LANGUAGES folder :)

Code:
    for (int i = dwSize - 1; (unsigned int)i >= 1; --i )
        *(BYTE *)(i pBuffer) ^= *(BYTE *)(i pBuffer - 1);
    *(BYTE *)pBuffer ^= 0x8Eu;
  • Author
  • Localization

AMG, posted Sun Aug 31, 2014 12:17 pm (333)


Nice, what about a script for .BIN packages of cars?
  • Author
  • Localization

AMG, posted Sun Aug 31, 2014 3:11 pm (335)


Apparently, seems there's no Tool which works with NFS World .BIN format of cars. Also, the author of the tools is inactive from more than an year ago.
  • Author
  • Localization

NFSModDev, posted Sun Apr 26, 2015 8:13 pm (4825)


Ekey wrote:
Simple script for decrypt HSH files :)
And simple code for decrypt BIN files from LANGUAGES folder :)

Code:
    for (int i = dwSize - 1; (unsigned int)i >= 1; --i )
        *(BYTE *)(i pBuffer) ^= *(BYTE *)(i pBuffer - 1);
    *(BYTE *)pBuffer ^= 0x8Eu;

How to use this code? I try copy it to empty file, saving with the bms extension and use with QuickBMS 0.61d, but have error.
Also I have paste this code after code for decrypt hsh files, but have error too.
QuickBMS reported a error:
Code:
Error: invalid operator 'i'
Last script line before the error or that produced the error:
  1   for (int i = dwSize - 1; (unsigned int)i >= 1; --i

Can anyone help me?
  • Author
  • Localization

aluigi, posted Mon Apr 27, 2015 7:08 am (4834)


Try the following:
Code:
get SIZE asize
encryption xor_prev "" # "0x8e" from quickbms 0.6.3
log MEMORY_FILE 0 SIZE
getvarchr TMP MEMORY_FILE 0
math TMP ^ 0x8e
putvarchr MEMORY_FILE 0 TMP
get NAME basename
get EXT extension
string NAME p "%s_decrypted.%s" NAME EXT
log NAME 0 SIZE MEMORY_FILE
  • Author
  • Localization

NFSModDev, posted Tue Apr 28, 2015 4:56 am (4882)


aluigi, big thanks! Script works perfrectly with NFS World, NFS Carbon and NFS ProStreet.
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.