AcheronSR/README.md

78 lines
2.1 KiB
Markdown
Raw Normal View History

2024-04-15 18:01:18 +00:00
# AcheronSR
2024-03-29 06:43:51 +00:00
2024-03-29 07:42:00 +00:00
A Server emulator for the game [`Honkai: Star Rail`](https://hsr.hoyoverse.com/en-us/)
2024-04-15 18:01:18 +00:00
![screenshot](https://git.xeondev.com/reversedrooms/AcheronSR/raw/branch/master/screenshot.png)
2024-03-29 07:42:00 +00:00
## Installation
### From Source
#### Requirements
- [Rust](https://www.rust-lang.org/tools/install)
#### Building
2024-04-04 16:50:24 +00:00
##### Manually
2024-03-29 07:42:00 +00:00
```sh
2024-04-15 18:01:18 +00:00
git clone https://git.xeondev.com/reversedrooms/AcheronSR.git
cd AcheronSR
cargo build --bin gameserver
cargo build --bin dispatch
cargo build --bin sdkserver
2024-03-29 07:42:00 +00:00
```
2024-04-04 16:50:24 +00:00
##### Using xtasks (use this if stupid)
```sh
cargo xtask run
```
##### To run it with automatic recompilation when any Rust files are changed
```sh
cargo xtask watch
```
2024-03-29 07:42:00 +00:00
### From Pre-built Binaries
2024-04-15 18:01:18 +00:00
Navigate to the [Releases](https://git.xeondev.com/reversedrooms/AcheronSR/releases)
2024-03-29 07:42:00 +00:00
page and download the latest release for your platform.
## Usage
To begin using the server, you need to run both the SDK server and the game server.
If you installed from pre-built binaries, navigate to the directory where you downloaded
the binaries and either a) double-click on the following executable names or b)
run the following in a terminal:
```sh
./gameserver
./dispatch
2024-03-29 07:42:00 +00:00
./sdkserver
```
##### Note: the `assets` folder should be in the same directory with the `gameserver`, otherwise it will panic.
2024-03-29 07:42:00 +00:00
## Connecting
2024-04-04 16:50:24 +00:00
2024-03-29 07:42:00 +00:00
[Get 2.2 beta client](https://bhrpg-prod.oss-accelerate.aliyuncs.com/client/beta/20240322124944_scfGE0xJXlWtoJ1r/StarRail_2.1.51.zip),
2024-04-15 18:01:18 +00:00
replace [mhypbase.dll](https://git.xeondev.com/reversedrooms/AcheronSR/raw/branch/master/mhypbase.dll)
2024-04-04 16:50:24 +00:00
file in your game folder, it will redirect game traffic (and disable in-game censorship)
2024-03-29 07:42:00 +00:00
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss
what you would like to change, and why.
## Bug Reports
If you find a bug, please open an issue with as much detail as possible. If you
can, please include steps to reproduce the bug.
Bad issues such as "This doesn't work" will be closed immediately, be _sure_ to
provide exact detailed steps to reproduce your bug. If it's hard to reproduce, try
to explain it and write a reproducer as best as you can.