Snes level editor tricks...

A modern Prince of Persia 1 for SNES level editor for Windows.

Moderator: English Moderator Team

Post Reply
salvadorc17
Calif
Calif
Posts: 525
Joined: August 27th, 2011, 2:04 am

Snes level editor tricks...

Post by salvadorc17 » June 19th, 2014, 3:41 am

Hi i want to ask about some snes level editor tricks, by example what happen if you alter the guard some way to simulate skeletons behavior.

What is refractor time?
And that "?"

Hitpoints 255, for invincibility...

Image

David
The Prince of Persia
The Prince of Persia
Posts: 1505
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Snes level editor tricks...

Post by David » June 20th, 2014, 6:29 pm

"Refractory timer" is the amount of time the guard waits after you hit him. It's measured in 1/12 of a second.
Yes, the name is hard to understand; I copied it from Mechner's PoP1 documentation (page 20-21).
Something like "time to wait after guard is hit" would be better.

The "?" doesn't seem to do anything.
I included it in the guard settings dialog only because in the ROM it is between "Refractory timer" and "hit points".

salvadorc17
Calif
Calif
Posts: 525
Joined: August 27th, 2011, 2:04 am

Re: Snes level editor tricks...

Post by salvadorc17 » June 20th, 2014, 9:20 pm

Ok, and you know how to make guard act like skeletons, fall and then raise again, also for not showing hitpoints...

David
The Prince of Persia
The Prince of Persia
Posts: 1505
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Snes level editor tricks...

Post by David » June 21st, 2014, 7:41 pm

You need to edit the ROM in a hex-editor.
(If you don't know how to do that, here is some help: viewtopic.php?f=76&t=3382 -- it's for the DOS version, but SNES is not much different. Of course you need to use the numbers you see in my post!)

Note that after this, all guards will act like skeletons!
Did you mean this or only some guards?
salvadorc17 wrote:how to make guard act like skeletons,
Search: a9 02 8d 64 04 60
Change 02 to 04.
This by itself makes them behave like "regular" skeletons.
salvadorc17 wrote:fall and then raise again
That is, to behave like brown skeletons:
Search: ad 2b 06 c9 02 d0 0f
Change D0 0F to EA EA.

salvadorc17
Calif
Calif
Posts: 525
Joined: August 27th, 2011, 2:04 am

Re: Snes level editor tricks...

Post by salvadorc17 » June 21st, 2014, 11:02 pm

That worked very well, how do you understand that hex references, if i want to try something, also what other things can you make with hex editing the rom...

David
The Prince of Persia
The Prince of Persia
Posts: 1505
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Snes level editor tricks...

Post by David » June 25th, 2014, 6:19 pm

salvadorc17 wrote:what other things can you make with hex editing the rom...
Here is a long list of things you can change with hex editing: viewtopic.php?f=122&t=3099
salvadorc17 wrote:how do you understand that hex references, if i want to try something
I'm not sure what do you mean. Do you want to know how did I find this hack?

salvadorc17
Calif
Calif
Posts: 525
Joined: August 27th, 2011, 2:04 am

Re: Snes level editor tricks...

Post by salvadorc17 » June 26th, 2014, 12:08 am

Good documentation topic you give me thanks, what im asked is if you have an offset or values table to know by example what is the correct line to modify the guards behavior..

Post Reply