Hacking has anyone got wbfs_file utility working on a ppc mac?

madeirabhoy

Well-Known Member
OP
Member
Joined
Nov 29, 2008
Messages
336
Trophies
0
XP
386
Country
Antarctica
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
 

mikka

New Member
Newbie
Joined
Nov 5, 2009
Messages
1
Trophies
0
XP
1
Country
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
 

madeirabhoy

Well-Known Member
OP
Member
Joined
Nov 29, 2008
Messages
336
Trophies
0
XP
386
Country
Antarctica
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'
 

madeirabhoy

Well-Known Member
OP
Member
Joined
Nov 29, 2008
Messages
336
Trophies
0
XP
386
Country
Antarctica
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!
 

EeZeEpEe

Well-Known Member
Member
Joined
Oct 2, 2009
Messages
532
Trophies
0
Age
40
Location
New York City
Website
Visit site
XP
87
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?
 

oggzee

Well-Known Member
Member
Joined
Apr 11, 2009
Messages
2,333
Trophies
0
XP
188
Country
Slovenia
EeZeEpEe said:
Does "extract_wbfs_all" only work on WBFS formatted partitions?
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
 

EeZeEpEe

Well-Known Member
Member
Joined
Oct 2, 2009
Messages
532
Trophies
0
Age
40
Location
New York City
Website
Visit site
XP
87
Country
United States
oggzee said:
EeZeEpEe said:
Does "extract_wbfs_all" only work on WBFS formatted partitions?
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
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.
smile.gif
 

usptactical

Well-Known Member
Member
Joined
Apr 7, 2009
Messages
317
Trophies
0
XP
49
Country
United States
EeZeEpEe said:
Anyone know what oggzee meant with "for F in *.iso; do./wbfs_file $F?

He means type this in Terminal as is:
CODEfor F in *.iso; do ./wbfs_file $F; done

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"
 

EeZeEpEe

Well-Known Member
Member
Joined
Oct 2, 2009
Messages
532
Trophies
0
Age
40
Location
New York City
Website
Visit site
XP
87
Country
United States
usptactical said:
EeZeEpEe said:
Anyone know what oggzee meant with "for F in *.iso; do./wbfs_file $F?

He means type this in Terminal as is:
Code:
for F in *.iso; do ./wbfs_file $F; done

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"

Thanks. I think I'm getting closer to getting the command right. I put it in but got the following:

Converting *.iso to WBFS
unable to open iso file '*.iso'

EDIT:
This is exactly what I put
CODE
for F in *.iso; do /Volumes/LaCie/Wii/Test/wbfs_file $F; done
 

oggzee

Well-Known Member
Member
Joined
Apr 11, 2009
Messages
2,333
Trophies
0
XP
188
Country
Slovenia
EeZeEpEe said:
Thanks. I think I'm getting closer to getting the command right. I put it in but got the following:
Converting *.iso to WBFS
unable to open iso file '*.iso'
EDIT:
This is exactly what I put
Code:
for F in *.iso; do /Volumes/LaCie/Wii/Test/wbfs_file $F; done
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.
 

EeZeEpEe

Well-Known Member
Member
Joined
Oct 2, 2009
Messages
532
Trophies
0
Age
40
Location
New York City
Website
Visit site
XP
87
Country
United States
oggzee said:
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.
Thanks for the link! I finally got it working right with
CODEfind source_path -name "*.iso" -exec ./wbfs_file {} convert destination_path \;
Will convert all of the .iso files in the source_path folder to the destination_path folder and create there the info files

Definitely bookmarking that.
biggrin.gif
 

mrwulff

Well-Known Member
Newcomer
Joined
Apr 9, 2007
Messages
54
Trophies
0
XP
89
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?
 

EeZeEpEe

Well-Known Member
Member
Joined
Oct 2, 2009
Messages
532
Trophies
0
Age
40
Location
New York City
Website
Visit site
XP
87
Country
United States
mrwulff said:
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?
Did you try the following command?

CODE./wbfs_file source_path/filename.iso convert destination_path
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
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=pnRVIC7kS4s