Hacking Configurable USB Loader

oggzee

Well-Known Member
OP
Member
Joined
Apr 11, 2009
Messages
2,333
Trophies
0
XP
188
Country
Slovenia
Here's what I'll do instead in case the naming is ambiguous:
Let's say we have:
AAAA11_hey[BBBB11]
I can check for both:
AAAA11_hey[BBBB11]/AAAA11.*
and:
AAAA11_hey[BBBB11]/BBBB11.*
Whichever is found wins
wink.gif
 

cambric

Well-Known Member
Member
Joined
May 17, 2009
Messages
404
Trophies
0
Location
Tuscany
Website
Visit site
XP
77
Country
Italy
oggzee said:
Here's what I'll do instead in case the naming is ambiguous:
Let's say we have:
AAAA11_hey[BBBB11]
I can check for both:
AAAA11_hey[BBBB11]/AAAA11.*
and:
AAAA11_hey[BBBB11]/BBBB11.*
Whichever is found wins
wink.gif

How about something like:

If the 7th char of the directory name is not "_" then the name is in the "TITLE [TITLEID]" format
elsewhere, if the last char of the directory name is "]" and the last minus 7 char is "[" then the name is in the "TITLE [TITLEID]" format, otherwise it is in the "TITLEID_TITLENAME" format

This is just an idea...
 

xakmad

Well-Known Member
Newcomer
Joined
Aug 28, 2007
Messages
66
Trophies
0
Location
UK
XP
96
Country
i upgraded to 51b-fat yesterday, but when it tried to load, on the logo ascreen where it says "51b fat & mload222", it crashes back to HBC
(uselwess info might be that it plays 0.5sec of mucis, then the top right corner gets a green line of pixels)
first time ever had a problem.

of course, brainy here decides to rename all the folders from the v50 "id title" to v51b's "title id" (thanks, btw, brilliant!)

but it still failed, to get past the logo screen, same deal of back to HBC

Rollon v51c as i dont think i can easily go back top v50 without renaming all the folders again. would the bat file allow a wbfs_file -L D1 (or something) to go back?
of am i best waiting for v51c

waiting with bated breath

thanks!!!
 

oggzee

Well-Known Member
OP
Member
Joined
Apr 11, 2009
Messages
2,333
Trophies
0
XP
188
Country
Slovenia
cambric said:
How about something like:

If the 7th char of the directory name is not "_" then the name is in the "TITLE [TITLEID]" format
elsewhere, if the last char of the directory name is "]" and the last minus 7 char is "[" then the name is in the "TITLE [TITLEID]" format, otherwise it is in the "TITLEID_TITLENAME" format

This is just an idea...
This would just reverse the priority, the ambiguity is still the problem.
 

Dr. Clipper

Well-Known Member
Member
Joined
Aug 28, 2007
Messages
2,485
Trophies
0
XP
92
Country
xakmad said:
i upgraded to 51b-fat yesterday, but when it tried to load, on the logo ascreen where it says "51b fat & mload222", it crashes back to HBC
(uselwess info might be that it plays 0.5sec of mucis, then the top right corner gets a green line of pixels)
first time ever had a problem.

of course, brainy here decides to rename all the folders from the v50 "id title" to v51b's "title id" (thanks, btw, brilliant!)

but it still failed, to get past the logo screen, same deal of back to HBC

Rollon v51c as i dont think i can easily go back top v50 without renaming all the folders again. would the bat file allow a wbfs_file -L D1 (or something) to go back?
of am i best waiting for v51c

waiting with bated breath

thanks!!!

Try temporarily renaming your covers directory, it very well could be a corrupted cover. Also, try adding debug=1 to config.txt as you will get some more information about where and when it is crashing.
 

ChaosEnergy

Well-Known Member
Member
Joined
Jul 11, 2009
Messages
201
Trophies
0
XP
215
Country
Gambia, The
oggzee said:
ChaosEnergy said:
would it be possible to ignore the folder name and search for filename .iso/wbfs
maybe 1st load will use up more time
Everything is possible...
hahaha

thought there must be a main reason for the naming convention of folders...
but i think more priority should be on ntfs3g implementation, or ext2 (there is a usable driver for windows), than in folder structuring
smile.gif
 

Stigmatic

Well-Known Member
Newcomer
Joined
Aug 24, 2009
Messages
80
Trophies
0
Age
38
Location
the little big city
XP
229
Country
Norway
oggzee said:
Here's what I'll do instead in case the naming is ambiguous:
Let's say we have:
AAAA11_hey[BBBB11]
I can check for both:
AAAA11_hey[BBBB11]/AAAA11.*
and:
AAAA11_hey[BBBB11]/BBBB11.*
Whichever is found wins
wink.gif

Or could it be if game id in brackets use that, otherwise check for "old style" naming?

Looking forward to a great 51 release
smile.gif
 

gannon

Active Member
Newcomer
Joined
Oct 17, 2009
Messages
38
Trophies
0
Age
37
Website
Visit site
XP
82
Country
oggzee got the directories fixed, I hope ^_-
With any luck we're getting closer to a full release..the change log is getting a bit long ><

cfg v51b3
cfg51b3.dol
cfg51b3-fat.dol
(or online update)

