Hacking wwt+wit: Wiimms WBFS+ISO Tools

redia

Well-Known Member
Member
Joined
Mar 9, 2008
Messages
371
Trophies
0
XP
234
Country
Swaziland
Wiimm said:
A litte discussion:

wwt/wit is almost complete. A renaming command is the next step. But what is the name of disc?

A WBFS is a file system (or better an archive). And the discs/games are accessed by ID6. And that means that this ID6 is the (file-)name of a disc. The disc title is only an additional information. Do you follow me?

Because of this I plan 2 commands:
  • RENAME : rename the ID6 of a disc
  • SETINFO : define a new info for a disc identified by the ID6.
This is different from other tools: they rename the info.
makes total sense.

R
 

MarioMadness

Well-Known Member
Member
Joined
Nov 9, 2009
Messages
124
Trophies
0
Age
53
Location
On A Higher Consciousness
Website
Visit site
XP
26
Country
after giving up 8hrs of CPU time last night using iso2wbfs to convert my entire collection to WBFS for GX lol

i have just tried out 0.17 and i have noticed a difference in file sizes for example.

NSMBWii was 357Mb in .wbfs, i've just converted it again and the resulting file is now 360Mb ?

Wimm is this a fault, or does the new version add more info/padding etc?

should i re-convert all my games with this version since i still have the .iso's?
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,291
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,467
Country
Germany
@MarioMadness
The previous versions uses smaller wbfs block sizes. But oggzee told me that this is not good because more memory (about 20KB) is needed to handle while playing the game. I will make some test, anytime ...

Try the already converted games and tell me your results.

You can also convert from WBFS to WBFS.
 

MarioMadness

Well-Known Member
Member
Joined
Nov 9, 2009
Messages
124
Trophies
0
Age
53
Location
On A Higher Consciousness
Website
Visit site
XP
26
Country
the games seem to work fine, although i'll probably do a re-convert once we hit a stable build anyway dude

just converted F1 2009 with both versions, again the games are different in size, but play identical.

maybe it would be more noticeable on high-res games such as COD MW:R i'll test out more and get back
 

drh

Well-Known Member
Newcomer
Joined
Nov 14, 2009
Messages
76
Trophies
0
XP
81
Country
Wiimm said:
drh said:
Now I have the latest wiimm tools compiled, whats the command syntax to copy the files off my original WBFS drive to a second empty drive?
Code:
wwt -p dest_wbfs add source...


So if I have 2 x USB Drives connected:

/dev/disk1s1 - being my original 320Gb WBFS drive with all my ISO's on

/dev/disk2s1 - being my newly formatted 500Gb empty WBFS drive

I can use the following command to put all the ISO's onto the new drive?

CODE
./wwt -p /dev/disk2s1 add /dev/disk1s1
 

drh

Well-Known Member
Newcomer
Joined
Nov 14, 2009
Messages
76
Trophies
0
XP
81
Country
Wiimm said:
@drh
Just try it. Use --test for a test run. More nice options are --update and --progress

I will, I'm waiting for the new drive to arrive, hopefully tomorrow, so I thought I would just ask in advance whilst I'm waiting :-)
 

Narolez

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
369
Trophies
0
Location
<LAB#257>
XP
50
Country
Gambia, The
Wiimm said:
A litte discussion:

wwt/wit is almost complete. A renaming command is the next step. But what is the name of disc?

A WBFS is a file system (or better an archive). And the discs/games are accessed by ID6. And that means that this ID6 is the (file-)name of a disc. The disc title is only an additional information. Do you follow me?

Because of this I plan 2 commands:
  • RENAME : rename the ID6 of a disc
  • SETINFO : define a new info for a disc identified by the ID6.
This is different from other tools: they rename the info.
I agree with you, but I think SETTITLE comprehensible than SETINFO.
 

oggzee

Well-Known Member
Member
Joined
Apr 11, 2009
Messages
2,333
Trophies
0
XP
187
Country
Slovenia
Wiimm said:
@MarioMadness
The previous versions uses smaller wbfs block sizes. But oggzee told me that this is not good because more memory (about 20KB) is needed to handle while playing the game. I will make some test, anytime ...
Try the already converted games and tell me your results.
You can also convert from WBFS to WBFS.

QUOTE(MarioMadness @ Nov 18 2009, 10:19 PM) the games seem to work fine, although i'll probably do a re-convert once we hit a stable build anyway dude
just converted F1 2009 with both versions, again the games are different in size, but play identical.
maybe it would be more noticeable on high-res games such as COD MW:R i'll test out more and get back

A bit more info, yes i said that using a smaller wbfs block size has to be used with caution because there is only 20k free mem left in ios, so changing from 2mb to 1mb will take i think 9728 bytes more, leving 10k free, so that should still be good, but chaging ro 512kb size will take 29kb more and i assume will crash making it even smaller will consume of course even more.... I don't know what was actually the wbfs block size that you used in that version...

