Free and open-source tool for Honkai: Star Rail that allows you to dump offsets for almost all methods found in GameAssembly.dll
in the json format. The program is developed as an internal module that's being loaded into the game process. Compatible only with the global version of the game.
I am not providing any builds of this program, so if you want to try it out you will have to compile it yourself. Once you do that, you can use the loader from my other program, Genshin Utility, to load this tool into the game.
About 10 seconds after injecting the tool into the game a console should show up. Once you see a message saying done
in it, a file called methods.json
should appear in the same folder where the game (StarRail.exe
) is installed.
Many methods inside the game are obfuscated by developers in order to make reverse engineering harder. There is very little you can do about it, and it's not the purpose of this program.
Here are a few lines from the file generated by this tool.
{
...
"RPG.Client.AutoPlayable::OnLightweightActivate": "0x3867ac0",
"RPG.Client.AutoPlayable::OnLightweightDeactivate": "0x3867b60",
"RPG.Client.AutoScrollRect::.ctor": "0x34b1280",
"RPG.Client.AutoScrollRect::HDMOCEMAKBC": "0x34b0bc0",
"RPG.Client.AutoScrollRect::NPHMCMMFMIB": "0x34b0c50",
"RPG.Client.AutoScrollRect::SetItemSelectCallback": "0x34b0ca0",
"RPG.Client.AutoScrollRect::SnapTo": "0x34b0e60",
...
}
This project is licensed under the GPL-3.0 License - see the LICENSE file for details.