describe solutions for missing asset problem

This commit is contained in:
yuni 2024-04-26 14:13:32 +02:00
parent 8d17186474
commit 77cdbba7db

View file

@ -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. 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? ## 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`. Create a shortcut, change the target from `[...]outfly.exe` to e.g. `[...]outfly.exe --gl`.