Level editor for the SNES version

A modern Prince of Persia 1 for SNES level editor for Windows.
Post Reply
User avatar
ecco
Sheikh
Sheikh
Posts: 36
Joined: May 26th, 2003, 7:41 pm
Contact:

Re: Level editor for the SNES version

Post by ecco »

Hi David,

Just wanted to say a massive thank you for developing this snes level editor. It was always the thing I most wished for when I was younger, for so many years, and just came by it a few weeks ago. In a way it's good I didn't find it last year when you first released it as I'd never have got anything else done. I hardly have any time these days but I'd like to make at least one level set with it and post it for anyone who's interested. (I did a few sets for the original pc pop a few years back, including the snes layouts and the 'mirror' set. Making new graphics as I did with the original would be nice but it's not likely to happen anymore).

Are you still developing or improving this editor these days? I'm sure you have a list of things to modify, but if not, I could make some suggestions.

Thanks again!
User avatar
spartacus735
Wise Scribe
Wise Scribe
Posts: 217
Joined: November 20th, 2011, 12:41 pm
Location: France

Re: Level editor for the SNES version

Post by spartacus735 »

Hey , i post the all version of Pr1sneslevEd because the website of David is down ;) ( you need winrar or other software for decompress .rar )

|~> Version 1 <~|

http://www.2shared.com/file/Almg9DXE/version_1.html

|~> Version 2 <~|

http://www.2shared.com/file/0252yPTv/version_2.html

|~> Version 3 <~|

http://www.2shared.com/file/-K9suQKK/version_3.html

|~> Version 4 <~|

http://www.2shared.com/file/rQLGueOe/version_4.html

|~> Version 5 <~|

http://www.2shared.com/file/R-_F563T/version_5.html

|~> Version 6 <~|

http://www.2shared.com/file/RJwPIqki/version_6.html

|~> Version 7 <~|

http://www.2shared.com/file/deKP7xA-/version_7.html
>>>>>>>>>>>>>>>>>>>> http://www.youtube.com/user/spartacus735 <<<<<<<<<<<<<<<<<<<< the channel of prince of persia snes mod
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5746
Joined: April 9th, 2009, 10:58 pm

Re: Level editor for the SNES version

Post by Norbert »

