mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-21 21:45:39 +00:00
Merge pull request #733 from icenine451/cooker-0.8.0b-icenine451
Cooker 0.8.0b icenine451
This commit is contained in:
commit
21c4c77e42
|
@ -6,14 +6,13 @@ megacd
|
||||||
neogeocd
|
neogeocd
|
||||||
pcenginecd
|
pcenginecd
|
||||||
pcfx
|
pcfx
|
||||||
|
psp
|
||||||
psx
|
psx
|
||||||
ps2
|
ps2
|
||||||
saturn
|
saturn
|
||||||
saturnjp
|
saturnjp
|
||||||
segacd
|
segacd
|
||||||
tg-cd
|
tg-cd
|
||||||
[cso]
|
|
||||||
psp
|
|
||||||
[rvz]
|
[rvz]
|
||||||
gc
|
gc
|
||||||
wii
|
wii
|
||||||
|
|
|
@ -10,13 +10,21 @@ compress_game() {
|
||||||
local dest_file=$(dirname "$(realpath "$file")")"/""$filename_no_extension"
|
local dest_file=$(dirname "$(realpath "$file")")"/""$filename_no_extension"
|
||||||
|
|
||||||
if [[ "$1" == "chd" ]]; then
|
if [[ "$1" == "chd" ]]; then
|
||||||
/app/bin/chdman createcd -i "$source_file" -o "$dest_file".chd
|
case "$3" in # Check platform-specific compression options
|
||||||
|
"psp" )
|
||||||
|
/app/bin/chdman createdvd --hunksize 2048 -i "$source_file" -o "$dest_file".chd -c zstd
|
||||||
|
;;
|
||||||
|
"ps2" )
|
||||||
|
/app/bin/chdman createdvd -i "$source_file" -o "$dest_file".chd -c zstd
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
/app/bin/chdman createcd -i "$source_file" -o "$dest_file".chd
|
||||||
|
;;
|
||||||
|
esac
|
||||||
elif [[ "$1" == "zip" ]]; then
|
elif [[ "$1" == "zip" ]]; then
|
||||||
zip -jq9 "$dest_file".zip "$source_file"
|
zip -jq9 "$dest_file".zip "$source_file"
|
||||||
elif [[ "$1" == "rvz" ]]; then
|
elif [[ "$1" == "rvz" ]]; then
|
||||||
dolphin-tool convert -f rvz -b 131072 -c zstd -l 5 -i "$source_file" -o "$dest_file.rvz"
|
dolphin-tool convert -f rvz -b 131072 -c zstd -l 5 -i "$source_file" -o "$dest_file.rvz"
|
||||||
elif [[ "$1" == "cso" ]]; then
|
|
||||||
echo "TODO: maxcso command"
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -165,16 +165,19 @@ modules:
|
||||||
url: https://ftp.osuosl.org/pub/blfs/conglomeration/libgudev/libgudev-237.tar.xz
|
url: https://ftp.osuosl.org/pub/blfs/conglomeration/libgudev/libgudev-237.tar.xz
|
||||||
sha256: 0d06b21170d20c93e4f0534dbb9b0a8b4f1119ffb00b4031aaeb5b9148b686aa
|
sha256: 0d06b21170d20c93e4f0534dbb9b0a8b4f1119ffb00b4031aaeb5b9148b686aa
|
||||||
|
|
||||||
- name: chdman-tool
|
# #
|
||||||
buildsystem: simple
|
# DEPRECATED IN FAVOR OF COMPILED MAME TOOL #
|
||||||
build-commands:
|
# #
|
||||||
- cmake -B . -G Ninja
|
# - name: chdman-tool
|
||||||
- cmake --build .
|
# buildsystem: simple
|
||||||
- cp chdman /app/bin
|
# build-commands:
|
||||||
sources:
|
# - cmake -B . -G Ninja
|
||||||
- type: git
|
# - cmake --build .
|
||||||
url: https://github.com/CharlesThobe/chdman.git
|
# - cp chdman /app/bin
|
||||||
commit: f7cadf1720cbeba8a14f2685830ff424a0c7f6cd
|
# sources:
|
||||||
|
# - type: git
|
||||||
|
# url: https://github.com/CharlesThobe/chdman.git
|
||||||
|
# commit: f7cadf1720cbeba8a14f2685830ff424a0c7f6cd
|
||||||
|
|
||||||
- name: rclone
|
- name: rclone
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
|
|
Loading…
Reference in a new issue