# JingliuSR
#### Honkai: Star Rail server emulator (3.4 beta) written in Zig.

# Saber who??? trash bin who???
![Screenshot](Screenshot.png)

## Requirements
[Zig 0.13.0 x64](https://ziglang.org/download/0.13.0/zig-windows-x86_64-0.13.0.zip)

## Running

### Replacing mhypbase.dll

Replace [mhypbase.dll](https://git.xeondev.com/HonkaiSlopRail/jingliu-sr/raw/branch/main/mhypbase.dll) file in your game folder.

### From source

Windows:
```
git clone https://git.xeondev.com/HonkaiSlopRail/jingliu-sr
cd jingliu-sr
zig build run-dispatch
zig build run-gameserver
```
Then open your client.

Linux:
```
git clone https://git.xeondev.com/HonkaiSlopRail/jingliu-sr
cd jingliu-sr
zig build run-dispatch & zig build run-gameserver
```
Then open your client.

### Using Pre-built Binaries
Navigate to the [Releases](https://git.xeondev.com/HonkaiSlopRail/jingliu-sr/releases)
page and download the latest release for your platform.

## Connecting
[Get 3.3.51 CN client](https://gofile.io/d/tWhXrJ)
[Get 3.3.53 OS client](https://harbinyupai-my.sharepoint.com/personal/necroticglow_yupaiharbin_com/_layouts/15/onedrive.aspx?id=%2Fpersonal%2Fnecroticglow%5Fyupaiharbin%5Fcom%2FDocuments%2F114514%2FStarRail%2F3%2E3%2E5X%2F3%2E3%2E53%5FOS&ga=1)

## Functionality (work in progress)
- Login and player spawn
- Test battle via calyx
- MOC/PF/AS simulator
- Gacha simulator 
- Support command for Sillyism

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