mirror of
https://github.com/RetroDECK/org.zdoom.GZDoom.git
synced 2025-03-03 14:10:59 +00:00
Working GZDoom implementation
This commit is contained in:
parent
da2266d333
commit
83aee47960
24
README.md
Normal file
24
README.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# GZDoom Flatpak edition #
|
||||||
|
|
||||||
|
## Installation of gamedata ##
|
||||||
|
* Copy any commercial iwad into the folder `~/.config/gzdoom/`
|
||||||
|
* Optionally, configure the `~/.config/gzdoom/gzdoom.ini` file to load other directories
|
||||||
|
|
||||||
|
## Run with custom wads
|
||||||
|
Just as with the standalone GZDoom, you can pass commands through
|
||||||
|
```
|
||||||
|
flatpak run org.zdoom.GZDoom -file ~/.config/gzdoom/pwads/PL2.WAD
|
||||||
|
|
||||||
|
cd ~/.config/gzdoom/pwads/
|
||||||
|
flatpak run org.zdoom.GZDoom -file ./PL2.WAD
|
||||||
|
```
|
||||||
|
|
||||||
|
For more info, see
|
||||||
|
* https://zdoom.org/wiki/Command_line_parameters
|
||||||
|
* https://zdoom.org/wiki/Installation_and_execution_of_ZDoom
|
||||||
|
|
||||||
|
## Accessing files on unconventional spots ##
|
||||||
|
```
|
||||||
|
flatpak override org.zdoom.GZDoom --filesystem=/OTHER/LOCATION/WITH/WADS --user
|
||||||
|
```
|
||||||
|
|
|
@ -13,17 +13,16 @@ finish-args:
|
||||||
- --share=ipc
|
- --share=ipc
|
||||||
- --socket=pulseaudio
|
- --socket=pulseaudio
|
||||||
|
|
||||||
# For SSGL
|
# Where would wads be?
|
||||||
- --talk-name=org.gnome.GConf
|
- --filesystem=xdg-desktop:ro
|
||||||
#- --filesystem=xdg-run/dconf
|
- --filesystem=xdg-documents:ro
|
||||||
#- --filesystem=~/.config/dconf:ro
|
- --filesystem=xdg-download:ro
|
||||||
#- --talk-name=ca.desrt.dconf
|
# Screenshots
|
||||||
#- --env=DCONF_USER_CONFIG_DIR=.config/dconf
|
- --filesystem=xdg-pictures
|
||||||
|
|
||||||
#based on GZDoom
|
# Based on GZDoom
|
||||||
- --env=DOOMWADDIR=/app/share/games/doom
|
- --env=DOOMWADDIR=/app/share/games/doom
|
||||||
- --persist=.config/gzdoom
|
- --persist=.config/gzdoom
|
||||||
- --persist=.config/SSGL
|
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
- /app/include
|
- /app/include
|
||||||
|
@ -90,30 +89,28 @@ modules:
|
||||||
url: https://github.com/freedoom/freedoom/releases/download/v0.11.3/freedoom-0.11.3.zip
|
url: https://github.com/freedoom/freedoom/releases/download/v0.11.3/freedoom-0.11.3.zip
|
||||||
sha256: 28a5eafbb1285b78937bd408fcdd8f25f915432340eee79da692eae83bce5e8a
|
sha256: 28a5eafbb1285b78937bd408fcdd8f25f915432340eee79da692eae83bce5e8a
|
||||||
build-commands:
|
build-commands:
|
||||||
- ls -la
|
|
||||||
- install -Dm 644 freedoom2.wad /app/share/games/doom
|
- install -Dm 644 freedoom2.wad /app/share/games/doom
|
||||||
- install -Dm 644 freedoom1.wad /app/share/games/doom
|
- install -Dm 644 freedoom1.wad /app/share/games/doom
|
||||||
- ls -la /app/share/games/doom
|
|
||||||
|
|
||||||
- name: shareware
|
- name: shareware
|
||||||
|
disabled: true
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
sources:
|
sources:
|
||||||
- type: extra-data
|
- type: archive
|
||||||
filename: doom1.wad
|
filename: doom1.zip
|
||||||
url: http://distro.ibiblio.org/pub/linux/distributions/slitaz/sources/packages/d/doom1.wad
|
url: http://downloads.zdaemon.org/wads/doom1.zip
|
||||||
strip-components: 0
|
sha256: a86396fc9f8bca0e07caec3ef324786ab967995cf94690d077d94784fae2cae4
|
||||||
sha256: 1d7d43be501e67d927e415e0b8f3e29c3bf33075e859721816f652a526cac771
|
size: 1756172
|
||||||
size: 4196020
|
|
||||||
build-commands:
|
build-commands:
|
||||||
- ls -la
|
- ls -la
|
||||||
- #install -Dm 644 doom1.wad /app/share/games/doom
|
- install -Dm 644 doom1.wad /app/share/games/doom
|
||||||
|
|
||||||
- name: launcher
|
- name: launcher
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
sources:
|
sources:
|
||||||
- type: script
|
- type: script
|
||||||
commands:
|
commands:
|
||||||
- gzdoom +fluid_patchset /app/share/sounds/sf2/gzdoom.sf2 -file lights.pk3 brightmaps.pk3 $@
|
- gzdoom +fluid_patchset /app/share/sounds/sf2/gzdoom.sf2 -file lights.pk3 brightmaps.pk3 $@
|
||||||
dest-filename: gzdoom.sh
|
dest-filename: gzdoom.sh
|
||||||
- type: file
|
- type: file
|
||||||
path: org.zdoom.GZDoom.desktop
|
path: org.zdoom.GZDoom.desktop
|
||||||
|
|
Loading…
Reference in a new issue