You're welcome.nop.compiler said:Please, somebody give ETERNAL THANKS to people maintaining http://gwht.wikidot.com/.
You're welcome.nop.compiler said:Please, somebody give ETERNAL THANKS to people maintaining http://gwht.wikidot.com/.
Dr. Clipper said:You're welcome.nop.compiler said:Please, somebody give ETERNAL THANKS to people maintaining http://gwht.wikidot.com/.
oggzee said:omg so many colors, my eyes hurt!
Sorry about that!
I'll try to make colorless posts from now on!
But can I still use bolds, italics and underlines? lol
static void * devicecallback (void *arg)oggzee said:We do call that too, but from a different function...
maybe it's the order of things...Code:void Do_Shutdown() { ÂÂÂÂServices_Close(); ÂÂÂÂSubsystem_Close(); ÂÂÂÂSys_Shutdown(); } void Subsystem_Close(void) { .... ÂÂÂÂUSB_Deinitialize(); }
Can you try this:
http://cfg-loader.googlecode.com/files/cfg64t1.dol
It has the order of USB_Deinitialize and USBStorage_Deinit changed.
I wonder if that works any better?
Thanks!
But that change didn't work either...
I've been performing some more tests on different scenarios, and here are the results:
(I've turned my Wii off and on more than 20 times in just a few minutes!!!)After this, I went to check how WiiMC does the shutdown process!
- with CFG, the HDD always makes that disturbing sound
- with WiiFlow, sometimes it does and sometimes it doesn't (still couldn't understand why
)- from the System Menu, the HDD turn off silently
- from WiiMC, even when accessing the USB drive, it turns off silently too
(From: http://wiimc.googlecode.com/svn/trunk/source/fileop.cpp )
CODE
{
(...)
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂif(isInserted[DEVICE_USB])
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ{
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂif(!usb->isInserted()) // device was removed
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ{
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂUnmountPartitions(DEVICE_USB);
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂusb->shutdown();
(...)
}
static void UnmountPartitions(int device)
{
ÂÂÂÂÂÂÂÂchar mount[11];
ÂÂÂÂÂÂÂÂfor(int i=0; i < MAX_DEVICES; i++)
ÂÂÂÂÂÂÂÂ{
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂif(part[device].type == T_FAT)
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ{
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂpart[device].type = 0;
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂsprintf(mount, "%s:", part[device].mount);
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂfatUnmount(mount);
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ}
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂelse if(part[device].type == T_NTFS)
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ{
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂpart[device].type = 0;
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂntfsUnmount(part[device].mount, false);
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ}
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂpart[device].name[0] = 0;
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂpart[device].mount[0] = 0;
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂpart[device].sector = 0;
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂpart[device].interface = NULL;
ÂÂÂÂÂÂÂÂ}
}
nop.compiler said:nop.compiler said:Hi.
I've installed IOS 236, IOS 247 and Hermes 222 and I still get the "Error: IOS 247 is stub!" message.
I think I've solved it by editing the meta.xml file and adding:
ios=248
Please, somebody give ETERNAL THANKS to people maintaining http://gwht.wikidot.com/.
Yes. Install a forwarder and add its ID to the return_to_channel option. For the forwarder I linked just before, you would add: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 it would.kylster said:would this say work with a hidden channel of CFG?
XICO2KX said:Thanks!
But that change didn't work either...
I've been performing some more tests on different scenarios, and here are the results:
(I've turned my Wii off and on more than 20 times in just a few minutes!!!)
- with CFG, the HDD always makes that disturbing sound
- with WiiFlow, sometimes it does and sometimes it doesn't (still couldn't understand why
)- from the System Menu, the HDD turn off silently
- from WiiMC, even when accessing the USB drive, it turns off silently too
Too bad it didn't work, maybe it has to do with some kind of delay, I can add a 1 second sleep after usb deinit and before shutdown, can you try this:
http://cfg-loader.googlecode.com/files/cfg64t2.dol
int UnmountAll(MountTable *save_mtab)XICO2KX said:After this, I went to check how WiiMC does the shutdown process!
Does CFG unmount the partitions too? Could that be it?
And don't the libogc functions to close/unmount USB stuff have some kind of return value to check if the closing/unmounting procedure was successful or not?
Yes we do, if you look at:
Do_Shutdown() -> Subsystem_Close() -> UnmountAll()
CODE
{
...
ÂÂÂÂfor (i=0; i
XICO2KX said:[*]with WiiFlow, sometimes it does and sometimes it doesn't (still couldn't understand why)
overjet said:Hi everyone,
i want to ask what's the difference between two files config.txt and settings.cfg in usb-loader folder of my sd.