Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Pobega/com.fightcade.Fightcade-ARCHIVE

Repository files navigation

This repository is outdated. Development has moved to Flathub


com.fightcade.Fightcade

Files for building a Flatpak for Fightcade to ultimately be released on Flathub.

Building

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.

Install without building

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

Details

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.

Persistent storage (ROMs, Logs)

  • 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/

Thanks