[ENG] Patchimage 5.1.0 available

      [ENG] Patchimage 5.1.0 available

      As of now patchimage is available in version 5.0 5.0.1 5.1.0.

      Patchimage is a riivolution-/mario kart wiimm-patchscript for GNU/Linux. Which offers the following functionality:
      • Generation of 15 New Super Mario Bros. Wii Mods
      • Downloading of additional contents (soundtrack, banner, cover) if available
      Version 5.0 features the following important new features:
      • Generation of all Mario Kart distributions by @Wiimm (+ automatic wiimmfi patching)
      • fully automatic generation of MKWiimm if options are set in the configurationfile (else usual user interaction is required)
      • replacing wit/szs supplied with old MKWiimm distributions (allows generation of old MKWiimm on new systems)
      • replacing items in Mario Kart Wii*
      • replacing font in Mario Kart Wii*
      • exchanging the first player's character in Kirby's Adventure Wii*
      • generic wiimmfi patcher for games other than Mario Kart Wiimm
      * = original files are being backed up.

      For more information see the supplied README files.

      ChangeLog
      v5.1.0:
      - remove MKWIIMM_GAME_LANG from patchimage.rc (sets the language
      for the patcher only, so not required at all) Thanks @Leseratte
      for the hint.
      - fixup debian packaging scripts
      - add exit code 69 (wiimmfi failed) and 75 (wrong user-input)
      - proper error-code providing and exiting in mario kart wiimm,
      mario kart wiimm font, mario kart wiimm items, wiimmfi mario
      kart and wiimmfi generic modules

      v5.0.1:
      - fix bug in mario kart wiimm items (did not properly work)

      v5.0:
      - mario kart wiimm: when choosing all RMCP25 (Fun 2014-04) was
      not build (RMCP06 - RMCP24 were built "only")
      - mario kart wiimm items: backup the original common.szs on first
      customization of a game
      - mario kart wiimm fonts: support changing font in mario kart

      v4.98:
      - mario kart wiimm: when building mario kart wiimm from scratch
      use the wiimmfi mario kart patcher, not wiimmfi generic. Also
      some string changes and more detailed info on current step
      - supply wit 2.29a and szs 1.35a
      - always use supplied tools (don't fallback to system ones)

      v4.97:
      - changed IDs in the game selection menu (old A..Z for Wii, 1..9
      for ROMs / new 1....99 ; example: NSMB1, NSMB2, NSMB3)
      - mkwiimm_items: support for exchanging items in Mario Kart Wii
      (your item choices are saved and can be re-used, so if you want
      to modifiy more than one Mario Kart you only have to choose the
      items once for all mods)

      v4.96:
      - wiimmfi/mkwiimm/kirbywii: minor improvements and fixups
      - support RVLution Wii (a NewSMB Mod)
      - update README.GAMEIDS
      - update WinterMoon link to v1.2.3
      - added gdown.pl (google-drive downloader) by circulosmeos

      v4.95:
      - fixed storing NewSMB mods into ${PATCHIMAGE_GAME_DIR}
      - added support for exchanging first player's character
      in Kirby's Adventure Wii (using someone different than
      one of the different Kirbys may crash the game)

      v4.94:
      - wiimmfi generic: use correct version of wit
      - wiimmfi mario kart: major code simplification and major speed-up
      (as we now symlink the old images rather than copying)
      - mkwiimm support. Download and build any Mario Kart Wiimm distribution
      and patch it to use Wiimms custom server (thus patching process takes
      longer as there are two steps now). The old patchers will all work,
      because the outdated versions of the provided tools will be overriden.
      - new patchimage.rc options:
      MKWIIMM_GAME_LANG either de (german) or en (english)
      mkwiimm game language
      MKWIIMM_MSG_LANG either de, de+ (german) or en, en+ (english)
      mkwiimm message language. de+ and en+ also change all
      other languages to german or english
      MKWIIMM_SHARE_SAVE either 1=ja (yes) or 2=nein (no)
      whether to share save with the original game
      if you set them they will be applied for all mkwiimm patchers and no
      further user interactions with the wiimm patcher is needed.
      - NOTE: error-handling for mkwiimm, wiimmfi generic and wiimmfi mario
      kart is not yet complete

      v4.93:
      - various fixups
      - wiimmfi generic: show game titles next to id when showing available images
      - wiimmfi generic: only offer those games to be patched that are wfc-enabled
      (according to gametdb)
      - add support for Super Mario Skyland (SMN?ZY)

      v4.92:
      - wiimmfi mario kart: check if user-provided input is correct
      - wiimmfi generic: add generic wiimmfi patcher (only one game at a time)

      v4.91:
      - update my mail address
      - fixed downloading soundtracks
      - when using wiimmfi stuff, ask whether to patch all or a specific image
      - previously --soundtrack would download the soundtrack and exit. Now
      it does no longer exit.
      - added --only-soundtrack (download soundtrack for selected game and exit)
      - added --covers (download covers for selected game)
      - added --only-covers (download covers for selected game and exit)
      - added mkwiimm.db ("database" containing all RMC??? IDs for MKWiimm)

      v4.90:
      - support wiimmfi patcher. All RMC??? images in the current directory or
      all RMC??? images in ${PATCHIMAGE_WBFS_DIR} will be patched to use the
      new server. patchimage will download and prepare the wiimmfi-patcher,
      check the directory for RMC??? images (.iso and .wbfs), create a copy
      of your image for the patcher, let Wiimm's patcher do it's work, move
      the new image to ${PATCHIMAGE_GAME_DIR}.
      .
      Ensure both variables are set in ${HOME}/.patchimage.rc

      :r: Download-Directory (Tarball and Debian-Package)
      :r: GitHub
      :r: GitHub checkout:

      Quellcode

      1. git clone https://github.com/Nanolx/patchimage.git


      MarioKart Wii: 1807-8091-0335
      Wii U: Chris (Mii Name) / setialpha (ID)
      3DS: 3754 6370 1034 (Chris)

      This worked perfectly for me! :)

      @setialpha -- If you have a second, I actually have a few questions about how these scripts work. I am new to Wii Homebrew and am playing around a little with game modifications, but mostly I'm just curious about how you figured out all of this stuff.

      Here are my questions (specifically about NewerSMB -- I haven't looked at the other scripts):

      1. Why are you replacing '80001800' in the Riivolution XML with '803482C0'? I understand that it is just using a different memory offset, but how did you figure out that that was the right one? Is it trivial to figure this out for any Riivolution patch, or is it something specific to NewerSMB that required trial and error?

      2. What do NewerSMBW-Loader.xml and NSMBW_AP.xml do? (Or, in other words, why isn't the Riivolution XML patch enough?) And how did you figure out what memory offsets and values to use?

      Smudge schrieb:

      This worked perfectly for me! :) @setialpha -- If you have a second, I actually have a few questions about how these scripts work. I am new to Wii Homebrew and am playing around a little with game modifications, but mostly I'm just curious about how you figured out all of this stuff. Here are my questions (specifically about NewerSMB -- I haven't looked at the other scripts): 1. Why are you replacing '80001800' in the Riivolution XML with '803482C0'? I understand that it is just using a different memory offset, but how did you figure out that that was the right one? Is it trivial to figure this out for any Riivolution patch, or is it something specific to NewerSMB that required trial and error? 2. What do NewerSMBW-Loader.xml and NSMBW_AP.xml do? (Or, in other words, why isn't the Riivolution XML patch enough?) And how did you figure out what memory offsets and values to use?
      1) that's listed inside the NewerSMB riivolution.xml (if I remember correctly), but need to be applied separately. Also the NewerSMB devs gave a helping hand when DMM did the very first NewerSMB-Script for Windows. 2) NewerSMBW-Loader.xml injects the loader into the main.dol. NSMBW-AP.xml contain some anti-piracy stuff. Both files were made by DMM (DaMysteryMan on GBA Temp) with help from the original NewerSMB authors and Wiimm, who extended wit's functionality - he used traditional hex editing, if I remember correctly.


      MarioKart Wii: 1807-8091-0335
      Wii U: Chris (Mii Name) / setialpha (ID)
      3DS: 3754 6370 1034 (Chris)

      Thanks for the fast reply!

      I found one of the threads on gbatemp.

      I tried making a few of the changes manually with a hex editor (just to see if I could figure it out), which is easy enough. I like that 'wit dump --long' will give you the deltas from the memory address to the file offset, which makes it easier to figure out the change from '80001800' to '803482C0'. Now I'm looking into how they got the contents of loader.bin patching correctly, which seems a lot trickier. (I take it this is what led to the way NewerSMBW-Loader.xml works, but I want to figure it out myself.)

      Anyway, thanks for the tips! I want to get better at Wii game modifications. It's way more challenging than PC game modding, but the end result is so much more impressive. :D