Page 1 of 1

How do i edit the header

Posted: Mon Oct 05, 2015 3:14 am
by orlanrod
How do i edit the game's header, so it displays the message i want on startup, rather than the Sega copyright stuff?

Thanks.

Re: How do i edit the header

Posted: Mon Oct 05, 2015 8:22 am
by Stef
You have no way to modify the Sega copyright message. This is hardwired in the system and not present in your ROM, the best thing you can do is to display another message right after to disqualify it.

Re: How do i edit the header

Posted: Mon Oct 05, 2015 3:23 pm
by orlanrod
Stef wrote:You have no way to modify the Sega copyright message. This is hardwired in the system and not present in your ROM, the best thing you can do is to display another message right after to disqualify it.

Ah okay, i'll do that.

Re: How do i edit the header

Posted: Mon Oct 05, 2015 3:24 pm
by MrTamk1s
Stef wrote:You have no way to modify the Sega copyright message. This is hardwired in the system and not present in your ROM, the best thing you can do is to display another message right after to disqualify it.
To clarify his statement, the Sega copyright message is generated by the system's TMSS. You could do something like Nolddor did in Bug Hunt to disqualify the copyright message.

As for actually editing the ROM header for a SGDK project, the header code is found at (Your SGDK project root)/src/boot/rom_head.c . In that code, you can modify the copyright org and ROM title (which you should do upon final release), as well as SRAM setup data.

Re: How do i edit the header

Posted: Mon Oct 05, 2015 3:40 pm
by orlanrod
MrTamk1s wrote:
Stef wrote:You have no way to modify the Sega copyright message. This is hardwired in the system and not present in your ROM, the best thing you can do is to display another message right after to disqualify it.
To clarify his statement, the Sega copyright message is generated by the system's TMSS. You could do something like Nolddor did in Bug Hunt to disqualify the copyright message.

As for actually editing the ROM header for a SGDK project, the header code is found at (Your SGDK project root)/src/boot/rom_head.c . In that code, you can modify the copyright org and ROM title (which you should do upon final release), as well as SRAM setup data.
Looking at the video; kinda odd the he disqualifies the previous message, then proceeds to display the Sega logo afterwards.... 8p

Alright, will do, thanks!

Re: How do i edit the header

Posted: Mon Oct 05, 2015 4:19 pm
by matteus
Hadn't really seen any of Nolddor's work up until now! That's a really cool game :)