Why are cheats way more unstable on GameCube hardware?

Game Hacks, Trainers, Cheats

Moderator: Ralf@gc-forever

Post Reply
WindowsXPCat2008
Posts: 1
Joined: Fri Feb 01, 2019 12:38 am

Why are cheats way more unstable on GameCube hardware?

Post by WindowsXPCat2008 » Fri Feb 01, 2019 12:54 am

It seems that in emulators such as Dolphin, cheats are way more stable. On real GameCube hardware, it sometimes crashes. Example: exits out of bounds area in mario sunshine on an emulator (works ok) exits out of bounds area in mario sunshine on a wii (crashes) (Yes, the Wii is considered GameCube hardware because it doesn't emulate games. That would be next to impossible to emulate with good results with the horsepower of the Wii.) So why does this happen? Just curious :P
User avatar
emu_kidid
Site Admin
Posts: 4927
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: Why are cheats way more unstable on GameCube hardware?

Post by emu_kidid » Fri Feb 01, 2019 5:18 am

It happens because of inaccuracies in dolphin that can permit say invalid memory accesses to continue whereas on real hardware it will crash. Dolphin can also apply cheats without requiring the game to change its execution whereas real hardware will need an in memory hook to call upon a custom code handler at basically every frame, this can cause oddities and instabilities as now the game is executing additional code beyond what is expected.

Although specifically with Mario Sunshine there's a crash that can occur on real hardware I believe if you manage to angle the camera at a certain location in a certain level, maybe you were just unlucky and stumbled across that.
Image
novenary
Posts: 1754
Joined: Mon Dec 30, 2013 7:50 am

Re: Why are cheats way more unstable on GameCube hardware?

Post by novenary » Fri Feb 01, 2019 10:04 am

emu_kidid wrote:
Fri Feb 01, 2019 5:18 am
Dolphin can also apply cheats without requiring the game to change its execution whereas real hardware will need an in memory hook to call upon a custom code handler at basically every frame
Dolphin actually installs a code handler as far as I know.
User avatar
emu_kidid
Site Admin
Posts: 4927
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: Why are cheats way more unstable on GameCube hardware?

Post by emu_kidid » Fri Feb 01, 2019 10:20 am

That's lame
Image
User avatar
Aleron Ives
Posts: 90
Joined: Thu Oct 13, 2016 3:56 am
Location: California

Re: Why are cheats way more unstable on GameCube hardware?

Post by Aleron Ives » Fri Feb 01, 2019 11:41 am

Honestly, most people have the opposite experience. Dolphin's codehandler doesn't behave the same as a real AR codehandler, so many codes that work fine on real hardware will crash Dolphin or behave incorrectly.
novenary
Posts: 1754
Joined: Mon Dec 30, 2013 7:50 am

Re: Why are cheats way more unstable on GameCube hardware?

Post by novenary » Fri Feb 01, 2019 7:12 pm

There's also the problem of codes relying on specific dcache behavior which can't work in Dolphin.
Post Reply