Hacking Configurable USB Loader

  • Thread starter Thread starter oggzee
  • Start date Start date
  • Views Views 7,865,339
  • Replies Replies 18,482
  • Likes Likes 22
Hey guys, I wondering if you can help me. I've been trying to get my ripped Gamecube games to load but have ran into a bit of a problem:
Back in r15 GC games loaded fine, but now for some reason (even before I updated to r32) it goes to the Backup Launcher screen and asks me to insert the disc. This is for all my games I've extracted from my original discs both for v32 and before using CFG Loader's own installation method.
Besides updating CFG Loader, I haven't made any other changes so I'm a bit confused as to why it no longer works.

According to CFG Loader I'm using ISO249(r20) and my base is IOS56 Rev20, mload 10
 
Here is a new test/beta version: mod r33 beta1

http://code.google.c...es/detail?id=48

-support multi-disc ripping of GC games

** the folder name of the 2nd disc(after ripping) will be like:

SD:\games\TALES OF SYMPHONIA 2 [GQSEAF]2
so, can it actually recognize which is disk 1 and which is disk 2 or does it just put the 2 there if there's already a folder with that name (E.G. I would just have to be careful to rip the disks in order.).
 
Here is a new test/beta version: mod r33 beta1

http://code.google.c...es/detail?id=48

-support multi-disc ripping of GC games

** the folder name of the 2nd disc(after ripping) will be like:

SD:\games\TALES OF SYMPHONIA 2 [GQSEAF]2
so, can it actually recognize which is disk 1 and which is disk 2 or does it just put the 2 there if there's already a folder with that name (E.G. I would just have to be careful to rip the disks in order.).

It only can recognize either disk1 or disk2 .
(should be very similar to ULGX or Wiiflow mod after I tested.)

So you have to rename 2 files (game.iso and boot.bin) after ripping the first disk,
then you can rip the 2nd disk.

I think I can make some changes to improve this.
 
I have tested it with all games on nfts partition and it works for me.
Could you post the debug logfile, when everything is on the ntfs partition?

I've got the same thing as AbdallahTerro.I have an NTSC drive with all my wii games on it. I can play GC backups, but they must be on BOTH the SD card and the USB. I'm not sure if I need to post the log file, (and if so, which one exactly) or if I'm just stupid and can change an option.
 
mod r33 beta2
==============
-improve multi-disc ripping of GC games

The default filename of boot.bin and game.iso for disk 2 will be
set as "boot2.bin" and "game2.iso" after ripping.
This means loader won't detect disk 2 files in SD card(unless you
rename "game2.iso" to "game.iso") .So you can keep on ripping
disk 1. (filename of boot.bin and game.iso for disk1 is no change)

