Genny gfx tools for PC?

Ask anything your want about Megadrive/Genesis programming.

Moderator: BigEvilCorporation

Post Reply
jobro
Interested
Posts: 25
Joined: Tue Jul 10, 2007 4:34 am

Genny gfx tools for PC?

Post by jobro » Sat Jul 14, 2007 3:48 pm

Is there any gfx tools on PC to convert pictures to the Genny palette? I know that there is a tool that can convert from a 16 color image, but from 24 bit images?

Fonzie
Genny lover
Posts: 323
Joined: Tue Aug 29, 2006 11:17 am
Contact:

Post by Fonzie » Sat Jul 14, 2007 4:32 pm

Psp6 (paint shop pro6, no other version) can work on all color modes from 1 bit to 32bit...

I use it for all my pixel works (along with Pedit to carefully chose colors and generate a palette to load in paintshoppro6).

evenpace
Newbie
Posts: 3
Joined: Thu Jul 05, 2007 11:20 pm

Post by evenpace » Sat Jul 14, 2007 4:59 pm

pretty sure Gimp can handle this as well!

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Sat Jul 14, 2007 9:32 pm

I make palettes with my TGFedit 0.24 or with IrfanView 3.8, but draw everything with MS-Paint. Fonz is PSP6 freak, I'm Paint :wink:
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

Edge-`
Interested
Posts: 39
Joined: Sun Dec 10, 2006 3:26 am

Post by Edge-` » Thu Jul 19, 2007 12:31 pm

I use Photoshop to make the images (making the image indexed for the colors I want, saving the palette as a file if I need to mix and match), then I use Kaneda's gfx tool (the old one with the dos window :D) to convert the image. Then I just use notepad to move the colors around if needed. Pretty raw way of doing it but it works.
Genny Wars (Someday.. :D)

jobro
Interested
Posts: 25
Joined: Tue Jul 10, 2007 4:34 am

Post by jobro » Tue Jul 31, 2007 1:03 pm

Notepad? That means that you can edit the palette as pure text no? Care to post a snippet of how such palette looks as text?

TulioAdriano
Very interested
Posts: 81
Joined: Tue Jul 10, 2007 7:45 pm
Location: Brazil / USA
Contact:

Post by TulioAdriano » Tue Jul 31, 2007 9:19 pm

jobro wrote:Notepad? That means that you can edit the palette as pure text no? Care to post a snippet of how such palette looks as text?
Not sure about C but as far as programming goes you can either load binary data or load data in memory. Here is a sample of palette and a tile using the palette, used in one of my demos.


Code: Select all

PaletteStars:
	DATAINT	$0EEE,$0EEE,$0CCC,$0AAA,$0888,$0666,$0444,$0222	
	DATAINT	$0000,$0ECC,$0EAA,$0E88,$0866,$0844,$0822,$0800	

Tile:
	DATALONG	$88848888	 
	DATALONG	$88838888
	DATALONG	$88525888
	DATALONG	$85212588
	DATALONG	$32111234
	DATALONG	$85212588
	DATALONG	$88525888
	DATALONG	$88838878
So, it is pretty straight forward: The palette values are like HTML RGB values for colors, except that you cannot follow each step so instead of "0123456789ABCDEF" I use "02468ACE", like: 0x0E00 is red, 0x00E0 is green, 0x000E is blue and you combine to get the colors like RGB.
Total 512 colors possible (8R x 8G x 8B = 512).

The tile show the number of the entry in the palette, and each number is a dot. Easier than you though, huh? Once you understand those values it is easy to find them in a heximal editor of whatever you are editing. Notepad is also possible but since it only display chars you have to know where you're touching because you cannot write values below 32 (0x20 = blank space).

Questions? ;)
Image

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Wed Aug 01, 2007 4:15 pm

I made a small program that rips out palette form BMP file and puts it into a file which you can INCLUDE in your ASM code...
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

Post Reply