Hacking DIOS MIOS (Lite)

  • Thread starter Thread starter sk0ld
  • Start date Start date
  • Views Views 1,056,100
  • Replies Replies 4,949
  • Likes Likes 38
Is there some tutorial that shows how to set up an build environment for this?
There's some FS stuff I want to play with.
 
Sorry to dredge up this rather old post but something just occurred to me and I thought I'd throw it out there.
Switching to GC mode works like this:

1. System menu loads BC
2. BC changes stuff and the BUS clock
3. BC loads boot2
4. boot2 sees that the BUS clock is GC clocked
5. boot2 loads MIOS
Couldn't the BC just change the stuff and load the MIOS itself?
I'm thinking exactly the same atm :P
I was just thinking about how DM and DML and even the original NMM were installed in xNEEK as a BC to do just that, load the MIOS code without having to worry about the BC calling BOOT2, so I don't think it would actually cause any real problems (from my limited technical point of view, anyway).

Having a loader keep a copy of all the applicable cMIOS WAD's and install them dynamically as needed is still probably the most feasible solution to wanting all the simultaneous functionality of being able to load GC games from SD, USB, DVD-R and playing Mario Kart GP arcade games from SD but I still don't think that run-time patching the BC would be that problematic.
 
Is there some tutorial that shows how to set up an build environment for this?
There's some FS stuff I want to play with.

install devkitpro, build diosmios

if you need a step by step tutorial might not be a good idea to start mucking around with filesystem stuff *shrug*
 
install devkitpro, build diosmios
No shit, Sherlock

I thought more along the lines of a list of dependencys
eg which version of what lib or compiler (some software is a bit picky)

and what to do after compiling it
the highest makefile target is iosmodule.elf not DM.wad
 
Hi, I'm the newest member of this forum. I've gone through both diosmios v2 updates 4 and 5, and the controller issue is still unresolved. I've duplicated the problem several times, confirming that it works in Luigi's Mansion, but not in other games.

One post above mentioned a workaround involving retail discs, which leads me to wonder if there's a switch in the code somewhere that isn't being triggered properly. I agree with some post above, it has nothing to do with 1st vs 3rd party, as I've tested that too. It's most likely a logic problem in the code. Programmers can't possibly account for EVERY scenario, which is why they need us bug-testers :lol:
 
which version of what lib or compiler (some software is a bit picky)

and what to do after compiling it
the highest makefile target is iosmodule.elf not DM.wad

I think my devkitpro has devkitARM r34, devkitPPC r24, and libogc 1.8.7 tool-chain. I used it to compile either S/UNEEK or DM/L.
Once you get the iosmodule.elf or diosmioslite.elf, you could use fixelfmod to insert iosmodule.elf/diosmioslite.elf into the 00000001.app extracted from the DM or DML wad correspondingly.

Here are the steps to create the new WAD for DM:
1. Unpack DM wad file (e.g. use WadMii) to get 00000001.app
2. Compile DM source codes to get iosmodule.elf
3. Run fixelfmod 00000001.app iosmodule.elf temp.app
4. Rename temp.app as 00000001.app
5. Pack DM wad file back by changing the old 00000001.app to the newly created 00000001.app
6. Profit
Similar steps could be used for DML.

Let me know whether these steps work for you or not.

Cheers.
 
  • Like
Reactions: 1 person
it does idk maybe i should change my revs...which ones are u using?

My 3rd party controller has worked for me with all versions of dios mios. I've never tried DML.

I've always wondered what would happen if you tried joining the ELF file for a newer DM(L) version with the official Nintendo WAD like you did with old DML. I'm sure it wouldn't work but I've still been curious.

Tried this and I just get a black screen when launching games.

Once you get the iosmodule.elf or diosmioslite.elf, you could use fixelfmod to insert iosmodule.elf/diosmioslite.elf into the 00000001.app extracted from the DM or DML wad correspondingly.
Cheers.

I tried this with the version of fixelf from the old DML, but didn't work. I'll try fixelfmod, thanks.
 
Strangely, Dios Mios is very fickle for me, here's what I've learned about it:

-Will only boot if USB HDD is in Port 1
-Won't boot when the Wii is turned on after turning it off when finished playing a Gamecube game (either this or I have to disconnect then reconnect my HDD before it will run Gamecube games again)
-Won't boot if the Wii is turned on from standby (the light has to be red)
-Won't boot if I return to the System Menu from a Wii game
-Legend of Zelda: Four Swords Adventures errors after intro
-Legend of Zelda: Twilight Princess freezes after catching a fish

