Title Screen Different

Aug 6, 2008 at 8:39 AM
Senior Member
"Huzzah!"
Join Date: Jul 4, 2008
Location: South Australia
Posts: 217
Age: 29
My title screen is different and i havent edited it the one where i finished hell with he snake in 5:00 i got torko and torkos theme playing
and ym one where i finished hell with the spur 6:32 ive got curly with normal theme :p dose anyone know how this happens or is it programed to do that
 
Aug 6, 2008 at 11:44 AM
Justin-chan
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Oct 15, 2007
Location: Nowhere
Posts: 1920
Age: 31
Supposed to.
 
Aug 8, 2008 at 7:38 AM
Justin-chan
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Oct 15, 2007
Location: Nowhere
Posts: 1920
Age: 31
Safety and Toroko's Theme is pretty nice. It's Balrog's theme and Access that I.. Can't really say dislike. I don't mind them, but.. I'd rather not hear it. Even though it's in my mod. >.>
 
Aug 8, 2008 at 7:56 AM
Senior Member
"Huzzah!"
Join Date: Jul 4, 2008
Location: South Australia
Posts: 217
Age: 29
Cool so what time do u need to get to get king and white
 
Aug 8, 2008 at 8:15 AM
Justin-chan
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Oct 15, 2007
Location: Nowhere
Posts: 1920
Age: 31
i think its listed somewhere, theres a search button, y'know

or go to the tribute site, should be there as well
 
Aug 9, 2008 at 1:02 AM
Senior Member
"Master using it, and you can have this!"
Join Date: Mar 27, 2008
Location: UK
Posts: 82
Age: 36
Hey! Doesn't this thread belong in the Cave Story forums? (Perhaps one of us should contact S.P.)

Roonil Wazlib said:
I have the most annoying track after Safety and Access, Toroko's theme. -_-
That's like...one of the best songs in the game! :p How can you diss one of Pixel's masterpieces!
 
Aug 9, 2008 at 1:24 AM
The Bartender
"All your forum are belong to us!"
Join Date: Jun 18, 2006
Location: Montreal, Canada
Posts: 581
Age: 40
Huh, a CS thread in the gamer's lounge? Fancy that. Might as well...

Code:
		//	Determine which mode the title screen is in, based on the best hell time.									
40fdfa		if(L0164_HellBestTime != 0)
40fe03			if(L0164_HellBestTime <= 18000)
40fe0f				L011C_Mode = 1

40fe19		if(L0164_HellBestTime != 0)
40fe22			if(L0164_HellBestTime <= 15000)
40fe2e				L011C_Mode = 2

40fe38		if(L0164_HellBestTime != 0)
40fe41			if(L0164_HellBestTime <= 12000)
40fe4d				L011C_Mode = 3

40fe57		if(L0164_HellBestTime != 0)
40fe60			if(L0164_HellBestTime <=  9000)
40fe6c				L011C_Mode = 4

		//	Change the title screen music based on the title screen mode.												
		switch(L011C_Mode)
		{
40fe76			case 1:
			{
40fe7f				push 0x00000024		//	Music: Running Hell					
40fe81				call 420EE0::change_song
40fe89				break;
			}

40fe8b			case 2:
			{
40fe94				push 0x00000028		//	Music: Toroko's Theme				
40fe96				call 420EE0::change_song
40fe9e				break;
			}

40fea0			case 3:
			{
40fea9				push 0x00000029		//	Music: King's Theme					
40feab				call 420EE0::change_song
40feb3				break;
			}

40feb5			case 4:
			{
40febe				push 0x00000002		//	Music: Safety						
40fec0				call 420EE0::change_song
40fec8				break;
			}

			default:
			{
40feca				push 0x00000018		//	Music: Cave Story					
40fecc				call 420EE0::change_song
			}
		}

There you go. That's how the title screen picks which song to play.

(Spoilerized since it contains, well, spoilers. Assuming you want to find out the times/music on your own.)

(Edit: well, that failed miserably. :p )
 
Aug 9, 2008 at 11:04 AM
The Bartender
"All your forum are belong to us!"
Join Date: Jun 18, 2006
Location: Montreal, Canada
Posts: 581
Age: 40
JacobX891 said:
How do I use this?
You read it. That's a dump of the CS code which handles which song to play at the title screen based on your hell run time. :p (The original offsets in the exe are preserved; that's what all that razzle-dazzle hexademical nonsense in front of some lines is about.)

If you're unfamiliar with this stuff, an "if" instructions will execute the following block of code only if the specified condition is true. For instance, "if(health < 0) ... " will run the next block of code if health is less than 0.

A switch/case block is a "cleaner" way of writing "if(something == 0) ... else if(something == 1) ... else if(something == 2) ... etc" The switch statement indicates which value to test, and each "case" statement says, "when the variable in the switch statement is equal to this value, then execute this next block of code."

Here, all this stuff basically says, "if your time is less than this, then use title screen mode 1. If it's less than this instead, then use mode 2. etc.." Later on, the switch statement basically says, "when you're in mode 1, play this song. When you're in mode 2, play this other song. Etc.."

Easy as hell hack: see those push statements? Right before that call to the music routine? If you want to change the title screen music, just change the hex number. Look for it in the exe (somewhere around the offset in front of that line; just look for the same hex) and give it the ID of the song you want to play (in hex of course.)
 
Aug 10, 2008 at 1:14 AM
Senior Member
"Huzzah!"
Join Date: Jul 4, 2008
Location: South Australia
Posts: 217
Age: 29
jcys810 said:
Safety and Toroko's Theme is pretty nice. It's Balrog's theme and Access that I.. Can't really say dislike. I don't mind them, but.. I'd rather not hear it. Even though it's in my mod. >.>
Balrogs theme Rocks!!! dont dis it
 
Aug 10, 2008 at 12:01 PM
Justin-chan
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Oct 15, 2007
Location: Nowhere
Posts: 1920
Age: 31
Balrogs theme Rocks!!! dont dis it
Everyone is entitled to their own opinion.
 
Aug 10, 2008 at 3:19 PM
Justin-chan
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Oct 15, 2007
Location: Nowhere
Posts: 1920
Age: 31
lol they are.

I think you suck for not liking Balrog's Theme. =D
You dislike it too =.=
 
Back
Top