Here is a simple tool that allows you to update native hashes and their addresses with ease! This tool will really only be useful to modders who are reverse engineering the game and not the average user, so if that means you, don't bother reading any further.
The goal of this tool is to simplify the process of updating native addresses to the latest version of the game.
Provided with a version of natives.h and the relevant translation tables, the tool will do the rest for you, producing a natives-bxxx.h file with the hashes changed to reflect the newer version. Additionally, when provided with an addresses-bxxx text file, the tool will also generate and .idc script which can be used within IDA to apply labels at the entry points for these natives, providing valuable information that makes things much easier for anyone reverse engineering the binary.
In the download, I have included almost all necessary files to update natives to the current version of the game at the time of me writing this i.e. v 1180. The only file you will need to attain yourself is natives.h from www.dev-c.com/nativedb. (future versions may use a web request to grab this file, but for now you will need to provide it manually). For future updates, you simply need to create a new bxxx-bxxx.txt file containing the translations, and optionally provide a newer version of the bxxx-addresses.txt file.
To use the program:
First drop the latest version of natives.h into the working directory (Available form www.dev-c.com/nativedb) then select the bxxx-bxxx.txt translation tables up to the game version to which you want to update natives to, and drag these onto NativeHashUpdater.exe.
I hope this will be helpful to other modders. It has definitely made the process a lot easier for me. Please leave a comment if you run into any issues.
Source is included in the download.
v1.0.1
Updated with newest translation tables
Program will now generate a crossmap.txt mapping natives from the first input file to the last
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
Write comment: