Hacking Configurable USB Loader

  • Thread starter Thread starter oggzee
  • Start date Start date
  • Views Views 7,867,024
  • Replies Replies 18,482
  • Likes Likes 22
oggzee said:
quepaso, leic7:

At the moment it will complain if there is no wbfs partition found, but just press A to select the FAT partition, don't worry it won't format anything, unless you press buttons + or - on the next screen.
This will be cleaned up soon to be more clear.
Thank you, and now it works! I also tried Ocarina and that worked as well. Good job!
 
wbfs_file_1.0.zip
http://sharebee.com/efd30d75

v1.0:
* renamed commands for better clarity
example: extractwbfsall to extract_wbfs_all ...

* create GAMEID_TITLE.txt info files along GAMEID.wbfs files, so
that it's easier to manage the .wbfs files

* added command: make_info which only creates the GAMEID_TITLE.txt for
all games on a wbfs partition or in a wbfs file


CODEwbfs_file v1.0 by oggzee
========================

Based on wbfs tool by kwiirk and wbfs_win by hermes


New functionality:
------------------

* Conversion from .iso files to .wbfs files and vice versa.

* Handling of split .wbfs files, so that they can fit on a FAT filesystem.
ÂÂby default the split is done at 2GB - 1 sector (512 bytes)

* Extraction of .wbfs files directly from a wbfs partition and back


Changes:
--------

v1.0:
* renamed commands for better clarity
ÂÂ example: extractwbfsall to extract_wbfs_all ...

* create GAMEID_TITLE.txt info files along GAMEID.wbfs files, so
ÂÂ that it's easier to manage the .wbfs files

* added command: make_info which only creates the GAMEID_TITLE.txt for
ÂÂ all games on a wbfs partition or in a wbfs file

v0.9:
* initial wbfs_file release with split file support


Usage help text as printed by wbfs_file -h :
--------------------------------------------

wbfs_file.exe v1.0 by oggzee, based on wbfs by kwiirk

Usage: wbfs_file.exe [OPTIONS] [COMMAND [ARGS]]:

ÂÂGiven just a filename it will convert from iso to wbfs or vice versa:

ÂÂÂÂwbfs_file.exe filename.iso
ÂÂÂÂWill convert filename.iso to GAMEID.wbfs
ÂÂÂÂAnd create an info file GAMEID_TITLE.txt

ÂÂÂÂwbfs_file.exe filename.wbfs
ÂÂÂÂWill convert filename.wbfs to GAMEID_TITLE.iso

ÂÂCOMMANDS:
ÂÂÂÂÂÂÂÂÂÂ create
ÂÂÂÂÂÂlsÂÂÂÂÂÂÂÂÂÂ
ÂÂÂÂÂÂdfÂÂÂÂÂÂÂÂÂÂ
ÂÂÂÂÂÂinitÂÂÂÂÂÂÂÂ
ÂÂÂÂÂÂmake_infoÂÂÂÂ
ÂÂÂÂÂÂadd_isoÂÂÂÂÂÂ
ÂÂÂÂÂÂadd_wbfsÂÂÂÂ
ÂÂÂÂÂÂrmÂÂÂÂÂÂÂÂÂÂ
ÂÂÂÂÂÂextract_isoÂÂ
ÂÂÂÂÂÂextract_wbfs
ÂÂÂÂÂÂextract_wbfs_all
ÂÂÂÂÂÂls_fileÂÂÂÂÂÂ
ÂÂÂÂÂÂextract_file

ÂÂOPTIONS:
ÂÂÂÂ-s SIZEÂÂ:ÂÂSet split size [2147483136] (4194303 sectors)
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂMust be a multiple of 512 (sector size)
ÂÂÂÂ-hÂÂÂÂÂÂ :ÂÂHelp
 
zektor said:
I can envision how this'll work, and that will be great
wink.gif
Will I need to re-rip my titles from a wbfs drive to get the next version to create these text files, or will there be an option to run it on a directory of already processed .wbfs files? Reason I ask is because I only just got done transferring 280 games!
wink.gif
I guess wbfs_file 1.0 answers all of your questions
smile.gif


if you still have the WBFS partition, then you can just run:

wbfs_file.exe W: make_info

if you only have .wbfs files, and have cygwin, you can run it in a loop:

for F in e:/wbfs/*.wbfs; ./wbfs_file.exe $F make_info; done

is there an easy way to do that using windows CMD?
 
oggzee said:
I guess wbfs_file 1.0 answers all of your questions
smile.gif


if you still have the WBFS partition, then you can just run:

wbfs_file.exe W: make_info

if you only have .wbfs files, and have cygwin, you can run it in a loop:

for F in e:/wbfs/*.wbfs; ./wbfs_file.exe $F make_info; done

is there an easy way to do that using windows CMD?
Yes. Run this from within your WBFS folder (i.e. d:\wbfs), otherwise your txt files will be created in the wrong place:

CODEfor %i in (*.wbfs) do wbfs_file.exe %i make_info
 
oggzee said:
zektor said:
I can envision how this'll work, and that will be great
wink.gif
Will I need to re-rip my titles from a wbfs drive to get the next version to create these text files, or will there be an option to run it on a directory of already processed .wbfs files? Reason I ask is because I only just got done transferring 280 games!
wink.gif
I guess wbfs_file 1.0 answers all of your questions
smile.gif


if you still have the WBFS partition, then you can just run:

wbfs_file.exe W: make_info

if you only have .wbfs files, and have cygwin, you can run it in a loop:

for F in e:/wbfs/*.wbfs; ./wbfs_file.exe $F make_info; done

is there an easy way to do that using windows CMD?


That serves it's purpose well
smile.gif
I still had the wbfs partition on the drive, so I was able to easily create the info text files. Thanks for this!

For everyone else:

I found this little tool that came with my Verbatim 1TB drive to quickly format the entire drive to FAT32. Seems to detect and work with all USB drives (I tested it on a Samsung and a generic 500GB drive in an enclosure). Might be useful for someone looking to easily and quickly get their large drive to fat32:

http://sharebee.com/66cd869a
 
Jman69 said:
oggzee said:
for F in e:/wbfs/*.wbfs; ./wbfs_file.exe $F make_info; done
is there an easy way to do that using windows CMD?
Yes. Run this from within your WBFS folder (i.e. d:\wbfs), otherwise your txt files will be created in the wrong place:
CODEfor %i in (*.wbfs) do wbfs_file.exe %i make_info
Oh, thank you, so I see windows CMD has got some useful functionality after all.
I never bothered learning CMD since i always just used cygwin...
 
Edit: A bit slow it seems
tongue.gif

After reading up on batch files a bit,
FOR %%i IN (E:\wbfs\*.wbfs) DO wbfs_file.exe %%i make_info
should work. Not sure if you have to run it from a batch file or if you can run it straight from the cmd though.

Nice update, not sure if it's something I'll use, but I like it.
 
I'm having problems trying to use wbfs_file 1.0, when i click on the wbfs_file icon, I get nothing but a quick flash on my PC, what do I need to do in order to use this program? thanks
 
bnm81002 said:
I'm having problems trying to use wbfs_file 1.0, when i click on the wbfs_file icon, I get nothing but a quick flash on my PC, what do I need to do in order to use this program? thanks
You can drag and drop .iso files to it, to convert them to .wbfs files.
For any other command you will need to run it from a CMD window.

QUOTE(Ovitz @ Oct 25 2009, 09:18 PM) Any way to do this on a Mac?
Someone will need to build the tool on macosx, i think very minor changes would be required to make it work.
 
oggzee said:
Someone will need to build the tool on macosx, i think very minor changes would be required to make it work.

Thanks for the quick answer. Loving the tool on Windows, but I only have a really old Windows laptop. I look forward to future updates.
 
Put the downloaded wbfs_file.exe file into the directory where you want your .wbfs files to be. Create the below batch files in same location.

ConvertAllFiles: copy below to txt file and save as convertall.bat, then double click to run
@echo Off
set /P wdrive=Enter wbfs_drive:
wbfs_file %wdrive%: extract_wbfs_all %~dp0


ConvertOneTitle: copy below to txt file and save as convertone.bat, then double click to run. When prompted enter wbfs drive letter.
@echo Off
set /P drive=Enter wbfs drive letter:
set /P game=(case_sensitive)Enter TitleID:
wbfs_file %drive%: extract_wbfs %game% %~dp0


CreateAllTextFiles: copy below to txt file and save as createalltext.bat, then double click to run.
@echo Off
for %%i in (*.wbfs) do wbfs_file.exe %%i make_info


hope this helps till someone writes an app.
 
Ovitz said:
oggzee said:
Someone will need to build the tool on macosx, i think very minor changes would be required to make it work.

Thanks for the quick answer. Loving the tool on Windows, but I only have a really old Windows laptop. I look forward to future updates.


can you not just run bootcamp windows to do what you need?
 
oggzee said:
bnm81002 said:
I'm having problems trying to use wbfs_file 1.0, when i click on the wbfs_file icon, I get nothing but a quick flash on my PC, what do I need to do in order to use this program? thanks
You can drag and drop .iso files to it, to convert them to .wbfs files.
For any other command you will need to run it from a CMD window.



ok got the drag and drop working but can you tell me how to run it from a CMD window? thanks for the help
smile.gif
 
bnm81002 said:
ok got the drag and drop working but can you tell me how to run it from a CMD window? thanks for the help
smile.gif
Go to the Windows button and run 'cmd'. This will bring up the command prompt. From there, use 'cd' to change your directory to the directory where the app is. Then run "wbfs_file -h" to see the commands you can use.

If that still confuses you, just wait a bit. You can be pretty sure that at least one of the wbfs manager guys will add the functionality to their GUI programs pretty soon. You might even want to go request it to them.
 
I am super grateful for this USB ISO Loader. I think the author did an excellent job. My only problem is that dealing with WBFS is a real big pain. I really wish there was a version supporting NTFS. I would like to see an official website to this app. A center place where I could go for the latest update. I updated threw my Wii to version 46 but if it wasn't for the Wii updater I wouldn't know there was a newer version. I would also like to donate to the author of this app. It won't be a fortune but it will make me feel better by giving back.

My questions:

Is there an official site to this app? Where?

I notice version 46 supports Fat32 but is there any plans for NTFS support?

Thank you for your time is this awesome app.
 
Damm go away for a 3 day weekend and tghe whole world changes.

Great work Oggzee, but I think I may wait until the final release of V46 to work with this, I know my wife will not understand what to do to get the games to play.
 

Site & Scene News

Popular threads in this forum