Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Psp launchers presets #269

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions Emus/PSP/default.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
#!/bin/ash

rom_file=$(basename "$1")
ext=${rom_file##*.}

cfg_folder=/mnt/SDCARD/Roms/PSP/.games_config/
cfg_file=${1%.*}.cfg

# If there is a loader saved by user or the filename already match crossmix presets, skip
if [ ! -f "$cfg_folder/$cfg_file" ]; then
if [ "$ext" == "chd" ]; then
hash=$(/mnt/System/bin/chdman info -i "$1" | sed -nE 's/^Data SHA1:[[:space:]]+(.*)$/\1/p')
real_name=$(grep "/mnt/SDCARD/Emus/PSP/redump_names.dat" "$hash" | cut -d "=" -f 2)
elif [ "$ext" == "iso" ]; then
hash=$(sha1sum "$1" | cut -d ' ' -f 1)
real_name=$(grep "/mnt/SDCARD/Emus/PSP/redump_names.dat" "$hash" | cut -d "=" -f 2)
fi
if [ -n "$real_name" ] && [ -f "$cfg_folder/${real_name%.*}.cfg" ]; then
cp "$cfg_folder/${real_name%.*}.cfg" "$cfg_folder/$cfg_file"
else
/mnt/SDCARD/System/usr/trimui/scripts/infoscreen.sh -m "No CrossMix launcher preset for this game. You should save yourself a launcher for this game to reduce next startup duration." -k "A B"
fi
fi

source /mnt/SDCARD/System/usr/trimui/scripts/load_launcher.sh
2,921 changes: 2,921 additions & 0 deletions Emus/PSP/redump_names.dat

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Roms/PSP/.games_config/Dante's Inferno (Europe).cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
1 change: 1 addition & 0 deletions Roms/PSP/.games_config/Dante's Inferno (France).cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
1 change: 1 addition & 0 deletions Roms/PSP/.games_config/Dante's Inferno (Germany).cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
1 change: 1 addition & 0 deletions Roms/PSP/.games_config/Dante's Inferno (Italy).cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
1 change: 1 addition & 0 deletions Roms/PSP/.games_config/Dante's Inferno (Korea).cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
1 change: 1 addition & 0 deletions Roms/PSP/.games_config/Dante's Inferno (Spain).cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
1 change: 1 addition & 0 deletions Roms/PSP/.games_config/Dante's Inferno (USA).cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPSSPP 1.17.1 - Vulkan - Perf.
Empty file removed Roms/PSP/.gitkeep
Empty file.
Binary file added System/bin/chdman
Binary file not shown.