Hacking Configurable USB Loader

BedtimeGuy

Well-Known Member
Member
Joined
Jul 29, 2009
Messages
468
Trophies
1
Age
29
Location
Canada
XP
275
Country
Canada
Dr. Clipper said:
baffle-boy said:
i was using cfg 48b and i tried IOS 249 and 223, but NTSC NSMB wont work for me. i get a message like this: "an error has occurred, press the eject button, remove the game, and turn the power off to the console, etc, etc." i thought there was some sort of a fix included for it, maybe there is some option i was supposed to change? also the cover image doesn't show for it... i don't know why that would be. i think i got a version without any patches... but i suppose it COULD be a bad dump.
If covers aren't showing up, then the disk would have the wrong ID. Wrong ID means the game won't be patched. Check the ID on the options screen and see if the game ID starts with "SMNE". My suggestion for a solution is to buy the game and rip it yourself. This game is well worth your money.

nope, the game has the right ID: "SMNE". and i suppose the loader is recognizing it because it was renamed to "new SUPER MARIO BROS." i often have problems with covers because i have to manually download them... so i suppose that is fine. well, if the ID is correct, then i suppose it's nothing to do with the loader or the IOS... right? i guess i'll go "acquire" another copy.
 

montymintypie

Well-Known Member
Newcomer
Joined
Oct 6, 2009
Messages
75
Trophies
0
XP
169
Country
oggzee said:
test version for fat optimizations:
cfg48t3-fat.dol

This should fix the multiple splits blackscreen that was happening before with t2. Also, should be a tad faster too. Please let me know how it works, compared to v47 and compared to wbfs.

And another thing, i'm afraid i have chosen the split size sub-optimal. Currently wbfs_file splits the files at 2GB - 1 sector, that is 2GB - 512 bytes. During testing i figured out that the optimal split size should be 32kb aligned, so it should be at 2GB - 32kb. 32kb because that is the fat cluster size and also the wii disc sector size. This improves random access speed for splits other than first. It is however possible to create such splits with the -s option using:
wbfs_file -s 2147450880
Which i will make it the default in the next version.

However, before you go re-creating all the games, let me tell you also that I will probably try to raise the 2gb limit to 4gb, so it is probably better to wait till then.

But if someone has the time to test it with just one game for comparison, for example SSBB, i'm interested to hear if changing the split size has any affect to real world usage, because i think in reality the difference will not be so dramatic because games typically don't access the disc as random as i did in my tests.

Ok, I've benchmarked (though not extensively) this release vs 48b-fat and 48t1-fat. I also adjusted the size of my SSBB chunk size, and tested that with 48t3-fat.

My benchmark was to open SSBB, and time how long it took for the 'loading' thing to disappear and for the screen to go black (in preparation for the intro movie). I used my previous test results for 48b and 48t1.

In the first test I skipped the health screen (pressing A on GB controller) as fast as I could.
Approx 19 seconds with 48b-fat
Approx 18 seconds with 48t1-fat
Approx 22 seconds with 48t3-fat
Approx 19 seconds with 48t3-fat (new 'optimal' split size)

In the second, I waited for the activity light on my HDD to stop flashing before I dismissed the health screen.
Approx 11 seconds with 48b-fat
Approx 10 seconds with 48t1-fat
Approx 10 seconds with 48t3-fat
With 48t3-fat (new 'optimal' split size), it was inconclusive in the 'activity light wait' test, mainly because I couldn't see whether the HDD had stopped flashing.

Hope that helps!

As said before, I can't test with WBFS, sorry. Also, unless it's absolutely desperate, I'd rather not test 47...

Also, this was deduced from one test for each version. I did not take 3 and average, there may be some anomalies in the data. Although the times were different, I did not notice a difference in general gameplay from t1 to t3.
 

oggzee

Well-Known Member
OP
Member
Joined
Apr 11, 2009
Messages
2,333
Trophies
0
XP
188
Country
Slovenia
cfg48t4-fat.dol

Fixed the 2GB limit
grog.gif

Now splits can be made at 4GB-32kb, use this option in wbfs_file:

wbfs_file.exe -s 4294934528

