General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.
Moderator: ZSNES Mods
creaothceann
Seen it all
Posts: 2302 Joined: Mon Jan 03, 2005 5:04 pm
Location: Germany
Contact:
Post
by creaothceann » Thu Jul 13, 2006 6:40 am
Accessing the registers that way would be nice.
Btw. you'd need 3 writes to set any possible color - one for each RGB channel. Some colors require less.
PhoenixX_2
Rookie
Posts: 17 Joined: Tue Jul 11, 2006 4:56 pm
Post
by PhoenixX_2 » Thu Jul 13, 2006 1:34 pm
The grabbing would be to some arbitrary 8x[whatevermanytiles] bitmap.
Unless the color merely uses a palette colour, then it'd be just 1 byte
.
creaothceann
Seen it all
Posts: 2302 Joined: Mon Jan 03, 2005 5:04 pm
Location: Germany
Contact:
Post
by creaothceann » Thu Jul 13, 2006 3:23 pm
I still don't understand, sorry.
Do you mean copying all tiles of a background to a bitmap that has a size of 8x1024 pixels? (larger for bigger BGs)
PhoenixX_2
Rookie
Posts: 17 Joined: Tue Jul 11, 2006 4:56 pm
Post
by PhoenixX_2 » Thu Jul 13, 2006 5:39 pm
Hehe.
I mean grabbing all the unique tiles from a specific BG and putting them into a bitmap. The width would be based on the number of tiles it was able to properly fetch.
[url=http://www.engine001.com/]001 Action/RPG Maker in Development[/url]
creaothceann
Seen it all
Posts: 2302 Joined: Mon Jan 03, 2005 5:04 pm
Location: Germany
Contact:
Post
by creaothceann » Thu Jul 13, 2006 6:52 pm
Sure, that wouldn't be a problem. As I said I can't do it, but I could help if you want to write such a program.
PhoenixX_2
Rookie
Posts: 17 Joined: Tue Jul 11, 2006 4:56 pm
Post
by PhoenixX_2 » Fri Jul 14, 2006 4:10 pm
Yeah, I'm just trying to see if it is worth building an app, or doing it manually.
About BGMapper... Does it work with the new ZST files? It seems to only accept the older ZS? files (where ? is replaced by a digit).
[url=http://www.engine001.com/]001 Action/RPG Maker in Development[/url]
creaothceann
Seen it all
Posts: 2302 Joined: Mon Jan 03, 2005 5:04 pm
Location: Germany
Contact:
Post
by creaothceann » Fri Jul 14, 2006 4:22 pm
It should also work with the current ZSTs.
Savestate slot 0 has the filename extension *.zst, the other slots have the extension *.zs1 to *.zs9. The format stays the same.
pagefault
ZSNES Developer
Posts: 812 Joined: Tue Aug 17, 2004 5:24 am
Location: In your garden
Post
by pagefault » Fri Jul 14, 2006 4:38 pm
I will add this to a command line option but you will be limited to a 15-bit colour range.
creaothceann
Seen it all
Posts: 2302 Joined: Mon Jan 03, 2005 5:04 pm
Location: Germany
Contact:
Post
by creaothceann » Fri Jul 14, 2006 6:28 pm
That would be nice.
I'm sure the 15-bit range won't be a problem.
PhoenixX_2
Rookie
Posts: 17 Joined: Tue Jul 11, 2006 4:56 pm
Post
by PhoenixX_2 » Fri Jul 14, 2006 8:22 pm
I DEMAND all 24 bits!!...
As long as it isn't default to black (or whatever seems to be the census about what colour it is painting), I think it'd be very nice
.
[url=http://www.engine001.com/]001 Action/RPG Maker in Development[/url]
Deathlike2
ZSNES Developer
Posts: 6747 Joined: Tue Dec 28, 2004 6:47 am
Post
by Deathlike2 » Fri Jul 14, 2006 9:13 pm
There's a pretty good chance it will default to black.. as any other color isn't normal to the majority of the users.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
creaothceann
Seen it all
Posts: 2302 Joined: Mon Jan 03, 2005 5:04 pm
Location: Germany
Contact:
Post
by creaothceann » Sat Jul 15, 2006 7:24 am
Why should there be a default color? Just require that the format is
ZSNES -bd#005070
... or similar, and ignore the switch if no color is specified.