Files for building a Flatpak for Fightcade to ultimately be released on Flathub.
Install the build dependencies:
flatpak install org.electronjs.Electron2.BaseApp//19.08 \
org.freedesktop.Platform//20.08 \
org.freedesktop.Sdk.Extension.toolchain-i386//20.08 \
org.freedesktop.Sdk.Compat.i386//20.08
(Please reference com.fightcade.Fightcade.yml
if these dependencies change and open a PR against this README)
And kick off a build using the Makefile:
make build
If you'd like to install the Flatpak locally after building use make install
instead.
If you'd like to test out the Flatpak, a (semi) live version can be accessed by adding my remote
flatpak remote-add --user --no-gpg-verify pobega.github.io http://pobega.github.io/repo/
flatpak install --user pobega.github.io com.fightcade.Fightcade
Due to an outstanding bug in Flatpak you need to manually install the 32-bit compatibility runtimes for Wine
flatpak install org.freedesktop.Platform.Compat.i386//20.08 org.freedesktop.Platform.GL32//20.08
Unpacks the tar.gz bundles from Fightcade.com to /app/fightcade/
and builds a very plain version of Wine to run the emulators with.
Uses Zypak to wrap the Fightcade Electron binary so that it can run in the Bwrap sandbox.
- ROM folders:
$HOME/.var/app/com.fightcade.Fightcade/ROMs/
- Log files:
$HOME/.var/app/com.fightcade.Fightcade/data/logs/
fc2json
:$HOME/.var/app/com.fightcade.Fightcade/data/fc2json/
- Electron support is thanks to Zypak
- Lutris devs for net.lutris.Lutris.Runner.Wine which helped me figure out how to get Wine building.