I will make a new version with that being the default and a -2 option for a 2gb-32kb split.

Also you can run a benchmark mode with the option: debug=8
The benchmark is done when starting a game or when starting install game (in which case the benchmark is done on the DVD) it will tell you mb/s for linear and random access.

and here is the updated ehcmodule from 48t4 which includes the speed optimisations and the 4gb fix:
ehcmodule_fat_48t4
(for loader developers)
I will release the source in a day or two when it is cleaned up.

edit: oh, i forgot to change the split size in the loader, install from loader will still use the old 2gb-1sec split, will change that later...
 

redia

Well-Known Member
Member
Joined
Mar 9, 2008
Messages
371
Trophies
0
XP
234
Country
Swaziland
oggzee said:
cfg48t4-fat.dol

Fixed the 2GB limit
grog.gif

Now splits can be made at 4GB-32kb, use this option in wbfs_file:

wbfs_file.exe -s 4294934528

I will make a new version with that being the default and a -2 option for a 2gb-32kb split.

Also you can run a benchmark mode with the option: debug=8
The benchmark is done when starting a game or when starting install game (in which case the benchmark is done on the DVD) it will tell you mb/s for linear and random access.

and here is the updated ehcmodule from 48t4 which includes the speed optimisations and the 4gb fix:
ehcmodule_fat_48t4
(for loader developers)
I will release the source in a day or two when it is cleaned up.

edit: oh, i forgot to change the split size in the loader, install from loader will still use the old 2gb-1sec split, will change that later...
big applause.

great work oggzee.

R
 

Toughschmidt

Active Member
Newcomer
Joined
Sep 12, 2009
Messages
37
Trophies
0
XP
55
Country
United States
Is there any way to disable only the disk art download? It seems that this image download fails more than all the others and slows the process, not to mention I never see them except in the folder on the memory card. I've tried different config combinations and cannot get the 2d, 3d, and full to download without the disk downloading as well. I did a search, but didn't find a direct answer to this question. Thanks in advance.
 

Dr. Clipper

Well-Known Member
Member
Joined
Aug 28, 2007
Messages
2,485
Trophies
0
XP
92
Country
Toughschmidt said:
Is there any way to disable only the disk art download? It seems that this image download fails more than all the others and slows the process, not to mention I never see them except in the folder on the memory card. I've tried different config combinations and cannot get the 2d, 3d, and full to download without the disk downloading as well. I did a search, but didn't find a direct answer to this question. Thanks in advance.
Just put "cover_url_disc=" and it should disable all the URLs for disc downloading.
 

Narolez

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
369
Trophies
0
Location
<LAB#257>
XP
50
Country
Gambia, The
Dr. Clipper said:
Let me show you what Cfg currently uses by default (for flat covers):

Code:
cover_url = http://wiitdb.com/wiitdb/artwork/cover/{CC}/{ID6}.png
cover_url =+ http://wiicover.gateflorida.com/sites/default/files/cover/2D%20Cover/{ID6}.png
cover_url =+ http://boxart.rowdyruff.net/flat/{ID6}.png
cover_url =+ http://awiibit.com/BoxArt160x224/{ID6}.png
cover_url =+ http://www.muntrue.nl/covers/ALL/160/225/boxart/{ID6}.png

So WiiTDB is already covered, and is the first place searched.
BTW, awiibit.com is down and rowdyruff.net is outdateted ...
wink.gif
 

Dr. Clipper

Well-Known Member
Member
Joined
Aug 28, 2007
Messages
2,485
Trophies
0
XP
92
Country
TeenTin said:
Where can I find a guide to setup profiles ? Thanks !
For loader setting:

1. Add your profile names to the "profile_names" option in config.txt
2. Add the name of the profile you want as default to the "profile" option in config.txt
3. Set favorites in the game options screen and switch profiles on the global options screen.

OR

In the configurator:

1. Read config.txt and settings.cfg (loading config.txt will prompt you to load settings.cfg if they are in the same directory)
2. Add your profile names to the "profile_names" option in config.txt
3. Add the name of the profile you want as default to the "profile" option in config.txt
4. On the settings page, load gamelist.txt
5. Transfer all named games to settings list
6. Set which profiles each game is a favorite for
 

