Language…
9 users online:  bebn legg, bradcomp, DaveStateGaming, GRIMMKIN,  idol, Metal-Yoshi94,  Sayuri,  Shoujo, signature_steve - Guests: 320 - Bots: 476
Users: 64,795 (2,372 active)
Latest user: mathew

[Resolved] Star Model RAM and ROM offsets?

Hi,

I am currently New to SM64 hacking. I wanted to find out what the ram and ROM offsets for the Power Star were. as I couldn't for the love of me find anything. I wanted to change it to the Power Moon from Odyssey, as I have an N64 model of that. Please tell me the RAM and ROM map offsets.

Thanks,
Doge
I'm also new to sm64 hacking but in the documents section of the site I found these notes Here go into sm64geolayoutsptrs.txt
and look for "star", add the offset to the initial address and convert them into hex sinc they're in decimal
Hey,
so this may be a stupid question but
which numbers are the offset and initial address?
Originally posted by TheDogeRealm
I wanted to find out what the ram and ROM offsets for the Power Star were. as I couldn't for the love of me find anything. I wanted to change it to the Power Moon from Odyssey, as I have an N64 model of that. Please tell me the RAM and ROM map offsets.

Changing the star model may be a little tricky. The geo layout for it is in segmented address 0x16000EA0 (segment 0x16 is geo layout at ROM offset 0x218DA0) which loads two display lists 0x0302B870 and 0x0302BA18 which when rendered look like the following two:


The tricky part is that there is ASM code that toggles between the yellow star and already obtained translucent blue star geo layouts. I haven't gone through it all, but the code checks if the star is already obtained in the save data and switches the objects geo layout address (object offset 0x14) to either offset 0x1e4 or 0x1e8 of the loaded geo layouts table (0x8032ddc4). I'm not sure if anyone has tools to assist with this.
hey, I'm using SM64 Editor to import models. Is there a way to use these Addresses?
Originally posted by TheDogeRealm
Hi,

I am currently New to SM64 hacking. I wanted to find out what the ram and ROM offsets for the Power Star were. as I couldn't for the love of me find anything. I wanted to change it to the Power Moon from Odyssey, as I have an N64 model of that. Please tell me the RAM and ROM map offsets.

Thanks,
Doge

Yes, I actually was trying to figure it out myself today. It just so happens I was trying to use the EXACT same model as you, in the same program (SM64 Editor) :)
Here you go:



Import ROM Offset - 120364C
Import RAM Offset - 8040364C
Add Pointers - 00219C5C, 00219C64

EDIT: Thought I should mention that this ISN'T mine, it was made by a friend of mine known as bacon.
Hey,
Thanks so much! it worked perfectly!
it works for me for the yellow star but later when I grab it the normal star of the mario 64 but the transparent one