I got it working. The problem was that I right clicked the bat and selected run as administrator. With that it doesn't detect the files but starting the bat normally works fine. This was with W8 x64.
http://gbatemp.net/threads/patchimage-riivolution-patcher-for-gnu-linux.349979/Has anyone converted the .BAT file to a *NIX shell script?
Current version: v1.03
Updated: 2013-07-13
Hello everyone,
A short while ago I posted a ISO Builder script that transformed Newer SMBW into an ISO form for everyone's convenience. Now sorry for the wait, but here is an evolution of that.
I present, NSMBW Mod ISO Builder
Here is the README:
You provide it an valid NSMBW ISO (USA, EUR, or JPNv1), along with the Mod's files, both the content folder AND the riivolution folder that come from the Mod's package, run the script, follow the prompts to make your selection, and then let it do its thing.Code:NSMBW Mod ISO Builder v1.03 Builder by damysteryman/Team DARK Powered by WIT v2.22c r4523 by Wiimm Thanks to Treeki for info on NSMBW dol patching and ISO building Thanks to Wiimm and Hoowahman for Batch file info and assistance Thanks to AbdallahTerro for providing custom Banner DL Repository Credits also to Wiimm for WIT, included in this pack Credits to Bully@Wiiplaza for All Worlds Unlocked cheat hack, which is used in Epic Super Bowser World Special thanks to Wiimm for all his help on this, thanks man :) Also uses wget from cygwin package Also thanks to everybody who provided .dol versions and mod pack files that I did not have This will combine an ISO copy of New Super Mario Bros. Wii and riivolution-style packs of the following Mods: - Newer SMBW (by NewerTeam) - Cannon SMBW (by Leplap and Weland) - Another SMBW (by Skawo) - Newer Summer Sun (by NewerTeam) - Newer Holiday Special (by NewerTeam) - Epic Super Bowser World (by Leplap and Weland) ...to create a standard ISO/WBFS version of the selected Mod. Should work with All EUR and USA versions, and JPN v1 version. Except for Another, which only supports USA and EURv1. HOWTO: 1. Extract contents of this .zip file to a new working directory. Get your ISO of NSMBW, and copy it to the same directory as this README file. 2. Copy the contents of the Mod you want (the riivolution folder containing its xmls AND the folder of content along with the riivolution folder) to this same directory as this README file. 3. Run Build_ISO.bat, follow its prompts and wait for it to build the Mod ISO. 4. Use/run the newly built ISO/WBFS however way you would :P 5. Enjoy! Generated ISO has Header GameID of: Newer SMBW: SMNx03 Cannon SMBW: SMNx04 Another SMBW: SMNx05 Newer Summer Sun: SMNx06 Newer Holiday Special: SMNx07 Epic Super Bowser World SMNx08 Where "x" is the letter for your base ISO's region (P for EUR, E for usa, J for JPN). There is also an option to change the tmd/ticket ID of KMNx to keep savegames seperate from the original game's one in Data Management. Also, there is also to option to download a custom banner (.bnr aka "Disc Channel" display) for the ISO/WBFS from AbdallahTerro's repository, or provide your own. Your .bnr files go in the "banners" folder, with the Mod's GameID as its filename (e.g. SMNP03.bnr for EUR Newer). Known Issue: .iso output seems to be bugged for some people, the resulting .iso is good for use by backup manager to transfer to USB HDD, but trying to load it directly (via burned disc, or emulator, etc.) seems to fail, unsure why. .wbfs output file seems to work perfectly though. Changelog: v1.03 - added support for Epic Super Bowser World - cleaned up batch file some more - more verbose messages in batch script - added a check to make sure .bnr file is not a 0 byte corrupt empty file - added links as references to which downloads were used to support each Mod - added missing cygiconv-2.dll for wget to package v1.02 - updated WIT to v2.22c r4523 - removed all traces of Mod Loader code from the patch .xml files, properly reads them from the Mod contents now - added support for user-provided custom banners - added support to download custom banners v1.01 - .wbfs output now creates a named subfolder for the game and names both the folder and file as per "standard" convention (uses "\name [GAMEID]\GAMEID.wbfs") - fixed Cannon and Summer Sun (stupidly left out one patch by accident) - fixed Another when used with USA NSMBW as a base - cleaned up batch file a bit, along with a few accidental mistakes NSMBW Mod ISO Builder v1.00 - changed name to NSMBW Mod ISO Builder since it does more than Newer - added support for Cannon, Another, Summer Sun and Holiday Special Mods v1.02 - fixed a small patch error in the EURv2 .ppf - Added Base ISO Version Autodetect ability - Added option for user to choose Save "Slot" instead of being always custom - Improved .bat UI menus a bit, inc. Title Screen and Option Review Menu - Added a check for the NewerSMBW contents folder v1.011 - Fixed typo in .bat causing Titlescreen logo not to be replaced on non-EUR versions v1.01 - Renamed it from Patcher to Builder - Added support for EUR, USA, and JAPv1 - No longer requires ISO to be an exact name - Added ability to select output format from either iso or wbfs - Changed generated ISO's GameID from SMNx02 to SMNx03 to avoid conflict with another existing Custom NSMBW - Fixed an error which would cause German and Dutch versions to break v1.00 - Initial release
I have personally tested with EURv1 NSMBW, with .wbfs on Dolphin, and with .iso run through WiiBackupManager on real Wii via USB Loader GX, and it seems to all work fine.
However, I tried testing .iso directly in dolphin, and via Disc Channel on burned disc (with d2pro modchip), and it seems to fail... unfortunately I do not know why atm... if somebody does figure it out, could you please post here?
Unsure if other configurations and situations will work fine, please report any issues here and hopefully we will be able to help fix them.
Download v1.03: (2013-07-13)
FileTrip
Mediafire
Enjoy!
==============Review Settings=============
Selected NSMBW Mod: Newer
Selected Base Version: AUTO
Selected Output Filetype: iso
Selected Save "Slot": KMNx-Custom-Shared
Download Custom Banner: No, use existing
===========Is this selection ok?==========
1. Yes, continue
2. No, change settings
(Anything else). exit
==========================================
Enter Number and press Enter:1
Checking for Newer resources...
Newer files found, continuing...
Newer patches found, continuing...
Unpacking original game...
wit: Wiimms ISO Tool v2.22c r4523 cygwin - Dirk Clemens - 2013-06-29
18 objects scanned, 1 directory found.
! wit: One directory scanned, but no valid source files found.
wit: Command 'EXTRACT' returns with status #3 [NO SOURCE FOUND]
Unsupported ISO version detected, exiting...
The system cannot find the file specified.
Press any key to continue . . .
I just downloaded a fresh copy of NSMB and have cheatfreak's latest batch files.
When i try to run it using auto-detect base version it fails with
Code:==============Review Settings============= Selected NSMBW Mod: Newer Selected Base Version: AUTO Selected Output Filetype: iso Selected Save "Slot": KMNx-Custom-Shared Download Custom Banner: No, use existing ===========Is this selection ok?========== 1. Yes, continue 2. No, change settings (Anything else). exit ========================================== Enter Number and press Enter:1 Checking for Newer resources... Newer files found, continuing... Newer patches found, continuing... Unpacking original game... wit: Wiimms ISO Tool v2.22c r4523 cygwin - Dirk Clemens - 2013-06-29 18 objects scanned, 1 directory found. ! wit: One directory scanned, but no valid source files found. wit: Command 'EXTRACT' returns with status #3 [NO SOURCE FOUND] Unsupported ISO version detected, exiting... The system cannot find the file specified. Press any key to continue . . .
ive tried just about every combination of options possible
maybe this will help though, i commented out the line for cleaning up the nsmb.d stuff afterwards to see what files were getting created if any and what it looks like is that a handfull of them are being extracted but then it starts failing for some reason. here is what my nsmb.d folder looks like
any ideas?
- support for custom banner- any other suggestions?
Sorry, my bad, just missed this feature.-What custom banner do you refer to, main banner? It is still supported. Save banner I was including in icon, just haven't looked up how it's done to include it.
I suggest support of the Patchimage's tool posted above, in message #235-What other modules do you suggest? name/URL/(if possible another installer script to show where the files go)
Could anyone implement additional mods supported by Linux patchimage (http://gbatemp.net/threads/patchimage-riivolution-patcher-for-gnu-linux.349979/)?