Hacking wwt+wit: Wiimms WBFS+ISO Tools

zx3junglist

Member
Newcomer
Joined
Dec 24, 2009
Messages
24
Trophies
0
XP
30
Country
United States
Wiimm said:
zx3junglist said:
It's very helpful. I fear that the directory creation still may not be working properly, but I'm not convinced that I'm using the syntax correctly.
*EDIT* I'm not sure if it matters, but if it's not clear from the output, I'm using an ntfs drive to hold my wbfs files.

Code:
previces@Optimus:~/iso$ wit COPY -B Blah\ Blah\ Blah/Test.iso -d /media/NTFS/wbfs/%I_%T/%I.wbfs
*****ÂÂwit: Wiimms ISO Tool v0.26a r568M i386 - Dirk Clemens - 2010-01-05ÂÂ*****
* wit SCRUB ISO:Blah Blah Blah/Test.iso -> WBFS:/media/NTFS/wbfs/ABCD01_Blah Blah Blah/ABCD01.wbfs
!! wit: ERROR #13 [CAN'T CREATE FILE] in exec_copy() @ wit.c#1118
!!ÂÂÂÂÂÂCan't create temp file: /media/NTFS/wbfs/ABCD01_Blah Blah Blah/ABCD01.wbfs
And what happpens if you use "-D" instead of "-d"?
If -D isn't working too than I will create a debug version for you which dumps a trace with more infos.



Hi Wiimm, -D did work, thank you. I couldn't exactly get my hands around how to use your '-r' recurse function, so I am just using the find function. So now, if I have a folder full of .iso, inside or outside of sub-directories, I just have this simple script to process them. You run like “findiso outputdir [-t]” where outputdir has no trailing slash. -t enables test mode:

CODE
#!/bin/bash
#
# findiso v1.0

find . -name '*.iso' -type f -exec wit COPY -u -R -B $2 {} -D $1/%I_%T/%I.wbfs \;

and what I end up with is neatly organized .wbfs files in my output directory. Very nice. My god do I love linux and GNU tools.
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
@zx3junglist
The "-r path" options searches the path recurse for all ISO files (plain ISO, WDF-ISO, WBFS) and take then as source. Naming (file name endings) are not of interest:

This should work for you (but it find also isos not ending with '.iso'):
Code:
wit COPY -u -R -B $2 -r. -D $1/%I_%T/%I.wbfs

You can also pipe the file names (assuming that no filename contains a LF):
Code:
find . -name '*.iso' -type f | wit COPY -u -R -B $2 @- -D $1/%I_%T/%I.wbfs
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
wwt: Wiimms WBFS Tool v0.27a - 2010-01-09
A command line WBFS tool set for various os.


I have updated the tool. The first post with more details is updated too.

Download:Last changes:
Code:
wwt v0.26a r569 - 2010-01-05

- cygwin: stdout and stderr use windows line ending (CR+LF).
- Allow german umlaut in destination file names.
- Bug fix: Option --include-path was only proccessed if also option
ÂÂ --exclude-path was set.
- The local title files contain now all titles and not only the local
ÂÂ modifications. This is good for cygwin which do not support automatic
ÂÂ language detection. Just rename 'titles-XY.txt' to 'titles.txt'.

wwt v0.27a r579 - 2010-01-09

- Bug fix: Problems while creating a directory path.
- Option --no-utf-8 did not work, all titles were trash.
- Option --no-utf-8 is now the default for cygwin. This is needed to allow
ÂÂ german umlauts in filebnames.
- wwt ADD: Add files in alphabetic order and print iteration counter.

Sources comes with GPL2. Checkout the sources directly from the SVN repository or browse the source.
 

Teryaki

New Member
Newbie
Joined
Jan 6, 2010
Messages
4
Trophies
0
XP
1
Country
United States
I attempted to delete a backup which did not fully install I checked my disk and got
error2.jpg


any ideas how to fix?
 

redia

Well-Known Member
Member
Joined
Mar 9, 2008
Messages
371
Trophies
0
XP
234
Country
Swaziland
wimm,

I am currently fooling around with a wbfs partition.
and I am testing beta testing wbm for fig2k4.

I am facing a confusing situation, maybe you can help.

here is how to reproduce the problem :

