CapySR - WIP
A server reimplementation written in C++ for a certain anime game with star and rails. Targets the 4.7 beta v3 (4.6.53, usually the latest beta). This server is in WIP, but a lot is implemented (mostly combat stuff).
Feature progress
🟢 = Working 🟡 = WIP 🔴 = Not implemented yet
| Module | Status | Notes |
|---|---|---|
| Team formation | 🟢 | Lineups, slot switching, preset lineups |
| Warp/Gacha | 🟢 | Full pull flow and result display |
| Open-world scene | 🟢 | Scene loading, interaction, exploration |
| Challenge modes | 🟢 | MoC / PF / AS playable |
| Anomaly Arbitration | 🟡 | Can enter and pick a boss, full runs still being tested |
| Battle flow | 🟡 | Core combat loop works, Battle College missing |
| Techniques | 🟢 | Overworld effects, enemy debuffs, technique points |
| Shop | 🟡 | Buying works, roll shop missing |
| Friend system | 🟡 | List and display work, applying/deleting missing |
| Quest system | 🟡 | Quest list shows, rewards can't be claimed |
| Characters and gear | 🟡 | Built in the launcher or srtools, in-game leveling/promotion/eidolons/upgrades missing |
| Launcher | 🟢 | Start/stop the server, play, console, builds and battle editor |
| 🔴 | Mail list only, no attachments or deleting | |
| Items | 🔴 | Using, selling and composing items missing |
| Currency Wars | 🔴 | Not planned for implementation soon |
| Achievements | 🔴 |
Prebuilt
Don't want to build it yourself? You can grab the prebuilt from Releases, and skip to Running it.
Requirements (C++ tools are heavy, and is complicated to set up so I recommend you to use prebuilt)
- Visual Studio 2026 Community (or the smaller Build Tools): https://visualstudio.microsoft.com/downloads/ In the installer, tick "Desktop development with C++". That brings the compiler, the Windows SDK, CMake and Ninja; keep "C++ CMake tools for Windows" ticked, which it is by default.
That's the only thing you need to install yourself, for others, build.ps1 can get them for you.
Build
.\build.ps1 # to build the server and the launcher
Then find the outputs at build\bin\ (capysr.exe and CapyLauncher.exe).
Running it
Supports both CN and OS client. You can get the latest client here: CN or OS. Recommends you use 7z to extract.
With CapyLauncher
- Open
CapyLauncher.exe. - Press Browse under Game and pick
StarRail.exeinside your client folder. - Press Play. It starts the server, copies
launcher.exeandhkrpg.dllinto your client folder if needed (Thank you Reversed Rooms), then starts the game. Accept the admin prompt. - Log in with any account name and password.
Closing the launcher stops the server and saves your progress. Use Fresh start if you want to start over.
Without the launcher
- Copy
launcher.exeandhkrpg.dllfrom launcher folder inside CapySR and paste them inside your client folder (Thank you Reversed Rooms) - Start the server:
build\bin\capysr.exe(capysr.exeif you use a prebuilt). - Run the
launcher.exeas administrator. - Log in with any account name and password.
Delete data/player.json to start over from the defaults in config/config.json if needed.
Builds
You can edit your characters in the Builds tab of the launcher.
Press Save when you're done, then relog in game if you're already in. The supported game version is shown at the top of the Builds tab.
srtools
The server also supports https://srtools.neonteam.dev/!
Credit
- capyb2222
- Various other server for references.
- StarRailRes for the icons in the launcher.
Troubleshooting
- You can create an issue in this repository, but it is not guaranteed I will be there to help.
Support
If you like the project, you can support me on Ko-fi.
