Hacking WIT (Wiimms ISO Tools) GameCube disc support

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
yeah, it finishes the job now and doesnt throw any errors
smile.gif
. something i did notice is that before when it wrote 1.2GB and then failed, it left behind a 1.2GB hidden temporary file. is it just leaving behind the temp file because i was using a debug version? or does it always leave that for the user to decide what to do with?
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,286
Trophies
0
Location
Germany
Website
wiimmfi.de
XP
1,442
Country
Germany
i think it was the debug version. When I'm force the same error it runs against an assertion and failed assertions will terminate to prog immediately without cleanup. Check the timestamps.
 

Fishaman P

Speedrunner
Member
Joined
Jan 2, 2010
Messages
3,291
Trophies
0
Location
Wisconsin
Website
twitch.tv
XP
1,812
Country
United States
I hope I don't sound like a n00b asking this but...

Since Gamecube discs can be stored in Wii game formats, can these images be run in USB Loaders?

I'm thinking not, but you know, I'm hopeful.
 

W hat

Rhythm Heaven Fan
Member
Joined
Feb 28, 2007
Messages
630
Trophies
0
XP
675
Country
United States
No.

Look out for DIOS MIOS this month - if you have real GC games, you can play them from USB.
 

W hat

Rhythm Heaven Fan
Member
Joined
Feb 28, 2007
Messages
630
Trophies
0
XP
675
Country
United States
Search google for DIOS MIOS Wii. The creator doesn't want people pirating GC games, so he requires that you back up the games from real GC discs.

He's very good, so his protection scheme might be unbreakable for now / forever.
 

khmann

New Member
Newbie
Joined
Oct 21, 2010
Messages
2
Trophies
0
XP
1
Country
United States
Hi Wiimm! WIT is great... Thankyou!!! I am a long-time command line Linux and OS/X user so to find these tools was wonderful! Wii support seems perfect, now I am trying to use the experimental GameCube support...

I have tried many options with 1.18 but I cannot figure how to use wit to trim/scrub/truncate/align GC ISOs. I have previously used the DOS fstfix15f.exe, which works but moves ALL the files around and either does 0 or 32k alignment - I really like the description of how wii-tools will only work to close "sector-sized" holes so the original alignment remains intact. I am also interested in the possibility to align files to DVD sector size (2k) and marked "Streams" to 32k.

I really thought I should be able to do something like wit CP animalcrossing.iso --trunc shrunken.iso, with including something like --hbs=2048 to align for DVD or --hbs=32768 to align for streams, but this does not seem to be the case and I have tried very many options, I either get a full size .ISO or I am left with a file which will not boot (using SD boot 4RC4)

... to the fellow with the trimmed .ISOs which are not multiple of 32k, you could just do DD if=infile.iso of=infile-pad.iso bs=32768 conv=sync
 

RoundSparrow

New Member
Newbie
Joined
Aug 2, 2011
Messages
1
Trophies
0
XP
1
Country
United States
FYI, on latest version I can not add a second disc... Enter the Matrix NTSC (Disc 2)

http://redump.org/disc/6773/

Code:
$ wwt -vv add --part /dev/sdc1 GMXE70-disc2.iso

wwt: Wiimms WBFS Tool v2.00b r2855 x86_64 - Dirk Clemens - 2011-07-13

One WBFS partition found.
1 object scanned, 1 disc found.ÂÂÂÂ

WBFSv1 #1/1 opened: /dev/sdc1
! DISC GMXE70-disc2.iso [GMXE70] already exists -> ignore
wwt: Command 'ADD' returns with status #4 [JOB IGNORED]
$ wwt -vv add --part /dev/sdc1 GMXE70.iso

wwt: Wiimms WBFS Tool v2.00b r2855 x86_64 - Dirk Clemens - 2011-07-13

One WBFS partition found.
1 object scanned, 1 disc found.ÂÂÂÂ

WBFSv1 #1/1 opened: /dev/sdc1
! DISC GMXE70.iso [GMXE70] already exists -> ignore
wwt: Command 'ADD' returns with status #4 [JOB IGNORED]
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,286
Trophies
0
Location
Germany
Website
wiimmfi.de
XP
1,442
Country
Germany
Is it true that you want to add 2 discs with the same ID6?
It's impossible because of the WBFS design: The ID6 is the unique key for the disc.
It's only possible if changing the ID6 of at least one disc.
 

