Hacking wwt+wit: Wiimms WBFS+ISO Tools

justme488

Active Member
Newcomer
Joined
Jan 31, 2016
Messages
34
Trophies
0
Age
44
XP
126
Country
United States
You don't have to "take what's given", you have to read what's given and understand it.
If you see "path to your game" you don't have to write that string, you have to REPLACE "path to your game" to the actual REAL path to your game file !
if you see "new name" you don't have to write "new name" but the actual name you want for your newly created file !

I deleted everything, and started over with that command. I couldn't understand how to replace "new name", because it wasn't just 1 game. If I use: wit copy "/cygdrive/e/" "/cygdrive/f/games/%N [%I]" --wbfs --split, it doesn't copy to .wbfs extention, it just says file.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
yes, I fixed my command line, I was still editing my message.
use this one :
Code:
wit copy "/cygdrive/e/" "/cygdrive/f/games/%T [%I]/%+" --wbfs --split

Try to look at what I did and understand why I did it.
http://wit.wiimm.de/info/iso-images.html#esc


You said you have more than 1000 Wii games !
Copying them will take a very big amount of space on your hard drive, you better move+rename instead of copy+rename, don't you think ?
instead of "wit copy" use "wit move".

Code:
wit move "/cygdrive/e/" "/cygdrive/f/games/%T [%I]/%+" --wbfs --split
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
3 more suggestions:

1. use option --test while testing the command line. If set, wit does nothing, but tells what it would do without --test.

2. Option --name "new title" is a good for renaming single images (like Cyan told). But if you replace %N by %T, then the titles of GameTDN is used. Read this for %-Escapes: http://wit.wiimm.de/info/iso-images.html#esc

3. At the bottom of the linked section you find an info about option --esc (or short -E). For Windows it is better to use -E$ and the dollar sign instead of the percent sign for escapes.
 

justme488

Active Member
Newcomer
Joined
Jan 31, 2016
Messages
34
Trophies
0
Age
44
XP
126
Country
United States
yes, I fixed my command line, I was still editing my message.
use this one :
Code:
wit copy "/cygdrive/e/" "/cygdrive/f/games/%T [%I]/%+" --wbfs --split

Try to look at what I did and understand why I did it.
http://wit.wiimm.de/info/iso-images.html#write

Copy from e: to f:/games, read files for disk titles on f:/games

"[%I]/%+" is the part i'm having trouble understanding, because -I should set the output in iso, shouldn't it?

Then that command converts to .wbfs while splitting in the default 4gb

That also puts them in separate folders in e:

--------------------- MERGED ---------------------------

yes, I fixed my command line, I was still editing my message.
use this one :
Code:
wit copy "/cygdrive/e/" "/cygdrive/f/games/%T [%I]/%+" --wbfs --split

Try to look at what I did and understand why I did it.
http://wit.wiimm.de/info/iso-images.html#esc


You said you have more than 1000 Wii games !
Copying them will take a very big amount of space on your hard drive, you better move+rename instead of copy+rename, don't you think ?
instead of "wit copy" use "wit move".

Code:
wit move "/cygdrive/e/" "/cygdrive/f/games/%T [%I]/%+" --wbfs --split

space isn't an issue, because e: and f: are 3 and 4gb external hard drives. I'm still getting them in separate folders though.
 
Last edited by justme488,

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
the destination path is scanned for escaped sequences. it's not part of the "option" used by the wit command, the options are at the end.
like you see there are two options : --wbfs and --split

The command line is divided in arguments :
command : wit
1st argument : copy. it tells wit that you want to copy. You better use "move" instead of copy if you have 1000+ games.
2nd argument : All the first quote. what's inside the first quote "/cygdrive/e/" is the path for the source.
3rd argument : All the second quote. what's inside the second quote "/cygdrive/f/games/%T [%I]/%+" is the path to the destination.
4th argument : --wbfs. it's an option, telling you want the wbfs format as destination
5th argument : --split. it's another option, telling you want to split wbfs at 4GB.

What you need for the filename is the part located inside the 3rd argument : the destination path.
In the destination path, you can either write letters, like "/cygdrive/f/games/" which means it will save inside the "games" folder.
If you have only one game to move or copy, you can specify the title yourself : "/cygdrive/f/games/mario.wbfs"

But if you have multiple games, you can't provide a filename for your destination, you need to use jokers to tell the program to rename each games using "title of the game".wbfs
All escaped sequences inside the 3rd argument of the command line can be found here :
http://wit.wiimm.de/info/iso-images.html#esc


I used :
%T : joker for "title of the game", provided by Gametdb.com, if not present it will use the internal Disc title.
[ ] : that's just brackets, it will write them as is.
%I : that's the joker for "GameID"
/ : folder delimiter, it will create a subfolder
%+ : joker for default filename. if you use "--wbfs" option, it will be "GameID.wbfs", for example SMNP01.wbfs


the output will be :
f/games/New super Mario Bros. Wii [SMNP01]/SMNP01.wbfs
f/games/Mario Kart [RMCP01]/RMCP01.wbfs
etc.
 

justme488

Active Member
Newcomer
Joined
Jan 31, 2016
Messages
34
Trophies
0
Age
44
XP
126
Country
United States
the destination path is scanned for escaped sequences. it's not part of the "option" used by the wit command, the options are at the end.
like you see there are two options : --wbfs and --split