If you rip disk 1 first, you have to manually change "boot.bin" and
"game.iso" then you can rip disk 2. (otherwise you can't rip disk 2)
http://code.google.com/p/cfg-loader-mod/issues/detail?id=48
 
I can't understand, what is wrong: I installed DML 1.3, 1.4b, but GC game load stops at GC loader screen; but it loads perfectly with DML r58. Both CFG and USBL checked.
Is there any real need or profits of DML 1.3+?

And one more thing: what's about banner support in CFG? :)
 
I can't understand, what is wrong: I installed DML 1.3, 1.4b, but GC game load stops at GC loader screen; but it loads perfectly with DML r58. Both CFG and USBL checked.
Is there any real need or profits of DML 1.3+?

And one more thing: what's about banner support in CFG? :)

DML above 1.0 is really picky about what SD cards are used.

I had a 8GB micro sd card in an SD adapter that worked flawlessly with R59. If i tried anything above that then it would either hang at the loading screen or if it did boot the game it would error out within 1 minute.
I got a new sandisk 32GB SDHC card instead and it works perfect now with DML 1.4B

I was running out of space on the 8GB card anyway and needed to upgrade so now i have plenty of room.
 
I have tested it with all games on nfts partition and it works for me.
Could you post the debug logfile, when everything is on the ntfs partition?

I've got the same thing as AbdallahTerro.I have an NTSC drive with all my wii games on it. I can play GC backups, but they must be on BOTH the SD card and the USB. I'm not sure if I need to post the log file, (and if so, which one exactly) or if I'm just stupid and can change an option.

Save the debug.log file in the GUI menu: settings->debug->save debug
Then post it.
 
I have tested it with all games on nfts partition and it works for me.
Could you post the debug logfile, when everything is on the ntfs partition?

I've got the same thing as AbdallahTerro.I have an NTSC drive with all my wii games on it. I can play GC backups, but they must be on BOTH the SD card and the USB. I'm not sure if I need to post the log file, (and if so, which one exactly) or if I'm just stupid and can change an option.

Save the debug.log file in the GUI menu: settings->debug->save debug
Then post it.


# CFG USB Loader 70r32

IOS:

IOS222 : not installed
IOS223 Base: 38+37 v4 (r4)
IOS224 : not installed
IOS245 : not installed
IOS246 : not installed
IOS247 Base: 57 rev21 (r21)
IOS248 Base: 56 rev21 (r21)
IOS249 Base: ?? (r15)
IOS250 Base: 57 rev21 (r65535)
IOS251 : not installed

MEM STATS:
libOGC 1.8.12 devkitPPC 26 (gcc4.6.3) -Os
libc: s: 9.24 u: 1.05 f: 8.19 mx:7.72
mem1: s: 9.98 u: 3.42 f: 6.57 t:2,1
mem2: s:49.87 u:37.91 f:11.96 t:25,3
m1+2: s:59.85 u:41.32 f:18.53
totl: s:69.09 u:42.37 f:26.72
ccache p: 21 m: 0 f: 479 / 500
cc mem: s:25.0 u:3.5 f:21.5 [21,1]
cc tm: load: 0.472 decode: 0.372
cc 2d:0 3d:21 d:0 f:0 hq:0 f2d:0

TIME STATS:

times in seconds:
intro: 0.070 wpad: 0.002
ios1: 0.804 ios2: 0.000
sd_init: 0.139 sd_mount: 0.008
usb_init: 0.802 mount: 6.501 retry: 0.000
open: 0.363 ini: 0.437 cap: 0.000
cfg: 0.162 (config,settings,titles,theme)
misc: 0.013 (lang,playstat,unifont)
wiitdb: 0.685 load: 0.402 parse: 0.283
gamelist: 0.052 mp3: 0.018
conbg: 0.156 guitheme: 0.367
sum: 9.779 uncounted: 0.714
total startup: 10.493

DEBUG LOG:

main(2)
[0.000] --> boot
[0.490] --> intro
[0.560] ios1
IOS_Reload(249)
reload ios: 249 = 0
[1.442] usb_init
open(/dev/usb2)=-6
open(/dev/usb123)=-6
open(/dev/usb/ehc)=3 init:0 cap:2930277163 ss:512
[2.244] sd_init
open(/dev/sdio/sdhc)=4
[2.383] sd_mount
fstype(2)=4
Plist(2)=4 ss:512
P#0 129 1950591 11
part_find(1 1)
Mount sd 2 129 1
fatMount(sd,129)FAT memalign 4096
FAT memalign 512
= 1 129
mount_add(sd,2,129,1)
[2.392] cfg
parse(sd:/usb-loader/config.txt) = 3
read(363) = 363
parse(sd:/usb-loader/themes/Glass/theme.txt) = 3
read(1341) = 1341

EOF(sd:/usb-loader/themes/Glass/theme.txt)
parse(sd:/usb-loader/config.txt) = 3
read(363) = 363

EOF(sd:/usb-loader/config.txt)
parse(sd:/apps/usbloader/config.txt) -

EOF(sd:/usb-loader/config.txt)
parse(sd:/usb-loader/titles.txt) = 3
read(214756) = 214756

EOF(sd:/usb-loader/titles.txt)
parse(config.txt) -
parse(titles.txt) -
parse(sd:/usb-loader/custom-titles.txt) -
parse(sd:/usb-loader/settings.cfg) = 3
read(657) = 657

EOF(sd:/usb-loader/settings.cfg)
[2.554] wpad
[2.578] conbg
[2.734] misc
[2.756] wiitdb
[2.756] --> db_load
[3.158] usb_init
init:0 cap:2930277163 ss:512
[3.519] usb_init
init:0 cap:2930277163 ss:512
[9.910] usb_init
init:0 cap:2930277163 ss:512
[9.911]
 
according to the logfile, the loader detects 2 games on the NTFS drive.
when you start one of this games, it should be automatically copied to the sd card.
works that?
 
according to the logfile, the loader detects 2 games on the NTFS drive.
when you start one of this games, it should be automatically copied to the sd card.
works that?

Yeah that works, and I can load it up after that no problem. Is that how it's supposed to work, and I'm stupid? Or can the GC games run directly off the USB, because I only have a 1 Gb SD card and dont want to delete the game every time I want to play another one...
 
Yes, thats the way it should work. ;)
DML supports only loading from SD cards.
You can try mod r34 which should automatically delete the game on the sd card when you select another game from the hdd.
 
