This repository holds ParadiseSS13 modifications of rust-g libraries from /tg/station.
This works by keeping a folder of Paradise patches to be applied, and applies it to a specific version tag of tg's rust-g. This reduces our need for major reworks to code, as we can just use patches to achieve what we need without cluttering the main tree.
The license for RUST-G itself can be found on tg's repo. Code for the Paradise modifications falls under the same license.
- You must have a copy of
Git Bash
or some other bash emulator on windows, and a git identity setup. This will not work otherwise. - Run the
apply_patches.sh
file to autocreate a clone oftg-rust-g
, and apply the patches to it. - Paradise RUST-G requires all features to be enabled.
- To build on windows, run
cargo build --release --all-features --target=i686-pc-windows-msvc
. This will generate a 32-bit.dll
file that is compatible with BYOND. - To build on linux, run
cargo build --release --all-features --target=i686-unknown-linux-gnu
. This will generate a 32-bit.so
file that is compatible with BYOND.
- To build on windows, run
If you are still stuck, check tg's README. for more detailed instructions.
- You must have a copy of
Git Bash
or some other bash emulator on windows, and a git identity setup. This will not work otherwise. - Run the
apply_patches.sh
file to autocreate a clone oftg-rust-g
, and apply the patches to it. - Open the folder called
paradise-rust-g
inside an IDE of your choice. Make your edits in here. - Save your edits as a single commit inside
paradise-rust-g
. Do not push changes. Do not modifytg-rust-g
. - Run the
rebuild_patches.sh
script to convert your commit into a patch that will be saved in theparadise_patches
directory
- /tg/station for the original RUST-G works.
- SpigotMC for the patching logic.