mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-11-01 07:15:06 +01:00
3f3894ddb0
- rename CXI to ROM (makes --rom command line flag work for 3DS ROMs, too) - rename CXI_MASK to ROM_MASK - rename WII_GENERIC to GENERIC - split functions in patchimage.sh - other minor changes
37 lines
740 B
Bash
37 lines
740 B
Bash
#!/bin/bash
|
|
|
|
DOWNLOAD_LINK="https://drive.google.com/uc?id=0BzJZMhlTQ-CPaUtiTlp4YjlEY3M&export=download"
|
|
RIIVOLUTION_ZIP="RRSSFiles 18-11-2015.zip"
|
|
RIIVOLUTION_DIR="RRSSFiles 18-11-2015"
|
|
GAMENAME="Pokemon Sinking Sapphire"
|
|
GAME_TYPE=HANS
|
|
|
|
ROM_MASK="*000400000011[cC]500*cxi"
|
|
ROMFS="SinkingSapphire.romfs"
|
|
DATA="${PATCHIMAGE_DATA_DIR}/SinkingSapphire/"
|
|
|
|
show_notes () {
|
|
|
|
echo -e \
|
|
"************************************************
|
|
${GAMENAME}
|
|
|
|
Source: https://twitter.com/Drayano60/status/662793363255656448
|
|
Base ROM: Pokemon Alpha Sapphire
|
|
Supported Versions: US, EU, JAP
|
|
************************************************"
|
|
|
|
}
|
|
|
|
check_hans_files () {
|
|
|
|
check_riivolution_patch
|
|
|
|
}
|
|
|
|
patch_romfs () {
|
|
|
|
cp -r "${RIIVOLUTION_DIR}"/a romfs/
|
|
|
|
}
|