Hacking Configurable USB Loader

nekoakuma

Well-Known Member
Newcomer
Joined
Feb 20, 2010
Messages
96
Trophies
0
XP
183
Country
Got a problem with cfgloader and .gct files.

I just did an online update to v63, and 64b4 and I have the same problem in both.

Basically it goes:

1. Download codes from CFG
2. Select codes > Save as GCT
3. Enable ocarina/hook vbi
4. Start game > Says codes found.

Codes don't work/ nothing happens.

When I go back to the game options > codes, there's no codes selected. (not sure if thats like that.)

I thought it was a bad dl, so I dled it from the maine site (v63 full) and I'm still getting the problem.
It worked on 59b3, but when I copied the 59b3 dol back the same thing happened ... so I'm thinking somehting is wrong with my settings, but I can't find where.

path is
x:/usb-loader/codes/*.txt
x:/usb-loader/codes/*.gct

----
edit; also tried making a .gct from geckocodes and placing it in /usb-loader/codes, and then in x:/codes
it says CODES FOUND both times, but to no effect.

and yes these are codes that have worked before. its happening for all my games.

--------
edit 2;
nvm. i found a backup of my old usb-loader folder and copied it back. everything works again.
 

tHeWiZaRdOfDoS

Well-Known Member
Newcomer
Joined
Nov 26, 2010
Messages
68
Trophies
0
XP
34
Country
Gambia, The
Just a really really minor bug: in one of the last versions, some strings seem to have changed (at least in German translation), thus, when I try to download cheats and there are none, I get something like
"HTTP error 404: no file foundHTTP error 404: no file found"
instead of
"HTTP error 404: no file found
HTTP error 404: no file found"
as usual.
It's not a big deal but it looks ugly.
 
T

TheRealVisitor

Guest
tHeWiZaRdOfDoS said:
Just a really really minor bug: in one of the last versions, some strings seem to have changed (at least in German translation), thus, when I try to download cheats and there are none, I get something like
"HTTP error 404: no file foundHTTP error 404: no file found"
instead of
"HTTP error 404: no file found
HTTP error 404: no file found"
as usual.
It's not a big deal but it looks ugly.

I translated the last few strings together with FIX94 but we didn't change the "http" strings. I compared the language files v63 an v64x and saw the http error string was removed.

CODE#, c-format
msgid "HTTP ERROR: %s"
msgstr "HTTP FEHLER: %s"

@oggzee/Dr. clipper:
Why these string got removed?

#, c-format
msgid "HTTP ERROR: %s"
msgstr "HTTP FEHLER: %s"

#~ msgid "Download Game Database"
#~ msgstr "Lade Spieledatenbank"

#~ msgid "Downloading %s Covers for %.4s"
#~ msgstr "Lade %s Cover herunter für %.4s"

#~ msgid "Downloading %s cover... (%s)"
#~ msgstr "Lade %s Cover herunter... (%s)"

#~ msgid "Downloading All %sCovers"
#~ msgstr "Lade alle %sCover herunter"

#~ msgid ""
#~ "ERROR: CIOS222 or CIOS223 required for\n"
#~ "starting games from a FAT partition!"
#~ msgstr ""
#~ "FEHLER: CIOS222 oder CIOS223 benötigt um\n"
#~ "Spiele von FAT-Partition zu starten!"

#~ msgid "ERROR: SD mount NTFS! (%d)"
#~ msgstr "FEHLER: SD mounten von NTFS! (%d)"

#~ msgid "ERROR: SD/FAT mount wbfs! (%d)"
#~ msgstr "FEHLER: SD/FAT mounten von WBFS! (%d)"

#~ msgid "ERROR: USB mount NTFS! (%d)"
#~ msgstr "FEHLER: USB mounten von NTFS! (%d)"

#~ msgid "ERROR: USB/FAT mount wbfs! (%d)"
#~ msgstr "FEHLER: USB/FAT mounten von WBFS! (%d)"

#~ msgid "ERROR: WBFS FAT mount sector %x not %x"
#~ msgstr "FEHLER: WBFS FAT Mount Sector %x nicht %x"

#~ msgid ""
#~ "ERROR: ehcmodule2 no longer included!\n"
#~ "external file ehcmodule.elf must be used!"
#~ msgstr ""
#~ "FEHLER: ehcmodule2 nicht mehr enthalten!\n"
#~ "Externe Datei ehcmodule.elf erforderlich!"

#~ msgid ""
#~ "ERROR: ehcmodule3 no longer included!\n"
#~ "external file ehcmodule3.elf must be used!"
#~ msgstr ""
#~ "FEHLER: ehcmodule3 nicht mehr enthalten!\n"
#~ "Externe Datei ehcmodule3.elf erforderlich!"

#~ msgid "FAT mode only supported with ios 222 rev4"
#~ msgstr "FAT Modus nur von CIOS 222 rev4 unterstützt"

#~ msgid "FAT32 mount: "
#~ msgstr "FAT32 mount: "

#~ msgid "FAT: fallback to old method"
#~ msgstr "FAT: Verwende alte Methode"

#~ msgid "Found %s Cover"
#~ msgstr "%s Cover gefunden"

#~ msgid "Missing"
#~ msgstr "Fehlende"

#~ msgid "Missing "
#~ msgstr "Fehlende "

#~ msgid "Opening FAT partition..."
#~ msgstr "Lade FAT Partition..."

#~ msgid "Opening NTFS partition..."
#~ msgstr "Lade NTFS Partition..."

#~ msgid "Press %s button to select"
#~ msgstr "Drücke %s: Auswählen"

#~ msgid "Press %s to select"
#~ msgstr "Drücke %s: Auswählen"

#~ msgid "Size: %d byte"
#~ msgstr "Größe: %d Byte"

#~ msgid "Switching to IOS222 for FAT support."
#~ msgstr "Wechsle auf IOS222 für FAT-Unterstützung."

#~ msgid "[ SD/SDHC Card ]"
#~ msgstr "[ SD/SDHC Karte ]"

#~ msgid "[ USB Mass Storage Device ]"
#~ msgstr "[ USB Massenspeicher ]"

#~ msgid "cover"
#~ msgstr "Cover"
 

Dr. Clipper

Well-Known Member
Member
Joined
Aug 28, 2007
Messages
2,485
Trophies
0
XP
92
Country
overjet said:
But why i've these settings in file config.txt and don't in settings.cfg
As stated earlier, settings.cfg can be written by Cfg itself and stores all the options Cfg can write. Only those options are looked for in settings.cfg and they have priority over the same options in config.txt. All other options must appear in config.txt. The info you were given before was taken from my tutorial here, and it provides a lot more information if you are still confused.

Long story short, those specific options mentioned above are best off in settings.cfg. All other options must appear in config.txt.
 

oggzee

Well-Known Member
OP
Member
Joined
Apr 11, 2009
Messages
2,333
Trophies
0
XP
188
Country
Slovenia
tHeWiZaRdOfDoS said:
Just a really really minor bug: in one of the last versions, some strings seem to have changed (at least in German translation), thus, when I try to download cheats and there are none, I get something like
"HTTP error 404: no file foundHTTP error 404: no file found"
instead of
"HTTP error 404: no file found
HTTP error 404: no file found"
as usual.
It's not a big deal but it looks ugly.
Will be fixed.

TheRealVisitor said:
I translated the last few strings together with FIX94 but we didn't change the "http" strings. I compared the language files v63 an v64x and saw the http error string was removed.
CODE#, c-format
msgid "HTTP ERROR: %s"
msgstr "HTTP FEHLER: %s"
@oggzee/Dr. clipper:
Why these string got removed?
because previously it said:
HTTP ERROR: HTTP/1.0 404 Not Found
now it says:
ERROR: HTTP/1.0 404 Not Found
which fits better in a single line

If you're asking about all the #~ strings, those are not used anymore.
 

pplucky

Well-Known Member
Member
Joined
Dec 27, 2010
Messages
380
Trophies
0
XP
72
Country
Dr. Clipper said:
Ozzy1980 said:
Is it possible after a game is exited for it to automatically return to the CFG USB Loader instead of the wii channel screen?
Yes. Install a forwarder and add its ID to the return_to_channel option. For the forwarder I linked just before, you would add:

return_to_channel=UCXF

to config.txt.

Note also that this feature is incompatible with write_playlog=1. If you try to use them both together, it will only record the very last game you played in each play session to the play log on the message board.
2 questions about the playlog options:
- Is there any chance to make it compatible with the return_to_channel? Before returning to channel, it should write the stats on the wii message board or in a temp file to be written then when Cfg Usb was closed...
- Is it possible to make the CfgUSBLoader entries disappear from the message board and just leave the game entries?
 

aepc

New Member
Newbie
Joined
Jan 17, 2011
Messages
1
Trophies
0
XP
1
Country
France
I have an issue regarding the use of autoboot feature of preloader/priiloader:

- when i set the following in "config.txt", "gui_style = coverflow2d", the loader get stuck at the boot screen (the splash screen at the beginning).

- but if i set "gui_style = grid", the loader works properly.

Haven't tried other values for "gui_style".
 

oggzee

Well-Known Member
OP
Member
Joined
Apr 11, 2009
Messages
2,333
Trophies
0
XP
188
Country
Slovenia
cfg v64 (release)
Cfg_USB_Loader_64.zip
cfg64.dol
cfg64-222.dol
cfg64-compat.dol
cfg64-dbg.dol
lang64.zip
(or online update)
Changes:
17-01-2011 cfg v64 (release)
* Minor cosmetic fix in http error reporting

16-01-2011 cfg v64b6 (beta)
* Fixed sort by install date

15-01-2011 cfg v64b5 (beta)
* Improved USB timeout handling also when searching for config.txt on USB

15-01-2011 cfg v64b4 (beta)
* Fixed BCA with hermes cios v5.1
* Cleanups

14-01-2011 cfg v64b3 (beta)
* Fixed theme download
* Fixed wiitdb game info
* Split (required) and [optional] controllers

13-01-2011 cfg v64b2 (beta)
* Fixed hang in v64b when checking for updates

13-01-2011 cfg v64b (beta)
* Fixed crash when downloading large cheat codes (Issue 100)
Possibly fixes also the occasionally corrupted downloaded cover images
* Added USBStorage_Deinit() to shutdown
* Turn off wiimotes after they are idle for 5 minutes
* Display supported controllers in wiitdb game info
* Cleanups

12-01-2011 cfg v64a (alpha)
* Support for ID4 wiitdb entries (wiiware)
* Fixed unnecessary re-downloading of HQ full covers when they already exist
* Better HTTP error reporting when downloading cover fails
 

pplucky

Well-Known Member
Member
Joined
Dec 27, 2010
Messages
380
Trophies
0
XP
72
Country
Hey guys.

Would it be interesting to have a PT-PT translation for CFG USB Loader?

If so, please let me know, so that I can take care of it.

BR
 

XICO2KX

Well-Known Member
Member
Joined
Jul 1, 2007
Messages
162
Trophies
1
XP
918
Country
Portugal
oggzee said:
Heh I have taken another look at WiiFlow source, and they actually don't unmount anything and don't deinit usb when doing the shutdown.
They only unmount and deinit when launching a game.
Here is another test, with unmount and deinit removed from shutdown, I'm curious how this one behaves:
http://cfg-loader.googlecode.com/files/cfg64t3.dol

I'm also curious who is downloading all these test versions and why?
And how come there is no feedback even if there are 83 downloads of 64t1 and 12 downloads of 64t2?
My feedback didn't made it on time for the final v64, sorry...
sleep.gif

But here goes anyway...
happy.gif

After another marathon of turning the Wii on and off, this was what I found...
tongue.gif

I tested both cfg64t2 and cfg64t3 and they didn't seem to work either... at first!
rolleyes.gif

I also noticed that even if I stand completely still at the game selection menu, my HDD light blinks every 20 seconds!
blink.gif

Why does it do that, by the way?
wtf.gif

(The light is usually always on and it only blinks when something is being accessed in the HDD)
Then, I started thinking about what you mentioned in the changelog: timings!
So, I made some more tests:
  • if I turn off the Wii less than 15 seconds after the blink, it does that disturbing sound!
    unsure.gif
  • but if I wait more than 15 seconds and turn the Wii off, the HDD shuts down completely silently! Yay!!!
    biggrin.gif
  • the same behavior happens both in WiiFlow and WiiMC (they don't make the HDD blinks at 20s, but I started counting from the last blink/access)
  • but inside Windows 7, I can access the HDD, do the "Safely remove USB" stuff, and un-plug the USB cable in around 5 seconds and it does not produce any sound! (so, the 15s is not a HDD problem
    rolleyes.gif
    )
Could this be a libogc problem, then?
wacko.gif

Anyway, thanks for all your efforts oggzee!
yaywii.gif
 

slicer74

Well-Known Member
Member
Joined
Apr 29, 2009
Messages
136
Trophies
0
Age
47
Location
Somewhere
Website
slicer74.ifrance.com
XP
102
Country
Canada
Sorry guys, but I always have the same problem.

CFG dont read my HDD.

Tried v62, v63 and v64b6

But, after I delete the config and setting files, It can read it correctly once. If I reboot, then, it doesn't found the partition anymore, very weird !
 

kamiro04

Well-Known Member
Newcomer
Joined
Dec 3, 2010
Messages
62
Trophies
0
XP
94
Country
Argentina
kamiro04 said:
Hi oggzee, first of all I want to contratulate you and all the CFG Loader team for the hard work, it's a great loader! I've been using it for a year now and it always worked - no crashes - no hang-ups - just perfect! thank you all.
I'm testing the last version (v64b4) and the new info about controllers is really handy.
My suggestion is: if the game title is longer than one line, can it be splitted by word and not by letter?

An example, currently:

Mario y Sonic en los Juegos Olímicos de in
vierno


Suggestion:

Mario y Sonic en los Juegos Olímpicos de
invierno


Again, thanks for the hard work and if there's anything I can do to help just tell me, I'm using cIOSX rev21 base 56 and it works like a charm.
Regards from Patagonia!
Sorry if I posted this here and it's not its place, should I post it in the issues section of the proyect in google code as a suggestion?
 

Dr. Clipper

Well-Known Member
Member
Joined
Aug 28, 2007
Messages
2,485
Trophies
0
XP
92
Country
pplucky said:
2 questions about the playlog options:
- Is there any chance to make it compatible with the return_to_channel? Before returning to channel, it should write the stats on the wii message board or in a temp file to be written then when Cfg Usb was closed...
- Is it possible to make the CfgUSBLoader entries disappear from the message board and just leave the game entries?
No, there is no chance at the current time. There are two important files in play: a file for the currently played game and a file for the complete message board log of each day. The implementation as it stands only changes the currently played game file. When you return to the Wii Menu, the first thing it does is check if this file exists and adds the game to the complete log if the file is valid. Replicating the addition of that file to the main log is too dangerous of an action to perform within Cfg (it could potentially corrupt your entire Wii), so I am not going to touch it.

Thus, you must go to the Wii Menu between plays if you want the write_playlog option to properly record gameplay.

As for the CfgUSBLoader entries,they should only appear if you quit Cfg without choosing a game. I guess we could corrupt the current game file so that that doesn't happen, though.
 

jordan_ch

Well-Known Member
Newcomer
Joined
Jan 11, 2011
Messages
51
Trophies
0
XP
141
Country
Switzerland
slicer74 said:
Sorry guys, but I always have the same problem.

CFG dont read my HDD.

Tried v62, v63 and v64b6

But, after I delete the config and setting files, It can read it correctly once. If I reboot, then, it doesn't found the partition anymore, very weird !
try the cios249-57or56 v19 by Waninkoko.......
 

oggzee

Well-Known Member
OP
Member
Joined
Apr 11, 2009
Messages
2,333
Trophies
0
XP
188
Country
Slovenia
XICO2KX said:
My feedback didn't made it on time for the final v64, sorry...
sleep.gif

But here goes anyway...
happy.gif

After another marathon of turning the Wii on and off, this was what I found...
tongue.gif

I tested both cfg64t2 and cfg64t3 and they didn't seem to work either... at first!
rolleyes.gif

I also noticed that even if I stand completely still at the game selection menu, my HDD light blinks every 20 seconds!
blink.gif

Why does it do that, by the way?
wtf.gif

(The light is usually always on and it only blinks when something is being accessed in the HDD)
Then, I started thinking about what you mentioned in the changelog: timings!
So, I made some more tests:
  • if I turn off the Wii less than 15 seconds after the blink, it does that disturbing sound!
    unsure.gif
  • but if I wait more than 15 seconds and turn the Wii off, the HDD shuts down completely silently! Yay!!!
    biggrin.gif
  • the same behavior happens both in WiiFlow and WiiMC (they don't make the HDD blinks at 20s, but I started counting from the last blink/access)
  • but inside Windows 7, I can access the HDD, do the "Safely remove USB" stuff, and un-plug the USB cable in around 5 seconds and it does not produce any sound! (so, the 15s is not a HDD problem
    rolleyes.gif
    )
Could this be a libogc problem, then?
wacko.gif

Anyway, thanks for all your efforts oggzee!
yaywii.gif
Interesting, thanks for testing.
Are you using background music play in cfg with a mp3 on hdd?
That would explain why it would keep on reading from it...

EDIT:
btw, which cios are you using?
Does it make a difference if you use the standard cfg64.dol with wanin cios 249 or cfg64-222.dol with hermes cios 222...

About libogc, i doubt that's the problem, the loaders that use a cios don't use the usb storage routines in libogc but implement their own. But maybe libogc is the solution, however that would mean that before a shutdown we would need to reload ios to a standard one, init libogc and then shutdown it, it might be worth a try but sounds a bit complicated.
 

DGenerateKane

Well-Known Member
Member
Joined
Jul 18, 2009
Messages
357
Trophies
0
XP
294
Country
United States
Hey oggzee, v4 of Hermes cios is still listed in the first post, is it still the recommended version or does 5.1 take care of the issues that 5.0 had with CFG?
 

oggzee

Well-Known Member
OP
Member
Joined
Apr 11, 2009
Messages
2,333
Trophies
0
XP
188
Country
Slovenia
DGenerateKane said:
Hey oggzee, v4 of Hermes cios is still listed in the first post, is it still the recommended version or does 5.1 take care of the issues that 5.0 had with CFG?
hermes cios v4, v5 and v5.0 should work equally well.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    AncientBoi @ AncientBoi: 👍