NES Screen Tool
Moderator: Moderators
- neilbaldwin
- Posts: 481
- Joined: Tue Apr 28, 2009 4:12 am
- Contact:
- neilbaldwin
- Posts: 481
- Joined: Tue Apr 28, 2009 4:12 am
- Contact:
Works great Shiru, I didn't think about associating the nametable with the .chr file too so that was a nice surprise
If you're still interested in more ideas?
Some of the drawing modes in YYCHR are actually quite handy: the line tool and the rectangle tool especially. Also the ability to remap colours in YYCHR comes in really handy sometimes. Not that I think you necessarily need to make a copy of YYCHR but I think you've got the beginnings of a really great tool here.
If you're still interested in more ideas?
Some of the drawing modes in YYCHR are actually quite handy: the line tool and the rectangle tool especially. Also the ability to remap colours in YYCHR comes in really handy sometimes. Not that I think you necessarily need to make a copy of YYCHR but I think you've got the beginnings of a really great tool here.
My workflow for any platform involves GraphicsGale as the main graphics editor, I make all the graphics in it as 16 or 256 color bitmaps (it allows to reassign color numbers etc), and a converter, mostly command-line. Often I have just a set of BMP files in a project, and building script converts them into binaries or asm/h files. So this tool was supposed to be used as a converter mostly, however not automatic (because it is not so easy in case with NES).
I can add some more features if they are really needed (to exclude a tool from a toolchain, maybe). I'm not too familiar with the YYCHR, however, so I need better explaination of needed features. These line and rectangle drawing - they should work in the tileset window (2x fixed zoom) or in the CHR editor (if so, isn't it overkil to have such tools for 8x8 image)?
I can add some more features if they are really needed (to exclude a tool from a toolchain, maybe). I'm not too familiar with the YYCHR, however, so I need better explaination of needed features. These line and rectangle drawing - they should work in the tileset window (2x fixed zoom) or in the CHR editor (if so, isn't it overkil to have such tools for 8x8 image)?
- neilbaldwin
- Posts: 481
- Joined: Tue Apr 28, 2009 4:12 am
- Contact:
Ah I see.
I tend to just work in YYCHR because it's fast and easy so I guess I'm just giving you ideas that would make me use NESST instead
If you're still up for adding features though, the rectangle and line tools work in the tile editor. I find them handy - actually I use the rectangle tool almost all the time as you can do single pixels, lines or rectangles with it. You could probably forget about the line tool.
Oh and colour fill in the tile editor too
I tend to just work in YYCHR because it's fast and easy so I guess I'm just giving you ideas that would make me use NESST instead
If you're still up for adding features though, the rectangle and line tools work in the tile editor. I find them handy - actually I use the rectangle tool almost all the time as you can do single pixels, lines or rectangles with it. You could probably forget about the line tool.
Oh and colour fill in the tile editor too
Rectangle only allow to draw straight lines, arbitrary lines aren't needed then?
Isn't it could be rather difficult to use these tools with 2x zoom only? You barely can target to the exact pixel with this zoom. If I'll add more zoom levels, I'll have to add scroll bars to the tile set, probably, and also if there will be ability to draw in the tileset and zoom like 16x, CHR editor window will be redundant.
For now, I can't clearly imagine how it could look and which changes are necessary.
Isn't it could be rather difficult to use these tools with 2x zoom only? You barely can target to the exact pixel with this zoom. If I'll add more zoom levels, I'll have to add scroll bars to the tile set, probably, and also if there will be ability to draw in the tileset and zoom like 16x, CHR editor window will be redundant.
For now, I can't clearly imagine how it could look and which changes are necessary.
- neilbaldwin
- Posts: 481
- Joined: Tue Apr 28, 2009 4:12 am
- Contact:
I don't know how much time you want to spend on this Shiru or how much you'd be happy moving away from what it was originally but personally I would lose the CHR window and do the tile editing in the tileset itself (with zoom and scroll, as you say). Then it would be easier for you to draw graphics that are made of more than one tile etc.
I don't want to spend too much time on it, it is just a little tool for rather specific tasks, but I can spend few days on it.
I'm afraid that zoom+scroll could be not enough. For example, with 16x zoom (as in CHR Editor window) you only be able to see 16x16 area, and with 8x (smaller zooms aren't comfortable to edit the graphics, I think) only 32x32. Is it enough? You also will need to press a key or a button to switch between the tile select and tile drawing modes, or use some shift key to select a tile (increases chances of accidental graphics change).
I'm afraid that zoom+scroll could be not enough. For example, with 16x zoom (as in CHR Editor window) you only be able to see 16x16 area, and with 8x (smaller zooms aren't comfortable to edit the graphics, I think) only 32x32. Is it enough? You also will need to press a key or a button to switch between the tile select and tile drawing modes, or use some shift key to select a tile (increases chances of accidental graphics change).
- neilbaldwin
- Posts: 481
- Joined: Tue Apr 28, 2009 4:12 am
- Contact:
Yes, that's what YYCHR does. Depending on your zoom level you can only draw on 1 x 1, 2 x 2, 4 x 4, 8 x 8 etc. But then YYCHR does have a tileset (that you can always see 256 tiles) and an tile editing box - YYCHR has it's nametable editor in a different window but I prefer your approach of having the nametable in the main window.Shiru wrote:I don't want to spend too much time on it, it is just a little tool for rather specific tasks, but I can spend few days on it.
I'm afraid that zoom+scroll could be not enough. For example, with 16x zoom (as in CHR Editor window) you only be able to see 16x16 area, and with 8x (smaller zooms aren't comfortable to edit the graphics, I think) only 32x32. Is it enough? You also will need to press a key or a button to switch between the tile select and tile drawing modes, or use some shift key to select a tile (increases chances of accidental graphics change).
Let me have a think about it a bit more before I ask you to make such big changes - I wouldn't want to waste your time if it turns out to be a bad idea.
- neilbaldwin
- Posts: 481
- Joined: Tue Apr 28, 2009 4:12 am
- Contact:
Shiru,
Would it be easy to implement a "export tile numbers" function?
You would select part of the nametable (using shift and drag) and then select the export function and either binary data be exported row by row of the selected area, or even better, export hex numbers (or .byte/.db?)
So if you selected an area 4 rows x 4 columns, the export will result in a file that looks like ;
.BYTE $00,$00,$00,$00
.BYTE $01,$02,$03,$04
.BYTE $00,$00,$00,$00
.BYTE $01,$02,$03,$04
(the $xx numbers are just made up as an example)
I'd love this function. It comes in really handy if you're trying to design partial nametables that you might overlay in your code. Best example would be for menu boxes etc
Would it be easy to implement a "export tile numbers" function?
You would select part of the nametable (using shift and drag) and then select the export function and either binary data be exported row by row of the selected area, or even better, export hex numbers (or .byte/.db?)
So if you selected an area 4 rows x 4 columns, the export will result in a file that looks like ;
.BYTE $00,$00,$00,$00
.BYTE $01,$02,$03,$04
.BYTE $00,$00,$00,$00
.BYTE $01,$02,$03,$04
(the $xx numbers are just made up as an example)
I'd love this function. It comes in really handy if you're trying to design partial nametables that you might overlay in your code. Best example would be for menu boxes etc
Okay, Here's two reason.
4K ROM's are a waste and just adding 4K to that (Like every NES game ever released) lets you do alot more with graphics and backgrounds.
8K is the minimum standard. Even the simplest NROM games use 8KB graphics. (Searching for games under 16KB in size yields one result, galaxian clone that uses 8KB PRG and 8KB CHR, still too much)
4K ROM's are a waste and just adding 4K to that (Like every NES game ever released) lets you do alot more with graphics and backgrounds.
8K is the minimum standard. Even the simplest NROM games use 8KB graphics. (Searching for games under 16KB in size yields one result, galaxian clone that uses 8KB PRG and 8KB CHR, still too much)
neilbaldwin, yes, it should be easy. I could make a function which will puts the data as .db's into the Windows clipboard, it is ok, or you need file export?
3gengames, you giving me not the information I need. Of course I know that the CHR ROM banks are 8K. I use NESASM, which allows me to include arbitrary set of data in a bank. So I just incbin two 4K *.chr files to fill a CHR ROM bank, and there is no waste, you just have two *.chr files instead of one. I assume that more than one page on a screen is a rare case (requires tricks to switch pages mid-screen), and I don't plan to support these cases, that's why 4K files.
3gengames, you giving me not the information I need. Of course I know that the CHR ROM banks are 8K. I use NESASM, which allows me to include arbitrary set of data in a bank. So I just incbin two 4K *.chr files to fill a CHR ROM bank, and there is no waste, you just have two *.chr files instead of one. I assume that more than one page on a screen is a rare case (requires tricks to switch pages mid-screen), and I don't plan to support these cases, that's why 4K files.