Experimental server emulator for a game I forgot its name 💀
# install dependencies (ubuntu)
apt install build-essential cmake libprotobuf-dev protobuf-compiler liblua5.3-dev
# install dependencies (arch linux)
pacman -S cmake protobuf lua
# setup for build
cmake -B build
# build
cmake --build build -j8
Make sure you've selected "C++ CMake tools for Windows" in the Visual Studio installer.
Install vcpkg according to their documentation.
# install dependencies (vcpkg)
vcpkg install protobuf lua[cpp]:x64-windows
Open the folder in Visual Studio and build it.
Use the MINGW64 terminal.
# install dependencies
pacman -S ${MINGW_PACKAGE_PREFIX}-{toolchain,cmake,protobuf,lua}
# prepare for build
cmake -B build -G "Unix Makefiles"
# build
cmake --build build -j8
Detailed build guide available [here](https://github.com/wiors/soggy/wiki/Get-started-with-MingW64).```
## Running
Put the `resources` directory and `soggy.cfg` in the current working directory and run soggy. Enter `help` in the interactive prompt to see a list of commands.
`dispatch.py` is obsolete. The game server has a built-in dispatch server now.
Resources can be found on the repo wiki.
## Troubleshooting
If after logging in and clicking Tap to begin an next error occurs: `<uid:1-time:1671269113657[0,0,0]>FormatException: Unknown char: . `, just select English as the system language and try again.
## Client patches
=== GS.exe
(VA=0x140ef5080, fileoffset=0xef4480) = c3
=== GS_Data/Native/UserAssembly.dll
(VA=0x1802d1ef0, fileoffset=0x2d12f0) = b0 01 c3
(VA=0x181ac998c, fileoffset=0x1ac8d8c) = 66 0f ef ff
(VA=0x18213221b, fileoffset=0x213161b) = 90 90 90 90 90 90
(VA=0x182083430, fileoffset=0x2082830) = c3