Based on DMMs and Wiimms excellent work, I've created a flexible
patchscript for GNU/Linux. Additionally to riivolution patches, this
one will also allow patching ROMs using ips/ppf patches. And more...
patchimage allows choosing a custom GAMEID, aswell as downloading
riivolution-files, patches and soundtrack (if available).
NOTE: don't fiddle around with sub-folders in riivolution-files, the
script uses files as "unzip" creates them. No need to modify whatever.
... Well, you need the original game to do this legally, if you don't
own the original, you can't blame me. patchimage is 100% legal, as it
does not contain any propritary contents, nor is able to grab them.
Supported Games:
### New Super Mario Bros. Wii ###
SLF?01 NSMBW3: The Final Levels
SMN?01 Original New Super Mario Bros. Wii
SMN?03 Newer Super Mario Bros. Wii
SMN?04 Canon Super Mario Bros. Wii
SMN?05 Another Super Mario Bros. Wii
SMN?06 Newer Summer Sun
SMN?07 Newer Holiday Special
SMN?08 Epic Super Bowser World
SMN?10 Koopa Country
SMN?11 New Super Mario Bros. 4
SMN?12 Awesomer Super Luigi Mini
SMN?31 New Super Mario Bros. Wii - Other World
SMN?41 Devil Mario Winter Special
SMN?60 Remixed Super Mario Bros. Wii
SMN?65 Ghostly Super Ghost Boos. Wii
SMN?66 The Legend of Yoshi
SMN?DU DarkUmbra Super Mario Bros: Anniversary Edition
SMN?FL Newer: Falling Leaf
SMN?MI Midi's Super Mario Bros Wii - Just A Little Adventure
SMN?RV RVLution Wii (NewSMB Mod)
SMN?YL Luigi's Super Yoshi Bros.
SMN?ZA Newer Apocalypse
SMN?ZY Super Mario Skyland
SMM?02 Super Mario: Mushroom Adventure PLUS - Winter Moon
SMV?01 Super Mario Vacation
MRR?01 New Super Mario Bros. Wii Retro Remix
### Mario Kart Wii ###
RMC?01 Original Mario Kart Wii
RMC?06 Wiimms MKW Fun 2010-12
RMC?07 Wiimms MKW Retro 2011-02
RMC?08 Wiimms MKW Fun 2011-03
RMC?09 Wiimms MKW Fun 2011-06
RMC?10 Wiimms MKW Fun 2011-07
RMC?11 Wiimms MKW Fun 2011-08
RMC?12 Wiimms MKW Fun 2011-11
RMC?13 Wiimms MKW Fun 2012-01
RMC?14 Wiimms MKW Revival 2012-02
RMC?15 Wiimms MKW Boost 2012-03
RMC?16 Wiimms MKW Fun 2012-05
RMC?17 Wiimms MKW Fun 2012-09
RMC?18 Wiimms MKW N64 2012-10
RMC?19 Wiimms MKW Fun 2012-12
RMC?20 Wiimms MKW Fun 2013-04
RMC?21 Wiimms MKW Fun 2013-09
RMC?22 Wiimms MKW Fun 2013-10
RMC?23 Wiimms MKW-Fun 2014-01
RMC?24 Wiimms MKW Retro 2014-02
RMC?25 Wiimms MKW-Fun 2014-04
RMC?26 Wiimms MKW-Fun 2014-11
RMC?27 Wiimms MKW-Fun 2015-03
RMC?28 Wiimms MKW-Fun 2015-05
RMC?29 Wiimms MKW-Fun 2015-08
RMC?30 Wiimms MKW-Fun 2015-12
RMC?31 Wiimms MKW-Fun 2016-02
RMC?32 Wiimms MKW-Fun 2016-07
### Kirby's Adventure Wii ###
SUK?01 Kirby's Adventure Wii (only exchanging first player's character is supported)
### Pokemon ###
0004000000055D00 Pokemon X
0004000000055E00 Pokemon Y
000400000011C400 Pokemon Omega Ruby
000400000011C500 Pokemon Alpha Sapphire
### Toyko Mirage Sessions #FE ###
ASE?01 De-Censoring the game
Default Searchpaths:
--game={NewerSMB;NewerSummerSun;AnotherSMBW;HolidaySpecial;ParallelWorlds}
specify game to create (if none is provided, the script will ask you)
--iso/--rom=/home/test/<Image>
specify path to the original ISO/ROM
--riivolution/--patch=<Patch>
specify path to Riivolution/Patch files
--version=EURv1,EURv2,USAv1,USAv2,JPNv1
specify your game version (for Wii games, if auto-detection fails)
--customdid=SMNP02
specify a custom ID to use for the game
--sharesave
let modified game share savegame with original game
--download
download riivolution/patchfiles
--soundtrack
download soundtrack (if available) and exit
--banner=<banner>
specify a custom banner to use
--download-banner
download a custom banner (if available)
--xdelta
path to xdelta files (Tokyo Mirage Sessions #FE)
--cpk
path to cpk files (Tokyo Mirage Sessions #FE)
Examples:
NewerSMBW:
Zelda: Parallel Worlds
De-Censoring Tokyo Mirage Sessions #FE:
$ patchimage --game=TMSFE--xdelta=/home/test/xdelta --cpk=/home/test/vol/Content/Pack
License: GNU GPLv3
Extra Licenses:
Downloads and Debian Package
Git-Repository: https://github.com/Nanolx/patchimage
Changes:
patchscript for GNU/Linux. Additionally to riivolution patches, this
one will also allow patching ROMs using ips/ppf patches. And more...
patchimage allows choosing a custom GAMEID, aswell as downloading
riivolution-files, patches and soundtrack (if available).
NOTE: don't fiddle around with sub-folders in riivolution-files, the
script uses files as "unzip" creates them. No need to modify whatever.
... Well, you need the original game to do this legally, if you don't
own the original, you can't blame me. patchimage is 100% legal, as it
does not contain any propritary contents, nor is able to grab them.
Supported Games:
### New Super Mario Bros. Wii ###
SLF?01 NSMBW3: The Final Levels
SMN?01 Original New Super Mario Bros. Wii
SMN?03 Newer Super Mario Bros. Wii
SMN?04 Canon Super Mario Bros. Wii
SMN?05 Another Super Mario Bros. Wii
SMN?06 Newer Summer Sun
SMN?07 Newer Holiday Special
SMN?08 Epic Super Bowser World
SMN?10 Koopa Country
SMN?11 New Super Mario Bros. 4
SMN?12 Awesomer Super Luigi Mini
SMN?31 New Super Mario Bros. Wii - Other World
SMN?41 Devil Mario Winter Special
SMN?60 Remixed Super Mario Bros. Wii
SMN?65 Ghostly Super Ghost Boos. Wii
SMN?66 The Legend of Yoshi
SMN?DU DarkUmbra Super Mario Bros: Anniversary Edition
SMN?FL Newer: Falling Leaf
SMN?MI Midi's Super Mario Bros Wii - Just A Little Adventure
SMN?RV RVLution Wii (NewSMB Mod)
SMN?YL Luigi's Super Yoshi Bros.
SMN?ZA Newer Apocalypse
SMN?ZY Super Mario Skyland
SMM?02 Super Mario: Mushroom Adventure PLUS - Winter Moon
SMV?01 Super Mario Vacation
MRR?01 New Super Mario Bros. Wii Retro Remix
### Mario Kart Wii ###
RMC?01 Original Mario Kart Wii
RMC?06 Wiimms MKW Fun 2010-12
RMC?07 Wiimms MKW Retro 2011-02
RMC?08 Wiimms MKW Fun 2011-03
RMC?09 Wiimms MKW Fun 2011-06
RMC?10 Wiimms MKW Fun 2011-07
RMC?11 Wiimms MKW Fun 2011-08
RMC?12 Wiimms MKW Fun 2011-11
RMC?13 Wiimms MKW Fun 2012-01
RMC?14 Wiimms MKW Revival 2012-02
RMC?15 Wiimms MKW Boost 2012-03
RMC?16 Wiimms MKW Fun 2012-05
RMC?17 Wiimms MKW Fun 2012-09
RMC?18 Wiimms MKW N64 2012-10
RMC?19 Wiimms MKW Fun 2012-12
RMC?20 Wiimms MKW Fun 2013-04
RMC?21 Wiimms MKW Fun 2013-09
RMC?22 Wiimms MKW Fun 2013-10
RMC?23 Wiimms MKW-Fun 2014-01
RMC?24 Wiimms MKW Retro 2014-02
RMC?25 Wiimms MKW-Fun 2014-04
RMC?26 Wiimms MKW-Fun 2014-11
RMC?27 Wiimms MKW-Fun 2015-03
RMC?28 Wiimms MKW-Fun 2015-05
RMC?29 Wiimms MKW-Fun 2015-08
RMC?30 Wiimms MKW-Fun 2015-12
RMC?31 Wiimms MKW-Fun 2016-02
RMC?32 Wiimms MKW-Fun 2016-07
### Kirby's Adventure Wii ###
SUK?01 Kirby's Adventure Wii (only exchanging first player's character is supported)
### Pokemon ###
0004000000055D00 Pokemon X
0004000000055E00 Pokemon Y
000400000011C400 Pokemon Omega Ruby
000400000011C500 Pokemon Alpha Sapphire
### Toyko Mirage Sessions #FE ###
ASE?01 De-Censoring the game
Default Searchpaths:
- ISO: BASE.iso / BASE.wbfs / GAMEID.iso / GAMEID.wbfs
- Riivolution: Original name of the zip / unpacked folder
- ROM: some mask matching the file (eg: "*[Ll]ink*[Pp]ast*smc" for Zelda: Parallel Worlds)
--game={NewerSMB;NewerSummerSun;AnotherSMBW;HolidaySpecial;ParallelWorlds}
specify game to create (if none is provided, the script will ask you)
--iso/--rom=/home/test/<Image>
specify path to the original ISO/ROM
--riivolution/--patch=<Patch>
specify path to Riivolution/Patch files
--version=EURv1,EURv2,USAv1,USAv2,JPNv1
specify your game version (for Wii games, if auto-detection fails)
--customdid=SMNP02
specify a custom ID to use for the game
--sharesave
let modified game share savegame with original game
--download
download riivolution/patchfiles
--soundtrack
download soundtrack (if available) and exit
--banner=<banner>
specify a custom banner to use
--download-banner
download a custom banner (if available)
--xdelta
path to xdelta files (Tokyo Mirage Sessions #FE)
--cpk
path to cpk files (Tokyo Mirage Sessions #FE)
Examples:
NewerSMBW:
$ patchimage --game=NewerSMBW --iso=/home/test/SMNP01.iso --download
Zelda: Parallel Worlds
$ patchimage --game=ParallelWorlds --rom=/home/test/ALTTP.smc --download
De-Censoring Tokyo Mirage Sessions #FE:
$ patchimage --game=TMSFE--xdelta=/home/test/xdelta --cpk=/home/test/vol/Content/Pack
License: GNU GPLv3
Extra Licenses:
- wit GNU GPL v2
- uips GNU GPL v3
- unp GNU GPL v2
- applyppf3 Public Domain
- xml-patchfiles Public Domain
Downloads and Debian Package
Git-Repository: https://github.com/Nanolx/patchimage
Changes:
Code:
v7.3.1:
::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
Last edited by Excelsiior,
, Reason: 7.3.1