mirror of
https://github.com/mihawk-99/PS5_RetroArch.git
synced 2026-10-18 23:09:29 -05:00
RPCS3: the title stages RPCS3's per-game settings; the fork's pin
The fork's bin/game_configs (RPCS3's configuration database) is staged with its patches, and the pin moves to the fork's revision with RetroArch's own device negotiated, the SPU pack and the kept pipeline cache.
This commit is contained in:
1 parent
b6df278d98
commit
a655e10b3e
2 files changed
+12
-4
No files matched your search
@@ -23,12 +23,13 @@ core_stamp_skip rpcs3 \
|
||||
"$root/build/cores/stage/system/RPCS3/fonts" \
|
||||
"$root/build/cores/stage/system/RPCS3/Icons" \
|
||||
"$root/build/cores/stage/system/RPCS3/patches/patch.yml" \
|
||||
"$root/build/cores/stage/system/RPCS3/game_configs/config_database.json" \
|
||||
-- "$root/tools/build-rpcs3.sh" "$root/tools/core-fork.sh" "$root/tooling/rpcs3" \
|
||||
"$root/.deps/native/llvm-ps5/.revision" "$root/.deps/native/ffmpeg-ps5/.stamp" \
|
||||
"$root/.deps/native/libiconv-ps5/.stamp"
|
||||
[[ $# == 0 ]] || { echo "usage: ${0##*/}" >&2; exit 2; }
|
||||
|
||||
revision=db8931c918c83c69dc1ba9d8a82a52029393b272 # ../PS5_RPCS3 main
|
||||
revision=39e5957309953cd666e69a2d4dea77d90475be8d # ../PS5_RPCS3 main
|
||||
core_fork_setup
|
||||
core_fork_checkout PS5_RPCS3 "$revision"
|
||||
core_info="$root/tooling/rpcs3/rpcs3_libretro.info"
|
||||
@@ -132,5 +133,12 @@ rm -rf -- "$patches"
|
||||
mkdir -p "$patches"
|
||||
cp -- "$source_dir"/bin/patches/*.yml "$patches/"
|
||||
|
||||
# RPCS3's per-game configuration database (the fork's bin/game_configs: its
|
||||
# source in SOURCE), which the core answers RPCS3's boot with (a core option).
|
||||
game_configs="$root/build/cores/stage/system/RPCS3/game_configs"
|
||||
rm -rf -- "$game_configs"
|
||||
mkdir -p "$game_configs"
|
||||
cp -- "$source_dir/bin/game_configs/config_database.json" "$game_configs/"
|
||||
|
||||
core_fork_stage "$built" "$core_info" "$revision" tools/build-rpcs3.sh \
|
||||
tooling/rpcs3/ps5-toolchain.cmake tooling/rpcs3/rpcs3_libretro.info
|
||||
@@ -341,9 +341,9 @@ fi
|
||||
|
||||
# RPCS3's folder is <system>/RPCS3, which also holds what RPCS3 writes there on
|
||||
# the console (the firmware, dev_hdd0, its configuration): only the core's own
|
||||
# files are staged, the loading screen's fonts, RPCS3's overlay images and its
|
||||
# game patch database.
|
||||
for part in fonts Icons patches; do
|
||||
# files are staged, the loading screen's fonts, RPCS3's overlay images, its
|
||||
# game patch database and its per-game configuration database.
|
||||
for part in fonts Icons patches game_configs; do
|
||||
if [[ -d $root/build/cores/stage/system/RPCS3/$part ]]; then
|
||||
mkdir -p "$dist/system/RPCS3"
|
||||
rm -rf -- "${dist:?}/system/RPCS3/$part"
|
||||
|
||||
Reference in new issue
Block a user