Hacking DIOS MIOS (Lite)

  • Thread starter Thread starter sk0ld
  • Start date Start date
  • Views Views 1,056,160
  • Replies Replies 4,949
  • Likes Likes 38
A few more...

Chaos Field - Ntsc - Work - 2.0b4/b5/2.1
Dead To Rights - Ntsc - Work - 2.0b4/b5/2.1
Disney Hide Sneak - Ntsc - Work - 2.0b2/b4/2.1
Disney's Magical Mirror Starring Mickey Mouse - Ntsc - Work - 2.0b2/b4/2.1 - dont work on 2.0b5
Eternal Darkness - Pal - Work - 2.0b4/2.1
Fantastic Four - Ntsc - Work - 2.0b2/b4/b5/2.1
Fireblade - Ntsc - Work - 2.0b4/b5/2.1
F-Zero Gx - Pal - Work - 2.0b4/2.1
Luigi's Mansion - Pal - Work - 2.0b2/b4/b5/2.1 - Ntsc Hangs On Nintendo Logo On 2.0b3d
Pitfall: The Lost Expedition - Ntsc - Work - 2.0b2/2.1
Prince Of Persia: Warrior Within - Ntsc - Work - 2.0b2/b4 - 2.1 blackscreen after change to progresive mode screen
 
So I'm a bit confused. In 2.1 I can no longer disable no disc? I want to always use a disc to ensure maximum compatibility.
If you have a disc on drive, it will use it to improve compatibility. That's automatic now.
Ok thanks for the replies guys. Now just waiting for a GX update from cyan.
Basically, anything newer than DML v1.0 did it that way. They just basically ignored the nodisk option whether it was set or not. They just set it depending if the disk was in the drive so changing the NoDisk option in a loader only did something if you were using something before DML r59.

Now, any loader is still compatible with DM v2.1. You just have to remember that where there's a setting that says "NoDisk" it actually means "Force Widescreen" since that new option uses the enable/disable bit that was previously used for the NoDisk patch.

I think, basically, you use the option like this:
NoDisk ENABLED = Forced Widescreen ON
NoDisk DISABLED= Forced Widescreen OFF
Unless the loader has been updated with a separate option. In that case it just detects the DM version and chooses which option to ignore.


But Cyan said it won't work with GX right now. Guess I'll have to try with dml booter
 
But Cyan said it won't work with GX right now. Guess I'll have to try with dml booter
All I was saying is that I think the only reason it "doesn't work" is because it confuses the NoDisk and Widescreen settings. Otherwise it should work fine.
 
Midway Arcade Treasures 3 Ntsc on Ntsc Wii 1:1 rip tested and working great with DM 2.0 updates 4
DM 2.0 update 5 & DM 2.1 results in black screen only, and yes I have a disc in the drive. something changed has broken compatibility with this game

It's working for me on update 5 with a disc in, is it black screening at boot or when you select a game? also Ntsc/Ntsc.


has usbloader gx been updated for 2.1 yet?

not at this time
 
I wrote a basic patch that should work around the HDD sleep issues many people seem to be having. I don't have a drive that's affected by it, so I can't verify 100% that this fixes the problem, but it does seem to do what it's supposed to do.

Basically, if a DI read command hasn't been issued in the past 10 seconds, it forces a read of a few sectors. That way, the HDD will stay active.

