diff --git a/packaging/flatpak/README.md b/packaging/flatpak/README.md index 77cc60523..3945fdd95 100644 --- a/packaging/flatpak/README.md +++ b/packaging/flatpak/README.md @@ -37,7 +37,7 @@ flatpak run --env=GAMEID=umu-starcitizen --env=WINEPREFIX=/home/tcrider/Games/um # running a game using the default latest UMU-Proton: ``` -flatpak run --env=GAMEID=umu-starcitizen --env=WINEPREFIX=/home/tcrider/Games/umu/umu-starcitizen org.openwinecomponents.umu.umu-launcher winecfg /path/to/some/game.exe +flatpak run --env=GAMEID=umu-starcitizen --env=WINEPREFIX=/home/tcrider/Games/umu/umu-starcitizen org.openwinecomponents.umu.umu-launcher /path/to/some/game.exe ``` # running a game using the latest GE-Proton: diff --git a/packaging/rpm/README.md b/packaging/rpm/README.md new file mode 100644 index 000000000..6b0a5b565 --- /dev/null +++ b/packaging/rpm/README.md @@ -0,0 +1,46 @@ +# Install dependencies: +``` +sudo dnf install -y mock fedpkg +sudo usermod -aG mock username +su username +``` + +# Build: +``` +fedpkg --release f39 srpm +mock -r /etc/mock/fedora-39-x86_64.cfg --rebuild --enable-network *.src.rpm +mv /var/lib/mock/fedora-39-x86_64/result . +``` + +# Install: +``` +cd result +sudo dnf install -y umu-launcher*.rpm +``` + +# Remove +``` +sudo dnf remove -y umu-launcher +``` + +# Usage examples: + +# winecfg: +``` +GAMEID=umu-starcitizen WINEPREFIX=/home/tcrider/Games/umu/umu-starcitizen umu-run winecfg +``` + +# running a game using the default latest UMU-Proton: +``` +GAMEID=umu-starcitizen WINEPREFIX=/home/tcrider/Games/umu/umu-starcitizen umu-run /path/to/some/game.exe +``` + +# running a game using the latest GE-Proton: +``` +GAMEID=umu-starcitizen WINEPREFIX=/home/tcrider/Games/umu/umu-starcitizen PROTONPATH=GE-Proton umu-run /path/to/some/game.exe +``` + +# running a game using a specific proton version: +``` +GAMEID=umu-starcitizen WINEPREFIX=/home/tcrider/Games/umu/umu-starcitizen PROTONPATH=GE-Proton9-1 umu-run /path/to/some/game.exe +```