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 # Create the hack
base_name="$(basename "$base_local_path")" base_name="$(basename "$base_local_path")"
ext="$(echo "${base_name##*.}")" ext="$(echo "${base_name##*.}")"
flatpak-spawn --host flatpak run com.github.Alcaro.Flips \ flips --apply "$roms_folder/$system/$patchfile_name" "$base_local_path" "$roms_folder/$system/$hack_name.$ext" >/dev/null
--apply "$roms_folder/$system/$patchfile_name" "$base_local_path" "$roms_folder/$system/$hack_name.$ext" >/dev/null
# Cleanup # Cleanup
rm "$roms_folder/$system/$patchfile_name" rm "$roms_folder/$system/$patchfile_name"

View file

@ -470,6 +470,16 @@ modules:
commit: b33d965f227fe971fd590cb022f608521b506ef3 commit: b33d965f227fe971fd590cb022f608521b506ef3
- rd-submodules/boilr/cargo-lock.json - 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 # RetroArch - START
# https://github.com/flathub/org.libretro.RetroArch # https://github.com/flathub/org.libretro.RetroArch
@ -1403,4 +1413,4 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/XargonWan/RetroDECK.git url: https://github.com/XargonWan/RetroDECK.git
branch: THISBRANCH branch: THISBRANCH