From 9b504c9284fb9ef9c7f19dcb05884e09ae8e6139 Mon Sep 17 00:00:00 2001 From: Libretto <> Date: Sat, 27 Jan 2024 23:37:30 +0100 Subject: [PATCH] Add flips module --- functions/game_downloader.sh | 3 +-- net.retrodeck.retrodeck.yml | 12 +++++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/functions/game_downloader.sh b/functions/game_downloader.sh index 10c2eb60..ce137e9a 100755 --- a/functions/game_downloader.sh +++ b/functions/game_downloader.sh @@ -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" diff --git a/net.retrodeck.retrodeck.yml b/net.retrodeck.retrodeck.yml index 62c2b843..75b7ffa6 100644 --- a/net.retrodeck.retrodeck.yml +++ b/net.retrodeck.retrodeck.yml @@ -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 @@ -1403,4 +1413,4 @@ modules: sources: - type: git url: https://github.com/XargonWan/RetroDECK.git - branch: THISBRANCH \ No newline at end of file + branch: THISBRANCH