add support for Pokemon Red Ruby

This commit is contained in:
Christopher Roy Bratusek 2016-08-19 10:15:50 +02:00
parent 5161a4a67b
commit a8fcf42a2f
9 changed files with 63 additions and 7 deletions

View File

@ -41,6 +41,8 @@ v7.2.0:
::game additions
:::Pokemon
- add support for Pokemon Red Ruby
- supply HANS configuration files for Red Ruby
- add support for Pokemon Delta Emerald (patch for Alpha Sapphire)
- supply HANS configuration files for Delta Emerald
- since the author of Delta Emerald is working on a patch for Omega Ruby

View File

@ -0,0 +1,11 @@
<shortcut>
<executable>/3ds/hans/hans.3dsx</executable>
<icon></icon>
<arg>-f/3ds/hans/titles/RedRuby.txt</arg>
<author>TheGreek Boy</author></author>
</shortcut>
<targets selectable="0">
<title mediatype="1">000400000011C400</title>
<title mediatype="2">000400000011C400</title>
</targets>

View File

@ -0,0 +1,6 @@
region : -1
language : -1
clock : 1
romfs : 0
code : 1
nim_checkupdate : 1

View File

@ -43,5 +43,6 @@ PKMN6:WiltingY:pokemon/pokemonwiltingy.sh
PKMN7:RisingRuby:pokemon/pokemonrisingruby.sh
PKMN8:SinkingSapphire:pokemon/pokemonsinkingsapphire.sh
PKMN9:DeltaEmeraldAS:pokemon/pokemondeltaemerald-as.sh
PKMN10:RedRuby:pokemon/pokemonredruby.sh
BSECU:BravelySecondUncensored:bravelyseconduncensored.sh
ZEL1:ParallelWorlds:parallelworlds.sh

View File

@ -273,7 +273,7 @@ patchimage_delta () {
for game in ${GAME[@]}; do
case ${game} in
NSMB_ALL )
NEW_GAME=(${NEW_GAME[@]} NSMB{1..12} NSMB{13..27})
NEW_GAME=(${NEW_GAME[@]} NSMB{1..12} NSMB{14..27})
;;
PKMN_ALL )
@ -289,7 +289,7 @@ for game in ${GAME[@]}; do
;;
PKMN_OR )
NEW_GAME=(${NEW_GAME[@]} PKMN3 PKMN7)
NEW_GAME=(${NEW_GAME[@]} PKMN3 PKMN7 PKMN10)
;;
PKMN_AS )
@ -304,7 +304,6 @@ for game in ${GAME[@]}; do
script=$(gawk -F : "/\<${game}\>/"'{print $3}' ${PATCHIMAGE_DATABASE_DIR}/scripts.db)
if [[ -f ${PATCHIMAGE_SCRIPT_DIR}/${script} ]]; then
echo ${PATCHIMAGE_SCRIPT_DIR}/${script}
source ${PATCHIMAGE_SCRIPT_DIR}/${script}
else echo -e "specified Game ${game} not recognized"
continue

View File

@ -31,7 +31,6 @@ check_input_rom_special () {
echo "<< trying EUR game version"
check_input_rom
if [[ ! ${ROM} ]]; then
GAME_VERSION=USA
ROM_MASK=${ROM_MASK_USA}

View File

@ -24,9 +24,6 @@ setup_tools () {
}
ALL_NSMB=(NSMB{1..12} NSMB{13..27})
ALL_PKMN=(PKMN{1..9})
ask_game () {
echo "${SUPPORTED_GAMES_ALL}

View File

@ -66,6 +66,7 @@ PKMN6 WiltingY Pokemon Wilting Y
PKMN7 RisingRuby Pokemon Rising Ruby
PKMN8 SinkingSapphire Pokemon Sinking Sapphire
PKMN9 DeltaEmeraldAS Pokemon Delta Emerald (Alpha Sapphire)
PKMN10 RedRuby Pokemon Red Ruby
PKMN_ALL All Mods of Pokemon X, Y, Omega Ruy, Alpha Sapphire
PKMN_X All Mods of Pokemon X
@ -209,6 +210,7 @@ required cxi ROM:
PKMN3 RutileRuby Rutile Ruby 2.1 - Distribution.zip
PKMN7 RisingRuby RRSSFiles 18-11-2015.zip
PKMN10 RedRuby Pokemon Red Ruby.rar
<<<<<< Pokemon Alpha Sapphire >>>>>>

View File

@ -0,0 +1,39 @@
#!/bin/bash
DOWNLOAD_LINK="http://www.mediafire.com/download/8tacxp6oz5cw6c8/Pokemon+Red+Ruby.rar"
RIIVOLUTION_ZIP="Pokemon Red Ruby.rar"
RIIVOLUTION_DIR="Installation Files"
GAMENAME="Pokemon Red Ruby"
GAME_TYPE=HANS
ROM_MASK="*000400000011[cC]400*cxi"
ROMFS="redruby.romfs"
DATA="${PATCHIMAGE_DATA_DIR}/RedRuby/"
show_notes () {
echo -e \
"************************************************
${GAMENAME}
Pokemon Red Ruby is rom hack of Pokemon Omega Ruby
Source: https://gbatemp.net/threads/oras-romhack-pokemon-red-ruby.425268/
Base ROM: Pokemon Omega Ruby
Supported Versions: US, EU, JAP
************************************************"
}
check_hans_files () {
check_riivolution_patch
HANS_PATH="${RIIVOLUTION_DIR}"/romfs
}
patch_romfs () {
cp -r "${HANS_PATH}"/* romfs/
}