Tile Editing - Where to begin?

Discuss technical or other issues relating to programming the Nintendo Entertainment System, Famicom, or compatible systems.

Moderator: Moderators

Post Reply
Tormenter
Posts: 306
Joined: Sat Jun 03, 2006 9:17 pm

Tile Editing - Where to begin?

Post by Tormenter »

I want to learn how to edit the graphics etc. Where do I begin? I downloaded Tile Molester, I can make out a few sprites here and there, but really no clue where to go after that. Could someone throw me a bone? Thanks!
User avatar
Bregalad
Posts: 8036
Joined: Fri Nov 12, 2004 2:49 pm
Location: Caen, France

Post by Bregalad »

And what are you excpeting us to answer ? If you have a tile editor and if you can use it I don't know what is your problem.
Useless, lumbering half-wits don't scare us.
Tormenter
Posts: 306
Joined: Sat Jun 03, 2006 9:17 pm

Post by Tormenter »

Bregalad wrote:And what are you excpeting us to answer ? If you have a tile editor and if you can use it I don't know what is your problem.


Well I heard there is like 8x8, 16x16 etc, not sure what all that really means. And is there a way to make everything line up on the screen? Like when I open a rom on a title screen, say there is a chunk up top, then a chunk down to the left 2 lines, etc
User avatar
Bregalad
Posts: 8036
Joined: Fri Nov 12, 2004 2:49 pm
Location: Caen, France

Post by Bregalad »

Then you should read doccuments about how the NES graphics works, doccuments are avaliable on the nesdev main page or http://www.romhacking.net.
Useless, lumbering half-wits don't scare us.
User avatar
tokumaru
Posts: 12106
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Post by tokumaru »

If you just want to draw some graphics and display them on the NES (this is the first thing I did waaaaay back when I was getting started), you can use the tile editor to create the tiles, and then a program to arrange them as in a NES screen. There is an old program that does this called NSA (NES Screen Arranger), and I believe tepples has some tools for that too. I've never used tepples' solution, but I believe that NSA includes some code to display your creations, so that you can assemble a ROM and see the results in an emulator even if you don't know how to code. That should get you started.

You gotta know that the tiles are just these small 8x8 pixel blocks that are used to compose bigger images. Each of them can only use 4 colors (3 + a transparent one), but by using palettes, these 4 colors can be anything you want. Games can arrange the tiles however they like, so there is no reason for you to think about "16x16" or things like that now. I suggest you run a few games in an emulator with good debugging capabilities, such as FCEUXD, and enable the PPU viewer (will show you tiles and palettes) and the name table viewer. Try to understand how the image is formed from those things.
Tormenter
Posts: 306
Joined: Sat Jun 03, 2006 9:17 pm

Post by Tormenter »

tokumaru wrote:If you just want to draw some graphics and display them on the NES (this is the first thing I did waaaaay back when I was getting started), you can use the tile editor to create the tiles, and then a program to arrange them as in a NES screen. There is an old program that does this called NSA (NES Screen Arranger), and I believe tepples has some tools for that too. I've never used tepples' solution, but I believe that NSA includes some code to display your creations, so that you can assemble a ROM and see the results in an emulator even if you don't know how to code. That should get you started.

You gotta know that the tiles are just these small 8x8 pixel blocks that are used to compose bigger images. Each of them can only use 4 colors (3 + a transparent one), but by using palettes, these 4 colors can be anything you want. Games can arrange the tiles however they like, so there is no reason for you to think about "16x16" or things like that now. I suggest you run a few games in an emulator with good debugging capabilities, such as FCEUXD, and enable the PPU viewer (will show you tiles and palettes) and the name table viewer. Try to understand how the image is formed from those things.
I went to try that NSA, but I guess it does not work with XP, it gives an error every time i start it =( hehe Also tried it in a dos window

EDIT: Works with DOSbox
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

NSA didn't work for me on Windows 2000 either, which is why I wrote 8name.
Tormenter
Posts: 306
Joined: Sat Jun 03, 2006 9:17 pm

Post by Tormenter »

tepples wrote:NSA didn't work for me on Windows 2000 either, which is why I wrote 8name.
Heya, is there any wya to make that full screen? It opens up really tiny for me. Thanks!
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

Tormenter wrote:Heya, is there any wya to make [8TED/8name] full screen? It opens up really tiny for me.
Are you using a CRT (old boxy display) or an LCD (flat panel)? How big is it?
Tormenter
Posts: 306
Joined: Sat Jun 03, 2006 9:17 pm

Post by Tormenter »

tepples wrote:
Tormenter wrote:Heya, is there any wya to make [8TED/8name] full screen? It opens up really tiny for me.
Are you using a CRT (old boxy display) or an LCD (flat panel)? How big is it?

19" wide screen lcd
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

Why would you want an application that runs in full screen when you have a wide screen? The proportions would be even wronger than they are right now (although possibly closer to correct for a PAL NES), and your LCD would probably blur the pixels. I don't even know how many consumer monitors understand the 512x384 mode that 8TED uses.

Or am I horribly misunderstanding something?


EDIT: Try the new version of 8TED. I added a command-line switch to force full screen mode.
Tormenter
Posts: 306
Joined: Sat Jun 03, 2006 9:17 pm

Post by Tormenter »

tepples wrote:Why would you want an application that runs in full screen when you have a wide screen? The proportions would be even wronger than they are right now (although possibly closer to correct for a PAL NES), and your LCD would probably blur the pixels. I don't even know how many consumer monitors understand the 512x384 mode that 8TED uses.

Or am I horribly misunderstanding something?


EDIT: Try the new version of 8TED. I added a command-line switch to force full screen mode.
Because it was so small it is hard to see =)


Are there any editors that will display the images as they are shown on screen? Or that will display the screen the way it is actually shown on the tv and edit them that way?
User avatar
tokumaru
Posts: 12106
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Post by tokumaru »

Just a quick note about old DOS programs: You can run them very easily with DOSBox, a great DOS emulator for various platforms, including Windows.
User avatar
Bregalad
Posts: 8036
Joined: Fri Nov 12, 2004 2:49 pm
Location: Caen, France

Post by Bregalad »

Hey that's great ! I can eventually run the original Tile Layer ! Major nostalgia !! (what drew me into nesdev some time ago)
Useless, lumbering half-wits don't scare us.
Post Reply