add support for Pokemon Delta Emerald (Alpha Sapphire)

This commit is contained in:
Christopher Roy Bratusek 2016-08-13 19:03:16 +02:00
parent 4d13da40f8
commit d765da7017
2 changed files with 38 additions and 2 deletions

View File

@ -83,6 +83,7 @@ PKMN5 EternalX Pokemon Eternal X
PKMN6 WiltingY Pokemon Wilting Y PKMN6 WiltingY Pokemon Wilting Y
PKMN7 RisingRuby Pokemon Rising Ruby PKMN7 RisingRuby Pokemon Rising Ruby
PKMN8 SinkingSapphire Pokemon Sinking Sapphire PKMN8 SinkingSapphire Pokemon Sinking Sapphire
PKMN9 DeltaEmeraldAS Pokemon Delta Emerald (Alpha Sapphire)
BSECU BravelySecondUncensored Bravely Second Uncensored BSECU BravelySecondUncensored Bravely Second Uncensored
@ -460,11 +461,15 @@ check_riivolution_patch () {
unpack "${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}" unpack "${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"
elif [[ ${PATCHIMAGE_RIIVOLUTION_DOWNLOAD} == "TRUE" ]]; then elif [[ ${PATCHIMAGE_RIIVOLUTION_DOWNLOAD} == "TRUE" ]]; then
download_riivolution_patch download_riivolution_patch
else
if [[ ${1} == --nofail ]]; then
echo -e "no zip archive found. Skipping to bare patch file detection"
else else
echo -e "please specify zip/rar to use with --riivolution=<path>" echo -e "please specify zip/rar to use with --riivolution=<path>"
exit 21 exit 21
fi fi
fi fi
fi
echo "*** >> status: ${x}" echo "*** >> status: ${x}"
} }

View File

@ -0,0 +1,31 @@
#!/bin/bash
DOWNLOAD_LINK="mega:///#!z9oEwB4R!8Ab1mp23iEYnAdekP-rH3VrWNe_kUAoTgrh5_oU9BdE"
RIIVOLUTION_ZIP="Pokemon Delta Emerald.zip"
GAMENAME="Pokemon Delta Emerald (AS)"
PATCH="Pokemon - Delta Emerald.xdelta"
GAME_TYPE=HANS
HANS_DELTA=TRUE
ROM_MASK="*000400000011[cC]500*cxi"
ROMFS="DeltaEmerald-AS.romfs"
DATA="${PATCHIMAGE_DATA_DIR}/DeltaEmerald-AS/"
show_notes () {
echo -e \
"************************************************
${GAMENAME}
Source: https://gbatemp.net/threads/or-as-pokemon-delta-emerald-rom-hack.421637/
Base ROM: Pokemon Alpha Sapphire
Supported Versions: US, EU, JAP
************************************************"
}
check_hans_files () {
check_riivolution_patch --nofail
}