Also, a head's up: setting the split size to 2gb-32kb is a more optimal size, i will change it in next wbfs_file version to that. 32kb because it is cluster and wii sector aligned, so it loads a little bit faster when playing the game.
I think the speed difference is not so huge that it justifies re-creating all the files, but the fact is that 2gb-32kb is more optimal.
 

oggzee

Well-Known Member
Member
Joined
Apr 11, 2009
Messages
2,333
Trophies
0
XP
187
Country
Slovenia
Hi,
I have changed the default split size to 4GB-32kb in wbfs_file, perhaps you want to add that to wwt?
Also I added 2 options:
* New option: -2 : use split size 2gb-32kb
* New option: -4 : use split size 4gb-32kb (default)
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,291
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,467
Country
Germany
oggzee said:
Hi,
I have changed the default split size to 4GB-32kb in wbfs_file, perhaps you want to add that to wwt?
Also I added 2 options:
* New option: -2 : use split size 2gb-32kb
* New option: -4 : use split size 4gb-32kb (default)

I have already read that in the cfg thread.
Multiple of 32K is a good decision. My default was 2000000000 (only a multiple 1K), easy for biologic machines to calculate the total size.
Thanx for the info.

But I wonder that the default is nearly 4GB? I remember a statement by you that the USB loader does not support files >2GB. Am I wrong?
 

oggzee

Well-Known Member
Member
Joined
Apr 11, 2009
Messages
2,333
Trophies
0
XP
187
Country
Slovenia
Wiimm said:
But I wonder that the default is nearly 4GB? I remember a statement by you that the USB loader does not support files >2GB. Am I wrong?
I fixed the 2GB limit just today.
smile.gif

Only version cfg48t4 supports that for the moment.
 

mousex

Well-Known Member
Member
Joined
Jan 23, 2009
Messages
986
Trophies
0
XP
115
Country
United States
MarioMadness said:
lol its a good job i've just got myself a i7 rig lol
Your CPU doesn't matter in this case. It's mostly HDD work, so you won't get more speed with your i7 than with a C2D (depending onn the USB drive maybe about 25MB/s).
 

MarioMadness

Well-Known Member
Member
Joined
Nov 9, 2009
Messages
124
Trophies
0
Age
53
Location
On A Higher Consciousness
Website
Visit site
XP
26
Country
mousex said:
MarioMadness said:
lol its a good job i've just got myself a i7 rig lol
Your CPU doesn't matter in this case. It's mostly HDD work, so you won't get more speed with your i7 than with a C2D (depending onn the USB drive maybe about 25MB/s).


well in that case, the 64Gb RunCore SSD i use for swap and my OCZ SSD i use for / will speed up things abit
tongue.gif


now if only i could afford another RunCore Pro to use with Wii
frown.gif
lol
 

drh

Well-Known Member
Newcomer
Joined
Nov 14, 2009
Messages
76
Trophies
0
XP
81
Country
drh said:
Wiimm said:
@drh
Just try it. Use --test for a test run. More nice options are --update and --progress

I will, I'm waiting for the new drive to arrive, hopefully tomorrow, so I thought I would just ask in advance whilst I'm waiting :-)


Ok, its working.

Its seems rather slow though. I used the command:

CODE
./wwt -p /dev/disk4s1 add /dev/disk3s1

Unfortunately there are no time stamps on my shell session, so I don't know how long ago I started it, but I'm pretty sure it been running for a few hours, its completed 15 files.

By the way, is this anything to worry about?




***** wwt: Wiimms WBFS Tool v0.16b r431 mac - Dirk Clemens - 2009-11-18 *****
WBFSv0 #1 opened: /dev/disk4s1
* Summary of WBFS Check: 6 errors found:
6 free WBFS sectors marked as used!
Note: 6 errors are based on a bug in libwbfs v0.
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,291
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,467
Country
Germany
This is not the the delete bug, is is an other bug that i found last week. The old libwbfs does not use all sectors. See "Inside WBFS" for more info.

@drh
If you send the signal USR2 to the process it will increase the verbose level. If level 2 is reached a progress counter is enabled.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Skelletonike @ Skelletonike:
    3h left until work finishes, bah
  • Skelletonike @ Skelletonike:
    link doesn't work
    +2
  • Skelletonike @ Skelletonike:
    1H left, such a slow week.
  • Sonic Angel Knight @ Sonic Angel Knight:
    Okay, I had spaghetti :P
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
  • K3N1 @ K3N1:
    *skirt up* it's exactly what I always wanted
  • Skelletonike @ Skelletonike:
    Just scanned all my zelda amiibos, took a while but didn't get anything that cool, did get the lon lon ranch hylian fabrics though.
  • Skelletonike @ Skelletonike:
    It was pretty funny when I scanned wolf link and got a shit load of meat.
  • K3N1 @ K3N1:
    @Skelletonike, btw I ran that custom for mgs4 on the deck I'm amazed it got that far in game
  • K3N1 @ K3N1:
    Plug in*
    K3N1 @ K3N1: Plug in*