1. format a partition (to start with a clean state)
2. add X games
3. hex edit the partition and modify the "magic number" to purposely corrupt a game.(only on one game for
4. in wbm, the game is listed as corrupted - X games are listed
5. 'wtt check' it finds no error
6. 'wtt list' I am missing two games in the list.. the corrupted one AND the next one (in copy order and also in disk order) - X-2 games are found.
7. I delete the corrupter game in WBM and reclaim the free block
8. WBM lists X-1 games. normal as I deleted one
9. 'wtt check' it finds no error ... normal this time
10. 'wtt list' lists X-1 games. normal as I deleted one. (the previously missing game is back)

what do you think about that ?

R
 

Skeeve

Well-Known Member
Newcomer
Joined
Jan 1, 2010
Messages
75
Trophies
0
XP
146
Country
Gambia, The
Hi Wimm!

Could you add an exit code to wwt?

Code:
$ wwt add -Pa Just.Dance.PAL.Wii-GLoBAL/Just\ Dance.iso 
*****ÂÂwwt: Wiimms WBFS Tool v0.23a r544 mac - Dirk Clemens - 2010-01-02ÂÂ*****
WBFSv1 #1 opened: /dev/disk4s1
- DISC Just.Dance.PAL.Wii-GLoBAL/Just Dance.iso [SDNP41] already exists -> ignore
$ echo $?
0
I would expect something different from 0 there.
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
@Teryaki

First: The error message text "3542 discs uses invalid WBFS blocks" is wrong.
Correct is: "3542 invalid WBFS block references found"

Second: try: wwt repair -p /dev/sda2 --repair=all
This will remove the invalid discs.

@Skeeve
New error message added. Please wait for the next release.
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
redia said:
wimm,

I am currently fooling around with a wbfs partition.
and I am testing beta testing wbm for fig2k4.

I am facing a confusing situation, maybe you can help.

here is how to reproduce the problem :

1. format a partition (to start with a clean state)
2. add X games
3. hex edit the partition and modify the "magic number" to purposely corrupt a game.(only on one game for
4. in wbm, the game is listed as corrupted - X games are listed
5. 'wtt check' it finds no error
6. 'wtt list' I am missing two games in the list.. the corrupted one AND the next one (in copy order and also in disk order) - X-2 games are found.
7. I delete the corrupter game in WBM and reclaim the free block
8. WBM lists X-1 games. normal as I deleted one
9. 'wtt check' it finds no error ... normal this time
10. 'wtt list' lists X-1 games. normal as I deleted one. (the previously missing game is back)

what do you think about that ?

R

bug fixed. see next release.

btw:
for fast testing purposes i have implemented the PHANTOM command. Try
CODEwwt -p a.wbfs phantom 10x1-2g
This will add 10 phantom discs with a random size between 1 and 2 GiB.
Each phantom has an correct wbfs inode and an correct iso header (first 256 bytes), but the other iso data is not written. And the later one makes adding phantoms very fast. See docu for more infos.
 

redia

Well-Known Member
Member
Joined
Mar 9, 2008
Messages
371
Trophies
0
XP
234
Country
Swaziland
Wiimm said:
bug fixed. see next release.

btw:
for fast testing purposes i have implemented the PHANTOM command. Try
Code:
wwt -p a.wbss phantom 10x1-2g
This will add 10 phantom discs with a random size between 1 and 2 GiB.
Each phantom has an correct wbfs inode and an correct iso header (first 256 bytes), but the other iso data is not written.

thanks..
will test the new version when it is out
and I will also definitely test the phantom command
smile.gif


Cheers,
R
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
The bug was an iteration problem inside libwbfs:
Prior i askes libwbfs wbfs_get_disc_info() to give me the info of the n-th dics. And each call iterates through all slots to find it. And the iteration differs for some functions.
And now i check each slot directly. I have expanded libwbfs with wbfs_get_disc_info_by_slot() for a while. And LIST will now use this too. DUMP use this new function for a while. And that make the differences between LIST and DUMP.

I hope that I will release the new wwt in the (german) evening.
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
wwt: Wiimms WBFS Tool v0.28a - 2010-01-15
A command line WBFS tool set for various os.


I have updated the tool. The first post with more details is updated too.

Download:
Last changes:
Code:
wwt v0.27a r579 - 2010-01-09

- Bug fix: Problems while creating a directory path.
- Option --no-utf-8 did not work, all titles were trash.
- Option --no-utf-8 is now the default for cygwin. This is needed to allow
ÂÂ german umlauts in filebnames.
- wwt ADD: Add files in alphabetic order and print iteration counter.

wwt v0.28a r596 - 2010-01-15

- Little optimation for libwbfs add_disc(): Read only needed wii sectors from
ÂÂ iso and fill others with zeros. This makes adding faster and avoids reading
ÂÂ behind end of file. This is needed for reading from a pipe.
- New error code: JOB_IGNORED: Set if a disc is ignored while adding a game.
- wwt ADD: adding to more than one WBFS failed since v0.27a.
- wit COPY+SCRUB+MOVE: Process files in alphabetic order and print iteration
ÂÂ counter.
- Bug fix: wwt LIST: Not all discs were shown if an invalid disc was found.
- Decompose unusual unicode characters (remove accents...) in title database.

Sources comes with GPL2. Checkout the sources directly from the SVN repository or browse the source.
 

FenrirWolf

Well-Known Member
Member
Joined
Nov 19, 2008
Messages
4,347
Trophies
1
Location
Sandy, UT
XP
615
Country
United States
I have kind of an unrelated question, but you know your stuff when it comes to WBFS. Let's say the people behind Dolphin were interested in supporting .wbfs files for the emulator. What kind of stuff should I link them to so they'll know how to implement it?
 

Skizzo

Banned!
Banned
Joined
May 1, 2009
Messages
475
Trophies
0
XP
0
Country
United States
Hmm...well I'm trying to use your tool Wiimm to copy the games off one wbfs drive onto another, and it's looking strange. I'm only about 10 minutes into it, but so far, only the source drive's activity light has been going continuously, with nothing from the destination drive? I'm about to leave it running all night and into tomorrow, so I hope this is normal, perhaps having something to do with titles.txt or ??

I used the example from your FAQ. The source wbfs drive is /dev/sdb2 and the destination is /dev/sdc2. I used wwt UPDATE -p /dev/sdc2 /dev/sdb2 -vv. I sure hope I don't wake up to an empty drive(s). :| I think I'll check in an hour or two to see if it's made any progress. Shit...the destination drive just went into sleep mode so there's been no activity on it?!

EDIT: Ah...I let it go and it's now finally copying the games over, albeit VERY slowly compared to when I used a different program but I was copying from a 7200 RPM drive to another one. Now I'm going 7200->5400 although I doubt that would explain the extreme speed differences. Oh well, I'll just let it finish because I trust Wiimm's tools.
wink.gif
Thanks for continuing your work on this Wiimm.
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
@FenrirWolf
libwbfs: It contains most low level functions needed to operate WBFS.

@Skizzo
it's an unlucky implementation. I have a special interface to allow WBFS_FILE/ID6 as is input in all commands. When adding all discs of a WBFS the command line expanded virtuell to WBFS_FILE/disc1 .. WBFS_FILE/discN and for each disc the WBFS is opened, fast checked for the disc and closed. This takes time. I will optimize this.
 

Skizzo

Banned!
Banned
Joined
May 1, 2009
Messages
475
Trophies
0
XP
0
Country
United States
Thanks for the explanation Wiimm. Well I woke up this morning and it appears the computer rebooted at some point during the night after having only copied over 66 games, so I'm hoping the same command will pick up where it left off. One thing I noticed is that the games are being copied in an order different from what's on the source drive (see below for part of dump). I assume this is normal too?

BTW, is there any type of timestamp within WBFS where we could tell when the games were added? Just wondering if I could see how long it was up and running before the reboot.

Code:
SOURCE

Dump of Wii disc at slot #0 of 500:
ÂÂÂÂwbfs name:ÂÂRWDE5G, Wild Earth: African Safari
ÂÂÂÂiso name:ÂÂ RWDE5G, Wild Earth: African Safari
ÂÂÂÂtitle:ÂÂÂÂÂÂWild Earth: African Safari
ÂÂÂÂregion:ÂÂÂÂ NTSC [NTSC]
ÂÂÂÂsize:ÂÂÂÂÂÂ 432 MiB

ÂÂÂÂWii disc memory mapping:

ÂÂÂÂÂÂÂÂmapping index :ÂÂÂÂwbfs blocks :ÂÂÂÂÂÂdisc offset range :ÂÂÂÂ size
ÂÂÂÂ ----------------------------------------------------------------------
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 0ÂÂÂÂÂÂ:ÂÂÂÂÂÂÂÂ 1ÂÂÂÂÂÂ:ÂÂÂÂÂÂÂÂ 0 ..ÂÂ 1000000 :ÂÂ1000000
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ15ÂÂÂÂÂÂ:ÂÂÂÂÂÂÂÂ 2ÂÂÂÂÂÂ:ÂÂ f000000 ..ÂÂ10000000 :ÂÂ1000000
ÂÂÂÂÂÂÂÂ 255 ..ÂÂ 279 :ÂÂÂÂ 3 ..ÂÂÂÂ27 :ÂÂff000000 .. 118000000 : 19000000

ÂÂDump of Wii disc at slot #1 of 500:
ÂÂÂÂwbfs name:ÂÂRTZE08, Zack and Wiki: Quest for Barbaros' Treasure
ÂÂÂÂiso name:ÂÂ RTZE08, Zack and Wiki: Quest for Barbaros' Treasure
ÂÂÂÂtitle:ÂÂÂÂÂÂZack & Wiki: Quest for Barbaros' Treasure
ÂÂÂÂregion:ÂÂÂÂ NTSC [NTSC]
ÂÂÂÂsize:ÂÂÂÂÂÂ 2032 MiB

ÂÂÂÂWii disc memory mapping:

ÂÂÂÂÂÂÂÂmapping index :ÂÂÂÂwbfs blocks :ÂÂÂÂÂÂdisc offset range :ÂÂÂÂ size
ÂÂÂÂ ----------------------------------------------------------------------
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 0ÂÂÂÂÂÂ:ÂÂÂÂÂÂÂÂ28ÂÂÂÂÂÂ:ÂÂÂÂÂÂÂÂ 0 ..ÂÂ 1000000 :ÂÂ1000000
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ15ÂÂÂÂÂÂ:ÂÂÂÂÂÂÂÂ29ÂÂÂÂÂÂ:ÂÂ f000000 ..ÂÂ10000000 :ÂÂ1000000
ÂÂÂÂÂÂÂÂ 155 ..ÂÂ 279 :ÂÂÂÂ30 ..ÂÂ 154 :ÂÂ9b000000 .. 118000000 : 7d000000

ÂÂDump of Wii disc at slot #2 of 500:
ÂÂÂÂwbfs name:ÂÂRYOEA4, Yugioh WB US
ÂÂÂÂiso name:ÂÂ RYOEA4, Yugioh WB US
ÂÂÂÂtitle:ÂÂÂÂÂÂYu-Gi-Oh! 5D's: Wheelie Breakers
ÂÂÂÂregion:ÂÂÂÂ NTSC [NTSC]
ÂÂÂÂsize:ÂÂÂÂÂÂ 896 MiB

ÂÂÂÂWii disc memory mapping:

ÂÂÂÂÂÂÂÂmapping index :ÂÂÂÂwbfs blocks :ÂÂÂÂÂÂdisc offset range :ÂÂÂÂ size
ÂÂÂÂ ----------------------------------------------------------------------
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 0ÂÂÂÂÂÂ:ÂÂÂÂÂÂ 155ÂÂÂÂÂÂ:ÂÂÂÂÂÂÂÂ 0 ..ÂÂ 1000000 :ÂÂ1000000
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ15ÂÂÂÂÂÂ:ÂÂÂÂÂÂ 156ÂÂÂÂÂÂ:ÂÂ f000000 ..ÂÂ10000000 :ÂÂ1000000
ÂÂÂÂÂÂÂÂ 226 ..ÂÂ 279 :ÂÂ 157 ..ÂÂ 210 :ÂÂe2000000 .. 118000000 : 36000000

ÂÂDump of Wii disc at slot #3 of 500:
ÂÂÂÂwbfs name:ÂÂSXFE52, Band Hero
ÂÂÂÂiso name:ÂÂ SXFE52, Band Hero
ÂÂÂÂtitle:ÂÂÂÂÂÂBand Hero
ÂÂÂÂregion:ÂÂÂÂ NTSC [NTSC]
ÂÂÂÂsize:ÂÂÂÂÂÂ 4080 MiB

ÂÂÂÂWii disc memory mapping:

ÂÂÂÂÂÂÂÂmapping index :ÂÂÂÂwbfs blocks :ÂÂÂÂÂÂdisc offset range :ÂÂÂÂ size
ÂÂÂÂ ----------------------------------------------------------------------
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 0ÂÂÂÂÂÂ:ÂÂÂÂÂÂ 211ÂÂÂÂÂÂ:ÂÂÂÂÂÂÂÂ 0 ..ÂÂ 1000000 :ÂÂ1000000
ÂÂÂÂÂÂÂÂÂÂ15 ..ÂÂ 134 :ÂÂ 212 ..ÂÂ 331 :ÂÂ f000000 ..ÂÂ87000000 : 78000000
ÂÂÂÂÂÂÂÂ 135 ..ÂÂ 268 :ÂÂ2183 ..ÂÂ2316 :ÂÂ87000000 .. 10d000000 : 86000000

ÂÂDump of Wii disc at slot #4 of 500:
ÂÂÂÂwbfs name:ÂÂRR9E78, WWE Smackdown! vs. RAW 2009
ÂÂÂÂiso name:ÂÂ RR9E78, WWE Smackdown! vs. RAW 2009
ÂÂÂÂtitle:ÂÂÂÂÂÂWWE SmackDown vs. Raw 2009
ÂÂÂÂregion:ÂÂÂÂ NTSC [NTSC]
ÂÂÂÂsize:ÂÂÂÂÂÂ 4032 MiB

ÂÂÂÂWii disc memory mapping:

ÂÂÂÂÂÂÂÂmapping index :ÂÂÂÂwbfs blocks :ÂÂÂÂÂÂdisc offset range :ÂÂÂÂ size
ÂÂÂÂ ----------------------------------------------------------------------
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 0ÂÂÂÂÂÂ:ÂÂÂÂÂÂ 432ÂÂÂÂÂÂ:ÂÂÂÂÂÂÂÂ 0 ..ÂÂ 1000000 :ÂÂ1000000
ÂÂÂÂÂÂÂÂÂÂ15 ..ÂÂÂÂ30 :ÂÂ 433 ..ÂÂ 448 :ÂÂ f000000 ..ÂÂ1f000000 : 10000000
ÂÂÂÂÂÂÂÂÂÂ45 ..ÂÂ 279 :ÂÂ 449 ..ÂÂ 683 :ÂÂ2d000000 .. 118000000 : eb000000


DESTINATION

Dump of Wii disc at slot #0 of 500:
ÂÂÂÂwbfs name:ÂÂRWDE5G, Wild Earth: African Safari
ÂÂÂÂiso name:ÂÂ RWDE5G, Wild Earth: African Safari
ÂÂÂÂtitle:ÂÂÂÂÂÂWild Earth: African Safari
ÂÂÂÂregion:ÂÂÂÂ NTSC [NTSC]
ÂÂÂÂsize:ÂÂÂÂÂÂ 432 MiB

ÂÂÂÂWii disc memory mapping:

ÂÂÂÂÂÂÂÂmapping index :ÂÂÂÂwbfs blocks :ÂÂÂÂÂÂdisc offset range :ÂÂÂÂ size
ÂÂÂÂ ----------------------------------------------------------------------
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 0ÂÂÂÂÂÂ:ÂÂÂÂÂÂÂÂ 1ÂÂÂÂÂÂ:ÂÂÂÂÂÂÂÂ 0 ..ÂÂ 1000000 :ÂÂ1000000
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ15ÂÂÂÂÂÂ:ÂÂÂÂÂÂÂÂ 2ÂÂÂÂÂÂ:ÂÂ f000000 ..ÂÂ10000000 :ÂÂ1000000
ÂÂÂÂÂÂÂÂ 255 ..ÂÂ 279 :ÂÂÂÂ 3 ..ÂÂÂÂ27 :ÂÂff000000 .. 118000000 : 19000000

ÂÂDump of Wii disc at slot #1 of 500:
ÂÂÂÂwbfs name:ÂÂRTZE08, Zack and Wiki: Quest for Barbaros' Treasure
ÂÂÂÂiso name:ÂÂ RTZE08, Zack and Wiki: Quest for Barbaros' Treasure
ÂÂÂÂtitle:ÂÂÂÂÂÂZack & Wiki: Quest for Barbaros' Treasure
ÂÂÂÂregion:ÂÂÂÂ NTSC [NTSC]
ÂÂÂÂsize:ÂÂÂÂÂÂ 2032 MiB

ÂÂÂÂWii disc memory mapping:

ÂÂÂÂÂÂÂÂmapping index :ÂÂÂÂwbfs blocks :ÂÂÂÂÂÂdisc offset range :ÂÂÂÂ size
ÂÂÂÂ ----------------------------------------------------------------------
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 0ÂÂÂÂÂÂ:ÂÂÂÂÂÂÂÂ28ÂÂÂÂÂÂ:ÂÂÂÂÂÂÂÂ 0 ..ÂÂ 1000000 :ÂÂ1000000
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ15ÂÂÂÂÂÂ:ÂÂÂÂÂÂÂÂ29ÂÂÂÂÂÂ:ÂÂ f000000 ..ÂÂ10000000 :ÂÂ1000000
ÂÂÂÂÂÂÂÂ 155 ..ÂÂ 279 :ÂÂÂÂ30 ..ÂÂ 154 :ÂÂ9b000000 .. 118000000 : 7d000000

ÂÂDump of Wii disc at slot #2 of 500:
ÂÂÂÂwbfs name:ÂÂRWGE08, We Love Golf
ÂÂÂÂiso name:ÂÂ RWGE08, We Love Golf
ÂÂÂÂtitle:ÂÂÂÂÂÂWe Love Golf!
ÂÂÂÂregion:ÂÂÂÂ NTSC [NTSC]
ÂÂÂÂsize:ÂÂÂÂÂÂ 1408 MiB

ÂÂÂÂWii disc memory mapping:

ÂÂÂÂÂÂÂÂmapping index :ÂÂÂÂwbfs blocks :ÂÂÂÂÂÂdisc offset range :ÂÂÂÂ size
ÂÂÂÂ ----------------------------------------------------------------------
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 0ÂÂÂÂÂÂ:ÂÂÂÂÂÂ 155ÂÂÂÂÂÂ:ÂÂÂÂÂÂÂÂ 0 ..ÂÂ 1000000 :ÂÂ1000000
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ15ÂÂÂÂÂÂ:ÂÂÂÂÂÂ 156ÂÂÂÂÂÂ:ÂÂ f000000 ..ÂÂ10000000 :ÂÂ1000000
ÂÂÂÂÂÂÂÂ 194 ..ÂÂ 279 :ÂÂ 157 ..ÂÂ 242 :ÂÂc2000000 .. 118000000 : 56000000

ÂÂDump of Wii disc at slot #3 of 500:
ÂÂÂÂwbfs name:ÂÂRRBE41, Rayman Raving Rabbids
ÂÂÂÂiso name:ÂÂ RRBE41, Rayman Raving Rabbids
ÂÂÂÂtitle:ÂÂÂÂÂÂRayman Raving Rabbids
ÂÂÂÂregion:ÂÂÂÂ NTSC [NTSC]
ÂÂÂÂsize:ÂÂÂÂÂÂ 1568 MiB

ÂÂÂÂWii disc memory mapping:

ÂÂÂÂÂÂÂÂmapping index :ÂÂÂÂwbfs blocks :ÂÂÂÂÂÂdisc offset range :ÂÂÂÂ size
ÂÂÂÂ ----------------------------------------------------------------------
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 0ÂÂÂÂÂÂ:ÂÂÂÂÂÂ 243ÂÂÂÂÂÂ:ÂÂÂÂÂÂÂÂ 0 ..ÂÂ 1000000 :ÂÂ1000000
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ15ÂÂÂÂÂÂ:ÂÂÂÂÂÂ 244ÂÂÂÂÂÂ:ÂÂ f000000 ..ÂÂ10000000 :ÂÂ1000000
ÂÂÂÂÂÂÂÂ 184 ..ÂÂ 279 :ÂÂ 245 ..ÂÂ 340 :ÂÂb8000000 .. 118000000 : 60000000

ÂÂDump of Wii disc at slot #4 of 500:
ÂÂÂÂwbfs name:ÂÂRPLE52, Rapala Tournament Fishing!
ÂÂÂÂiso name:ÂÂ RPLE52, Rapala Tournament Fishing!
ÂÂÂÂtitle:ÂÂÂÂÂÂRapala Tournament Fishing
ÂÂÂÂregion:ÂÂÂÂ NTSC [NTSC]
ÂÂÂÂsize:ÂÂÂÂÂÂ 1952 MiB

ÂÂÂÂWii disc memory mapping:

ÂÂÂÂÂÂÂÂmapping index :ÂÂÂÂwbfs blocks :ÂÂÂÂÂÂdisc offset range :ÂÂÂÂ size
ÂÂÂÂ ----------------------------------------------------------------------
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 0ÂÂÂÂÂÂ:ÂÂÂÂÂÂ 341ÂÂÂÂÂÂ:ÂÂÂÂÂÂÂÂ 0 ..ÂÂ 1000000 :ÂÂ1000000
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ15ÂÂÂÂÂÂ:ÂÂÂÂÂÂ 342ÂÂÂÂÂÂ:ÂÂ f000000 ..ÂÂ10000000 :ÂÂ1000000
ÂÂÂÂÂÂÂÂ 160 ..ÂÂ 279 :ÂÂ 343 ..ÂÂ 462 :ÂÂa0000000 .. 118000000 : 78000000
 

zon7

Active Member
Newcomer
Joined
Oct 1, 2005
Messages
38
Trophies
0
XP
96
Country
Hello Wiimm,
First, congrats for this great App.
I'm writting a Java GUI to your tool, so It can be used in any system, as I have a Mac and the only app is currently frozen.

I'll like to know if you can add a little functionality. When you execute the filetype command of an .wbfs or .wdf, it only shows the game ID. Could it be posible for you to add to this info the region code? As you are retrieving it when you read a wbfs partition I asume it will not be hard.
Thanks.
 

griffindale

New Member
Newbie
Joined
Sep 16, 2009
Messages
1
Trophies
0
XP
5
Country
United States
I was able to simply run make all++ against trunk on OSX. I did have to install wget from darwin ports and install wwt once it was built in order to get the install-titles.sh script to run.

The resulting folder is here for those who want to test out OSX binaries. I HAVE NOT TESTED THESE aside from some very simple runs.

Compiled on 10.6.2 - the GNU Make installed with the OS is currently 3.81, gcc is 4.2.1


wwt-v0.28a-r596-mac.tar.gz
 

forbore

Well-Known Member
Member
Joined
Oct 30, 2008
Messages
247
Trophies
0
Location
/dev/canada/quebec
XP
84
Country
Canada
I'd like to know why do I get this error:
Code:
* iso2wdf: SCRUB Wario Land Shake It!.iso -> Wario Land Shake It!.wdfÂÂÂÂÂÂ 
!! iso2wdf: ERROR #13 [CAN'T OPEN FILE] in SetupReadSF() @ lib-sf.c#166ÂÂÂÂ 
!!ÂÂÂÂÂÂÂÂÂÂCan't open file: WarioLandShakeItPAL.wdf
I get this error both under sudo and normal user under openSuSE. This is the first time I update your SW (The initial version worked fine so I didn't change it until today). I also get an error when running the iso to wdf script.

EDIT: I got it to work, just some stupid mistake. Instead of simply doing

Code:
iso2wdf Wario*
I was doing:
Code:
iso2wdf Wario* WarioLandShakeItPAL.wdf
to specify an output name for the file.

I hadnt used your app in a while so I did not remember that I only had to enter iso2wdf with the iso... Oh well.

EDIT2: WTH? Wario Land takes up 4.2GB when *scrubbed* in a RAR and 1.3GB in WDF format!
ohmy.gif


Anyways, this app is great! Works very well and does what you want it to do and really fast. Thank You!
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
zon7 said:
Hello Wiimm,
First, congrats for this great App.
I'm writting a Java GUI to your tool, so It can be used in any system, as I have a Mac and the only app is currently frozen.

I'll like to know if you can add a little functionality. When you execute the filetype command of an .wbfs or .wdf, it only shows the game ID. Could it be posible for you to add to this info the region code? As you are retrieving it when you read a wbfs partition I asume it will not be hard.
Thanks.

Do yo mean the wwt messages like "PAL", "NTSC", "GERM", "RF"?
It's just a explanation of the fourth character of the ID. See my SVN and wiibrew.org for more info. But it is no problem to expand the output.

And if you like I will create a special option named --gui: It tells the progs that they are called by a gui and that they should print machine readable output.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: LOL