NES paint programs?

Discuss technical or other issues relating to programming the Nintendo Entertainment System, Famicom, or compatible systems. See the NESdev wiki for more information.

Moderator: Moderators

Post Reply
monobogdan
Posts: 24
Joined: Thu Mar 23, 2017 11:23 am

NES paint programs?

Post by monobogdan »

Hi.
I working on game(for PC, not nes), and i have small question. Is any program to per pixel drawing with NES pallete exist?
tepples
Posts: 22705
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: NES paint programs?

Post by tepples »

It depends on how accurate to the NES limits you want your game's graphics to adhere.

If you just want the colors, here's a PNG image containing a reasonable palette.

There's a background graphics editor that runs on an NES or in an NES emulator. It comes with a command-line tool written in Python that turns a 256x240 pixel PNG image and a 32-character palette string into a save file for the background or vice versa. Converting a PNG to a save file and back is a good way to see whether a particular PNG file respects the NES limits.

What operating system does your PC run? FreeBSD, GNU/Linux, Windows, or something else?
monobogdan
Posts: 24
Joined: Thu Mar 23, 2017 11:23 am

Re: NES paint programs?

Post by monobogdan »

tepples wrote:It depends on how accurate to the NES limits you want your game's graphics to adhere.

If you just want the colors, here's a PNG image containing a reasonable palette.

There's a background graphics editor that runs on an NES or in an NES emulator. It comes with a command-line tool written in Python that turns a 256x240 pixel PNG image and a 32-character palette string into a save file for the background or vice versa. Converting a PNG to a save file and back is a good way to see whether a particular PNG file respects the NES limits.

What operating system does your PC run? FreeBSD, GNU/Linux, Windows, or something else?
Win7
tepples
Posts: 22705
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: NES paint programs?

Post by tepples »

Do you know, or are you willing to learn, how to use the Windows Command Prompt? Or do you require that all applications have a GUI and be launchable through a double-click in File Explorer?
User avatar
tokumaru
Posts: 12427
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Re: NES paint programs?

Post by tokumaru »

You can easily make palettes for Photoshop or Gimp containing only the NES' colors, if that's the only restriction you're worried about. However, the NES doesn't work with RGB, the PPU creates its colors by directly manipulating the composite video signal... Add that to the fact that every TV displays colors differently and the result is that everyone remembers NES games differently, and there's no definitive 100% correct NES palette for use in computer programs. There are a few palette generators (such as this one) that allow you to tweak several parameters that affect how the the native NTSC signal is converted to RGB, so you can try creating one that you think looks correct and will work well for your game.
monobogdan
Posts: 24
Joined: Thu Mar 23, 2017 11:23 am

Re: NES paint programs?

Post by monobogdan »

tepples wrote:Do you know, or are you willing to learn, how to use the Windows Command Prompt? Or do you require that all applications have a GUI and be launchable through a double-click in File Explorer?
No. I'm working with linux in previous, but in this case i want draw my sprites in GUI environment.
I'm ask about programs to draw sprites per pixel in style like nes. Not PS for DOS or something like this. Don't offtopic.
I mean something like marmoset hexels
User avatar
tokumaru
Posts: 12427
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Re: NES paint programs?

Post by tokumaru »

monobogdan wrote:Stupid answer.
I'm ask about programs to draw sprites per pixel in style like nes. Don't offtopic.
That's a pretty rude answer to give someone who's trying to help you.

"NES-style art" is something you can do in any program if you know the restrictions of the system, which you should if you're trying to simulate it in a PC game.
monobogdan
Posts: 24
Joined: Thu Mar 23, 2017 11:23 am

Re: NES paint programs?

Post by monobogdan »

tokumaru wrote:
monobogdan wrote:Stupid answer.
I'm ask about programs to draw sprites per pixel in style like nes. Don't offtopic.
That's a pretty rude answer to give someone who's trying to help you.

"NES-style art" is something you can do in any program if you know the restrictions of the system, which you should if you're trying to simulate it in a PC game.
I don't like when someone try to learn me how to use cmd.
User avatar
pubby
Posts: 583
Joined: Thu Mar 31, 2016 11:15 am

Re: NES paint programs?

Post by pubby »

MTpaint with a NES palette.
tepples
Posts: 22705
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: NES paint programs?

Post by tepples »

For actual painting, as opposed to previewing what a background would look like under NES limits, I use GIMP (GNU Image Manipulation Program) with the NES palette image that I linked earlier.
User avatar
mikejmoffitt
Posts: 1353
Joined: Sun May 27, 2012 8:43 pm

Re: NES paint programs?

Post by mikejmoffitt »

Give YY-CHR a try; you will be editing NES tiles directly.
User avatar
dougeff
Posts: 3078
Joined: Fri May 08, 2015 7:17 pm

Re: NES paint programs?

Post by dougeff »

Use the NES Screen Tool, available on Shiru's website.
nesdoug.com -- blog/tutorial on programming for the NES
Post Reply