nesdev.com
http://forums.nesdev.com/

NES Screen Tool
http://forums.nesdev.com/viewtopic.php?f=21&t=7237
Page 1 of 18

Author:  Shiru [ Fri Dec 03, 2010 10:34 pm ]
Post subject:  NES Screen Tool

Recently I had need for a tool that would allow me to create a tileset and nametable from a BMP file, and edit some other things. I've found few solutions which weren't fully worked for me by various reasons (NSA, p8nes), so I quickly made this Windows tool for my needs. Maybe it could be useful for someone else, so I release it to the public.

It allows to import graphics from 16-color BMP file, edit and create nametables, attributes, palettes, and tile graphics. It has the features I've needed only. I may fix bugs and add some small features by request, but I don't have big plans on this tool.

The tool is released into Public Domain, completely with source code, so you can use it any way you want. The source is not much help, though, because it is in Borland Turbo C++ Express, which is no more available for free, and is not portable, but anyway.

Download

Image

Author:  neilbaldwin [ Sat Dec 04, 2010 3:34 am ]
Post subject: 

Cool! I'll be giving this a try.

Couple of things immediately:

+ A really handy feature which I've never seen in one of these editors before is the ability to 'paint' attributes/palettes on the nametable. Really nice :D

- I tried to load a .chr file that I'd made in YYCHR but your program wouldn't load it because it says a .chr file must be 4096 bytes. How come? The one created in YYCHR is only 2048 and looking at your tileset window you only have space for 256 tiles (same as YYCHR) so I'd have thought the resulting .chr file would be 2048, the same as YYCHR?

Edit to add: ah, it seems that the YYCHR files are actually 8192 bytes - I never realised that before. I guess it saves out a 4k CHR/4K SPR file? In that case, your tool is correct :)

Author:  Shiru [ Sat Dec 04, 2010 4:09 am ]
Post subject: 

I can add support for 8K CHRs in form of selectable 'pages', if you need it.

Author:  neilbaldwin [ Sat Dec 04, 2010 5:59 am ]
Post subject: 

I tend to work on 4k files anyway (CHR and SPR separate), I just never realised that YYCHR creates an 8K file by default. :)

I loaded up the CHR file for my latest project and messed around editing the nametable. I really like it, especially the inclusion of RLE. That's a really nice touch. Going to have a play importing BMPs because that sounds cool.

One quick thing that would be nice is if you could make the CHR editor open if you double-click a tile in the tile set (of course, it should open with the tile you click :))

Great work Shiru. I'm going to have a look at the source too. I'd love to be able to port it to OSX (I'm using it via a VM at the moment, same as YYCHR so it's not a problem really)

As for new feature, if you have the time and inclination to do so;

+ more editing functions for the nametable such as copy/paste/cut would be really handy I think

+ more advanced editing would be the ability to insert/delete a row/column in the nametable (when I need to do this with YYCHR I end up just loading the nametable into a hex editor :))

Author:  thefox [ Sat Dec 04, 2010 7:40 am ]
Post subject: 

Good work.

Couple of bugs / feature requests:
- when I imported a BMP the surfaces weren't re-painted until I pressed a button (Show grid)
- maybe change the grid so that it displays 16x16 (attrib areas) with solid lines and subdivides that to 8x8 with dotted lines (or equivalent)

Author:  neilbaldwin [ Sat Dec 04, 2010 8:25 am ]
Post subject: 

I was going to say the same about the grid (16 x 16) but I'd also suggest drawing all the grid lines in dots. Your tool seems to suffer the same problem as YYCHR in that it uses one of the palette colours to draw the grid so depending on what you're putting on the nametable, the grid lines can be 'invisible'.

Author:  Shiru [ Sat Dec 04, 2010 5:21 pm ]
Post subject: 

Actually, I select a constrast color to the $3f00 color for the grid. Seems this does not work well enough.

Ok, I'll add/fix the requested things soon.

Author:  ccovell [ Sat Dec 04, 2010 9:16 pm ]
Post subject: 

It doesn't work well if you make a simple contrast from a colour's negative. You know that the negative of 50% grey is 50% grey, right?

Author:  Shiru [ Sat Dec 04, 2010 11:01 pm ]
Post subject: 

As you can see, by default the color in the tool is exactly 50% grey, and you can see the grid.


Please note that my webhosting does not work by sundays by some reason, so the screenshot could be not available. The download should be available anyway, it is on separate FTP server.

Author:  neilbaldwin [ Sun Dec 05, 2010 3:55 am ]
Post subject: 

Shiru: how easy is it to implement the ability to double-click a .CHR file and have NESST open with that file? Currently it doesn't work - NESST opens but with no file loaded.

Author:  Shiru [ Sun Dec 05, 2010 4:07 am ]
Post subject: 

I've made most of the requests except the >4K CHRs supports.

This includes double-click on a tile in the tileset to open CHR editor, *.chr association support, opening all the files of the same name (requested by me, very handy), copy-paste functions for the nametable, improved grid, and maybe something else.

Download link is the same.

Author:  neilbaldwin [ Sun Dec 05, 2010 4:28 am ]
Post subject: 

Cool! :D

I'll check it out right now.

Author:  Wave [ Sun Dec 05, 2010 4:38 am ]
Post subject: 

Great tool!
It will help a lot with static screens and automates duplicate tiles :)

Author:  neilbaldwin [ Sun Dec 05, 2010 4:40 am ]
Post subject: 

+ Grid is much better
+ Love the nametable editing stuff
+ Association of .pal with .chr is really good, it doesn't seem to work if you double-click a .chr file from Windows though?

Could you also have it remember the last folder/path you accessed so that when you reopen the program you don't have to navigate from the folder where NESST resides?

Thanks Shiru :)

Author:  Shiru [ Sun Dec 05, 2010 5:31 am ]
Post subject: 

Changed double-click opening to load all the files (like Open) instead of just *.chr; added remembering of the current directory between the sessions.

Page 1 of 18 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/