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
  • 2
[OoT debug] HUD offsets in ROM (WIP)
Topic Started: Jun 5 2016, 10:27 AM (2,207 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
 
Replies:
Garo-Mastah
Member Avatar
$99 Ninja Spy From Ikana
ChriisTiian
Jun 7 2016, 03:15 AM
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
thanks ChriisTiian
i´ll put ypu in the credits of my MM hud patches
all my respects
Offline Profile Quote Post Goto Top
 
ChriisTiian
Member Avatar
Estoy seguro que esto será traducido... =P
Garo-Mastah
Jun 7 2016, 04:01 AM

thanks ChriisTiian
i´ll put ypu in the credits of my MM hud patches
all my respects
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...
Edited by ChriisTiian, Jun 7 2016, 04:15 AM.
Offline Profile Quote Post Goto Top
 
AriaHiro
Member Avatar
A mentally drained friend
im gonna use this right away. thanks a million
Offline Profile Quote Post Goto Top
 
Ideka
Member Avatar

Well, there you have it all. Why did you not share this before, ChriisTiian?
Offline Profile Quote Post Goto Top
 
ChriisTiian
Member Avatar
Estoy seguro que esto será traducido... =P
Ideka
Jun 7 2016, 08:39 AM
Well, there you have it all. Why did you not share this before, ChriisTiian?
Because i'm not modding OoT anymore... only sometimes...
Offline Profile Quote Post Goto Top
 
Ideka
Member Avatar

I see. Would you like me to add your documentation to the main post?
Offline Profile Quote Post Goto Top
 
AriaHiro
Member Avatar
A mentally drained friend
all i need is the c buttons
Offline Profile Quote Post Goto Top
 
ChriisTiian
Member Avatar
Estoy seguro que esto será traducido... =P
Ideka
Jun 7 2016, 02:31 PM
I see. Would you like me to add your documentation to the main post?
Sure...

@AriaHiro 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 ChriisTiian, Jun 7 2016, 09:50 PM.
Offline Profile Quote Post Goto Top
 
AriaHiro
Member Avatar
A mentally drained friend
b884e2 is navi text x 2bytes
b886c6 is c up icon x 2 bytes
b889be is magic contents x 2 bytes
b889b3 is magic meter y
b8829c is c over y
b88733 is c down button y
b887ab is c down icon y
b888c7 is a button x
b8829a forget
b8823b is navi y
b88257 is c up y
this presents a problem, some values are shared. :\
Edited by AriaHiro, Jun 10 2016, 01:29 AM.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Documentation · Next Topic »
Add Reply
  • Pages:
  • 1
  • 2