From 77cdbba7dbf6457e3a33ea00308aad03ca79fcd0 Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 26 Apr 2024 14:13:32 +0200 Subject: [PATCH] describe solutions for missing asset problem --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 76f0847..8a4e7d2 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,10 @@ If this doesn't work, please open an issue on https://codeberg.org/hut/outfly an If you build with `--features dev`, then you must not run the game `./outfly`. Use `cargo run` instead. +## The assets can't be found + +If you build without the "`embed_assets`" feature, the asset folder must be in the same path as the outfly binary. Possible solutions are to symlink the `assets` directory into the `target/$yourtarget/` folder, to instead run with `cargo run`, or to compile with "`--features embed_assets`" (which is enabled by default). + ## I'm on Windows. How do I use command line options? Create a shortcut, change the target from `[...]outfly.exe` to e.g. `[...]outfly.exe --gl`.