Improve readme

This commit is contained in:
Kowalski Dragon 2021-12-22 12:06:02 +01:00
parent 5a759582c7
commit 4bc8baa8c7
No known key found for this signature in database
GPG Key ID: C4E819BD2BC6233E
1 changed files with 5 additions and 3 deletions

View File

@ -87,9 +87,11 @@ ninja
Some distributions provide a package in their repository. You can use those for easier dependency management and updates.
**Fixing the audio issue**: To make music work, you need to export the following envar before launching the game:
`SDL_SOUNDFONT=/path/to/soundfont`
On Fedora: `SDL_SOUNDFONT=/usr/share/soundfonts/FluidR3_GM.sf2`
On Ubuntu/Debian: `SDL_SOUNDFONT=/usr/share/sounds/sf2/FluidR3_GM.sf2`
`export SDL_SOUNDFONT=/path/to/your/soundfont`
Fluidsynth will install a default soundfont in this path:
On Fedora: `/usr/share/soundfonts/FluidR3_GM.sf2`
On Ubuntu/Debian: `/usr/share/sounds/sf2/FluidR3_GM.sf2`
### On macOS