mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2025-09-05 16:00:15 +02:00
Improve readme
This commit is contained in:
parent
dc346ccf4a
commit
5a759582c7
1 changed files with 18 additions and 13 deletions
11
README.md
11
README.md
|
@ -20,7 +20,7 @@ Use your keyboard or mouse to control the flipper
|
||||||
## Known source ports
|
## Known source ports
|
||||||
|
|
||||||
| Platform | Author | URL |
|
| Platform | Author | URL |
|
||||||
| ------------------ | --------------- | ---------------------------------------------------------------------------------------------------------- |
|
| --------------- | --------------- | ---------------------------------------------------------------------------------------------------------- |
|
||||||
| PS Vita | Axiom | <https://github.com/suicvne/SpaceCadetPinball_Vita> |
|
| PS Vita | Axiom | <https://github.com/suicvne/SpaceCadetPinball_Vita> |
|
||||||
| Emscripten | alula | <https://github.com/alula/SpaceCadetPinball> <br> Play online: <https://alula.github.io/SpaceCadetPinball> |
|
| Emscripten | alula | <https://github.com/alula/SpaceCadetPinball> <br> Play online: <https://alula.github.io/SpaceCadetPinball> |
|
||||||
| Nintendo Switch | averne | <https://github.com/averne/SpaceCadetPinball-NX> |
|
| Nintendo Switch | averne | <https://github.com/averne/SpaceCadetPinball-NX> |
|
||||||
|
@ -72,10 +72,10 @@ To cross-compile for Windows, install a 64-bit version of mingw and its `SDL2` a
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# On Debian and Ubuntu
|
# On Debian and Ubuntu
|
||||||
sudo apt install cmake build-essential ninja libsdl2-dev libsdl2-mixer-dev libsdl2-mixer-2.0-0 libsdl2-2.0-0
|
sudo apt install cmake build-essential ninja-build libsdl2-dev libsdl2-mixer-dev libsdl2-mixer-2.0-0 libsdl2-2.0-0 fluidsynth
|
||||||
|
|
||||||
# On Fedora
|
# On Fedora
|
||||||
sudo dnf install TBD
|
sudo dnf install cmake ninja-build SDL2 SDL2-devel SDL2_mixer SDL2_mixer-devel fluidsynth fluidsynth-libs mscore-fonts g++
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
cmake -GNinja .
|
cmake -GNinja .
|
||||||
|
@ -86,6 +86,11 @@ ninja
|
||||||
|
|
||||||
Some distributions provide a package in their repository. You can use those for easier dependency management and updates.
|
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`
|
||||||
|
|
||||||
### On macOS
|
### On macOS
|
||||||
|
|
||||||
* **Homebrew**: Install the `SDL2`, `SDL2_mixer` homebrew packages.
|
* **Homebrew**: Install the `SDL2`, `SDL2_mixer` homebrew packages.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue