Add flips module

This commit is contained in:
Libretto 2024-01-27 23:37:30 +01:00
parent 63df0fa957
commit 9b504c9284
2 changed files with 12 additions and 3 deletions

View file

@ -49,8 +49,7 @@ install_romhack() {
# Create the hack
base_name="$(basename "$base_local_path")"
ext="$(echo "${base_name##*.}")"
flatpak-spawn --host flatpak run com.github.Alcaro.Flips \
--apply "$roms_folder/$system/$patchfile_name" "$base_local_path" "$roms_folder/$system/$hack_name.$ext" >/dev/null
flips --apply "$roms_folder/$system/$patchfile_name" "$base_local_path" "$roms_folder/$system/$hack_name.$ext" >/dev/null
# Cleanup
rm "$roms_folder/$system/$patchfile_name"

View file

@ -470,6 +470,16 @@ modules:
commit: b33d965f227fe971fd590cb022f608521b506ef3
- rd-submodules/boilr/cargo-lock.json
- name: flips
buildsystem: simple
build-commands:
- sh make.sh --cflags=-DFLATPAK
- make install PREFIX=/app
sources:
- type: git
url: https://github.com/Alcaro/Flips.git
commit: 96df78fd733ebc56d64bcfcaee7d127bfd6643d6
# RetroArch - START
# https://github.com/flathub/org.libretro.RetroArch