The command line is divided in arguments :
command : wit
1st argument : copy. it tells wit that you want to copy. You better use "move" instead of copy if you have 1000+ games.
2nd argument : All the first quote. what's inside the first quote "/cygdrive/e/" is the path for the source.
3rd argument : All the second quote. what's inside the second quote "/cygdrive/f/games/%T [%I]/%+" is the path to the destination.
4th argument : --wbfs. it's an option, telling you want the wbfs format as destination
5th argument : --split. it's another option, telling you want to split wbfs at 4GB.

What you need for the filename is the part located inside the 3rd argument : the destination path.
In the destination path, you can either write letters, like "/cygdrive/f/games/" which means it will save inside the "games" folder.
If you have only one game to move or copy, you can specify the title yourself : "/cygdrive/f/games/mario.wbfs"

But if you have multiple games, you can't provide a filename for your destination, you need to use jokers to tell the program to rename each games using "title of the game".wbfs
All escaped sequences inside the 3rd argument of the command line can be found here :
http://wit.wiimm.de/info/iso-images.html#esc


I used :
%T : joker for "title of the game", provided by Gametdb.com, if not present it will use the internal Disc title.
[ ] : that's just parenthesis, it will write them as is.
%I : that's the joker for "GameID"
/ : folder delimiter, it will create a subfolder
%+ : joker for default filename. if you use "--wbfs" option, it will be "GameID.wbfs", for example SMNP01.wbfs

Thank you very much. The / : folder delimiter, is what I had to remove to get the games in the root of f:
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
that's not a good idea to remove the folder delimiter.
That will not create the correct filename.
If you don't want them inside subfolders, remove the "%+" at the end.

keep it like that for "filename.wbfs":
f/games/%T.%E"

it will create :
games/Mario kart.wbfs
 
  • Like
Reactions: justme488

justme488

Active Member
Newcomer
Joined
Jan 31, 2016
Messages
34
Trophies
0
Age
44
XP
126
Country
United States
that's not a good idea to remove the folder delimiter.
That will not create the correct filename.
If you don't want them inside subfolders, remove the "%+" at the end.

keep it like that :
f/games/%T.%E"

it will create :
games/Mario kart.wbfs

I see what you mean. example:007 - Quantum of Solace [RJ2E52]RJ2E52.wbfs

--------------------- MERGED ---------------------------

that's not a good idea to remove the folder delimiter.
That will not create the correct filename.
If you don't want them inside subfolders, remove the "%+" at the end.

keep it like that for "filename.wbfs":
f/games/%T.%E"

it will create :
games/Mario kart.wbfs


Thank you guys. That is exactly what my goal was. My 8 y/o will be thrilled when I put these on his hd.
 

markehmus

Well-Known Member
Member
Joined
Jul 26, 2008
Messages
1,521
Trophies
0
Age
112
Location
in the GAME
XP
1,379
Country
Canada
Code:
*****  wit: Wiimms ISO Tool v2.31a r6005 cygwin - Dirk Clemens - 2015-02-08  ***
**
- MOVE   5/317 WBFS:./Attack_of_the_Movies_[S3AE5G}.wbfs -> S3AE5G.wbfs

that did the opposite of the name scheme i was hoping for, it took the name off the one game so now it only has the ID.

could i have the required command to add the name of the game before the ID , please ?
 

gamebrink

Member
Newcomer
Joined
Apr 8, 2006
Messages
8
Trophies
0
XP
216
Country
So, say I have a directory of Wii games and a directory of Gamecube games. What commands do I use to transfer them to my USB HDD? What does the HDD need to be formatted as?
 

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,516
Country
United States
So, say I have a directory of Wii games and a directory of Gamecube games. What commands do I use to transfer them to my USB HDD? What does the HDD need to be formatted as?

FAT32. Just copy the Gamecube games and name them properly ("/games/<game name>/game.iso" or "disc2.iso" for 2nd discs).

Look up on this page on how to copy Wii games. :/
 

justme488

Active Member
Newcomer
Joined
Jan 31, 2016
Messages
34
Trophies
0
Age
44
XP
126
Country
United States
I have renamed, converted, split all the games with your help to my e: drive, but I did not know that I need the game id in brackets after the title for the usb loader (because of my stupidity and rushing, not listening to cyan). I deleted and started over, because I had all the extentions screwed up from all the things I tried. I would like to use my linux machine as it is much faster. How would I take all my iso images on /media/ed/Seagate and rename and convert them to wbfs without splitting. Once that is done, I would then like to take those wbfs and split them while copying to /media/ed/LOGAN/wbfs.

I have tried: wit move /media/ed/Seagate /media/ed/Seagate/%T[%I] --wbfs
and got error:
Command 'MOVE' don't allow the option --wbfs (-B).

I then used wit convert /media/ed/Seagate --wbfs, but that wont rename. It will convert to wbfs. How do I rename while converting?
 
Last edited by justme488,

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
try this :

open a command line, browse to the folder with your games
wit mv . "%T [%I]/%+" --test
see if it's doing what you want.
Then do the same without the "--test"

(I hope it doesn't make an endless loop, but I just copied wiimm command line from the post above yours)
 

justme488

Active Member
Newcomer
Joined
Jan 31, 2016
Messages
34
Trophies
0
Age
44
XP
126
Country
United States
try this :

open a command line, browse to the folder with your games
wit mv . "%T [%I]/%+" --test
see if it's doing what you want.
Then do the same without the "--test"

I could be wrong, but that wont convert from iso to wbfs, will it?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @BigOnYa, it was maybe funny the third or fourth time companies did it +1