Changes:
cfg v51b3 (beta3)
* Fixed the ambiguity with the game dir layouts (ID_TITLE or TITLE [ID])
* fat_install_dir = 2 will use the new layout (TITLE [ID]) when installing
* Removed redundant options from main menu.
* Cleaned up the sort and filter menus.
Improved sort menu. Ascending / descending options for current sort are remembered.
* Color of database info now changed.
* Install and disc boot menus will show [?] cover before a disc is read, and game cover for disc if found.

cfg v51b2 (beta2)
* More bug fixes
Loader no longer crashes when trying to sort or filter without a database.
Accented characters now show up in the synopsis.
Display of synopsis cleaned up and improved.
Entities now converted in the synopsis. (&quot;, etc)
Main menu will respect the disable_options configuration.
sort=play_count now works properly without reloading the game list.

cfg v51b (beta)
* Minor bug fixes
Loader will not wait for a button press in the event a database is not found.
Disc boot menu will show the proper database information.
* Changed db_url option and db_language option slightly
option: db_url = [http://wiitdb.com/wiitdb.zip?LANG={DBL}]
{DBL} will be replaced by the db_language value
option: db_language = [AUTO], EN, JA, German, etc
* option: "-asc" is no longer necessary to specify a sort as ascending.
* db_show_info no longer hides the hdd info or footer in the console.
* Added more game directory layouts: (by oggzee)
/wbfs/TITLE_[GAMEID]/GAMEID.wbfs
/wbfs/TITLE [GAMEID]/GAMEID.wbfs
/wbfs/TITLE[GAMEID]/GAMEID.wbfs
When loading games from FAT or NTFS
* Added {PUB} to cover url options.
{PUB} will be replaced by the last two characters of the ID (the publisher)
This can be used to do things like forcing NTSC covers for PAL games by
replacing {CC} with US and {ID6} with {ID3}E{PUB}

cfg v51a

* Wiitdb support. Can be downloaded inside the loader on the global options screen.
* Enhanced nunchuk support: C mapped to A, Z mapped to B
* Filtering of games based on certain criteria
* Sorting of games based on certain criteria
* Gameplay history
* Disc Loading
* New: Main menu accessible by pressing - or going to the global options screen.
Disc loading, sorting, filtering, and more options are located here.
* option: db_url = [http://wiitdb.com/wiitdb.zip?LANG={db_language}]
URL to download database from.
* option: db_language = [Console Language], EN, JA, German, etc
Language to use for the database. If invalid or not able to be displayed by the loader this will default to English.
Both country codes (EN) and languages (English) are valid.
* option: db_show_info = [1], 0
Show info loaded from the database.
* option: write_playstats = [1], 0
Write to the play history file.
* option: sort = [title-asc], etc
Change the default sorting method. Default is Title Ascending.

Valid sort options:
"title" => Title
"players" => Number of Players
"online_players"=> Number of Online Players
"publisher" => Publisher
"developer" => Developer
"release" => Release Date
"play_count" => Play Count
"install" => Install Date (This will only work with FAT or NTFS drives)

To use ascending add "-asc" to the option.
ie: sort = players-asc

To use descending add "-desc" to the option.
ie: sort = players-desc
 

dlf

Well-Known Member
Member
Joined
Mar 1, 2009
Messages
429
Trophies
0
XP
262
Country
United States
For the change log use quote bbcode tags:

Code:
[quote] (message here] [/quote]

QUOTE said:
this message is a test of quote tags, going to end the quote:

but separate quote tags for the individual releases. Or never mind, I thought quote tags could be 'closed'.
 

Wiimm

Developer
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
Sabin_Figaro said:
O I need to manually rename my games? I have all of them under wbfs, and the new version code dumps, font looks like crap on my lcd but i will try to snapshot
Try: wit move source_dir %P/%X --test
If you like the recommendation remove the --test option.
 

wulfie

Well-Known Member
Member
Joined
Dec 1, 2004
Messages
241
Trophies
0
Website
Visit site
XP
204
Country
United States
anyone know if anyone is working on a way to exit a cfgloaded game back to cfgloader instead of having to re-run cfgloader to load a different game?
 

Dr. Clipper

Well-Known Member
Member
Joined
Aug 28, 2007
Messages
2,485
Trophies
0
XP
92
Country
wulfie said:
anyone know if anyone is working on a way to exit a cfgloaded game back to cfgloader instead of having to re-run cfgloader to load a different game?
The only way to do this now is with Preloader/Priiloader, and things are very likely going to stay that way.
 

ZakMcRofl

Member
Newcomer
Joined
Dec 29, 2008
Messages
13
Trophies
0
XP
70
Country
Australia
When I run from FAT32 only (SD removed) the loader does not show covers.
I mimicked the SD folder layout on the FAT32 but that does not seems to work:
\wbfs for games
\usb-loader\covers\
\usb-loader\covers\3d...

What am I doing wrong?
 

oggzee

Well-Known Member
OP
Member
Joined
Apr 11, 2009
Messages
2,333
Trophies
0
XP
188
Country
Slovenia
ZakMcRofl said:
When I run from FAT32 only (SD removed) the loader does not show covers.
I mimicked the SD folder layout on the FAT32 but that does not seems to work:
\wbfs for games
\usb-loader\covers\
\usb-loader\covers\3d...

What am I doing wrong?
Do you have the /usb-loader/config.txt?
It's best to just grab one of the full releases and unpack it to your FAT on HDD instead of SD, that should create all the necessary files...
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: I just Luv having CEX :)