So take up USB loading with the DML team huh? I feel like that feature would help out a lot.
Automatically deleting them helps too. Great job and thank you! Keep up the awesome work.Running gamecube games is the best feature yet as my disk drive is broken.
The only problem I have with it copying to the SD card is the time it takes. I know it's not your fault, but its just a hassle.
 
I'm sure the biggest problem with auto-deleting is when you have several games on SD and knowing which one to delete.
My first idea of how to deal with this is to first limit it to the ones that are also on USB (to avoid getting rid or someone's only copy of the game image) and then go by play count and delete the least played ones first or perhaps just leaving the most recently played ones on. Finally, prompt the user what to do if there just isn't enough room doing it that way.

having an option of auto-delete on/off, of course, would be good and it would be nice, even then, to give the user a friendly little message showing them which games are being deleted would be nice just to give them the heads up.
 
I'm sure the biggest problem with auto-deleting is when you have several games on SD and knowing which one to delete.
My first idea of how to deal with this is to first limit it to the ones that are also on USB (to avoid getting rid or someone's only copy of the game image) and then go by play count and delete the least played ones first or perhaps just leaving the most recently played ones on. Finally, prompt the user what to do if there just isn't enough room doing it that way.

having an option of auto-delete on/off, of course, would be good and it would be nice, even then, to give the user a friendly little message showing them which games are being deleted would be nice just to give them the heads up.

Simple, have it only delete the ones that it copied over. Just have the loader add a dummy file such as copied_by_cfgloader.txt to the game folder when it copies it over and then only delete those games that have that file present.
 
I'm sure the biggest problem with auto-deleting is when you have several games on SD and knowing which one to delete.
My first idea of how to deal with this is to first limit it to the ones that are also on USB (to avoid getting rid or someone's only copy of the game image) and then go by play count and delete the least played ones first or perhaps just leaving the most recently played ones on. Finally, prompt the user what to do if there just isn't enough room doing it that way.

having an option of auto-delete on/off, of course, would be good and it would be nice, even then, to give the user a friendly little message showing them which games are being deleted would be nice just to give them the heads up.

Simple, have it only delete the ones that it copied over. Just have the loader add a dummy file such as copied_by_cfgloader.txt to the game folder when it copies it over and then only delete those games that have that file present.

that is that what r34 does.
The only differente is that r34 not saves a dummy file in the game folder.
It saves the header of the last copied game to the file "lastCopied.bin" in the "games" folder.
 

Site & Scene News

Popular threads in this forum