GithubHelp home page GithubHelp logo

RustySamovar

Custom server for YuanShen / Genshin Impact video game.

Supported game versions: 1.4.5x - 3.5.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.

Building

Toolkit preparation

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 and cargo

Preparing the workplace

Clone repository with git clone --recurse-submodules <repo_url>. This is required to initialize all submodules.

Retrieving protocol definitions

Look at the instructions in the proto project on how to get the required file set.

Retrieving traffic encryption keys

Refer to Sapozhok's README about traffic encryption keys. Note that RustySamovar doesn't need SSL keys, only RSA and regional ones.

Compiling

Just plain and simple cargo build.

Running

Preparation

To run the server, you'll need some of the game's files:

  • Lua scripts, grab them from DecompiledLua/Lua subdirectory and put into data/lua/ subfolder of the server
  • ExcelBinOutput configs, grab them from ExcelBinOutput subdirectory and put into data/json/game/ subfolder of the server
  • BinOutput configs, grab them from 2.5.52/Data/_BinOutput subdirectory and put into data/json/game/ subfolder of the server

Alternatively you can dump everything by yourself using tools available at Bublik.

Starting the server

Just cargo run will do the trick.

rustysamovar's Projects

kcp icon kcp

Fork of https://github.com/Matrix-Zhang/kcp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.