Update Downloader.bash
This commit is contained in:
parent
ba183e826a
commit
0487c715bb
1 changed files with 40 additions and 1 deletions
|
@ -108,7 +108,7 @@ PlatformN64 () {
|
|||
compressRom="false"
|
||||
}
|
||||
|
||||
PlatformN64 () {
|
||||
PlatformMegaduck () {
|
||||
platformName="Mega Duck"
|
||||
platformArchiveContentsUrl="https://archive.org/download/retroachievements_collection_v5/Mega%20Duck/"
|
||||
platformFolder="megaduck"
|
||||
|
@ -118,6 +118,37 @@ PlatformN64 () {
|
|||
compressRom="false"
|
||||
}
|
||||
|
||||
PlatformPokemini () {
|
||||
platformName="Pokemon Mini"
|
||||
platformArchiveContentsUrl="https://archive.org/download/retroachievements_collection_v5/Pokemon%20Mini/"
|
||||
platformFolder="pokemini"
|
||||
consoleRomFileExt=".min, .zip, .7z"
|
||||
raConsoleId="24"
|
||||
uncompressRom="false"
|
||||
compressRom="false"
|
||||
}
|
||||
|
||||
PlatformVirtualboy () {
|
||||
platformName="Virtual Boy"
|
||||
platformArchiveContentsUrl="https://archive.org/download/retroachievements_collection_v5/Virtual%20Boy/"
|
||||
platformFolder="virtualboy"
|
||||
consoleRomFileExt=".vb, .zip, .7z"
|
||||
raConsoleId="28"
|
||||
uncompressRom="false"
|
||||
compressRom="false"
|
||||
}
|
||||
|
||||
PlatformNes () {
|
||||
platformName="Nintendo Entertainment System"
|
||||
platformArchiveContentsUrl="https://archive.org/download/retroachievements_collection_NES/NES/"
|
||||
platformFolder="nes"
|
||||
consoleRomFileExt=".nes, .unif, .unf, .zip, .7z"
|
||||
raConsoleId="7"
|
||||
uncompressRom="false"
|
||||
compressRom="false"
|
||||
}
|
||||
|
||||
|
||||
platformsToProcessNumber=0
|
||||
IFS=',' read -r -a filters <<< "$platforms"
|
||||
for platform in "${filters[@]}"
|
||||
|
@ -137,6 +168,14 @@ do
|
|||
PlatformMegadrive
|
||||
elif [ $platform == "n64" ]; then
|
||||
PlatformN64
|
||||
elif [ $platform == "megaduck" ]; then
|
||||
PlatformMegaduck
|
||||
elif [ $platform == "pokemini" ]; then
|
||||
PlatformPokemini
|
||||
elif [ $platform == "virtualboy" ]; then
|
||||
PlatformVirtualboy
|
||||
elif [ $platform == "nes" ]; then
|
||||
PlatformNes
|
||||
else
|
||||
log "ERROR :: No Platforms Selected, exiting..."
|
||||
exit
|
||||
|
|
Loading…
Reference in a new issue