1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-05-20 09:47:44 +00:00

Clarify Oodle instructions, link against "oodle" directory

While you can just drop the Oodle static library into /usr, I'm not a
big fan of doing it, especially when the binary didn't come from my
machine or package manager. You can set a RUSTFLAGS environment variable
or cargo config file to specify a link path, but having the build script
search there for you is easier.

The docs now specify which variant of Oodle is required, since there are
multiple. It also specifically mentions the static library, because I
had some weird issues leaving the dynamic library in that folder, where
the executables wouldn't start unless it could dynamically load the .so.
This commit is contained in:
NotNite 2025-03-17 14:08:51 -04:00
parent a8c740a322
commit b3326e957e
No known key found for this signature in database
GPG key ID: BD91A5402CCEB08A
3 changed files with 5 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
/target /target
/oodle
.idea/ .idea/
config.json config.json
*.bin *.bin

View file

@ -11,7 +11,7 @@ Kawari is designed to be easy to run, with the goal of being accessible to anyon
## Prerequisites ## Prerequisites
* Linux * Linux
* Copy of the game updated to the supported game version (see README) * Copy of the game updated to the supported game version (see README)
* Oodle (can be obtained from [here](https://github.com/WorkingRobot/OodleUE)) * Oodle Network Compression (can be obtained from [here](https://github.com/WorkingRobot/OodleUE), place static library (`.a`) into `oodle` directory)
## Setup ## Setup

3
build.rs Normal file
View file

@ -0,0 +1,3 @@
fn main() {
println!("cargo:rustc-link-search=./oodle");
}