ROM Hack [REQUEST. Sorta] Does a SM64DS infinite underwater breathing hack/cheat exist?

Zense

Well-Known Member
OP
Member
Joined
Apr 20, 2008
Messages
1,977
Trophies
2
XP
4,326
Country
Italy
So, I was gonna recommend Super Mario 64 DS to someone who's not familiar with 3D games and I figured a nice hack/cheat for them to use would be to not have limited time underwater. I realise it might be difficult to make since the air meter is connected to your life meter so you might end up becoming invincible, which makes it too easy again.

I've already checked the cheat database you can download with twilightmenu++ and romhacking.net.
 

Zense

Well-Known Member
OP
Member
Joined
Apr 20, 2008
Messages
1,977
Trophies
2
XP
4,326
Country
Italy
SO since I never got any feedback I think it's a good opportunity to try and learn how to make cheats. Would anyone have any pointers on how to do this?
 
  • Like
Reactions: IncredulousP

Ryccardo

Penguin accelerator
Member
Joined
Feb 13, 2015
Messages
7,696
Trophies
1
Age
28
Location
Imola
XP
6,923
Country
Italy
If you're fine with immediately and continously getting max health while in water (kinda like the original game, heh?) you could add a condition to the max health code - the challenge of course will be finding an appropriate condition (if you play the N64 version with debug display enabled you can see your current "action number" and some apply to swimming, but it's no guarantee they will be the same on the DS version)

Another option is completely removing the health penalty while underwater by removing the appropriate code from the game (technically possible with codes since DS games don't run directly from rom, but added complexity and other limitations...)
Again the hard part, without a fully commented disassembly already made and posted to github, will be identifying the code that does that...

(An educational video about how it is implemented on N64, knowing the address of the health value from the existing max health code, assuming it still works on to-be-added and to-be-removed variables like the original version [is there a "don't take damage" cheat separate from the max health one?] and the values involved, and an emulator or equivalent with memory read/write breakpoints and cheat search - those things will probably be enough to find a solution but it won't be trivial especially for the beginner :(
 

Zense

Well-Known Member
OP
Member
Joined
Apr 20, 2008
Messages
1,977
Trophies
2
XP
4,326
Country
Italy
If you're fine with immediately and continously getting max health while in water (kinda like the original game, heh?) you could add a condition to the max health code - the challenge of course will be finding an appropriate condition (if you play the N64 version with debug display enabled you can see your current "action number" and some apply to swimming, but it's no guarantee they will be the same on the DS version)

Another option is completely removing the health penalty while underwater by removing the appropriate code from the game (technically possible with codes since DS games don't run directly from rom, but added complexity and other limitations...)
Again the hard part, without a fully commented disassembly already made and posted to github, will be identifying the code that does that...

(An educational video about how it is implemented on N64, knowing the address of the health value from the existing max health code, assuming it still works on to-be-added and to-be-removed variables like the original version [is there a "don't take damage" cheat separate from the max health one?] and the values involved, and an emulator or equivalent with memory read/write breakpoints and cheat search - those things will probably be enough to find a solution but it won't be trivial especially for the beginner :(
Thanks! Yeah, I figure it might be difficult since I read some posts about it long ago and the problem seemed to be not becoming invincible at the same time.

I saw the cheats in twilightmenu ++ and one is max health and one is invincibility I believe.

So, I'd need to get a ds emulator with a debugger?
 

Ryccardo

Penguin accelerator
Member
Joined
Feb 13, 2015
Messages
7,696
Trophies
1
Age
28
Location
Imola
XP
6,923
Country
Italy
I saw the cheats in twilightmenu ++ and one is max health and one is invincibility I believe.
Haven't seen the codes but I don't think the invincibility one counts (probably just disables collision with enemies or something), but if it blocks the reduce-health variable all is good...

So, I'd need to get a ds emulator with a debugger?
Yep and I can't really recommend you one (No$gba is the obvious one but the UI is sometimes not too easy to understand), there's even the Trainer Toolkit if you want to use a real consumer DS/Lite but probably very hard to find and requiring xp/vista
 
  • Like
Reactions: Zense

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    +1
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87... +1