fireflysr with easy setup. PLEASE SCROLL DOWN!!!
Find a file
2024-05-27 13:08:46 +00:00
.cargo First push 2024-05-13 22:03:59 +03:00
assets First push 2024-05-13 22:03:59 +03:00
common Ignore SceneGroups that shouldn't be loaded by server (fixes loading stuck for some maps) 2024-05-14 21:06:00 +03:00
dispatch 2.2.53 hotfix url 2024-05-22 17:20:53 +08:00
gameserver bugfix & command help 2024-05-22 19:18:22 +08:00
proto Disable password check 2024-05-22 17:17:14 +08:00
sdkserver bugfix & command help 2024-05-22 19:18:22 +08:00
tutorial Upload files to "tutorial" 2024-05-27 12:34:05 +00:00
xtask First push 2024-05-13 22:03:59 +03:00
.gitignore First push 2024-05-13 22:03:59 +03:00
BUILD.bat Add BUILD.bat 2024-05-27 12:56:06 +00:00
Cargo.toml First push 2024-05-13 22:03:59 +03:00
LICENSE Initial commit 2024-05-13 18:53:02 +00:00
mhypbase.dll First push 2024-05-13 22:03:59 +03:00
README.md Update README.md 2024-05-27 13:08:46 +00:00
screenshot.png First push 2024-05-13 22:03:59 +03:00

FireflySR

A Server emulator for the game Honkai: Star Rail

...BUT I edited this text to make it easier to run, for goobers.

I just want to run the server! I don't care about modifying the code.

  • First, get MongoDB
  • Go to Reversedrooms FireflySR Releases Tab
  • On that page download "FireflySR-win64.zip". DO NOT DOWNLOAD SOURCE CODE!!! screenshot
  • Unzip the compressed archive to a NEW folder with nothing else in it.
  • Run "start_all.bat"
  • Allow admin permission for all three tabs that should open
  • Now, scroll down to Connecting

On later occasions, if you want to run the server again, run "start_all.bat" again.

I want to edit the code and build the project to how I like it!

First, get these prerequesites:

  • Rust
  • MongoDB
  • Git
  • Protobuf Compiler (protoc) (ONLY IF YOU ARE USING MICROSOFT WINDOWS). You should manually extract it to somewhere and add bin subfolder to the system environment variable PATH. Look online for how to add a folder to "path" Then, open file explorer and create a new folder somewhere. Make sure it's empty. Then, at the file path thing at the top of file explorer, click it, delete the text, replace with "cmd" and click enter. Now, you should have Command Prompt running. Inside this window, run git clone https://git.endernon.com/endernon/FireflySR-goober-edition ./FireflySR . Now, Git will start cloning the repo locally. Once it's done, open the newly created "FireflySR" folder. You now have a local copy of the code.

Building

Now, make your changes to the code. When you wish to compile, run the BUILD.bat I provided in the root folder of FireflySR. You will need to run the script again every time you make a change to the code and want to run your changes.

Usage

To begin using the server, you need to run three servers: sdkserver, dispatch and gameserver

Note: the assets folder should be in the same directory with the gameserver, otherwise it will not boot up.

Configuration (ignore this unless you really need to change the mongodb port)

By default, servers will try to use local mongodb (at 127.0.0.1:27017), this should work out of box if you installed MongoDB on your machine.
You can change this in configuration file of specific server. Currently only sdkserver and gameserver communicate with database, so if you need to configure it, edit sdkserver.json and gameserver.json files.

Connecting

For the latest 2.2.53 Beta patch

If you want to play the latest Beta patch, the mhypbase.dll patch for 2.2.51 OS is not usable. You should use a separate proxy like FireflySR.Tool.Proxy (Prebuilt binary can be downloaded here).

Also, you need to configure disable_password_check in sdkserver.json. That is to say, if you have used a older version, you should go to the configuration file in the root directory and check if it's true.

Clients (2.3 Beta v3):

Notice: CN Package may not have languages other than Chinese, and vice versa. Be careful when choosing which to download; luckily they are all compatiable with this server.

For v2.2.51 Players

Get 2.3 beta client v1(.51), replace mhypbase.dll file in your game folder, it will redirect game traffic (and disable in-game censorship)