2026-10-18 20:59:25 -07:00
2026-10-17 12:25:50 -07:00
2026-10-17 21:03:23 -07:00
2026-10-18 10:26:31 -07:00
2026-10-15 22:16:10 -07:00
2026-10-17 20:42:15 -07:00
2026-09-29 17:14:27 -07:00
2026-10-17 20:42:15 -07:00
2026-10-15 22:16:10 -07:00
2026-10-18 20:59:25 -07:00

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).

Screenshot

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 🔴 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)

  1. 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

  1. Open CapyLauncher.exe.
  2. Press Browse under Game and pick StarRail.exe inside your client folder.
  3. Press Play. It starts the server, copies launcher.exe and hkrpg.dll into your client folder if needed (Thank you Reversed Rooms), then starts the game. Accept the admin prompt.
  4. 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

  1. Copy launcher.exe and hkrpg.dll from launcher folder inside CapySR and paste them inside your client folder (Thank you Reversed Rooms)
  2. Start the server: build\bin\capysr.exe (capysr.exe if you use a prebuilt).
  3. Run the launcher.exe as administrator.
  4. 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.

S
Description
No description provided
Readme
15 MiB
0 Stars 1 Watchers 0 Forks
Languages
C++ 71.9%
C# 23%
Python 3.6%
PowerShell 1%
CMake 0.5%