No Man's Sky
0 of 0

File information

Last updated

Original upload

Created by

emoose

Uploaded by

stk25

Virus scan

Safe to use

About this mod

BankSignatures.bin resigner

Permissions and credits
This tool can recreate the BankSignatures.bin file for you based on your own NMSARC.pak files, which should stop the game from showing any "File Tamper Warning" message.
(alternatively you could use my "Mod Warnings Be Gone" mod to get rid of that, resigning isn't really necessary, but I thought I'd look into it for completeness sake)

Just something I put together since I hadn't seen anyone else try looking into it yet, fortunately there wasn't anything too difficult here: the BankSignatures.bin file is encrypted using the same method as save files (known as XXTEA), with the key statically built into the EXE (so maybe they can change it between releases, but I dunno if they ever do that)

The funny part is that there's actually no signatures in use here at all - the "signatures" are just the file size of the unmodified paks, encrypted to make them harder to modify.
I guess comparing filesizes is easier than adding in a bunch of public-key crypto code :P

Installation
To install just put the NMSResign.exe somewhere in your No Man's Sky game directory (eg. 'No Mans Sky\Binaries\'), it should work fine inside any of the directories in there.

Usage
First you should probably backup the original BankSignatures.bin file somewhere before using this, just in case there's any problems (Steam users can probably skip this, and just "Verify Game Files" if you have issues)

Now to 'resign' just run the NMSResign.exe, if the signing was successful you should see a command box flash for a second before disappearing, if there were any problems it'll let you know instead of disappearing.

With the BankSignatures.bin updated you should now be able to run the game without any "File Tamper Warning" message, just make sure to run NMSResign again if you update any of the NMSARC files!

Decryption
You can also use this to decrypt any existing BankSignatures.bin file into CSV format, there's not much use for doing this but maybe it can be useful to make sure it's decrypting/encrypting properly.
To decrypt just open a command-prompt to the folder containing NMSResign.exe and run it like "NMSResign.exe decrypt", this should create a BankSignatures.bin.dec file which can be opened in Notepad/Notepad++/etc.

Source code is included for anyone interested in that, code licensed under GPL3.

If you have any issues running it make sure you have .NET 2.0 installed (pretty much any system after Windows XP should already have that though)