Maybe it's either Port 1 or my hard drive, but it seems to be much more fickle for me than it does for others. I use a Seagate FreeAgent Go-Flex 1TB

That is quite possibly the funniest bug ever. Sorry for your troubles XD

I have random bugs, nothing consistent enough to report though. Occasionally loading a game will turn the Wii off (no splash screen), freeze at the splash screen, or give an error I posted earlier. I had to start Wind Waker three times today before it would boot. Almost makes me think that when you boot DM, it sets flags according to last boot, like if it black screens it fixes it for the next time, but since every game is different it keeps resetting flags. But I don't think there's enough memory to perform such magic.
 
uhh why would you want to be restricted to ONLY usb loading? What if you bought a new game and didn't get a chance to rip it yet? What a friend brought over a game? What if you wanted to play a game that had audio streaming issues? What if your hard drive broke? There are many times why one would want to use a disc and it doesn't make sense to have to install a clean MIOS just to do that. It may make sense if you're a pirate, and don't have any retail discs to begin with, but for the rest of people, it's useful.

cyan meant/said audio streaming is working on retail discs. which is why someone might want to load from retail disc..


See that's the thing that doesn't make sense to me. Normally, a Wii can load gamecube games that have audio streaming on them (physical disc), so why run the physical disc that has the audio streaming through Dios Mios when loading it through the disc channel does the same thing? It's a moot point, it defeats the purpose of using Dios MIos. I don't use physical discs (unless the game needs a random disc in there to bypass games with problematic boot partitions) since my disc drive is from a 2006 Wii model (don't want extra wear and tear).

What's the difference between loading an audio streaming game via the official Gamecube disc channel versus loading it via Dios Mios?

This is what I'm not understanding. Loading via DM is no different that using the disc channel.

That is where you are wrong. Loading from the disc channel, obviously, reads data via the laser from the disc. Loading from USB loads data from...you guessed it, USB. So yes there is a difference.

edit: sorry, just seen all the replies before me saying all this
 
I'll post a SysCheck in hope that some of you smart people can see if I am missing something, or doing something very wrong.

sysCheck v2.1.0b12 by Double_A and R2-D2199
...runs on IOS58 (rev 6176).

Region: PAL
System Menu 4.2E (v482)
Priilaoder installed
Homebrew Channel 1.0.0 running on IOS58
Hollywood v0x11
Console ID: 67857781
Boot2 v2
Found 66 titles.
Found 43 IOS on this console. 0 of them are stub.

IOS9 (rev 1034): No Patches
IOS11 (rev 16174): Trucha Bug, NAND Access
IOS12 (rev 526): No Patches
IOS13 (rev 1032): No Patches
IOS14 (rev 1032): No Patches
IOS15 (rev 1032): No Patches
IOS17 (rev 1032): No Patches
IOS20 (rev 16174): Trucha Bug, NAND Access
IOS21 (rev 1039): No Patches
IOS22 (rev 1294): No Patches
IOS28 (rev 1807): No Patches
IOS30 (rev 16174): Trucha Bug, NAND Access
IOS31 (rev 3608): No Patches
IOS33 (rev 3608): No Patches
IOS34 (rev 3608): No Patches
IOS35 (rev 3608): No Patches
IOS36 (rev 3608): No Patches
IOS37 (rev 5663): No Patches
IOS38 (rev 4124): No Patches
IOS40 (rev 16174): Trucha Bug, NAND Access
IOS41 (rev 3607): No Patches
IOS43 (rev 3607): No Patches
IOS45 (rev 3607): No Patches
IOS46 (rev 3607): No Patches
IOS48 (rev 4124): No Patches
IOS50 (rev 16174): Trucha Bug, NAND Access
IOS52 (rev 16174): Trucha Bug, NAND Access
IOS53 (rev 5663): No Patches
IOS55 (rev 5663): No Patches
IOS56 (rev 5662): No Patches
IOS57 (rev 5919): No Patches
IOS58 (rev 6176): USB 2.0
IOS60 (rev 16174): Trucha Bug, NAND Access
IOS61 (rev 5662): No Patches
IOS70 (rev 16174): Trucha Bug, NAND Access
IOS80 (rev 16174): Trucha Bug, NAND Access
IOS202[60] (rev 65535, Info: hermes-v5.1): Trucha Bug, NAND Access, USB 2.0
IOS222[38] (rev 4, Info: hermes-v4.0): Trucha Bug, ES Identify, NAND Access, USB 2.0
IOS223[38] (rev 4, Info: hermes-v4.0): Trucha Bug, ES Identify, NAND Access, USB 2.0
IOS224[57] (rev 65535, Info: hermes-v5.1): Trucha Bug, NAND Access, USB 2.0
IOS236[36] (rev 65535, Info: rev 3351): Trucha Bug, ES Identify, NAND Access
IOS249[56] (rev 21008, Info: d2x-v8final): Trucha Bug, NAND Access, USB 2.0
IOS250[57] (rev 21008, Info: d2x-v8final): Trucha Bug, NAND Access, USB 2.0
BC v6
MIOS v10

Report generated on 2012/07/09.


As explained before, my Wii shuts off after 1 or 2 seconds of disc loading in the drive. All loaders find the .iso files. I've ripped 3 retail straight in USB Loader GX and 1 using the DiscEx program. I have tried all 4 different games, same result.
I have tried USB Loader GX, DIOS MIOS Booter, CFG, all with the same result.
In DIOS MIOS Booter at the top of the screen it says DIOS-MIOS Built: Jun 30 2012 23:59:30. I don't know if this matters, but at this point I'll try everything to get this running :)
I've tried with a retail Gamecube disc in the drive and without. And even retail Gamecube games will make the Wii to turn off, yes I've installed the latest version 5 of DIOS MIOS 2.0!