Toughschmidt

Active Member
Newcomer
Joined
Sep 12, 2009
Messages
37
Trophies
0
XP
55
Country
United States
Dr. Clipper said:
Toughschmidt said:
Is there any way to disable only the disk art download? It seems that this image download fails more than all the others and slows the process, not to mention I never see them except in the folder on the memory card. I've tried different config combinations and cannot get the 2d, 3d, and full to download without the disk downloading as well. I did a search, but didn't find a direct answer to this question. Thanks in advance.
Just put "cover_url_disc=" and it should disable all the URLs for disc downloading.

Hmm, thought I tried that. Yeah, it works, now it just says Error: no URL. when attempting that part. I was hoping that it wouldn't even check so that when it went down the list it would be a little more fluid when downloading all missing artwork. Thanks.
 

TeenTin

Well-Known Member
Member
Joined
Jun 20, 2007
Messages
1,256
Trophies
1
XP
852
Country
Hong Kong
Dr. Clipper said:
TeenTin said:
Where can I find a guide to setup profiles ? Thanks !
For loader setting:

1. Add your profile names to the "profile_names" option in config.txt
2. Add the name of the profile you want as default to the "profile" option in config.txt
3. Set favorites in the game options screen and switch profiles on the global options screen.

OR

In the configurator:

1. Read config.txt and settings.cfg (loading config.txt will prompt you to load settings.cfg if they are in the same directory)
2. Add your profile names to the "profile_names" option in config.txt
3. Add the name of the profile you want as default to the "profile" option in config.txt
4. On the settings page, load gamelist.txt
5. Transfer all named games to settings list
6. Set which profiles each game is a favorite for

BIG Thanks !
bow.gif
 

cls

Member
Newcomer
Joined
Apr 4, 2007
Messages
16
Trophies
0
XP
118
Country
hello, when i use v48b in gui flow-2 and titles.txt (8 letters) the loading of images is slow very slow , and when i use v45 and title.txt (4 letter) loading images is fast, whats wrong ??.
i can't found gamelist.txt in my sd how i can create it ???
 

bootsector

Well-Known Member
Member
Joined
Oct 2, 2008
Messages
198
Trophies
0
XP
275
Country
Brazil
Dunno if this was already mentioned before, but I would like to say that New Super Mario Bros. Wii USA/NTSC UNPATCHED works great with version 48b + cIOS Rev. 14 with no additional settings needed (out-of-the-box).

Kudos to the developers of this USB loader for the great job!
smile.gif
 

Sacohen9665

Well-Known Member
Member
Joined
Jun 25, 2009
Messages
374
Trophies
0
Age
58
XP
261
Country
United States
gannon said:
mOBSCENE said:
gannon said:
Here's a quick button map for people. All the buttons on the wiimote still work if using an extension like the classic controller or guitar.
Just tested with my guitar controllers. GH3 controller works
biggrin.gif
However, GHWT controller does not seem to work yet.

I can only hope you guys will look into this
smile.gif

I don't have a World Tour guitar, but I'll look around to see if I can find out how it's data is formatted and try to add some support.
Edit: After looking around it may just require me to update a library then recompile. Will look into this a bit more

Any update from gannon on Guitar Hero World Tour guitar support in the loader?
 

oggzee

Well-Known Member
OP
Member
Joined
Apr 11, 2009
Messages
2,333
Trophies
0
XP
188
Country
Slovenia
wbfs_file 1.6
wbfs_file_1.6.zip
Included are sources and binaries for windows, linux and macosx
Changes:
v1.6:
* Changed default split size from 2gb-512b to 4gb-32kb
* New option: -2 : use split size 2gb-32kb
* New option: -4 : use split size 4gb-32kb (default)
* Issue a warning if specified -s split size is not 32kb aligned.
* Using option -f now allows to force wbfs extraction if the source
wbfs is corrupted or has missing data - warning is printed and the
block will be filled with 0.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    The snack that smiles back, Ballsack!
    BakerMan @ BakerMan: @salazarcosplay yeah cod's still up