Page 1 of 13

Level editor for the SNES version

Posted: July 20th, 2009, 11:53 am
by David
After some months of research, I've finally made it!
Download: http://www.freeweb.hu/princepersia/en/snesedit_dl.htm
Screenshots: http://www.freeweb.hu/princepersia/en/snesedit.htm

Notes on usage:
You need a ROM image (*.smc) of the European or USA version to use the editor. (The Japanese gives an error message)
The editor uses the graphics from the ROM.
File menu:
Open: opens a level in a ROM image.
Save: saves the currently opened level into the same place (overwrite).
Export level: exports the currently opened level. (3490 bytes)
Import level: imports the currently opened level.
Room display area:
Click to select a tile. Ctrl-click to select multiple tiles.
Context menu:
Start here: sets start position to the selected tile.
Flip start: flip the start direction
Guard here: put guard into the selected tile. (max. 1 guard per room)
Flip guard: flip the guard in the current room.
Delete guard: remove the guard from the current room.
Guard type...: lets you select the type of the guard in the current room from a list.
Guard skill...: lets you modify the skill of the guard from the current room.
Room links...: lets you modify the room links.
Unlike the DOS version, rooms are numbered 0-23. 255 means no room, 254 means no room and don't show above.
How tiles work:
Each position has a foreground tile index, a background tile index and a door event index.
The background tile index is simply an index into a list of images.
The foreground tile index is a bit more complicated.
It is an index into a table with the following entries:
- Background layer index: an index into a list of images.
- Foreground layer index: an index into a list of images.
- Object: a number which identifies an object.
- Attributes: bits describing whether the tile is wall or floor.
For buttons, the door event index is an index into the door events, which are similar to the DOS version ones.
It can also mean:
For doors: 00=closed, FF=open
For teleports: if the index is the same for two teleports, they belong to each other.
What is missing:
Objects are shown as text.
The level type cannot be changed.
Checkpoints cannot be changed.
You can't tell if a wall is fake just by looking. (But if you select it, you'll see.)

Re: Level editor for the SNES version

Posted: July 20th, 2009, 1:00 pm
by Veke
Amazing work! I'd love to make a SNES mod, but it's still kind of hard to use...

Re: Level editor for the SNES version

Posted: July 21st, 2009, 4:24 am
by Eagle-Head Priest 97
ImageImageImage
THIS IS GREAT!!!!!!! :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: !!!! WOOHOOO!!!!

EDIT: It does need some work to make it a bit easier, if possible :| .

I found a strange glitch already. This is what happened when I crushed this girl guard:
Image
As you can tell, the image turns distorted. In the game the death music plays but the image still changes as you get close. I killed myself:
Image
And after my body disappeared, the squashed girl showed up:
Image
Only after I got squashed did the girl's squashed body show up. :?: Image

Re: Level editor for the SNES version

Posted: July 21st, 2009, 11:46 am
by David
Eagle-Head Priest 97 wrote:I found a strange glitch already. This is what happened when I crushed this girl guard:
Some guards don't have graphics for being crushed. The girl is one of them.
Eagle-Head Priest 97 wrote:Only after I got squashed did the girl's squashed body show up. :?:
If you look closely, it's the squashed prince, but with the girl's palette.

Re: Level editor for the SNES version

Posted: July 21st, 2009, 6:47 pm
by mk1995
Woohoo! I've waited so long for an editor like that. David, you're the MOST F***ING AWESOME developer out there!!

*downloads*

Edit: I've played around a little with the editor, and I must say that it's not very easy to use, despite the looks of it. That may be because I use RoomShaker to create my levels, so...

I guess the editor still is in early states, but could you make it easier to use with commands that RoomShaker had to offer, too (like "Clear all rooms" or things like that)? You don't necessarily have to make it look like a RoomShaker, but I'd still wish for an easier usability.

Re: Level editor for the SNES version

Posted: July 21st, 2009, 10:30 pm
by Eagle-Head Priest 97
David wrote:
Eagle-Head Priest 97 wrote:I found a strange glitch already. This is what happened when I crushed this girl guard:
Some guards don't have graphics for being crushed. The girl is one of them.
Eagle-Head Priest 97 wrote:Only after I got squashed did the girl's squashed body show up. :?:
If you look closely, it's the squashed prince, but with the girl's palette.
Oh, ok, I didn't know that the SNES was capable of replacing palattes! Of course, I have no knowledge whatsoever of the technicality of level editors.
mk1995 wrote:David, you're the MOST F***ING AWESOME developer out there!!
I have to say I agree with that!

Re: Level editor for the SNES version

Posted: August 13th, 2009, 6:53 pm
by mk1995
Hey, David, when's the next version gonna come out? There hasn't been a post in here for a long time...

Re: Level editor for the SNES version

Posted: October 15th, 2009, 1:33 pm
by David
I've updated the editor:
The link is the same: http://www.freeweb.hu/princepersia/en/snesedit_dl.htm
Added features:
Objects are shown as in the game, but you can turn text labels on.
You can change the type of the level (dungeon/palace/etc.).
Added clear all rooms, clear this room and jump to room.
Added automatic tile mode:
If this is set, the editor will create tiles for you from Background layer, Foreground layer, Object and Attributes, so if you change one of these for a tile, other instances of the tile will remain the same.

EDIT: Oh, and you can edit the Japanese version, too.

Re: Level editor for the SNES version

Posted: October 15th, 2009, 7:21 pm
by mk1995
Thanks. This is a huge improvement.

Looking forward to the next version.

Re: Level editor for the SNES version

Posted: October 20th, 2009, 5:33 pm
by tristan1991
WHAT ThE :shock: i cant download why ???

Re: Level editor for the SNES version

Posted: October 21st, 2009, 9:19 am
by mk1995
tristan1991 wrote:WHAT ThE :shock: i cant download why ???
Be a bit more clear, please. Explain the steps you did trying to download and tell us what failed. If you only tell us you can't download it, we can't really help you.

Re: Level editor for the SNES version

Posted: November 20th, 2009, 9:35 pm
by AuraDragon
Proxy Error, says the file was moved "Here" (meaning a different site) but that link doesn't lead anywhere interesting.

>_< Shit why didn't I see this sooner!?

Re: Level editor for the SNES version

Posted: November 20th, 2009, 9:57 pm
by Eagle-Head Priest 97
I uploaded a link of David's first version:

http://www.fileden.com/files/2007/8/31/ ... sLevEd.zip

:D It's not his second version, but you'll get a taste until David can re-upload it!

Re: Level editor for the SNES version

Posted: November 20th, 2009, 10:30 pm
by AuraDragon
Many Thanks Eagle. :D

Re: Level editor for the SNES version

Posted: November 20th, 2009, 10:57 pm
by mk1995
I do have the second version, but can't upload it right now because I'm at my sister's PC at the moment, so I don't have it at hand right now. You've gotta wait 'til the end of the weekend.