Welcome Guest [Log In] [Register]

Announcements

Welcome to Zelda64.net. Announcements can be found below!

6.26.2018  Make sure you keep your passwords safe. If you use the same password on here as on other sites, it is highly recommended that you change it. If you can't change your password, and want it changed, let me or other active staff know, and we can force a reset or change it for you. ~PwnzLPs
Welcome to Zelda64. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. A valid email address is required. Your email address will NOT be sold as it is only needed to prevent spammers (and admittedly, some still get around this, but this makes it a bit more difficult, plus, if the moderators need to contact you, we have an email on file to do so). Thanks for considering us!


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
[MM] Piece of heart sequence numbers?
Topic Started: Mar 25 2016, 10:32 AM (851 Views)
aroenai
Member Avatar
Sentient Hunk of Green Cheese
Does anyone know what the sequence numbers are for the "got a piece of heart" and "completed heart container" music in MM? I'm pretty sure I've found the section of code that determines what text to display at 0xBE7408 in 1.0 U decompressed (text id's C5, C6, and C7 are 2nd, 3rd, and 4th piece respectively). If the sound id's in the text are any indication (if you compare NTSC and PAL English scripts, some of the numbers were transposed ie. 68 93 -> 69 83 ), I'm guessing someone made a typo on the sequence id during translation as well so it mistakenly plays the same sequence for collecting the 4th piece of heart.

http://wiki.cloudmodding.com/oot/Audioseq

https://tcrf.net/The_Legend_of_Zelda:_Majora's_Mask/Program_revision_differences
"When you collect your fourth Piece of Heart which extends your life meter, the Japanese versions plays a different sound effect. This matches Ocarina of Time which also does this, but was strangely changed in the American version so it always plays the same music."
Offline Profile Quote Post Goto Top
 
Garo-Mastah
Member Avatar
$99 Ninja Spy From Ikana
use Scroll of Majora, maybe works Download here
Edited by Garo-Mastah, Mar 25 2016, 09:47 PM.
Offline Profile Quote Post Goto Top
 
aroenai
Member Avatar
Sentient Hunk of Green Cheese
The piece of heart music is not part of the text. It plays the sequence using ASM under code.zasm

Edit: Ok, now I know that offset was completely wrong, and the sequence numbers are 0x39 (get piece of heart) and 0x24 (complete heart container, which is only called in the Japanese version). In USA 1.0 the gameshark code to modify the sequence played is 801FD3AD 00xx, so I need to find where 0x39 is written to 801FD3AD for the heart container music sequence for 4/4 hearts so it can be changed to 0x24.
Edited by aroenai, Mar 28 2016, 01:27 PM.
Offline Profile Quote Post Goto Top
 
Garo-Mastah
Member Avatar
$99 Ninja Spy From Ikana
ok, but you know which is the ROM address for 801FD3AD GS code?
I have also sought
Offline Profile Quote Post Goto Top
 
fkualol

Not sure if you found out what to change already or not but I'm posting this in case anyone else is interested.

In MM (J) the heart piece value gets set to 0 once you close the text box, while in MM (U) it gets set to 0 right after 4 is written to it. The game then checks if the heart piece value is 4 and sets the music sequence to 0x24 if it is, otherwise it'll use sequence 0x39. Luckily the code that sets it to 0 when the text box closes is still in the game, so you can "fix" this by changing a branch instruction.


81112F88 1000 <-- Changes BNE V1, T8, 0x80112FB0 to BEQ R0, R0, 0x80112FB0 (Stops heart piece value from getting 0'd immediately)


Edit: Another way of fixing this is by changing an LUI instruction.

81765866 0000 <-- Changes LUI AT, 0x4000 to LUI AT, 0x0000 (Sets the music sequence to 0x24 if heart piece value is 0)
Edited by fkualol, May 10 2016, 01:34 AM.
Offline Profile Quote Post Goto Top
 
aroenai
Member Avatar
Sentient Hunk of Green Cheese
Sweet!

Here are the rom addresses for the lazy, but basically you can find it if you search for "14 78 00 09" and change it to "10 00 00 09":

MM USA - 0xBA94C8

MM GC USA 0xBB7FF8

MM GC PAL 0xD05EB4


Hey fkualol, you wouldn't happen to know what happens on the GC rom's credits do you? I think they're setting the volume to 0% and streaming audio from the disc (much like how OoT does for the credits with a video; but MM's can change based on what masks you get). The credits go completely silent for the GC roms on real n64's and emulators once you get to the Zora band scene.
Offline Profile Quote Post Goto Top
 
Garo-Mastah
Member Avatar
$99 Ninja Spy From Ikana
ok :D

but, you know how to reinsert the Golden Gauntlets Rock actor from thejapanese version for MM 1.0 U rom?, please?
Edited by Garo-Mastah, May 10 2016, 02:40 AM.
Offline Profile Quote Post Goto Top
 
fkualol

aroenai
May 10 2016, 01:53 AM
Hey fkualol, you wouldn't happen to know what happens on the GC rom's credits do you? I think they're setting the volume to 0% and streaming audio from the disc (much like how OoT does for the credits with a video; but MM's can change based on what masks you get). The credits go completely silent for the GC roms on real n64's and emulators once you get to the Zora band scene.
Every time you enter a new scene the game checks if you entered demo 02 of the Milk Bar scene, and mutes the song if so. This can be fixed by changing a branch at 8016B708.

MM (U) GC:

8116B708 1000 <-- Changes BNE T2, AT, 0x8016B728 to BEQ R0, R0, 0x8016B728


@Garo-Mastah You can't, unless you do a ton of reverse engineering.
Offline Profile Quote Post Goto Top
 
Garo-Mastah
Member Avatar
$99 Ninja Spy From Ikana
fkualol
May 10 2016, 05:40 AM
@Garo-Mastah You can't, unless you do a ton of reverse engineering.
@ fkualol ok DX
but, hey you know the item effects offsets of each item and also, the magic cost for Links spin attack and FD sword beam & Fire, ice and Light arrows offsets, and the heart damage health offsets?
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
ZetaBoards - Free Forum Hosting
Create your own social network with a free forum.
Learn More · Sign-up Now
« Previous Topic · Questions · Next Topic »
Add Reply