Wow, I see that popot.org only has version 6 (#9), I'll add version 7 (#10) ASAP.
I didn't even know about version 7 (#10) with the palette editor, nice stuff! :)

[Edit: added the actual numbers.]
Last edited by Norbert on July 30th, 2012, 4:47 pm, edited 1 time in total.
User avatar
spartacus735
Wise Scribe
Wise Scribe
Posts: 217
Joined: November 20th, 2011, 12:41 pm
Location: France

Re: Level editor for the SNES version

Post by spartacus735 »

Thank :D yep the palette editor has been add in version 7 , This is version 7 which allowed me to change the palette of my mod " Temple of Ruins "

you can see that here :

http://www.youtube.com/watch?v=NtVZWDcCTp0&feature=plcp
>>>>>>>>>>>>>>>>>>>> http://www.youtube.com/user/spartacus735 <<<<<<<<<<<<<<<<<<<< the channel of prince of persia snes mod
User avatar
Iso
Sheikh
Sheikh
Posts: 48
Joined: January 15th, 2010, 11:34 pm

Re: Level editor for the SNES version

Post by Iso »

I've encountered a glitch with some background textures - http://www.youtube.com/watch?v=kOiGJFX2 ... e=youtu.be
The two banner point textures flicker between some other random textures. This also happens with the top-left level entrance/exit door background, which didn't happen until I was almost done making the level. Anyone know what's causing this?

Edit: For whatever reason, youtube made it darker than it should be.
David
The Prince of Persia
The Prince of Persia
Posts: 2850
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Level editor for the SNES version

Post by David »

Which level (and which room) is this? I know that some levels contain animated backgrounds (water, clouds). If you changed the level type, the game might still try to animate the background with the same index, or at the same position.
User avatar
Iso
Sheikh
Sheikh
Posts: 48
Joined: January 15th, 2010, 11:34 pm

Re: Level editor for the SNES version

Post by Iso »

David wrote:Which level (and which room) is this? I know that some levels contain animated backgrounds (water, clouds). If you changed the level type, the game might still try to animate the background with the same index, or at the same position.
Training Level 1, room 17. Though the glitch happens anywhere I put the textures.
David
The Prince of Persia
The Prince of Persia
Posts: 2850
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Level editor for the SNES version

Post by David »

I looked closely at your video, and found out which backgrounds are shown there. (0x50, 0x51, 0x52)
Now, if I place these on the level, and change the type back to blue dungeon, they will be displayed as the animation frames of a rock in the water.
However, they are not animated on Training Level 1, room 17.
I could get them to animate only on Level 1.
But I can't get any of the banners to animate.

EDIT: I found out that some animation-related data is stored at the same place at the tile attributes (floor, wall) in bits 2-7.
And, probably, the automatic mode of the editor copied these to positions of the banner tiles when creating the new tiles.
But, the problem can't be simply fixed by clicking on the banner tiles and unchecking the checkboxes, because the editor currently thinks that all of these bits are bound to the foreground tiles.

I'll try to fix this in the next version of the editor.
For now, the only solution is to export the level, open it in a hex editor, and perform a Logical AND with value=0x03 at the addresses 0xB70-0xC6F. And then import it back.
User avatar
Iso
Sheikh
Sheikh
Posts: 48
Joined: January 15th, 2010, 11:34 pm

Re: Level editor for the SNES version

Post by Iso »

David wrote:I'll try to fix this in the next version of the editor.
For now, the only solution is to export the level, open it in a hex editor, and perform a Logical AND with value=0x03 at the addresses 0xB70-0xC6F. And then import it back.
Cool, thanks for looking into it. I tried the hex editing business but I'm kind of lost so I'll wait for the next version.
David
The Prince of Persia
The Prince of Persia
Posts: 2850
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Level editor for the SNES version

Post by David »

I've fixed the problem, and attached the new version to this post.

Here's how to fix your level:
Click on the tile that is misbehaving, and type zero into the textbox between the dropdown lists.
Attachments
Pr1SnesLevEd.zip
PoP1 SNES level editor
(361.62 KiB) Downloaded 134 times
User avatar
Iso
Sheikh
Sheikh
Posts: 48
Joined: January 15th, 2010, 11:34 pm

Re: Level editor for the SNES version

Post by Iso »

Excellent! Thanks a lot, works perfectly.
User avatar
spartacus735
Wise Scribe
Wise Scribe
Posts: 217
Joined: November 20th, 2011, 12:41 pm
Location: France

Re: Level editor for the SNES version

Post by spartacus735 »

Good work David !

But i found a problem , when you change a wall ( graphic editor ) you can not create new object with the right list . Suddenly an error message appears

Image
>>>>>>>>>>>>>>>>>>>> http://www.youtube.com/user/spartacus735 <<<<<<<<<<<<<<<<<<<< the channel of prince of persia snes mod
David
The Prince of Persia
The Prince of Persia
Posts: 2850
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Level editor for the SNES version

Post by David »

Ugh... yes, I didn't test it properly.
I fixed this, and attached the new version to this post.
Attachments
Pr1SnesLevEd.zip
(361.67 KiB) Downloaded 121 times
User avatar
spartacus735
Wise Scribe
Wise Scribe
Posts: 217
Joined: November 20th, 2011, 12:41 pm
Location: France

Re: Level editor for the SNES version

Post by spartacus735 »

Thank a lot !

In the future can you add the function " CTRL+C CTRL+V" to make level faster ? thx
>>>>>>>>>>>>>>>>>>>> http://www.youtube.com/user/spartacus735 <<<<<<<<<<<<<<<<<<<< the channel of prince of persia snes mod
User avatar
Iso
Sheikh
Sheikh
Posts: 48
Joined: January 15th, 2010, 11:34 pm

Re: Level editor for the SNES version

Post by Iso »

Couple questions - Is there any way to change the color of the torches? You can do it in the editor but it doesn't show up in-game.
Image

Also, is there (or will there be) any way to make the prince start swordless in each level?

Btw, love the tile graphic editor. Works brilliantly.
Post Reply