I really don't know what to do, thanks for your time guys!
 
Has anyone managed to run some 50hz PAL games in a PAL Wii?
Specifically,Beyond Good and Evil,Skies of Arcadia Legends,Rayman 3,Splinter Cell,PoP WW do not display an image in every video mode settings I tried.
Is a solution found yet or is it a known problem that will be addressed in a future DM release?
 
@[member='panmusic']
Which loaded did you try?

@[member='Moeca10']
The wii switch off very often for me, it could depend on different things :
The settings
The USB HDD (sometime it's not detected, sometime it's stuck in a port reset loop, even when booting from DISC it try to connect the USB...)
Reseting the wii too soon after shutdown? (that's the weirdest bug, as everything should be reseted, there's no flags kept in memory/nand/etc.)

In conclusion : I still didn't find a pattern :P

I can post logs, but I guess Crediar is already aware of it.
 
@[member='Cyan']

I tried the latest Wiiflow mod and Cfg mod r36.
In the Wiiflow topic, Fix94 told me that this is not a loader problem but a DM one.As I installed DM 2.0 update 5 and the same problem still exists,I am wondering if there is another solution found...
 
I don't have these games to test myself.
I have Sky of Arcadia retail game but in US version.


After testing few different video modes, I found that USB Loader GX (my own build 1193mod03) have different results depending if you run it from USB or from disc.
I tested Paper Mario (PAL) on a PAL Wii:
When forcing PAL480p, the colors are wrong when launched from disc, but correct when launched from USB. (same settings, only the location changed).
When forcing NTSC480p, the colors are correct when launched from disc.

DML always boot as NTSCprog480 (maybe because I'm using component?)
I'll have to find where I put my composite cable to test more things (it's time consuming).


So I don't know yet if it's caused by the loader or by DM itself.
I'll have to test it with different loaders.
 
@[member='Cyan']

Thanks for your answer!
I know that this is perhaps too time consuming,but if you can check these 576i PAL games and have a clue,please enlighten us! :)
 
Hopefully tueidj can release a cMIOS that has full compatibility. DM is pretty great but how DM doesn't play some stuff DML does is kinda weird to me - but I'm no programmer so I just dunno.

If he can do USB loading for GC games but using the Wii's full power, that would be pretty damn impressive. :)
Unlike DIOS MIOS, Devolution is not a MIOS.replacement.. it is a Wii application that uses regular IOS....
Well that sounds good. That would be cool is Devolution would run stuff that DM can't and vice versa.
I will probably stick with DIOS MIOS for a long time. Iirc, didn't tueidj make a post saying "50% of games will be perfect, 40% will have issues, 10% won't work" or something to that effect. I'm sure compatibility would improve over time, but DIOS MIOS has well over 50% of games working perfectly. And considering my wii can't read a few of my gamecube discs anymore, that'll be another reason to stick with DIOS MIOS.
If he can get streaming audio games to be perfect, that plus DM might be near complete compatibility.... maybe.
 
Has anyone managed to run some 50hz PAL games in a PAL Wii?
Specifically,Beyond Good and Evil,Skies of Arcadia Legends,Rayman 3,Splinter Cell,PoP WW do not display an image in every video mode settings I tried.
Is a solution found yet or is it a known problem that will be addressed in a future DM release?

Why do you have a PAL Wii, yet you live in the US....?
 

Site & Scene News

Popular threads in this forum