Custom server for YuanShen / Genshin Impact video game.
Supported game versions: 1.4.5x - 3.3.5x (depends on protocol definitions provided and keys used)
Note: Github repo is a mirror of the main repo located at Invisible Internet Bublik. In case Github mirror dies, use I2P to access the main site.
You'll need any C/C++ toolkit installed:
- On Windows, MS VS Community or MinGW will do the job;
- On *nix, you just need GCC / Clang
Also you'll need to install Rust.
- On Windows, refer to official instructions
- On Linux, use system package manager to install
rustc
andcargo
Clone repository with git clone --recurse-submodules <repo_url>
. This is required to initialize all submodules.
Look at the instructions in the proto
project on how to get the required file set.
Refer to Sapozhok
's README about traffic encryption keys. Note that RustySamovar
doesn't need SSL keys, only RSA and regional ones.
Just plain and simple cargo build
.
To run the server, you'll need some of the game's files:
- Lua scripts, grab them from
DecompiledLua/Lua
subdirectory and put intodata/lua/
subfolder of the server - ExcelBinOutput configs, grab them from
ExcelBinOutput
subdirectory and put intodata/json/game/
subfolder of the server - BinOutput configs, grab them from
2.5.52/Data/_BinOutput
subdirectory and put intodata/json/game/
subfolder of the server
Alternatively you can dump everything by yourself using tools available at Bublik.
Just cargo run
will do the trick.