PCEngineFans.com - The PC Engine and TurboGrafx-16 Community Forum

Tech and Homebrew => Turbo/PCE Game/Tool Development => Topic started by: nodtveidt on June 06, 2007, 07:22:04 AM

Title: New tool for developers: PCEMAP
Post by: nodtveidt on June 06, 2007, 07:22:04 AM
After countless bouts of frustration with mappy, my wife convinced me (mainly to stop my incessant bitching and moaning) to write a new general editor for PCE mapping. Here's some screenshots:

(http://www.nodtveidt.net/pcemap-mainwindow.html)
(http://www.nodtveidt.net/pcemap-aboutbox.html)
(http://www.nodtveidt.net/pcemap-rubberstamp.html)
(http://www.nodtveidt.net/pcemap-funwithrubberstamp.html)

It's only a few hours old right now so it's a work-in-progress but it's coming along nicely so far.
Title: Re: New tool for developers: PCEMAP
Post by: peperocket on June 06, 2007, 09:41:22 AM
Congratulation !!!!  Usefull idea :clap:

Hope we could use it soon  :dance:
Title: Re: New tool for developers: PCEMAP
Post by: 2X4 on June 06, 2007, 01:04:48 PM
That's f*cking sweet!  Now if only I knew how to use it!  :-k
Title: Re: New tool for developers: PCEMAP
Post by: nodtveidt on June 06, 2007, 01:33:27 PM
Quite frankly, I'm not going out of my way to make it "dummy-proof". :lol: It's a developer's tool, so it's not exactly going to be the most user-friendly thing ever, but it's also not going to require a manual the size of the UNIX standard to use. :) Anyone who's got a grasp of 16-color PCX files should be able to handle importing tilesets, which is probably the most complex aspect of the editor. The only other complex detail is mapfile generation...you specify the width and height of the map in 16x16 tiles (since this is what HuC generally expects to work with) and it spits out a raw map file and a tile palette index, both of which are included into your program with the #incbin directive. Yes, this editor is designed to be used with HuC, and will be available standalone as well as packaged with HuiCide...whenever it gets finished. :lol: :dance: :lol:
Title: Re: New tool for developers: PCEMAP
Post by: ParanoiaDragon on June 08, 2007, 07:41:06 PM
Hey, that tree you have on the rubber stamp thingy, why can't we have those in MS as well!  I dig that tree!
Title: Re: New tool for developers: PCEMAP
Post by: nodtveidt on June 08, 2007, 08:01:20 PM
Hehe :D that tree is from the RPG Maker XP RTP, I thought it fitting for that particular dialog... :)
Title: Re: New tool for developers: PCEMAP
Post by: 2X4 on June 09, 2007, 10:08:33 AM
Nod, I implore you, you MUST finish HuiCide!  :pray:
Title: Re: New tool for developers: PCEMAP
Post by: nodtveidt on June 09, 2007, 10:28:29 AM
HuiCide will be back on the burners once Mysterious Song goes to beta. :D
Title: Re: New tool for developers: PCEMAP
Post by: nodtveidt on June 09, 2007, 04:38:07 PM
I've spent more time working on PCEMAP today. It now saves and loads mapfile projects. I managed to draw out an entire map for Mysterious Song using it. Once I add the mapfile generation function, I'll let go of a prototype build so y'all can mess with it. Right now I'm adding Tile Swap (exchange one tile texture for another), Tile Shift (shift a range of tiles in the map array), and Map Shift (move the map around) functions. It's simply amazing that ALL of these simplistic functions are completely missing from the build of mappy that's any good to use (1.4).

EDIT: Here's that map I was talking about that I drew up...
(http://www.nodtveidt.net/msr-nemarpcemap.html)
Title: Re: New tool for developers: PCEMAP
Post by: nodtveidt on June 09, 2007, 10:43:22 PM
Another update...Tile Swap, Tile Replace, and Floodfill are all working now. Mapfile generation is coded in but is currently untested. Hopefully it all works according to plan...I'll post another update later on, and possibly a prototype of the program.
Title: Re: New tool for developers: PCEMAP
Post by: FM-77 on June 10, 2007, 03:13:04 AM
:o Nod! You just showed them secret stuff from.... from.... I can't say it!! :o
Title: Re: New tool for developers: PCEMAP
Post by: Equuskia on June 10, 2007, 02:38:37 PM
After countless bouts of frustration with mappy, my wife convinced me (mainly to stop my incessant bitching and moaning) to write a new general editor for PCE mapping.

And you wouldn't believe how well it stopped the bitching and moaning.  :dance:
Title: Re: New tool for developers: PCEMAP
Post by: nodtveidt on June 10, 2007, 03:05:34 PM
Okay, here it is...the early prototype of PCEMAP. I figured that since I had used it for most of the day without making too many changes to it, might as well let it go.

http://www.frozenutopia.com/pcemapproto.rar

I have an installer version ready too, but our connection is being a complete ass tonight and it's taking forever to upload. The prototype URL above only contains the EXE and the manifest, it doesn't include the runtime dependencies (VS98 runtimes). If the executable doesn't work (no error messages, but the program just doesn't start up), just delete the manifest file, it's not essential.
Title: Re: New tool for developers: PCEMAP
Post by: peperocket on June 11, 2007, 05:33:54 AM
Working without manifest file, gonna try it  :dance:
Title: Re: New tool for developers: PCEMAP
Post by: peperocket on June 11, 2007, 06:24:32 AM
Don't know if I've got 2 left hands but erase button and new map don't seem to work for me ..  ](*,)
Title: Re: New tool for developers: PCEMAP
Post by: nodtveidt on June 11, 2007, 06:32:18 AM
As it is a prototype, a lot of things don't yet work. Erase doesn't work and won't because it's a useless feature (all it would do is replace the tile with tile 0, which you can just do with the normal pen anyways) and will be removed later. New Map doesn't work because I forgot to code it... ](*,)
Title: Re: New tool for developers: PCEMAP
Post by: peperocket on June 11, 2007, 06:49:29 AM
Thanks for reply...
No problem, in this case these fuctions works really well  :dance: