Backbuffer Color

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 »

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.
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list
PhoenixX_2
Rookie
Posts: 17
Joined: Tue Jul 11, 2006 4:56 pm

Post by PhoenixX_2 »

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 »

:?:

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)
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list
PhoenixX_2
Rookie
Posts: 17
Joined: Tue Jul 11, 2006 4:56 pm

Post by PhoenixX_2 »

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 »

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.
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list
PhoenixX_2
Rookie
Posts: 17
Joined: Tue Jul 11, 2006 4:56 pm

Post by PhoenixX_2 »

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 »

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.
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list
pagefault
ZSNES Developer
ZSNES Developer
Posts: 812
Joined: Tue Aug 17, 2004 5:24 am
Location: In your garden

Post by pagefault »

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 »

That would be nice. :)

I'm sure the 15-bit range won't be a problem.
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list
PhoenixX_2
Rookie
Posts: 17
Joined: Tue Jul 11, 2006 4:56 pm

Post by PhoenixX_2 »

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
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

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 »

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.
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list
Post Reply