More actions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
|title_mode=append | |title_mode=append | ||
|image=patchimage | |image=patchimage | ||
|image_alt=Patchimagewii | |image_alt=Patchimagewii.png | ||
}} | }} | ||
{{Infobox Wii Homebrews | {{Infobox Wii Homebrews | ||
|title=Patchimage | |title=Patchimage | ||
|image=patchimagewii | |image=patchimagewii.png | ||
|description=Patchimage is a riivolution patchscript for GNU/Linux. | |description=Patchimage is a riivolution patchscript for GNU/Linux. | ||
|author=nanolx | |author=nanolx | ||
Line 18: | Line 18: | ||
|source=https://github.com/Nanolx/patchimage | |source=https://github.com/Nanolx/patchimage | ||
}} | }} | ||
This is a versatile patch script called Patchimage for GNU/Linux, which is based on the exceptional work of DMMs and [https://wit.wiimm.de/ Wiimms]. This script can patch riivolution, ips, or xdelta patches into iso or wbfs images of legal game dumps, ROMs, or dumped cpk files. | This is a versatile patch script called '''Patchimage''' for GNU/Linux, which is based on the exceptional work of DMMs and [https://wit.wiimm.de/ Wiimms]. This script can patch riivolution, ips, or xdelta patches into iso or wbfs images of legal game dumps, ROMs, or dumped cpk files. | ||
==Features== | ==Features== | ||
Line 25: | Line 25: | ||
Please note that you need the original games to use this script legally. If you do not own the original game, you cannot hold the author responsible. Patchimage is entirely legal as it does not contain any proprietary contents nor can it acquire them. | Please note that you need the original games to use this script legally. If you do not own the original game, you cannot hold the author responsible. Patchimage is entirely legal as it does not contain any proprietary contents nor can it acquire them. | ||
==Patchimage supports the following base games:== | |||
Patchimage supports various base games, including New Super Mario Bros. Wii, Kirby's Adventure Wii, Mario Kart Wii, Tokyo Mirage Sessions #FE, Pokemon X, Pokemon Y, Pokemon Omega Ruby, Pokemon Alpha Sapphire, and Bravely Second. | Patchimage supports various base games, including New Super Mario Bros. Wii, Kirby's Adventure Wii, Mario Kart Wii, Tokyo Mirage Sessions #FE, Pokemon X, Pokemon Y, Pokemon Omega Ruby, Pokemon Alpha Sapphire, and Bravely Second. | ||
==More information:== | |||
For more information about supported game modifications, search paths and expected file names, command line flags, configuration file examples, status codes while processing, and exit codes for debugging, refer to the relevant sections in README.GAMEIDS, README.CMD_OPTS, README.RC, README.STATUS_CODES, and README.EXIT_CODES respectively. | For more information about supported game modifications, search paths and expected file names, command line flags, configuration file examples, status codes while processing, and exit codes for debugging, refer to the relevant sections in README.GAMEIDS, README.CMD_OPTS, README.RC, README.STATUS_CODES, and README.EXIT_CODES respectively. | ||
Line 49: | Line 51: | ||
==Changelog== | ==Changelog== | ||
'''v7.5.0 (20160927) | '''v7.5.0 (20160927)''' | ||
*game additions | *game additions | ||
** add support for Super Mario Bros. Frozen Editon | ** add support for Super Mario Bros. Frozen Editon | ||
Line 59: | Line 61: | ||
** other minor changes | ** other minor changes | ||
'''v7.4.0 (20160903) | '''v7.4.0 (20160903)''' | ||
*Tokyo Mirage Sessions #FE Restoration Patcher | |||
* use 'Restoration' instead of 'Uncensored' as Name | ** use 'Restoration' instead of 'Uncensored' as Name | ||
* more failsafe build-directory name | ** more failsafe build-directory name | ||
* add support for downloading xdelta files with --download | ** add support for downloading xdelta files with --download | ||
* check whether files have already been downloaded and use those | ** check whether files have already been downloaded and use those | ||
* for xdelta patches and original cpk files, now check whether every single | ** for xdelta patches and original cpk files, now check whether every single file exists, rather than just one of them | ||
file exists, rather than just one of them | ** for cpk file path support both the top level directory of the dump as well as the sub level directory which holds the cpk files, read: when your dump | ||
* for cpk file path support both the top level directory of the dump as well | is in /home/test/TMSFE you were previously required to set the cpk path to /home/test/TMSFE/vol/content/Pack now using /home/test/TMSFE will work, too, as the script will look for the sub directory vol/content/Pack on it's own | ||
as the sub level directory which holds the cpk files, read: when your dump | *game updates: | ||
is in /home/test/TMSFE you were previously required to set the cpk path to | ** update Cliff Super Mario Bros. Wii to version 1.1.1 | ||
/home/test/TMSFE/vol/content/Pack now using /home/test/TMSFE will work, too, | ** update Revised Super Mario Bros. Wii to version 1.1 | ||
as the script will look for the sub directory vol/content/Pack on it's own | ** update The Legend of Yoshi to version 2016-08-31 | ||
*misc. changes: | |||
** use 'wget -nv' instead of 'wget -q' | |||
** except for cover downloader | |||
'''v7.3.1.1 (20160829)''' | |||
'''v7.3.1.1 (20160829) | |||
::bug fixes | ::bug fixes | ||
* fixed brocken nsmb-helper script | * fixed brocken nsmb-helper script | ||
'''v7.3.1 (20160828) | '''v7.3.1 (20160828)''' | ||
*bug fixes | |||
* fixed that --iso, --rom, --patch, --xdelta, --cpk and --riivolution command | ** fixed that --iso, --rom, --patch, --xdelta, --cpk and --riivolution command line flags failed when relative paths were given (regression from 7.2.2) | ||
line flags failed when relative paths were given (regression from 7.2.2) | ** fixed that temporary files were kept when downloads failed, causing required user-input for wget when trying again | ||
* fixed that temporary files were kept when downloads failed, causing required | ** fixed that --cpk and --xdelta command line flags never actually checked wether the given directory does exist, before trying to patch the game [the game | ||
user-input for wget when trying again | |||
* fixed that --cpk and --xdelta command line flags never actually checked wether | |||
the given directory does exist, before trying to patch the game [the game | |||
patcher does, too, but it should fail immediately upon wrong user-input] | patcher does, too, but it should fail immediately upon wrong user-input] | ||
* remove build directory before trying to build a game, not afterwards, so that | ** remove build directory before trying to build a game, not afterwards, so that in case a build failed in batch-mode, the next one can be tried without issues | ||
in case a build failed in batch-mode, the next one can be tried without issues | ** fixed that character mods were not applicable to Cliff Super Mario Bros. Wii | ||
* fixed that character mods were not applicable to Cliff Super Mario Bros. Wii | *misc. changes: | ||
** drop support for Awesomer Super Luigi Mini (broken and offline) | |||
** update Cliff Super Mario Bros. to version 1.1 | |||
'''v7.3.0 (20160827)''' | |||
*internal changes: | |||
** modularize common.sh | |||
** supply megadl (32 and 64 bit) | |||
'''v7.3.0 (20160827) | *downloader changes: | ||
** changed download links to Mediafire so that they can automatically be downloaded using wget, this makes Cliff Super Mario Bros., Ghostly Super | |||
* modularize common.sh | Mario Boos Wii, MLG Super Mario Bros. Wii, Pokemon Neo X, Pokemon Neo Y and Pokemon Red Ruby auto-downloadable | ||
* supply megadl (32 and 64 bit) | ** changed download links to Sendspace so that they can automatically be | ||
* changed download links to Mediafire so that they can automatically be | |||
downloaded using wget, this makes Cliff Super Mario Bros., Ghostly Super | |||
Mario Boos Wii, MLG Super Mario Bros. Wii, Pokemon Neo X, Pokemon Neo Y | |||
and Pokemon Red Ruby auto-downloadable | |||
* changed download links to Sendspace so that they can automatically be | |||
downloaded using wget, this makes Challenging Super Mario Bros. Wii: virtual Special auto-downloadable | downloaded using wget, this makes Challenging Super Mario Bros. Wii: virtual Special auto-downloadable | ||
* include megadl a tool that can download files from Mega using commandline, | ** include megadl a tool that can download files from Mega using commandline, this makes Pokemon Delta Emerald, Pokemon Rutile Ruby, Pokemon Star Sapphire | ||
this makes Pokemon Delta Emerald, Pokemon Rutile Ruby, Pokemon Star Sapphire | |||
and Bravely Second Uncensored auto-downloadable | and Bravely Second Uncensored auto-downloadable | ||
*misc. changes: | |||
** update Cliff Super Mario Bros. to version 1.0.5 | |||
'''v7.2.2 (20160823)''' | |||
* update Cliff Super Mario Bros. to version 1.0. | *bug fixes | ||
** fix PATCHIMAGE_3DS_DIR setup when no ${HOME}/.patchimage.rc exists | |||
** fix PATCHIMAGE_ROM_DIR setup when no ${HOME}/.patchimage.rc exists | |||
** fixed that the script expected wrong parameter --show-downloadlink instead of correct --show-download | |||
** fix error messages or required user-input during batch-build by creating a separate build directory, then create the mod and before the next build is done that build directory is removed and re-created | |||
** when ${PWD} is writable that will be ${PWD}/patchimage_build, else it will be ${HOME}/patchimage_build | |||
*misc. changes | |||
** use 'read -er' instead of 'read -r' so that during user-input readline features like path-completion can be used. | |||
** in game information fix link to Pokemon Star Sapphire Thread | |||
** update Cliff Super Mario Bros. to version 1.0.4 | |||
'''v7.2.1 (20160822)''' | |||
*bug fixes | |||
** fix ID for Kirby's Adventure Wii and Mario Kart Wii for US versions | |||
'''v7.2.1 (20160822) | |||
* fix ID for Kirby's Adventure Wii and Mario Kart Wii for US versions | |||
'''v7.2.0 (20160822):''' | '''v7.2.0 (20160822):''' | ||
*internal changes | |||
* functions for applying IPS, PPF and BPS patches now check for patch zip files | ** functions for applying IPS, PPF and BPS patches now check for patch zip files in ${PWD} and ${PACHIMAGE_RIIVOLUTION_DIR}, just like all other functions and | ||
in ${PWD} and ${PACHIMAGE_RIIVOLUTION_DIR}, just like all other functions and | |||
unpack them, if found | unpack them, if found | ||
* functions for applying IPS, PPF and BPS patches now look in ${PWD} and | ** functions for applying IPS, PPF and BPS patches now look in ${PWD} and ${PATCHIMAGE_RIIVOLUTION_DIR} for patch files | ||
${PATCHIMAGE_RIIVOLUTION_DIR} for patch files | ** functions for applying IPS, PPF and BPS patches thus only fail when they neither find a zip archive containing the patch, or the bare patch file | ||
* functions for applying IPS, PPF and BPS patches thus only fail when they | ** HANS patcher now supports applying DELTA patches | ||
neither find a zip archive containing the patch, or the bare patch file | ** split out messages into message.sh | ||
* HANS patcher now supports applying DELTA patches | ** automatic downloading is not possible from SendSpace, update downloader function to inform user to manually download from there | ||
* split out messages into message.sh | *bug fixes | ||
* automatic downloading is not possible from SendSpace, update downloader | ** Pokemon Star Sapphire was accidently called Alpha Sapphire in the menu, also had wrong Short ID | ||
function to inform user to manually download from there | ** fixed that Opening Title for US version was applied to EU version in MLG Super Mario Bros. Wii (fixes black screen on start) | ||
** fixed regression from version 7.1.0 that made it impossible to patch US version of New Super Mario Bros. Wii because it was looking for wrong ID SMNU01 instead of correct ID SMNE01 | |||
** fixed black screen in Devil Mario Winter Special by not applying the custom openingTitle.arc for PAL New Super Mario Bros. Wii | |||
* Pokemon Star Sapphire was accidently called Alpha Sapphire in the menu, | ** fixed black screen in Remixed Super Mario Bros. Wii by not applying the custom openingTitle.arc for PAL and JAP New Super Mario Bros. Wii | ||
also had wrong Short ID | ** fixed that the script did try to automatically download from mediafire instead of informing user to manually download | ||
* fixed that Opening Title for US version was applied to EU version in | *command line parameters | ||
MLG Super Mario Bros. Wii (fixes black screen on start) | ** add batch building short cuts for --game parameter: | ||
* fixed regression from version 7.1.0 that made it impossible to patch | ** NSMB_ALL build all NSMB Mods | ||
US version of New Super Mario Bros. Wii because it was looking for wrong | ** PKMN_ALL build all Pokemon X, Y, Omega Ruby and Alpha Sapphire Mod | ||
ID SMNU01 instead of correct ID SMNE01 | ** PKMN_X build all Pokemon X Mods | ||
* fixed black screen in Devil Mario Winter Special by not applying the custom | ** PKMN_Y build all Pokemon Y Mods | ||
openingTitle.arc for PAL New Super Mario Bros. Wii | ** PKMN_OR build all Pokemon Omega Ruby Mods | ||
* fixed black screen in Remixed Super Mario Bros. Wii by not applying the custom | ** PKMN_AS build all Pokemon Alpha Sapphire Mods | ||
openingTitle.arc for PAL and JAP New Super Mario Bros. Wii | ** add --list-requirements ; show a detailed list of expected game images and Riivolution or HANS archives or Patches required for building | ||
* fixed that the script did try to automatically download from mediafire instead | ** add --list-requirements-nsmb, --list-requirements-mkwiimmfi, | ||
of informing user to manually download | **-list-requirements-tokyo, --list-requirements-kirby, | ||
**-list-requirements-pokemon, --list-requirements-3ds, | |||
**-list-requirements-other, to show only requirements for mods of specific base games | |||
* add batch building short cuts for --game parameter: | ** add --show-download ; only show download like for games choosen in menu or given using --game parameter | ||
* NSMB_ALL build all NSMB Mods | ** added --list-games-nsmb, --list-games-mkwiimmfi, --list-games-tokyo, | ||
* PKMN_ALL build all Pokemon X, Y, Omega Ruby and Alpha Sapphire Mod | **-list-games-kirby, --list-games-pokemon, --list-games-3ds, --list-games-other to show only mods for specific base games | ||
* PKMN_X build all Pokemon X Mods | *misc. changes | ||
* PKMN_Y build all Pokemon Y Mods | ** new download link for The Legend of Yoshi | ||
* PKMN_OR build all Pokemon Omega Ruby Mods | ** update to version 2016-05-28 of The Legend of Yoshi | ||
* PKMN_AS build all Pokemon Alpha Sapphire Mods | ** update to version 1.02 of New Super Mario Bros. Wii - Other World | ||
* add --list-requirements ; show a detailed list of expected game images and | *mod additions: | ||
Riivolution or HANS archives or Patches required for building | ** Mario Kart Wii Fonts: | ||
* add --list-requirements-nsmb, --list-requirements-mkwiimmfi, | ** added Super Mario Font | ||
*-list-requirements-tokyo, --list-requirements-kirby, | ** added Chalky Font | ||
*-list-requirements-pokemon, --list-requirements-3ds, | ** added UmePlus Font | ||
*-list-requirements-other, to show only requirements for mods of specific | ** sort files alphabetically in list | ||
base games | ** Mario Kart Wii Karts: | ||
* add --show-download ; only show download like for games choosen in menu or | ** update Sonic the Hedgehog on Foot to version 1.5 | ||
given using --game parameter | ** add Black Mage on Wii Remote | ||
* added --list-games-nsmb, --list-games-mkwiimmfi, --list-games-tokyo, | ** add White Mage on Wii Remote | ||
*-list-games-kirby, --list-games-pokemon, --list-games-3ds, --list-games-other | ** add Kirby on Wheelie | ||
to show only mods for specific base games | ** add Nabbit on Flame Runner | ||
** add Skull Kid on Bullet Bike | |||
** add Super Sonic on Mach Bike | |||
* new download link for The Legend of Yoshi | ** add Wolf Link on Mach Bike | ||
* update to version 2016-05-28 of The Legend of Yoshi | *game additions | ||
* update to version 1.02 of New Super Mario Bros. Wii - Other World | *New Super Mario Bros. Wii | ||
** add support for Cliff Super Mario Bros. Wii (SCL[PUJ]01) | |||
** add support for Challenging Super Mario Bros. Wii: Virtual Special (SMN[PUJ]ZC) | |||
* Mario Kart Wii Fonts: | *Pokemon | ||
* added Super Mario Font | ** add support for Pokemon Red Ruby | ||
* added Chalky Font | ** supply HANS configuration files for Red Ruby | ||
* added UmePlus Font | ** add support for Pokemon Delta Emerald (patch for Alpha Sapphire) | ||
* sort files alphabetically in list | ** supply HANS configuration files for Delta Emerald | ||
* Mario Kart Wii Karts: | ** since the author of Delta Emerald is working on a patch for Omega Ruby | ||
* update Sonic the Hedgehog on Foot to version 1.5 | |||
* add Black Mage on Wii Remote | |||
* add White Mage on Wii Remote | |||
* add Kirby on Wheelie | |||
* add Nabbit on Flame Runner | |||
* add Skull Kid on Bullet Bike | |||
* add Super Sonic on Mach Bike | |||
* add Wolf Link on Mach Bike | |||
* add support for Cliff Super Mario Bros. Wii (SCL[PUJ]01) | |||
* add support for Challenging Super Mario Bros. Wii: Virtual Special (SMN[PUJ]ZC) | |||
* 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 | |||
aswell, the game and created files are called "DeltaEmerald-AS" | aswell, the game and created files are called "DeltaEmerald-AS" | ||
[obviously they will be "DeltaEmerald-OR" for patched Omega Ruby] | [obviously they will be "DeltaEmerald-OR" for patched Omega Ruby] | ||
'''v7.1.0 | '''v7.1.0''' | ||
*internal changes | |||
* rewrite downloader function | ** rewrite downloader function | ||
* supply beat BPS patcher (32 and 64 bit) | ** supply beat BPS patcher (32 and 64 bit) | ||
* add (yet unused) patching functions for PPF patches | ** add (yet unused) patching functions for PPF patches | ||
* add (yet unused) patching functions for BPS patches | ** add (yet unused) patching functions for BPS patches | ||
* code cleanup, remove duplicated code | ** code cleanup, remove duplicated code | ||
*bugfixes | |||
** fixup The Legend of Zelda - Parallel Worlds patcher | |||
* fixup The Legend of Zelda - Parallel Worlds patcher | ** fixup --patch command line parameter | ||
* fixup --patch command line parameter | *misc. changes | ||
** removed download link for Awesomer Super Luigi Mini (down) | |||
** new download link for RVLution Wii | |||
* removed download link for Awesomer Super Luigi Mini (down) | ** new download link for Newer Falling Leaf | ||
* new download link for RVLution Wii | ** fix download link for Midi's Super Mario Wii | ||
* new download link for Newer Falling Leaf | ** fix download link for Newer Apocalypse | ||
* fix download link for Midi's Super Mario Wii | ** New Super Mario Bros. Wii character mod: allow only restoring | ||
* fix download link for Newer Apocalypse | |||
* New Super Mario Bros. Wii character mod: allow only restoring | |||
original characters without further changes | original characters without further changes | ||
* update nsmbw.db | ** update nsmbw.db | ||
*game additions | |||
**New Super Mario Bros. Wii | |||
*** add support for MLG Super Luigi Bros. Wii | |||
'''v7.0.0:''' | |||
*internal changes | |||
** add PATCHIMAGE_DIR new internal variable | |||
** add PATCHIMAGE_DATABASE_DIR new internal variable | |||
** add PATCHIMAGE_OVERRIDE_DIR new internal variable | |||
'''v7.0.0: | ** add UNP_EXTRA_ARGS new internal variable | ||
** make check_input_rom a common.sh function, prevent duplicated code | |||
* add PATCHIMAGE_DIR new internal variable | ** shift around some paths | ||
* add PATCHIMAGE_DATABASE_DIR new internal variable | ** update database with New Super Mario Bros. Wii mods | ||
* add PATCHIMAGE_OVERRIDE_DIR new internal variable | ** code review and improvements | ||
* add UNP_EXTRA_ARGS new internal variable | ** improved Debian GNU/Linux packaging | ||
* make check_input_rom a common.sh function, prevent duplicated code | ** install pre-compiled tools to /usr/lib/ARCH/patchimage (FHS compliance) | ||
* shift around some paths | ** improved --help message | ||
* update database with New Super Mario Bros. Wii mods | ** add --list-games parameter (show buildable games) | ||
* code review and improvements | ** --list-games and menu now show ID / Short Name and Full Name of all games | ||
* improved Debian GNU/Linux packaging | ** add --override-szs to override Wiims Mario Kart Fun wit and szs with the ones supplied by patchimage. Use this if building Wiims Mario Kart Fun fails due to incompatible library versions being installed. | ||
* install pre-compiled tools to /usr/lib/ARCH/patchimage (FHS compliance) | ** add batch mode for generating more than one mod at once | ||
* improved --help message | *bug fixes | ||
* add --list-games parameter (show buildable games) | ** several minor bugfixes and improvements | ||
* --list-games and menu now show ID / Short Name and Full Name of all games | ** before creating any of the directories defined in ${HOME}/.patchimage.rc check whether the parent directory is writeable, else fallback to ${HOME} | ||
* add --override-szs to override Wiims Mario Kart Fun wit and szs with | ** when setting destination directory for created files, check if they are writeable, else fallback to ${HOME} | ||
the ones supplied by patchimage. Use this if building Wiims Mario Kart Fun | ** fix telling user path to Hans Files for all Pokemon game hacks | ||
fails due to incompatible library versions being installed. | ** make the script more robust against directories with spaces in their names | ||
* add batch mode for generating more than one mod at once | ** use gdown.pl for drive.google.** download links | ||
** for download links on Mega tell user where to download manually | |||
** for download links on Mediafire tell user where to download manually | |||
* several minor bugfixes and improvements | ** patchimage menu showed TMS1 as ID for Tokyo Mirage Sessions #FE restoration patcher, while TMSFE was the actual (but wrong ID), thus TMS1 was reported as unknown game / wrong user input. Now TMS1 works as expected. | ||
* before creating any of the directories defined in ${HOME}/.patchimage.rc | ** archive name for Newer Super Mario Bros. Wii has changed | ||
check whether the parent directory is writeable, else fallback to ${HOME} | *configuration file changes | ||
* when setting destination directory for created files, check if they are | ** new configuration variable PATCHIMAGE_3DS_DIR, global directory where to look for unmodified 3DS ROM files | ||
writeable, else fallback to ${HOME} | ** new configuration variable PATCHIMAGE_ROM_DIR, global directory where to store your modified 3DS ROM files | ||
* fix telling user path to Hans Files for all Pokemon game hacks | *documentation | ||
* make the script more robust against directories with spaces in their names | ** update REAMDE | ||
* use gdown.pl for drive.google.* download links | ** update README.RC | ||
* for download links on Mega tell user where to download manually | ** update README.STATUS_CODES | ||
* for download links on Mediafire tell user where to download manually | ** update README.GAMEIDS | ||
* patchimage menu showed TMS1 as ID for Tokyo Mirage Sessions #FE restoration | ** now includes game search paths | ||
patcher, while TMSFE was the actual (but wrong ID), thus TMS1 was reported | ** now includes expected filenames | ||
as unknown game / wrong user input. Now TMS1 works as expected. | *misc. changes | ||
* archive name for Newer Super Mario Bros. Wii has changed | ** make check_input_rom search in both ${PATCHIMAGE_3DS_DIR} and ${PWD} | ||
** show full path for Hans Files for all games, instead of relative | |||
** only show path to Hans files if they exist | |||
* new configuration variable PATCHIMAGE_3DS_DIR, global directory | ** when downloading covers for Wii games fail, retry with the US cover | ||
where to look for unmodified 3DS ROM files | ** don't re-download covers that already exist | ||
* new configuration variable PATCHIMAGE_ROM_DIR, global directory | ** don't re-download soundtracks that already exist | ||
where to store your modified 3DS ROM files | ** for NSMBW character mods, Mario Kart Wii font, item and kart mods, don't download the files from the interwebs, instead use files supplied and installed with patchimage | ||
*game additions | |||
*New Super Mario Bros. Wii | |||
* update REAMDE | ** add support for Revised Super Mario Bros. Wii | ||
* update README.RC | *Pokemon | ||
* update README.STATUS_CODES | ** add support for Pokemon Eternal X | ||
* update README.GAMEIDS | ** choose between legal, rebalanced and insanity version | ||
* now includes game search paths | ** for legal and rebalanced, choose whether to nerf first gym leader | ||
* now includes expected filenames | ** add support for Pokemon Wilting Y | ||
** choose between legal, rebalanced and insanity version | |||
** for legal and rebalanced, choose whether to nerf first gym leader | |||
* make check_input_rom search in both ${PATCHIMAGE_3DS_DIR} and ${PWD} | ** add support for Pokemon Rising Ruby | ||
* show full path for Hans Files for all games, instead of relative | ** provide custom Hans banner and launcher | ||
* only show path to Hans files if they exist | ** add support for Pokemon Sinking Sapphire | ||
* when downloading covers for Wii games fail, retry with the US cover | ** provide custom Hans banner and launcher | ||
* don't re-download covers that already exist | *Other | ||
* don't re-download soundtracks that already exist | ** add support for Bravely Second Uncensored | ||
* for NSMBW character mods, Mario Kart Wii font, item and kart mods, | ** fully supports both EUR and USA game version | ||
don't download the files from the interwebs, instead use files supplied | ** auto-detects provided game version in ${PWD} or ${PATCHIMAGE_3DS_DIR} | ||
and installed with patchimage | ** provide Hans configuration | ||
*game changes and updates | |||
** update download link for Pokemon Rutile Ruby to v2.1 | |||
** update download link for Pokemon Star Sapphire to v2.1 | |||
* add support for Revised Super Mario Bros. Wii | |||
* add support for Pokemon Eternal X | |||
* choose between legal, rebalanced and insanity version | |||
* for legal and rebalanced, choose whether to nerf first gym leader | |||
* add support for Pokemon Wilting Y | |||
* choose between legal, rebalanced and insanity version | |||
* for legal and rebalanced, choose whether to nerf first gym leader | |||
* add support for Pokemon Rising Ruby | |||
* provide custom Hans banner and launcher | |||
* add support for Pokemon Sinking Sapphire | |||
* provide custom Hans banner and launcher | |||
* add support for Bravely Second Uncensored | |||
* fully supports both EUR and USA game version | |||
* auto-detects provided game version in ${PWD} or ${PATCHIMAGE_3DS_DIR} | |||
* provide Hans configuration | |||
* update download link for Pokemon Rutile Ruby to v2.1 | |||
* update download link for Pokemon Star Sapphire to v2.1 | |||
==External Links== | ==External Links== | ||
* Official Site - https://nanolx.org/wiihomebrew/patchimage/ | * Official Site - https://nanolx.org/wiihomebrew/patchimage/ | ||
* Github - https://github.com/Nanolx/patchimage | * Github - https://github.com/Nanolx/patchimage |
Revision as of 04:15, 20 February 2023
Patchimage | |
---|---|
File:Patchimagewii.png | |
General | |
Author | nanolx |
Type | PC Utilities |
Version | 7.5.0 |
License | GPL-3.0 |
Last Updated | 2016/09/27 |
Links | |
Download | |
Website | |
Source | |
This is a versatile patch script called Patchimage for GNU/Linux, which is based on the exceptional work of DMMs and Wiimms. This script can patch riivolution, ips, or xdelta patches into iso or wbfs images of legal game dumps, ROMs, or dumped cpk files.
Features
Patchimage offers several features, including the ability to download riivolution files or patches, soundtracks (if available), custom banners for Wii games (if available), covers for Wii games (if available), and automatic storage of patched games to the desired destination (refer to README.RC). It also supports automatic patching of Wii games, 3DS games, and Wii U games, character and item replacement in Mario Kart Wii, character replacement in New Super Mario Bros. Wii, and replacement of Kirby in Kirby's Adventure Wii. Moreover, it can patch Nintendo WFC compatible games to use WiimmFi server.
Please note that you need the original games to use this script legally. If you do not own the original game, you cannot hold the author responsible. Patchimage is entirely legal as it does not contain any proprietary contents nor can it acquire them.
Patchimage supports the following base games:
Patchimage supports various base games, including New Super Mario Bros. Wii, Kirby's Adventure Wii, Mario Kart Wii, Tokyo Mirage Sessions #FE, Pokemon X, Pokemon Y, Pokemon Omega Ruby, Pokemon Alpha Sapphire, and Bravely Second.
More information:
For more information about supported game modifications, search paths and expected file names, command line flags, configuration file examples, status codes while processing, and exit codes for debugging, refer to the relevant sections in README.GAMEIDS, README.CMD_OPTS, README.RC, README.STATUS_CODES, and README.EXIT_CODES respectively.
Example usages
Newer Super Mario Bros. Wii $ patchimage --game=NewerSMBW --iso=/home/test/SMNP01.iso --download Zelda: Parallel Worlds $ patchimage --game=ParallelWorlds --rom=/home/test/ALTTP.smc --download Toyko Mirage Sessions #FE Restoration $ patchimage --game=TMSFE --xdelta=/home/test/xdelta/ \ --cpk=/home/test/ASEP01/content/Pack/ Newer Super Mario Bros. Wii and Cannon Super Mario Bros. in one go: $ patchimage --game="NewerSMB Cannon" --iso=/home/test/SMNP01.iso --download All Mods of New Super Mario Bros. Wii: $ patchimage --game=NSMB_ALL --iso=/home/test/SMNP01.iso --download
Changelog
v7.5.0 (20160927)
- game additions
- add support for Super Mario Bros. Frozen Editon
- game updates:
- Pokemon Rising Ruby: support version 2.0
- Pokemon Sinking Sapphire: support version 2.0
- misc. changes:
- fix ID6 for NSMBW3: The Final Levels in README.GAMEIDS
- other minor changes
v7.4.0 (20160903)
- Tokyo Mirage Sessions #FE Restoration Patcher
- use 'Restoration' instead of 'Uncensored' as Name
- more failsafe build-directory name
- add support for downloading xdelta files with --download
- check whether files have already been downloaded and use those
- for xdelta patches and original cpk files, now check whether every single file exists, rather than just one of them
- for cpk file path support both the top level directory of the dump as well as the sub level directory which holds the cpk files, read: when your dump
is in /home/test/TMSFE you were previously required to set the cpk path to /home/test/TMSFE/vol/content/Pack now using /home/test/TMSFE will work, too, as the script will look for the sub directory vol/content/Pack on it's own
- game updates:
- update Cliff Super Mario Bros. Wii to version 1.1.1
- update Revised Super Mario Bros. Wii to version 1.1
- update The Legend of Yoshi to version 2016-08-31
- misc. changes:
- use 'wget -nv' instead of 'wget -q'
- except for cover downloader
v7.3.1.1 (20160829)
- bug fixes
- fixed brocken nsmb-helper script
v7.3.1 (20160828)
- bug fixes
- fixed that --iso, --rom, --patch, --xdelta, --cpk and --riivolution command line flags failed when relative paths were given (regression from 7.2.2)
- fixed that temporary files were kept when downloads failed, causing required user-input for wget when trying again
- fixed that --cpk and --xdelta command line flags never actually checked wether the given directory does exist, before trying to patch the game [the game
patcher does, too, but it should fail immediately upon wrong user-input]
- remove build directory before trying to build a game, not afterwards, so that in case a build failed in batch-mode, the next one can be tried without issues
- fixed that character mods were not applicable to Cliff Super Mario Bros. Wii
- misc. changes:
- drop support for Awesomer Super Luigi Mini (broken and offline)
- update Cliff Super Mario Bros. to version 1.1
v7.3.0 (20160827)
- internal changes:
- modularize common.sh
- supply megadl (32 and 64 bit)
- downloader changes:
- changed download links to Mediafire so that they can automatically be downloaded using wget, this makes Cliff Super Mario Bros., Ghostly Super
Mario Boos Wii, MLG Super Mario Bros. Wii, Pokemon Neo X, Pokemon Neo Y and Pokemon Red Ruby auto-downloadable
- changed download links to Sendspace so that they can automatically be
downloaded using wget, this makes Challenging Super Mario Bros. Wii: virtual Special auto-downloadable
- include megadl a tool that can download files from Mega using commandline, this makes Pokemon Delta Emerald, Pokemon Rutile Ruby, Pokemon Star Sapphire
and Bravely Second Uncensored auto-downloadable
- misc. changes:
- update Cliff Super Mario Bros. to version 1.0.5
v7.2.2 (20160823)
- bug fixes
- fix PATCHIMAGE_3DS_DIR setup when no ${HOME}/.patchimage.rc exists
- fix PATCHIMAGE_ROM_DIR setup when no ${HOME}/.patchimage.rc exists
- fixed that the script expected wrong parameter --show-downloadlink instead of correct --show-download
- fix error messages or required user-input during batch-build by creating a separate build directory, then create the mod and before the next build is done that build directory is removed and re-created
- when ${PWD} is writable that will be ${PWD}/patchimage_build, else it will be ${HOME}/patchimage_build
- misc. changes
- use 'read -er' instead of 'read -r' so that during user-input readline features like path-completion can be used.
- in game information fix link to Pokemon Star Sapphire Thread
- update Cliff Super Mario Bros. to version 1.0.4
v7.2.1 (20160822)
- bug fixes
- fix ID for Kirby's Adventure Wii and Mario Kart Wii for US versions
v7.2.0 (20160822):
- internal changes
- functions for applying IPS, PPF and BPS patches now check for patch zip files in ${PWD} and ${PACHIMAGE_RIIVOLUTION_DIR}, just like all other functions and
unpack them, if found
- functions for applying IPS, PPF and BPS patches now look in ${PWD} and ${PATCHIMAGE_RIIVOLUTION_DIR} for patch files
- functions for applying IPS, PPF and BPS patches thus only fail when they neither find a zip archive containing the patch, or the bare patch file
- HANS patcher now supports applying DELTA patches
- split out messages into message.sh
- automatic downloading is not possible from SendSpace, update downloader function to inform user to manually download from there
- bug fixes
- Pokemon Star Sapphire was accidently called Alpha Sapphire in the menu, also had wrong Short ID
- fixed that Opening Title for US version was applied to EU version in MLG Super Mario Bros. Wii (fixes black screen on start)
- fixed regression from version 7.1.0 that made it impossible to patch US version of New Super Mario Bros. Wii because it was looking for wrong ID SMNU01 instead of correct ID SMNE01
- fixed black screen in Devil Mario Winter Special by not applying the custom openingTitle.arc for PAL New Super Mario Bros. Wii
- fixed black screen in Remixed Super Mario Bros. Wii by not applying the custom openingTitle.arc for PAL and JAP New Super Mario Bros. Wii
- fixed that the script did try to automatically download from mediafire instead of informing user to manually download
- command line parameters
- add batch building short cuts for --game parameter:
- NSMB_ALL build all NSMB Mods
- PKMN_ALL build all Pokemon X, Y, Omega Ruby and Alpha Sapphire Mod
- PKMN_X build all Pokemon X Mods
- PKMN_Y build all Pokemon Y Mods
- PKMN_OR build all Pokemon Omega Ruby Mods
- PKMN_AS build all Pokemon Alpha Sapphire Mods
- add --list-requirements ; show a detailed list of expected game images and Riivolution or HANS archives or Patches required for building
- add --list-requirements-nsmb, --list-requirements-mkwiimmfi,
- -list-requirements-tokyo, --list-requirements-kirby,
- -list-requirements-pokemon, --list-requirements-3ds,
- -list-requirements-other, to show only requirements for mods of specific base games
- add --show-download ; only show download like for games choosen in menu or given using --game parameter
- added --list-games-nsmb, --list-games-mkwiimmfi, --list-games-tokyo,
- -list-games-kirby, --list-games-pokemon, --list-games-3ds, --list-games-other to show only mods for specific base games
- misc. changes
- new download link for The Legend of Yoshi
- update to version 2016-05-28 of The Legend of Yoshi
- update to version 1.02 of New Super Mario Bros. Wii - Other World
- mod additions:
- Mario Kart Wii Fonts:
- added Super Mario Font
- added Chalky Font
- added UmePlus Font
- sort files alphabetically in list
- Mario Kart Wii Karts:
- update Sonic the Hedgehog on Foot to version 1.5
- add Black Mage on Wii Remote
- add White Mage on Wii Remote
- add Kirby on Wheelie
- add Nabbit on Flame Runner
- add Skull Kid on Bullet Bike
- add Super Sonic on Mach Bike
- add Wolf Link on Mach Bike
- game additions
- New Super Mario Bros. Wii
- add support for Cliff Super Mario Bros. Wii (SCL[PUJ]01)
- add support for Challenging Super Mario Bros. Wii: Virtual Special (SMN[PUJ]ZC)
- 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
aswell, the game and created files are called "DeltaEmerald-AS" [obviously they will be "DeltaEmerald-OR" for patched Omega Ruby]
v7.1.0
- internal changes
- rewrite downloader function
- supply beat BPS patcher (32 and 64 bit)
- add (yet unused) patching functions for PPF patches
- add (yet unused) patching functions for BPS patches
- code cleanup, remove duplicated code
- bugfixes
- fixup The Legend of Zelda - Parallel Worlds patcher
- fixup --patch command line parameter
- misc. changes
- removed download link for Awesomer Super Luigi Mini (down)
- new download link for RVLution Wii
- new download link for Newer Falling Leaf
- fix download link for Midi's Super Mario Wii
- fix download link for Newer Apocalypse
- New Super Mario Bros. Wii character mod: allow only restoring
original characters without further changes
- update nsmbw.db
- game additions
- New Super Mario Bros. Wii
- add support for MLG Super Luigi Bros. Wii
- New Super Mario Bros. Wii
v7.0.0:
- internal changes
- add PATCHIMAGE_DIR new internal variable
- add PATCHIMAGE_DATABASE_DIR new internal variable
- add PATCHIMAGE_OVERRIDE_DIR new internal variable
- add UNP_EXTRA_ARGS new internal variable
- make check_input_rom a common.sh function, prevent duplicated code
- shift around some paths
- update database with New Super Mario Bros. Wii mods
- code review and improvements
- improved Debian GNU/Linux packaging
- install pre-compiled tools to /usr/lib/ARCH/patchimage (FHS compliance)
- improved --help message
- add --list-games parameter (show buildable games)
- --list-games and menu now show ID / Short Name and Full Name of all games
- add --override-szs to override Wiims Mario Kart Fun wit and szs with the ones supplied by patchimage. Use this if building Wiims Mario Kart Fun fails due to incompatible library versions being installed.
- add batch mode for generating more than one mod at once
- bug fixes
- several minor bugfixes and improvements
- before creating any of the directories defined in ${HOME}/.patchimage.rc check whether the parent directory is writeable, else fallback to ${HOME}
- when setting destination directory for created files, check if they are writeable, else fallback to ${HOME}
- fix telling user path to Hans Files for all Pokemon game hacks
- make the script more robust against directories with spaces in their names
- use gdown.pl for drive.google.** download links
- for download links on Mega tell user where to download manually
- for download links on Mediafire tell user where to download manually
- patchimage menu showed TMS1 as ID for Tokyo Mirage Sessions #FE restoration patcher, while TMSFE was the actual (but wrong ID), thus TMS1 was reported as unknown game / wrong user input. Now TMS1 works as expected.
- archive name for Newer Super Mario Bros. Wii has changed
- configuration file changes
- new configuration variable PATCHIMAGE_3DS_DIR, global directory where to look for unmodified 3DS ROM files
- new configuration variable PATCHIMAGE_ROM_DIR, global directory where to store your modified 3DS ROM files
- documentation
- update REAMDE
- update README.RC
- update README.STATUS_CODES
- update README.GAMEIDS
- now includes game search paths
- now includes expected filenames
- misc. changes
- make check_input_rom search in both ${PATCHIMAGE_3DS_DIR} and ${PWD}
- show full path for Hans Files for all games, instead of relative
- only show path to Hans files if they exist
- when downloading covers for Wii games fail, retry with the US cover
- don't re-download covers that already exist
- don't re-download soundtracks that already exist
- for NSMBW character mods, Mario Kart Wii font, item and kart mods, don't download the files from the interwebs, instead use files supplied and installed with patchimage
- game additions
- New Super Mario Bros. Wii
- add support for Revised Super Mario Bros. Wii
- Pokemon
- add support for Pokemon Eternal X
- choose between legal, rebalanced and insanity version
- for legal and rebalanced, choose whether to nerf first gym leader
- add support for Pokemon Wilting Y
- choose between legal, rebalanced and insanity version
- for legal and rebalanced, choose whether to nerf first gym leader
- add support for Pokemon Rising Ruby
- provide custom Hans banner and launcher
- add support for Pokemon Sinking Sapphire
- provide custom Hans banner and launcher
- Other
- add support for Bravely Second Uncensored
- fully supports both EUR and USA game version
- auto-detects provided game version in ${PWD} or ${PATCHIMAGE_3DS_DIR}
- provide Hans configuration
- game changes and updates
- update download link for Pokemon Rutile Ruby to v2.1
- update download link for Pokemon Star Sapphire to v2.1
External Links
- Official Site - https://nanolx.org/wiihomebrew/patchimage/
- Github - https://github.com/Nanolx/patchimage