Just my 2 cents, if you want to set a custom config path in the CFG file, how should the loader know where to get it from, as it has to read the CFG file before it knows where to look for it, i think that's kind off crazy, dont you?
dimok said:@--JoCa-- You need to check your settings maybe you used an earlier version of the Loader and the old config files messed up your Loader.
If the Loader didnt create a folder than your SD might have been locked. If so you need to make the SD "writeable" (the little switch on the side of sd-card).
The download didnt even start if the folders are not created.
dimok said:So basicly you are saying that the loader should set at the first run the configpath right???
Did you think of how the hell the loader should know on the second run that the configpath was moved? He cant just search the damn whole SD Card for the file.
Somehow he needs to know where the configfiles are......he cant just know out of himself that the configpath was moved (he needs to load it of the config file to find out it was moved).
dimok said:omg dont you guys get it? HOW THE HELL SHOULD THERE BE A DOL FOLDER WHEN THE DOL IS LOADED THROUGH CHANNEL? THERE IS NO DOL FOLDER WHEN ITS LOADED THROUGH A CHANNEL/FORWARDER/PRELOADER.
oh my god i give up the explaining.....
EDIT:oops actually there is when loading through forwarder. But not if you load through Channel/Preloader/TCPLoad/Elf Sender
Sort of, but not really... You will still need a minimum of two hardcoded locations, to fall back on.dimok said:So basicly you are saying that the loader should set at the first run the configpath right???
Did you think of how the hell the loader should know on the second run that the configpath was moved? He cant just search the damn whole SD Card for the file.
Somehow he needs to know where the configfiles are......he cant just know out of himself that the configpath was moved (he needs to load it of the config file to find out it was moved).
That's just messy. Except for my emulators, ALL my other apps keep all their configuration files in their own directories. If you're going to hardcode something like that, hard code it to the typical HBC apps directory...something like: "SD:/apps/USBLoaderGX/config/"dimok said:I dont like your idea much. Its not hard to make but its kinda nonesense.....we can as well just stay at sd:/config/
326:ÂÂÂÂ Change the scrollbar behavior based on the pagesize in theme.
325:ÂÂÂÂ *Now if no HDD is found at startup you will be asked if you want to retry 30secs
ÂÂÂÂÂÂÂÂ with the cIOS of your choice or return to WiiMenu.
324:ÂÂÂÂ fixedÂÂissue255
323:ÂÂÂÂ Changed prototype for OnScreenKeyboard. It now accepts minimum entry length to
ÂÂÂÂÂÂÂÂ keep people from removing any part of "SD:/" and crashing when trying to download.
ÂÂÂÂÂÂÂÂ Also added clear button to delete all text back to the set minimum.
322:ÂÂÂÂ *Fixed BUG: cIOS selected in the GameSettings wasnt loaded before gamestart! Now
ÂÂÂÂÂÂÂÂ it should work fine and fix some freezer inside games. ( issue 217 , 227)
321:ÂÂÂÂ Set up 3rd tab in settings screen for any other settings.ÂÂAdded new images for tabs.(NeoRame).
ÂÂÂÂÂÂÂÂ Did some housekeeping with the code.
320:ÂÂÂÂ Fixed thi Install-Bug ... i think
319:ÂÂÂÂ *change the keyboard graphics for more wii-ish look
ÂÂÂÂÂÂÂÂ *delete keyboard_mediumkey_over.png and keyboard_largekey_over.png
318:ÂÂÂÂ Change themes right when theme path is altered.ÂÂNot really tested, but it should work.
317:ÂÂÂÂ Fixed the scrollbar better with the cursor when dragging it.
ÂÂÂÂÂÂÂÂ Tested fine with 30, 60, 150, and 200 in the gamelist.
trunk/source/cfg.c
ÂÂ 777: {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂreturn cfg_parsefile("SD:/config/settings.cfg", &game_set);
ÂÂÂÂÂÂÂÂ}
ÂÂ 784:ÂÂ int i;
ÂÂÂÂÂÂÂÂÂÂmkdir("SD:/config/", 0777);
ÂÂÂÂÂÂÂÂÂÂf = fopen("SD:/config/settings.cfg", "wb");
ÂÂÂÂÂÂÂÂÂÂif (!f) {
ÂÂ 854:ÂÂÂÂÂÂÂÂ snprintf(pathname, sizeof(pathname), "SD:/config/config.txt");
ÂÂÂÂÂÂÂÂ
ÂÂ 869:ÂÂ snprintf(pathname, sizeof(pathname), "SD:/config/titles.txt");
ÂÂÂÂÂÂÂÂÂÂcfg_parsetitlefile(pathname, &title_set);
dimok said:If everyone is OK with that i can make it "sd:/config/usbloadergx". But then dont complain about it.
dimok said:If everyone is OK with that i can make it "sd:/config/usbloadergx". But then dont complain about it.
dimok said:If everyone is OK with that i can make it "sd:/config/usbloadergx". But then dont complain about it.
If there's one thing I've learned from community coding... People will ALWAYS complain!dimok said:@marinos35
This is stupid too. Because when you load the loader through HBC the config is loaded from dol directory and when from Channel and stuff its from sd:/config/usbloadergx/
What if one user uses both from time to time? He would have to move the shitty files around the SD. I think best solution is a constant folder for the freaken configs. Just need a good one so people stop complaining.
Yeah... It used to be a bigger deal than it is now. When the "config.txt" file was still in-use, there were other apps that used the same path and filename. I'm not sure if there's anything else, at this time, that uses "global_settings.cfg". Something may use "settings.cfg", though!Sazzles said:I seriously don't get why the conf folder is such a problem. I know some other homebrew uses it too, but I have yet to see one that uses exactly the same file as this loader. Granted, the folder may be a bit messy after a while with all those different configs in there, but who cares? You're never going to open it anyway!
I say to just make sure you use a personal name for the file so nothing would ever overwrite it and just let it be!