Hey! Click me! Click me! Click me!
简体中文 | 繁体中文 | English | Documentation

*This script is still in the testing phase and may cause some strange issues.***
Hitting a wall while navigating? The path is wrong? Complaining about the slow pace? The map recording function has been added in beta-2.7.
You can now use the record_v7.2.py tool to record the path, and confirm that you are happy with the route XD
Found a BUG? Want to give feedback on the code issues? Join the Technical & Blowwater Group:QQ Group|Telegram群组
~~At present, this script only supports scaling 150%, screen resolution 2560x1440, and is now being greatly changed to solve the problem of screen rotation adaptation as soon as possible~~
This software is an external tool designed to automate playing Honkai Impact 3 - Star Rail. It is designed to interact with the game only through existing user interfaces and comply with relevant laws and regulations. The package aims to provide simplified and user-friendly interaction with the game, and it is not intended to disrupt game balance in any way or provide any unfair advantages. The package will not modify any game files or game code in any way.
This software is open source, free of charge, and for learning and exchange purposes only. The developer team has the final right to interpret this project. All problems arising from the use of this software are not related to this project and the developer team. If you encounter a merchant using this software to practice on your behalf and charging for it, it may be the cost of equipment and time, etc. The problems and consequences arising from this software have nothing to do with it.
Please note that based on MiHoYo's FairPlay statement for Honkai Impact 3 - Star Rail:
"It is strictly forbidden to use hack tools, accelerators, scripts or other third-party tools that undermine game fairness."
"Once discovered, miHoYo (hereinafter referred to as "we") will take measures such as deducting illegal gains - freezing game accounts - permanent bans based on the severity and frequency of violations."
pip install -r requirements.txt to install dependenciesif your computer resolution is 1920*1080, please adjust the game resolution to 1920*1080 (full screen). 4. The battle is automatic in the game, and ensure that your team has enough strength to push small monsters flatly.
(If you enable auto-battle persistence, change "auto_battle_persistence" in config.json to 1) 5. It is recommended not to track anything on the map, and the character's initial position is better in the observation car 6. Use a long-range attack character as the starter character. Currently, it is recommended to use March 7 with more stable running. 7. Open Honkai_Star_Rail.py and wait for the program to automatically run to the "map number" entry 8. If you do not know what the map number is or if you want to start overrunning, enter "0" and press Enter. 9. During the five-second waiting period before starting, click back to the game screen to ensure that no menus or interfaces are open and wait for the program to run. 10. During the program running, do not move the keyboard and mouse, otherwise it may cause deviation or collision problems. 11. If using a simulator, please use a resolution of 1280*720p. The default is the Nox simulator. For other simulators, please connect to the adb first. (The simulator may swallow mobile phone actions.) 12. If any problem occurs during the running process, or if you do not want to continue running and want to return to the main menu, use Ctrl+C and silently recite Long live Aileshia!
{
"real_width": 0, (actual width)
"auto_battle_persistence": 0, (whether to enable auto-battle in the game, fill in 1 to enable)
"real_height": 0, (actual length)
"github_proxy": "", (github proxy)
"rawgithub_proxy": "", (github proxy)
"webhook_url": "",
"start": true, (is it the first time running the script)
"picture_version": "20230515205738",
"star_version": "20230515220742",
"level": "INFO",
"adb": "127.0.0.1:62001",(62001 is the adb port)
"adb_path": "picture\\adb\\adb",(adb file path)
"proxies": ""
}
Blank space filling in the map json example:
json
{
"name": "Uraura-1", (The map json name is 1-1_1.json)
"author": "Starry-Wind", (Author name. The second author cannot overwrite the name of the first author.)
"start": [ (Identify the image of the map where the teleportation starts, move the mouse to the middle of the image, and press the button)
{"map": 1}, (Press the m key to open the map)
{"picture\\orientation_1.jpg": 1.5}, (After recognizing the picture of orientation_1.jpg, move the mouse to the middle of the picture and press the button)
{"picture\\map_1.jpg": 2}, (See the specific image, usually the map text named "Uraura")
{"picture\\map_1_point_1.jpg": 1.5}, (The picture of the first teleportation point)
{"picture\\transfer.jpg": 1.5} (The picture of the word "Teleportation")
]
}
⭐ If you like it, give it a star~ ⭐
Issue & Report a Bug | Fork & Open a New PR
All kinds of contributions including enhancements, new features, code improvements, issues and bugs reporting are welcome.
main branch of StarRailAssistant is the stable version, and all development is done in the main-beta branch. So if you want to open a Pull Request, your commits need to be submitted to the main-beta branch.Thanks to the following contributors for their contributions to this project.
$ claude mcp add StarRailAssistant \
-- python -m otcore.mcp_server <graph>