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
  • Pages:
  • 1
[OoT debug] HUD offsets in ROM (WIP)
Topic Started: Jun 5 2016, 10:27 AM (2,208 Views)
Ideka
Member Avatar

Working on locating the HUD assets' offsets in ROM, since apparently no one else has released any public documentation on the subject before:

Code: HUD offsets in ROM
 
0xB8889E - A button and action text y position (2 bytes)
0xB880A6 - A button and action text x position (2 bytes)
0xB888AB - A button scale (1 byte?)
0xB888C6 - Action text scale? (2 bytes)
0xB880AB - A button G color (1 byte)
0xB880BF - A button B color (1 byte)

Documentation by ChriisTiian:

ChriisTiian
 
Uhh... First addr is RAM Offset, Second addr is ROM Offset:

80110EE4 B88086 ; B Button / B Button Icon X Coordinate
80111584 B88726 ; B Button Y Coordinate
801115FC B8879E ; B Button Icon Y Coordinate
801115A4 B88746 ; B Button Scale
80110EF8 B8809A ; B Button Ammo X Coordinate
80111DF8 B88F9A ; B Button Ammo Y Coordinate
801115A4 B88746 ; B Button Scale

80110F04 B880A6 ; A Button / A Button Text X Coordinate
801116FC B8889E ; A Button / A Button Text Y Coordinate
80111708 B888AA ; A Button Scale
B88277 ; A Button Spin Velocity

8008AB54 B01CF6 ; Rupee X Coordinate
8008AB50 B01CF2 ; Rupee Y Coordinate
8008ADDC B01F7E ; Rupee Amount X Coordinate
8008AFC4 B02166 ; Rupee Amount Y Coordinate
8008AB0C B01CAE ; Rupee Color (Red, Green)
8008AB14 B01CB6; Rupee Color (Blue)

B00322 ; Pause Menu Button (Red, Green)
B00326 ; Pause Menu Button (Blue)


Found recently:
ROM: B88277 0x0003 ; A Button Spin Velocity
ROM: B88D16 0x0097 ; "Stop" Text (Ocarina) X Coordinate
ROM; B00322 & B00326 ; Pause Menu Button Colours
Lots more:

Hearts Stuffs:
AF0CEC ; Hearts In First Row
AEFD42 ; Beating Normal Heart Red Value
AEFD6A ; Beating Normal Heart Green Value
AEFD82 ; Beating Normal Heart Blue Value
AEFDDE ; Beating Normal Heart Outline Red Value
AEFE0A ; Beating Normal Heart Outline Green Value
AEFE26 ; Beating Normal Heart Outline Blue Value
AEFED2 ; Beating Double Defense Outline Red Value
AEFF12 ; Beating Double Defense Outline Green Value
AEFF16 ; Beating Double Defense Outline Blue Value

Mini-Map Stuffs:
B88F71 ; Store Red Value
B88F7A ; Store Green Value
B88F82 ; Store Blue Value
B8828A ; Green & Blue

Magic Bar Stuffs:
B88512 ; Green Color Normal
B889BE ; Border X Coordinate

Note: This hearts colors works in any place...
and more...

B880AA ; A Button Green Value
B880BE ; A Button Blue Value
B888C6 ; A Button Text X Scale
B88256 ; A Button Text Y Scale

B8808A ; B Button Red Value
B88096 ; B Button Green Value / B Button Blue Value

B8828A ; C Button Red Value
B88636 ; C Button Green Value
Edited by Ideka, Jun 8 2016, 02:10 PM.
Offline Profile Quote Post Goto Top
 
SanguinettiMods

http://sanguinettimods.decisive-media.net/zeldamod/OoT_Interface_ASM.txt
Offline Profile Quote Post Goto Top
 
Dzeko
Member Avatar

SanguinettiMods this is not the same thing, Ideka gives offsets and then we can go to the offset into the rom with a Hex editor.
Edited by Dzeko, Jun 5 2016, 03:09 PM.
Offline Profile Quote Post Goto Top
 
