• Do not use Works in Progress as a way of avoiding the releases system! Works in Progress can be used for sharing early betas and for getting suggestions for improvement. Releases of finished content are not allowed in this forum! If you would like to submit a finished addon, click here for instructions on how to do so.

Emerald cheat

Status
Not open for further replies.

JetKrazy

Member
I found this in the C++ code in m_cheat

m_cheat said:
// Emerald cheat Tails
if(!(emeralds & EMERALD1)){
emeralds |= EMERALD1;
}
else if((emeralds & EMERALD1) && !(emeralds & EMERALD2)){
emeralds |= EMERALD2;
}
else if((emeralds & EMERALD2) && !(emeralds & EMERALD3)){
emeralds |= EMERALD3;
}
else if((emeralds & EMERALD3) && !(emeralds & EMERALD4)){
emeralds |= EMERALD4;
}
else if((emeralds & EMERALD4) && !(emeralds & EMERALD5)){
emeralds |= EMERALD5;
}
else if((emeralds & EMERALD5) && !(emeralds & EMERALD6)){
emeralds |= EMERALD6;
}
else if((emeralds & EMERALD6) && !(emeralds & EMERALD7)){
emeralds |= EMERALD7;
}
//plyr->message = STSTR_KFAADDED;
msg = "Got Emerald";

Know anything?
 
Yeah. It's a cheat I used to use to award you an emerald every time you typed the cheat for it in. In fact, it still might work.

But I'm not telling you what the cheat is. ;)

Say, while we're on the topic, has anyone tried, either via source code modification or editing the save game file... to give you an '8th' emerald and then become Super Sonic? :mrgreen:
 
I'm trying, but everytime I save the file and play the game, it doesn't affect anything.

Is the cheat typing in EMERALD1 or something in the command box?
 
JetKrazy said:
Is the cheat typing in EMERALD1 or something in the command box?

I don't think so. If it were that easy, then we would've known about for a while now.

I'm just amazed that this demo's been out since last New Year's Day, and new secrets are still being found.
 
I know what the cheat is, and it does still exist. Obviously I won't tell you what it is. It's mainly used to test the game so we can have all the emeralds without having to actually play the special stages.
 
Nothing, really. The reason it's useful is say if I wanna check something related to the fact that I have all emeralds. Instead of playing through the special stages, I can just hit the cheat 7 times. That is exceedingly helpful towards making the testing easier.
 
Did you take hu_lib.c out of the source code that you give to us? 'Cause, if you did, then it wouldn't be completely open-source, now would it?
 
On the previous SRB2 version I edited a save file to get all emeralds, start on other levels, have more score and lives... The only thing it did for me is I experienced Super Sonic the first time. Note: The save files are not encrypted, or were not, and are just bytes collections. Editing the save file is the way I learned about file structure. It was an assignment given to me by myself. Interesting learning methed, huh? :wink:
 
Actually, this cheat could be helpful for someone who wants to make a Super Sonic level. And no, I'm not hinting at anything, I'm not to make something that would take that long just to get it to test.
 
You could make another level with seven emerald tokens, and then save a savegame after you get all the emeralds once.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top