https://bugs.dolphin-emu.org/https://bugs.dolphin-emu.org/favicon.ico?12020-01-14T01:49:44ZDolphin bug trackerEmulator - Emulator Issues #11952: Regression in launching Gamecube games from Wii Menuhttps://bugs.dolphin-emu.org/issues/11952?journal_id=7384182020-01-14T01:49:44ZJMC4789JMC4789@gmail.com
<ul></ul><p>Sounds like MIOS isn't working. It patches certain games that would crash on a Wii vs GC. Is your Wind Waker modified in any way, such as being off region for the System Menu?</p>
Emulator - Emulator Issues #11952: Regression in launching Gamecube games from Wii Menuhttps://bugs.dolphin-emu.org/issues/11952?journal_id=7384192020-01-14T01:57:52ZMiksel12
<ul></ul><p>This is caused by <a href="https://github.com/dolphin-emu/dolphin/pull/8394" class="external">https://github.com/dolphin-emu/dolphin/pull/8394</a><br>
All the gamecube titles I tested crash Dolphin when run via MIOS.</p>
Emulator - Emulator Issues #11952: Regression in launching Gamecube games from Wii Menuhttps://bugs.dolphin-emu.org/issues/11952?journal_id=7384202020-01-14T02:14:35Zunzipped
<ul></ul><p>JMC4789 wrote:</p>
<blockquote>
<p>Sounds like MIOS isn't working. It patches certain games that would crash on a Wii vs GC. Is your Wind Waker modified in any way, such as being off region for the System Menu?</p>
</blockquote>
<p>No, this is the original US iso (the hash indicates it's a correct dump), and running on a fresh 4.3U System Menu install.</p>
<p>Miksel12 wrote:</p>
<blockquote>
<p>This is caused by <a href="https://github.com/dolphin-emu/dolphin/pull/8394" class="external">https://github.com/dolphin-emu/dolphin/pull/8394</a><br>
All the gamecube titles I tested crash Dolphin when run via MIOS.</p>
</blockquote>
<p>5.0-3297 works yet 3301 doesn't so this is probably another issue. I do have some games like melee that launch correctly even on the latest build, but WW and Super Mario Strikers fail (though Strikers issue is maybe unrelated to the change in 3301?)</p>
Emulator - Emulator Issues #11952: Regression in launching Gamecube games from Wii Menuhttps://bugs.dolphin-emu.org/issues/11952?journal_id=7384212020-01-14T03:48:20ZJMC4789JMC4789@gmail.com
<ul></ul><p>Some games still work for me? It's just not the games that get patched.</p>
<p>All DTK games use some kind of patch and a lot of first party games also seem some patches.</p>
Emulator - Emulator Issues #11952: Regression in launching Gamecube games from Wii Menuhttps://bugs.dolphin-emu.org/issues/11952?journal_id=7384222020-01-14T03:50:32ZJMC4789JMC4789@gmail.com
<ul></ul><p>5.0-3301 does sound like it could break something like this - <a href="https://dolphin-emu.org/download/dev/9d070a5df79a7f34dc4936855da36a333803fa12/" class="external">https://dolphin-emu.org/download/dev/9d070a5df79a7f34dc4936855da36a333803fa12/</a></p>
Emulator - Emulator Issues #11952: Regression in launching Gamecube games from Wii Menuhttps://bugs.dolphin-emu.org/issues/11952?journal_id=7384232020-01-14T10:18:10ZJosJuice
<ul><li><strong>Milestone</strong> set to <i>Current</i></li><li><strong>Regression</strong> changed from <i>No</i> to <i>Yes</i></li><li><strong>Regression start</strong> set to <i>5.0-3301</i></li></ul> Emulator - Emulator Issues #11952: Regression in launching Gamecube games from Wii Menuhttps://bugs.dolphin-emu.org/issues/11952?journal_id=7384242020-01-14T12:51:46Zunzipped
<ul></ul><p>I may be wrong, but the issue seems to stem from the patch @ Gecko::ENTRY_POINT (0x1800 + 0xA8) in PatchFixedFunctions. MIOS installs a hook at this location. On previous versions this wasn't a big deal because the MIOS hook was installed then not touched again, but since this version, this patch is applied after MIOS was run and overwrite its hook, as the call to UpdateRunningGame in MIOS.cpp cause the patches to be applied again.</p>
Emulator - Emulator Issues #11952: Regression in launching Gamecube games from Wii Menuhttps://bugs.dolphin-emu.org/issues/11952?journal_id=7384252020-01-14T18:03:26Zleoetlino
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Accepted</i></li></ul> Emulator - Emulator Issues #11952: Regression in launching Gamecube games from Wii Menuhttps://bugs.dolphin-emu.org/issues/11952?journal_id=7385142020-02-04T02:24:38Zpokechu22
<ul></ul><p>I was able to reproduce this issue by editing the header of Paper Mario TTYD to GZLE01 and then launching it via the system menu.</p>
<p>MIOS does one set of patches (which all involve copying functions to 80001800, 80001840, 80001940, and 80002200, plus some game patch stuff) for <a href="https://wiki.dolphin-emu.org/index.php?title=The_Legend_of_Zelda:_The_Wind_Waker" class="external">GZL</a>/<a href="https://wiki.dolphin-emu.org/index.php?title=Smuggler%27s_Run:_Warzones" class="external">GSR</a>/<a href="https://wiki.dolphin-emu.org/index.php?title=The_Legend_of_Zelda:_Collector%27s_Edition" class="external">PZL</a>, and another set for <a href="https://wiki.dolphin-emu.org/index.php?title=Tony_Hawk%27s_Pro_Skater_3" class="external">GT3P/GT3F/GT3D</a>. It also has distinct patches for each of <a href="https://wiki.dolphin-emu.org/index.php?title=Pok%C3%A9mon_Colosseum" class="external">GC6J/GC6E/GC6P</a>, and for <a href="https://wiki.dolphin-emu.org/index.php?title=Phantasy_Star_Online_Episode_I_%26_II_Plus" class="external">GPOJ v5</a>; all of these patch the game and also copy a function to 80002200. There's also some strict-looking checks made on <a href="https://wiki.dolphin-emu.org/index.php?title=GNHE5d" class="external">GNHE</a>, but I can't quite tell how they work. (For the record, as was mentioned in IRC, MIOS does not do any patching for DTK; the system menu just enables DTK more or less normally.)</p>
<p>I only experienced crashes when using GZLE or GT3P, and didn't experience any for GC6E or GPOJ. I did get a unknown GFX fifo unknown opcode warning with GC6E, but I suspect that's just a side effect of patching the wrong game.</p>
<p>The responsible patch does seem to be the one at <code>Gecko::ENTRY_POINT</code> (800018A8), as commenting out that patch stops the crash. The patch modifies 80001800 to be D01F1BAD which decodes to <code>stfs f0,0x1BAE(r31)</code>, instead of the original 9421FFD8 <code>stwu sp, -0x0028(sp)</code>, and that seems to be the source of the issue, but I don't fully understand what's going on or how that should be fixed.</p>
Emulator - Emulator Issues #11952: Regression in launching Gamecube games from Wii Menuhttps://bugs.dolphin-emu.org/issues/11952?journal_id=7416312021-04-22T20:02:19Zleoetlino
<ul><li><strong>Status</strong> changed from <i>Accepted</i> to <i>Fix pending</i></li></ul><p><a href="https://github.com/dolphin-emu/dolphin/pull/9663" class="external">https://github.com/dolphin-emu/dolphin/pull/9663</a></p>
Emulator - Emulator Issues #11952: Regression in launching Gamecube games from Wii Menuhttps://bugs.dolphin-emu.org/issues/11952?journal_id=7416342021-04-23T19:16:34ZJosJuice
<ul><li><strong>Status</strong> changed from <i>Fix pending</i> to <i>Fixed</i></li><li><strong>Fixed in</strong> set to <i>5.0-14037</i></li></ul><p><a href="https://dolphin-emu.org/download/dev/f0bd6b105f474a3c249b8e11f752f4bbffbb64ee/" class="external">https://dolphin-emu.org/download/dev/f0bd6b105f474a3c249b8e11f752f4bbffbb64ee/</a></p>