Kuribo64
Views: 9,937,057 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
09-17-19 09:07 PM
Guest:

0 users reading Getting a Sign to read the right Text (Help) | 1 bot

Main - General SM64DS hacking - Getting a Sign to read the right Text (Help) New reply


TheHappyFaceKing
Posted on 05-28-16 05:26 PM Link | #71122
How do I get a Sign to Read the right Text?

I know the Text Id is in the Sign's first Param, but I don't get what I have to put in this Param to get a Sign to read the right Text?

Example:
A sign with a Param 1 saying (B26) directs it to Text ID (014E) but I don't understand how.


Arisotura
Posted on 05-28-16 05:27 PM Link | #71124
neither do I -- I never figured out how message IDs were mapped. Guess directly using a message ID was too simple for Nintendo, they had to run it through a few tables.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

tinks

TheHappyFaceKing
Posted on 05-28-16 05:36 PM (rev. 4 of 05-28-16 07:06 PM) Link | #71126
The only info I have is this. but I don't know what it mean's?
Message
0000, FFFF - 0000
000F - 000F
0071 - 0011
06D7 - 0059

EDIT: Here's some more info that may help us find this out:

The Toad that's in the room where the Painting for Jolly Rodger bay is has his Param 1 say AF1 that directs to Text ID 00F1 so the A in the Param may not matter.

I'm going to do a test with giving like 20 sign's random Param's I will write
down the Result after.


TheHappyFaceKing
Posted on 05-28-16 07:31 PM (rev. 2 of 05-28-16 07:32 PM) Link | #71142
I Figured it out :D

Result:
3F0 = 0032
3F1 = 0033
3F3 = 0035
400 = 0042


Fiachra
Posted on 05-29-16 06:07 AM Link | #71175
The method responsible for mapping the parameter 1 value to the message ID is 0x0201FC10. To use:
symbols.x:
ObjectMessageIDToActualMessageID = 0x0201FC10;
SM64DS.h:
unsigned short int ObjectMessageIDToActualMessageID(
unsigned short int object_message_id
);

If you would like to be able to set parameter 1 to the actual message ID and skip the mapping you can use:
void nsub_0201FC10()
{
return;
}


Main - General SM64DS hacking - Getting a Sign to read the right Text (Help) New reply

Page rendered in 0.021 seconds. (2048KB of memory used)
MySQL - queries: 28, rows: 204/204, time: 0.016 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.