The patch is included here, and it applies to DIOS MIOS 2.1.
Code:
diff --git a/dip.c b/dip.c
index bfbfb78..ca84c67 100644
--- a/dip.c
+++ b/dip.c
@@ -51,7 +51,10 @@ u32 DIUpdateRegisters( void )
static u32 PatchState	= 0;
static u32 DOLReadSize	= 0;
static u32 PSOHack		= 0;
-	
+
+	// If set, the game disc was read during this register update.
+	u32 disc_read = 0;
+
if( read32(DI_CONTROL) != 0xdeadbeef )
{
write32( DI_SCONTROL, read32(DI_CONTROL) & 3 );
@@ -107,7 +110,10 @@ u32 DIUpdateRegisters( void )
case 0xA9:
//dbgprintf("DIP:Async!\n");
case 0xA8:
-				{					
+				{
+					// Read the game disc.
+					disc_read = 1;
+
u32 Buffer	= P2C(read32(DI_SDMA_ADR));
u32 Length	= read32(DI_SCMD_2);
u32 Offset	= read32(DI_SCMD_1) = HDD_IDLE_TIMER) {
+			// Disc timer has passed ~10 seconds.
+			char tmp[4];
+
+			if (ConfigGetConfig(DML_CFG_ACTIVITY_LED))
+				set32(HW_GPIO_OUT, 1
 
  • Like
Reactions: 5 people
I wrote a basic patch that should work around the HDD sleep issues many people seem to be having. I don't have a drive that's affected by it, so I can't verify 100% that this fixes the problem, but it does seem to do what it's supposed to do.

Basically, if a DI read command hasn't been issued in the past 10 seconds, it forces a read of a few sectors. That way, the HDD will stay active.

The patch is included here, and it applies to DIOS MIOS 2.1.
Code:
diff --git a/dip.c b/dip.c
index bfbfb78..ca84c67 100644
--- a/dip.c
+++ b/dip.c
@@ -51,7 +51,10 @@ u32 DIUpdateRegisters( void )
static u32 PatchState	= 0;
static u32 DOLReadSize	= 0;
static u32 PSOHack		= 0;
-	
+
+	// If set, the game disc was read during this register update.
+	u32 disc_read = 0;
+
if( read32(DI_CONTROL) != 0xdeadbeef )
{
write32( DI_SCONTROL, read32(DI_CONTROL) & 3 );
@@ -107,7 +110,10 @@ u32 DIUpdateRegisters( void )
case 0xA9:
//dbgprintf("DIP:Async!\n");
case 0xA8:
-				{					
+				{
+					// Read the game disc.
+					disc_read = 1;
+
u32 Buffer	= P2C(read32(DI_SDMA_ADR));
u32 Length	= read32(DI_SCMD_2);
u32 Offset	= read32(DI_SCMD_1) = HDD_IDLE_TIMER) {
+			// Disc timer has passed ~10 seconds.
+			char tmp[4];
+
+			if (ConfigGetConfig(DML_CFG_ACTIVITY_LED))
+				set32(HW_GPIO_OUT, 1
 
Midway Arcade Treasures 3 Ntsc on Ntsc Wii 1:1 rip tested and working great with DM 2.0 updates 4
DM 2.0 update 5 & DM 2.1 results in black screen only, and yes I have a disc in the drive. something changed has broken compatibility with this game

It's working for me on update 5 with a disc in, is it black screening at boot or when you select a game? also Ntsc/Ntsc.

on DM2.0 update5 it will load past the nintendo screen almost to start up screen then shuts my wii off..
DM 2.1 Black screen as soon as i select to load the game.
 
Has anyone experienced a game crash(or just stays on the dios mios splash screen) on dm version 2.1 with these following games
Luigis Mansion (ntsc-u)
Sonic Heroes (ntsc-u)
Tony Hawk Underground (ntsc-u)
Tony Hawk Underground 2 (ntsc-u)

The following games were working perfect on dm 2.0 update 5
 
dm 2.0.5 Wario World gave me an error has occured while playing. Went to same spot didnt happen again. Played for a while and didnt happen again. Hope it was a random fluke. Positive its not spindown. HDD is WD with spindown disabled.
 
has usbloader gx been updated for 2.1 yet?
not yet. sorry.

But Cyan said it won't work with GX right now. Guess I'll have to try with dml booter
All I was saying is that I think the only reason it "doesn't work" is because it confuses the NoDisk and Widescreen settings. Otherwise it should work fine.
It "should" (I didn't try yet) work because DM has a config version detection problem and allow old configs.
I suppose that if it worked fine, It would disable all your configs if you are using a newer version than the loader was designed for.

So, currently you can install 2.1 and use the NODISC as Widescreen option.
 
yes 2.1 works with latest gx. Can confirm luigi's mansion freezes at nintendo logo. Nightfire plays, but PSO does not.
 

Site & Scene News

Popular threads in this forum