-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
Wolfyxon edited this page Oct 21, 2024
·
12 revisions
Note
If you're looking for help with the lover.toml
file, see project configuration.
The Lover configuration is stored in:
- Linux, MacOS
~/.local/share/lover/config.toml
- Windows:
%appdata%\lover\config.toml
[build]
contains settings of the building process.
-
always_zip
: Should release targets that contain multiple files be zipped.
[build]
zip = false
[run]
contains settings of how the games a ran.
Important
These settings only affect games that are ran with lover run
. They do not affect exported games.
-
prime
: Will make the game run on the dedicated GPU, and thus faster.
[run]
prime = true
[software]
contains paths to the software used by Lover
Also see the software page.
-
love
: The Love2D binary. Used for running Love2D games. -
luac
: Lua compiler, used for parsing scripts -
appimage
: Used for creating the Linux.AppImage
file -
wine
: Compatibility layer for Windows apps on Linux, used to runrcedit
-
rcedit
: Used to apply version info and icon to built EXE files -
smdhtool
: Used for creating the.smdh
app info file on the 3DS -
threedsxtool
: Used for creating the.3dsx
executable file
[software]
love = "love"
luac = "luac"
appimagetool = "appimagetool"
wine = "wine"
rcedit = "idk/somewhere/rcedit"
smdhtool = "/opt/devkitpro/tools/bin/smdhtool"
threedsxtool = "/opt/devkitpro/tools/bin/3dsxtool"
threedslink = "/opt/devkitpro/tools/bin/3dslink"
Rust (programming language used by Lover) doesn't support using numbers as the first character of identifiers and will throw an error otherwise. The configuration is stored in a struct which uses identifiers instead of string fields.
Nerdy stuff.