Hacking DIOS MIOS Drive Light Flashing

Zkarts

Well-Known Member
OP
Newcomer
Joined
Aug 9, 2012
Messages
49
Trophies
0
XP
360
Country
Netherlands
After messing around with my drive and several different versions of DM, I finally got DM working (Easeus didn't give me the possibility to set drive cluster with FAT32, so it was automatically set at 64 kB... took some time to figure that out).
I'm really happy that I can play my GameCube games again from my USB hard drive after my Wii disc drive died, but it seems that every time something in-game has to be loaded, my disc drive light starts flashing. How can I get rid of that? Cause it's kind of annoying. Is it even supposed to do that?
I'm using Wiiflow as loader with DM v2.2 and I don't keep a disc in my drive as it's not needed, but I tried and the drive light flashes as well if there is a game disc in there.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
The light flashing is a setting that can be enabled/disabled by the user.
wiiflow mod (r636) has that setting always forced by default and users can't disabled it.

There is a proper (non forced) setting in DMBooter or USBLoaderGX r1201. (I don't know about cfg loader mod, postloader, or neogamma).
 
  • Like
Reactions: 1 person

Zkarts

Well-Known Member
OP
Newcomer
Joined
Aug 9, 2012
Messages
49
Trophies
0
XP
360
Country
Netherlands
Thanks for the response, it clears things up a bit. Now I found something about this and someone asked whether to 'do the same thing to the new version (delete that line in the code)'. Would that work to get the light off? And how can I do that (where to find the file and how to edit the code)?
 

Badablek

Well-Known Member
Member
Joined
Jan 23, 2006
Messages
520
Trophies
1
Age
43
XP
2,935
Country
France
Hi,

open "source\gc\gc.cpp" with Programer's Notepad, Notepad++ or any text editor

search for this (line 61 on version 637):
Code:
DMLCfg->Config |= DML_CFG_ACTIVITY_LED;

delete that line (or comment it with "//" in front of it)

recompile the sources with devkitpro (you will have to download and replace official libogc with the one you can find on open-wiiflow-mod's googlecode)

you're done.



I really hate that useless "feature" and I always remove it like explained...works great.
 
  • Like
Reactions: 1 person

Zkarts

Well-Known Member
OP
Newcomer
Joined
Aug 9, 2012
Messages
49
Trophies
0
XP
360
Country
Netherlands
But where can I find the "source\gc\gc.cpp" in Wiiflow? Is it in the boot.dol file? And I'll have to take that apart with devkitpro?
 

Maxternal

Peanut Gallery Spokesman
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country

Zkarts

Well-Known Member
OP
Newcomer
Joined
Aug 9, 2012
Messages
49
Trophies
0
XP
360
Country
Netherlands
I'm guessing all that code from /source/etc is in the boot.dol file that you download with each version? Is it also possible to open up that boot.dol file and edit the version that I'm currently using? Because I don't use the newest version because I don't like the looks of that one...
I'd also want to add that I'm very inexperienced in all this, so a clear step by step version is appreciated :)
 

Badablek

Well-Known Member
Member
Joined
Jan 23, 2006
Messages
520
Trophies
1
Age
43
XP
2,935
Country
France
you can't edit the compiled dol file.

you have to download the source (*), edit gc.cpp and recompile the binary with devkitpro

(*) use any SVN client (RapidSVN or TortoiseSVN for example), grab open-wiiflow-mod source by using its googlecode url "http://open-wiiflow-mod.googlecode.com/svn/trunk/"
with the SVN client, you can download ANY version of open-wiiflow-mod. If you don't want to grab the latest one, you can do it.



ps : what version of open-wiiflow-mod are you using ?
 

Badablek

Well-Known Member
Member
Joined
Jan 23, 2006
Messages
520
Trophies
1
Age
43
XP
2,935
Country
France
all sources are available on googlecode.

when using an SVN client, you can specify which version you want.

R607 without led blinking
http://www.mediafire...w8y7c47c8zx6nce

sources : http://www.mediafire...w9r38r3lbnl3yak

just grabbed R607 with Rapidsvn, comment line 44 "DMLCfg->Config |= DML_CFG_ACTIVITY_LED; //Sorry but I like it lol, option will may follow"
recompiled with devkitpro+libogc r4902 from open-wiiflow-mod googlecode.

I did not try the binary myself ! And will remove the link when you're done (tell me when it's ok).
 

Zkarts

Well-Known Member
OP
Newcomer
Joined
Aug 9, 2012
Messages
49
Trophies
0
XP
360
Country
Netherlands
Thanks a lot! I'll try it as soon as possible, which would be about tomorrow morning, but I'm sure it'll work just fine :)
I'll let you know.

EDIT: Yep, you did it! It works like a charm! Thanks again so much! You made my day :D
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=mA-vTRfE_x0