/hsrl

Lua execution in Honkai: Star Rail.

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Honkai: Star Rail Lua - HSRL License OS Discord

Free and open-source tool for Honkai: Start Rail that allows you to execute your own Lua scripts inside the game's built-in XLua environment. 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.

FAQ

How to load the tool?

I am not providing any builds of this program yet, so if you want to try it 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.

Why is my game crashing when trying to run a script?

You cannot run scripts while in the start screen. Make sure to be in the game world before trying to run any scripts.

How do I open and close the menu?

When you have the game window focused, press the INSERT key.

What do I do if the HSRL menu doesn't pop up?

The most common cause of this problem are third-party overlays. Make sure programs such as MSI Afterburner (RTSS) or Discord Game Overlay are not attached to the game, because they might interfere with the menu of this tool. Another possible cause is that you are not running the game through the launcher, this program will not work if you open the game's executable directly.

Screenshots

image

Utilized third-party libraries

License

This project is licensed under the GPL-3.0 License - see the LICENSE file for details.