wwt+wit: Wiimms WBFS+ISO Tools

Discussion in 'Wii - Hacking' started by Wiimm, Sep 28, 2009.

  1. Wiimm
    OP

    Wiimm Developer

    Member
    6
    Aug 11, 2009
    Germany
    Germany
    My svn repositories are offline: They need to be updated. But it wasn't worth to spent time for it, because of low interest.
     
    cvskid likes this.
  2. flacs

    flacs Newbie

    Newcomer
    1
    Dec 10, 2018
    Antarctica
    When using wfuse with GameCube ISOs and reading at offset 0x20000, I seem to get data from offset 0x8000. Looks like an offset shifting problem?

    Thanks for making these tools! Is the current source code available anywhere? GitHub would be my personal preference, but even tarballs would be helpful.
     
  3. Wiimm
    OP

    Wiimm Developer

    Member
    6
    Aug 11, 2009
    Germany
    Germany
    Maybe an x4 issue:
    GC uses direct offsets up to 4 GB. But these offsets are to small for a Wii discs with up to to 9 GB. So each offset (and many sizes) must be multiplied by 4 to get the real offset. And while implementing GC support, I sometimes forgot to disable this multiplication by 4.
     
    Last edited by Wiimm, Dec 28, 2018
  4. DMSalesman

    DMSalesman Member

    Newcomer
    1
    Jun 18, 2017
    Italy
    @Wiimm

    Good day. I'm interested in building wit on Android. Could you point me at the source?
     
  5. niuus

    niuus GBAtemp Advanced Fan

    Member
    5
    Mar 4, 2016
    Venezuela
    Seconded. It would be pretty useful!
     
    Last edited by niuus, Dec 29, 2018
  6. Wiimm
    OP

    Wiimm Developer

    Member
    6
    Aug 11, 2009
    Germany
    Germany
  7. pthfdr

    pthfdr Advanced Member

    Newcomer
    2
    Sep 6, 2017
    China
  8. leseratte

    leseratte GBAtemp Regular

    Member
    4
    Jun 2, 2012
    Germany
    @pthfdr
    I'd imagine an image skeleton file might be helpful for Wiimm to debug this.
    Can you provide the skeleton (.skel) file created by "wit skel test.iso", please?
    And can you test if extracting works when you call wit like this:
    Code:
    LC_ALL=C wit extract test.iso folder/
     
    Last edited by leseratte, Jan 8, 2019
  9. pthfdr

    pthfdr Advanced Member

    Newcomer
    2
    Sep 6, 2017
    China
    I tried using LC_ALL. It does not work.
    I was using JFS and the error occured. If I perform the extraction under tmpfs it works.
    So, maybe you shouls output the name byte by byte (using escape codes like \xXX).
     
  10. Wiimm
    OP

    Wiimm Developer

    Member
    6
    Aug 11, 2009
    Germany
    Germany
  11. Wiimm
    OP

    Wiimm Developer

    Member
    6
    Aug 11, 2009
    Germany
    Germany
    "wit skel" will really help: http://wit.wiimm.de/wit/cmd-skeleton.html

    — Posts automatically merged - Please don't double post! —

    I send it only once with the result of 4 copies of the same post -- curios.
    @mod: Please remove this and 2 messages above.
     
  12. Rincewindwiz

    Rincewindwiz Newbie

    Newcomer
    1
    Tuesday
    United Kingdom
    Hi All
    Came across WIT in an attempt to convert an ISO to WBFS.
    And I'm struggling with the format of the command line so any help gratefully appreciated
    (some examples in the doc would really help!)

    I'm using
    wit copy --source "E:\Video\Processing\Wii\Game.iso" --wbfs --dest "E:\TEMP\Game.wbfs"

    and I get
    !! wit: ERROR #126 [FATAL ERROR] in wd_read_part() @ src/libwbfs/wiidisc.c#865
    !! ASSERTION FAILED !!!

    Any ideas?

    Thanks in advance
     
  13. sideskroll

    sideskroll GBAtemp Advanced Fan

    Member
    3
    Aug 25, 2010
    Peru
    Here
    Hi, If you want to transfer the iso to an external hdd and remove the update partition (but nothing else) you could use my parameters (like you, I was unable to find concrete, to the point info anywhere) so after lots and LOTS of experimentation I arrived at what I find works for me. You can do a search for my screenname in this thread and find the post with the commands.

    Edit: here it is.
    http://kylie.org/threads/wwt-wit-wiimms-wbfs-iso-tools.182236/page-94#post-7828089
     
    Last edited by sideskroll, Feb 12, 2019 at 10:41 AM
    Rincewindwiz likes this.
  14. Rincewindwiz

    Rincewindwiz Newbie

    Newcomer
    1
    Tuesday
    United Kingdom
     
  15. ca032769

    ca032769 GBAtemp Fan

    Member
    4
    Jan 11, 2012
    United States
    Riverside, CA
    Why not just use Wii Backup Manager: http://kylie.org/threads/wii-backup-manager-for-windows.188295/
     
  16. Joe_B

    Joe_B Member

    Newcomer
    1
    Dec 11, 2018
    Canada
    Hello!

    I have 2 folders in Windows containing .wbfs files.

    First folder, I type "wit verify *", and it does its thing nicely, and after a while, I can see which are ok and which are not ok.

    Second folder, I type "wit verify *", and I get:

    !! wit: ERROR #76 [CAN'T OPEN FILE] in SetupReadSF() @ src/lib-sf.c#447
    !! Can't open file: *
    1 object scanned.
    wit: Command 'Verify' returns with status #76 [CAN'T OPEN FILE]

    What's happening?
     
  17. Rincewindwiz

    Rincewindwiz Newbie

    Newcomer
    1
    Tuesday
    United Kingdom
    I started off there. WBM reads the two problem files. Gets the right name. Comes up with two green bars in the top right and Finished but the numbers are Total 00:00:00 - 100%
    So I guess they must be corrupt files
     
  18. Joe_B

    Joe_B Member

    Newcomer
    1
    Dec 11, 2018
    Canada
    Ok, I found what the problem was...

    There were a few games with special characters in the file name, and as soon as I renamed them, WIT started behaving like expected. For example, the accent in Pokémon, others had a few dots (.) in the file name, another had character •

    For some reason, even if there are many valid files in the folder, but there is only just one file with a "bad" character in the filename, then the whole process is being aborted instantly and the error 76 comes up.
     
  19. Joe_B

    Joe_B Member

    Newcomer
    1
    Dec 11, 2018
    Canada
    Hello again!

    I searched the help and found nothing... Is there a way to print the results to a text file? The Windows console is not big enough. I start the job, and when I come back, I scroll up, but I don't see the beginning of what happened.

    thanks!
     
    Last edited by Joe_B, Feb 16, 2019 at 12:58 AM
  20. Rincewindwiz

    Rincewindwiz Newbie

    Newcomer
    1
    Tuesday
    United Kingdom
    in DOS you can always 'pipe' the program output to a text file
    For example
    DIR > Textfile.txt
    will send all output fro the DIR command to a text file.
     
    Joe_B likes this.
  21. Joe_B

    Joe_B Member

    Newcomer
    1
    Dec 11, 2018
    Canada
    Oh! I see!

    I can add the same command then when I want to output a DIR to a text file, I just have to put it at the end of the WIT command...

    Didn't think about this, lol... Thanks!
     
Loading...