has anyone got wbfs_file utility working on a ppc mac?

Discussion in 'Wii - Hacking' started by madeirabhoy, Nov 4, 2009.

  1. madeirabhoy
    OP

    Member madeirabhoy GBAtemp Fan

    Joined:
    Nov 29, 2008
    Messages:
    336
    Country:
    i posted this before on the finally! no more wbfs ... thread but its sorta lost on there amongst the many posts.

    when i open the file on a ppc mac g4 running 10.5, it opens fine, runs its explanation and logs out again. therefore i cant type any commands into it. Someone else posted on the long thread that they had had similar and it was on a ppc mac though this might be coincidence.

    Has anyone got it to work?


    thanks
     
  2. mikka

    Newcomer mikka Newbie

    Joined:
    Nov 5, 2009
    Messages:
    1
    Country:
    United Kingdom
    Hey Mate

    It's the same issue on an intel mac if you double click the wbfs_file icon directly. You need to open a terminal window, type in the path of the file and then the name of the iso you need to convert. eg. /Users/YourName/wbfs_file filename.iso

    Hope that helps

    mik
     
  3. madeirabhoy
    OP

    Member madeirabhoy GBAtemp Fan

    Joined:
    Nov 29, 2008
    Messages:
    336
    Country:
    thanks, at least im getting somewhere, but its still not working.

    i do this. to make it easier ive put the wbfs_file file in the root level of the hard drive as well as the .iso file im trying it with, gnomeish-wfp.iso which is wii fit plus

    so i type

    /wbfs_file gnomeish-wfp.iso

    and i get

    converting gnomeish-wfp.iso to WBFS
    unable to open iso file 'gnomeish-wfp.iso'
     
  4. xzxero

    Member xzxero ♥bong milk does good for the brain♥

    Joined:
    Jul 18, 2008
    Messages:
    3,831
    Location:
    SB
    Country:
    United States
    you should try another iso
    because maybe that one is corrupted?
     
  5. FenrirWolf

    Member FenrirWolf GBAtemp Psycho!

    Joined:
    Nov 19, 2008
    Messages:
    4,343
    Location:
    Beaverton, OR
    Country:
    United States
    Try something other than the root directory as well
     
  6. madeirabhoy
    OP

    Member madeirabhoy GBAtemp Fan

    Joined:
    Nov 29, 2008
    Messages:
    336
    Country:
    thanks guys, still dont know what i was doing wrong, but its working, maybe it was doing it in the root directory but even then, i tried it in a folder with the two files, didnt work. downloaded super paper mario, it worked on that. tried it on the original file and it worked too!
     
  7. EeZeEpEe

    Member EeZeEpEe GBAtemp Advanced Fan

    Joined:
    Oct 2, 2009
    Messages:
    532
    Location:
    New York City
    Country:
    United States
    So I was able to figure out the easiest way to convert one file.
    1. Open Terminal
    2. Drag wbfs_file into the Terminal window
    3. Drag the .iso into the Terminal window.
    4. Hit Return.

    I'm not familiar with command lines but does anyone know what the command is to batch convert? I've read the Read Me but like I said I'm not familiar with command line. From my understanding it should be the following:
    wbfs_file pname extract_wbfs_all destination

    I must be typing something wrong. This is what I'm putting:
    /Applications/WBFS_file_1.3/wbfs_file /Volumes/LaCie extract_wbfs_all /Volumes/LaCie

    I get this:
    invalid file type 16893

    Does "extract_wbfs_all" only work on WBFS formatted partitions?
     
  8. oggzee

    Member oggzee GBAtemp Addict

    Joined:
    Apr 11, 2009
    Messages:
    2,335
    Country:
    Slovenia
    Yes, extract_wbfs_all will only work on WBFS formatted partitions.

    To batch convert, move wbfs_file in same dir as the isos and then run:

    for F in *.iso; do ./wbfs_file $F ; done
     
  9. EeZeEpEe

    Member EeZeEpEe GBAtemp Advanced Fan

    Joined:
    Oct 2, 2009
    Messages:
    532
    Location:
    New York City
    Country:
    United States
    Okay to I've moved the wbfs_file into the same location as the isos.

    /Volumes/LaCie/wbfs_file (It's in the root of an external LaCie drive with 2 isos)

    After that I don't understand the "$F" you put. I tried /Volumes/LaCie/wbfs_file $/Volumes/LaCie and got the help menu. Volumes/LaCie/wbfs_file$/Volumes/LaCie (No space between the "e" and "$" got me -bash: Volumes/LaCie/wbfs_file$/Volumes/LaCie: No such file or directory.

    I'm really interested in converting all my .iso files into .wbfs so getting this batch command to work would be great. Thanks for your patience. [​IMG]
     
  10. EeZeEpEe

    Member EeZeEpEe GBAtemp Advanced Fan

    Joined:
    Oct 2, 2009
    Messages:
    532
    Location:
    New York City
    Country:
    United States
    Anyone know what oggzee meant with "for F in *.iso; do./wbfs_file $F?
     
  11. usptactical

    Member usptactical GBAtemp Fan

    Joined:
    Apr 7, 2009
    Messages:
    317
    Country:
    United States
    fwiw, this is just a loop command. It's declaring a variable named F and for each *.iso file, it puts it in F and executes "wbfs_file F"
     
  12. EeZeEpEe

    Member EeZeEpEe GBAtemp Advanced Fan

    Joined:
    Oct 2, 2009
    Messages:
    532
    Location:
    New York City
    Country:
    United States
     
  13. oggzee

    Member oggzee GBAtemp Addict

    Joined:
    Apr 11, 2009
    Messages:
    2,335
    Country:
    Slovenia
    It means it doesn't find any *.iso files in the current directory.
    A brief shell help:
    pwd : print working directory
    cd : change directory
    ls : list files

    Here:
    http://gbatemp.net/index.php?showtopic=147...p;#entry2380332
    Are a few more macosx / unix scripts that might help you.

    Also I forgot, this is better:
    for F in *.iso; do /Volumes/LaCie/Wii/Test/wbfs_file "$F"; done

    That is, put "$F" instead of $F in case any of the iso filenames has spaces.
     
  14. EeZeEpEe

    Member EeZeEpEe GBAtemp Advanced Fan

    Joined:
    Oct 2, 2009
    Messages:
    532
    Location:
    New York City
    Country:
    United States
    Definitely bookmarking that. [​IMG]
     
  15. mrwulff

    Newcomer mrwulff Advanced Member

    Joined:
    Apr 9, 2007
    Messages:
    54
    Country:
    United States
    Thought i would post this in the osx thread instead of making a new topic, but how do i extract an iso from a wbfs drive, directly to a .wbfs file, without converting it to an iso first?
     
  16. EeZeEpEe

    Member EeZeEpEe GBAtemp Advanced Fan

    Joined:
    Oct 2, 2009
    Messages:
    532
    Location:
    New York City
    Country:
    United States
    Will convert filename.iso in the source_path folder to GAMEID.wbfs in the destination_path folder
    And create an info file GAMEID_TITLE.txt in the destination_path folder
     

Share This Page