WIT (Wiimms ISO Tools) GameCube disc support

Discussion in 'Wii - Hacking' started by Wiimm, Sep 1, 2010.

Sep 1, 2010
  1. giantpune

    Member giantpune GBAtemp Addict

    Joined:
    Apr 10, 2009
    Messages:
    2,860
    Country:
    United States
    yeah, it finishes the job now and doesnt throw any errors [​IMG] . 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?
     


  2. Wiimm
    OP

    Member Wiimm Developer

    Joined:
    Aug 11, 2009
    Messages:
    2,083
    Location:
    Germany
    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.
     
  3. giantpune

    Member giantpune GBAtemp Addict

    Joined:
    Apr 10, 2009
    Messages:
    2,860
    Country:
    United States
    too late now. i deleted the file. next time it happens ill look at it.
     
  4. Fishaman P

    Member Fishaman P Speedrunner

    Joined:
    Jan 2, 2010
    Messages:
    3,215
    Location:
    Wisconsin
    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.
     
  5. W hat

    Member W hat Rhythm Heaven Fan

    Joined:
    Feb 28, 2007
    Messages:
    612
    Country:
    United States
    No.

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

    Member OncleJulien tool of peers

    Joined:
    Apr 6, 2009
    Messages:
    1,170
    Location:
    Los Angeles
    Country:
    United States
    his hopes, youre dashing them right.
     
  7. Fishaman P

    Member Fishaman P Speedrunner

    Joined:
    Jan 2, 2010
    Messages:
    3,215
    Location:
    Wisconsin
    Country:
    United States
    HOW IN THE WORLD does a REAL GC game relate to USB Loading? Really, it's the 21st century.

    JK, but how does it work?
     
  8. W hat

    Member W hat Rhythm Heaven Fan

    Joined:
    Feb 28, 2007
    Messages:
    612
    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.
     
  9. khmann

    Newcomer khmann Newbie

    Joined:
    Oct 21, 2010
    Messages:
    2
    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
     
  10. Wiimm
    OP

    Member Wiimm Developer

    Joined:
    Aug 11, 2009
    Messages:
    2,083
    Location:
    Germany
    Country:
    Germany
    Trimming is not implemented yet. Scrubbing should work.
     
  11. khmann

    Newcomer khmann Newbie

    Joined:
    Oct 21, 2010
    Messages:
    2
    Country:
    United States
    My mistake. Scrubbing does seem to work. Looking forward to the future : ) Thankyou again!
     
  12. RoundSparrow

    Newcomer RoundSparrow Newbie

    Joined:
    Aug 2, 2011
    Messages:
    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]
     
  13. Wiimm
    OP

    Member Wiimm Developer

    Joined:
    Aug 11, 2009
    Messages:
    2,083
    Location:
    Germany
    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.
     
  14. Patryc

    Member Patryc GBAtemp Fan

    Joined:
    Jul 30, 2007
    Messages:
    452
    Country:
    United Kingdom
    Would it do any harm to have the option s as well as t on all shrunken iso's?
     
  15. chaosdarkneo

    Member chaosdarkneo GBAtemp Advanced Fan

    Joined:
    Sep 13, 2009
    Messages:
    530
    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.
     
  16. Wiimm
    OP

    Member Wiimm Developer

    Joined:
    Aug 11, 2009
    Messages:
    2,083
    Location:
    Germany
    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).
     
  17. Patryc

    Member Patryc GBAtemp Fan

    Joined:
    Jul 30, 2007
    Messages:
    452
    Country:
    United Kingdom
    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.?
     
  18. Wiimm
    OP

    Member Wiimm Developer

    Joined:
    Aug 11, 2009
    Messages:
    2,083
    Location:
    Germany
    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.
     
  19. Nisto

    Newcomer Nisto Newbie

    Joined:
    May 20, 2014
    Messages:
    4
    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"
     
  20. Wiimm
    OP

    Member Wiimm Developer

    Joined:
    Aug 11, 2009
    Messages:
    2,083
    Location:
    Germany
    Country:
    Germany
    wit will always create an Wii image and never a GC image.
     

Share This Page