Ideka
Member Avatar

No, what Sanguinetti posted will be very useful to me. It'll save me a ton of work.
Offline Profile Quote Post Goto Top
 
Dzeko
Member Avatar

Oh sorry I shouldn't have to talk too early. ^^
Offline Profile Quote Post Goto Top
 
mzxrules

If there are things missing, this could come in handy as well: http://wiki.cloudmodding.com/oot/Cheat:Interface
Edited by mzxrules, Jun 5 2016, 03:33 PM.
Offline Profile Quote Post Goto Top
 
Garo-Mastah
Member Avatar
$99 Ninja Spy From Ikana
mzxrules
Jun 5 2016, 03:31 PM
If there are things missing, this could come in handy as well: http://wiki.cloudmodding.com/oot/Cheat:Interface
they are cheat codes mzxrules
ideka, which are the b Button offsets please?
Edited by Garo-Mastah, Jun 6 2016, 03:10 AM.
Offline Profile Quote Post Goto Top
 
CloudMax
Member Avatar
Nobody special
Garo-Mastah
Jun 5 2016, 08:52 PM
they are cheat codes mzxrules


mzxrules is very well aware that they're cheatcodes. He knows ASM hacking perfectly well.

By using gameshark codes, you can relatively easy locate where everything you need is in the actual ROM. (since the ROM address you want to modify is what eventually sets the address that is modified by the gameshark code, you just need to work backwards)

Ideka, I have a lot of notes of the UI rendering functions, I'll be sending it over later.
Edited by CloudMax, Jun 6 2016, 06:15 AM.
Offline Profile Quote Post Goto Top
 
Garo-Mastah
Member Avatar
$99 Ninja Spy From Ikana
Ideka, hey i found it, i found it
a interesting quest about the B button

B button X coord
0xB88087 A0 default, change to A7 for relocate the button into a MM style button if its Y coord is 11

and A button X coord
0xB880A7 change to BE

and, the last
0xB88D16 "Stop" Text (Ocarina) X Coordinate
change 97 by 9D

and voila
MM hud replica
Edited by Garo-Mastah, Jun 7 2016, 04:47 AM.
Offline Profile Quote Post Goto Top
 
ChriisTiian
Member Avatar
Estoy seguro que esto serĂ¡ traducido... =P
Uhh... First addr is RAM Offset, Second addr is ROM Offset:

80110EE4 B88086 ; B Button / B Button Icon X Coordinate
80111584 B88726 ; B Button Y Coordinate
801115FC B8879E ; B Button Icon Y Coordinate
801115A4 B88746 ; B Button Scale
80110EF8 B8809A ; B Button Ammo X Coordinate
80111DF8 B88F9A ; B Button Ammo Y Coordinate
801115A4 B88746 ; B Button Scale

80110F04 B880A6 ; A Button / A Button Text X Coordinate
801116FC B8889E ; A Button / A Button Text Y Coordinate
80111708 B888AA ; A Button Scale
B88277 ; A Button Spin Velocity

8008AB54 B01CF6 ; Rupee X Coordinate
8008AB50 B01CF2 ; Rupee Y Coordinate
8008ADDC B01F7E ; Rupee Amount X Coordinate
8008AFC4 B02166 ; Rupee Amount Y Coordinate
8008AB0C B01CAE ; Rupee Color (Red, Green)
8008AB14 B01CB6; Rupee Color (Blue)

B00322 ; Pause Menu Button (Red, Green)
B00326 ; Pause Menu Button (Blue)


Found recently:
ROM: B88277 0x0003 ; A Button Spin Velocity
ROM: B88D16 0x0097 ; "Stop" Text (Ocarina) X Coordinate
ROM; B00322 & B00326 ; Pause Menu Button Colours
Edited by ChriisTiian, Jun 7 2016, 03:20 AM.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Documentation · Next Topic »
Add Reply
  • Pages:
  • 1