Patryc

Well-Known Member
Member
Joined
Jul 30, 2007
Messages
452
Trophies
0
XP
182
Country
QUOTE(giantpune @ Sep 1 2010, 10:49 PM) http://gbatemp.net/index.php?act=findpost&pid=3087190
so if i have a GC iso that is shrunken using the older tools that didnt align all the stuff properly, what command would i use in wit that would cause it to copy the iso and fix the offsets?
I think that's exactly the function that's not implemented yet. If you would use the old fstfix with the option t on the .iso it should be fine. I wonder why there are still tools around that do crap when there are working tools for years now. Anyways, when Wiimm finishes his stuff, it will hopefully be superior to everything and you won't need any other tool again.

Would it do any harm to have the option s as well as t on all shrunken iso's?
 

chaosdarkneo

Well-Known Member
Member
Joined
Sep 13, 2009
Messages
530
Trophies
0
XP
205
Country
United States
Is the SNEEK/UNEEK conversion problem fixed? It doesn't do it properly, and crashes DIOS-MIOS Lite. (DISCex by Crediar allows the game to boot, while yours crashes DIOS-MIOS Lite and the Wii entirely.
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,286
Trophies
0
Location
Germany
Website
wiimmfi.de
XP
1,442
Country
Germany
I'm not a *neek user so I don't know. I know only one: DiscEx creates a 1:1 copy of the image instead of extracting all real files and wit now follow this way. And I have compared the output and is nearly equal (DiscEx creates boot.bin and wit copy it, DiscEx don't know the real size of main.dol and copies some padding bytes too).
 

Patryc

Well-Known Member
Member
Joined
Jul 30, 2007
Messages
452
Trophies
0
XP
182
Country
I used wimms tools to covert my gamecube ISO to WIA format, however when I converted it back (to ISO) the size was 1.35 GB (1,459,978,240 bytes) which is normal but the size on disc (useing properties was 1.32 GB (1,425,997,824 bytes). Does this mean my ISO is altered (scrubbed) and not converted back 100% original.?
 

Wiimm

Developer
OP
Member
Joined
Aug 11, 2009
Messages
2,286
Trophies
0
Location
Germany
Website
wiimmfi.de
XP
1,442
Country
Germany
I'm surprised that I have implemented gc image creation (long time ago...). Now I remember: the problem was the good alignment for some files and the few tests I made.

Please try: wit fdiff oldimage.iso newimage.iso
to compare both images on file level.

To your problem: Yes it's a kind of scrubbing. I think your image was cutted at the end. But that's not a problem if the cut is anywhere behind the data partition.
 

Nisto

New Member
Newbie
Joined
May 20, 2014
Messages
4
Trophies
0
Age
52
XP
31
Country
United States
Sorry for bumping an old thread here, but just a quick question: is composing of Gamecube images still not possible, even in the most recent version of wit? From the posts I'm seeing here it almost sounds like it should be able to..

However I try to make an image, it just doesn't seem to add the files from the sys/ folder (containing vital information from boot.bin, apploader.img, etc..) Is this expected, or am I doing something wrong?

Here's a bunch of command lines I've tried:

Code:
wit COPY "H:\re0mod\" --align-files --raw --trunc "H:\re0.iso"
wit COPY "H:\re0mod\" --align-files --raw "H:\re0.iso"
wit COPY "H:\re0mod\" --align-files "H:\re0.iso"
wit COPY --recurse "H:\re0mod\" --align-files --trunc "H:\re0.iso"
wit COPY --files +:sys;+:files "H:\re0mod\" --align-files --raw --trunc "H:\re0.iso"
wit COPY --files +:sys;+:files "H:\re0mod\" --align-files --trunc "H:\re0.iso"
wit COPY --files +:sys;+:files "H:\re0mod\" --align-files --psel ALL --trunc "H:\re0.iso"
wit COPY --files +:sys;+:files --recurse "H:\re0mod\" --align-files --trunc "H:\re0.iso"
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    KenniesNewName @ KenniesNewName: Your username is pretty close to @The Real Jdbye