CPCWiki forum

General Category => Applications => Topic started by: ssg on 20:43, 01 February 11

Title: Grafx2 CPC palette
Post by: ssg on 20:43, 01 February 11
How do we set up CPC palette for Grafx2? I downloaded a PAL file from the Grafx2 wiki but I couldn't find an option to load it into Grafx2 and possibly make the setting permanent?
Title: Re: Grafx2 CPC palette
Post by: MacDeath on 01:56, 02 February 11
Hermol at CPCrulez made this pack...(sorry site in french)

http://cpcrulez.fr/emulateurs_UTILGRAdownload.htm#GX2 (http://cpcrulez.fr/emulateurs_UTILGRAdownload.htm#GX2)

There to DL it.
http://cpcrulez.fr/zip/index.php?download=GRAFX2-batch-CPC (http://cpcrulez.fr/zip/index.php?download=GRAFX2-batch-CPC)

From what I remember those were loader to get Grafx2 into pre-set Mode0 or Mode1 config for PLUS and CPC...

Haven't checked those for a while though...
Title: Re: Grafx2 CPC palette
Post by: ssg on 12:22, 02 February 11
Thanks! I had to download the ones for 2.2.2 from the first page. The other one doesn't work with the version I have. That script simply reduces RGB granularity to 3, making the palette compatible with CPC, but I'm still unsure about how it saves data compatible to CPC. What about incorrect pallette indexes? Can Grafx2 fix that just by setting "cpc" as file type?
Title: Re: Grafx2 CPC palette
Post by: MacDeath on 16:39, 02 February 11
Well, with the 3x3x3 palette = 27... you are clearly CPC compatible...

After this, you have to use the correct ink slots...
As you know, Colours, Palette and Inks are 3 different concepts, despite always mixed in common talks...

CPC has 27 colours, a 32 slot palette and get 16/4/2 inks depending the mode.

So on Graphix2 :
first 16 : mode0
first 4 : mode1...
The other inks are simply ignored, and be carefull not to use any other inks in the picture...

sometimes you may use another slot's black and may not see it...
Alter the colours to see if you have parasistic pixels.

BTW I always worked with guys who could use my graphics from a PC format.
can't tell you all the details...

You should ask Fano.

Grafix2 has some issue concerning the fact it uses the actual palette to get its colours for the interface...
And it need 2 greys and B&W...

Problem :CPC has only one grey, which is clearly in the "middle" so when you put colours in the palette the programme don't know which one to use, somethimes it use the same grey twice, other time it switch erraticly to another additionnal colours...
This is quite visually unstable, they tried to fix this a bit...


But I didn't used Grafix2 recently so I can't tell you a lot about it at the moment...
(I have only RAM and not Data storage in my brain... :laugh: )

But you may have to keep track what inks and colours you use, to get them in the CPC in the right order when you code your stuff...


BTW I hope to see your work one day. ::)
Title: Re: Grafx2 CPC palette
Post by: ssg on 01:18, 04 February 11
Thanks. My avatar is my own work (done with autodesk animator 1.0 back in 1997) :) I'll sure share when I come up with new stuff.
Title: Re: Grafx2 CPC palette
Post by: ssg on 01:24, 04 February 11
Ok I found a simpler way.

Download: http://grafx2.googlecode.com/svn/branches/pic-samples/pal/amstradcpc.pal (http://grafx2.googlecode.com/svn/branches/pic-samples/pal/amstradcpc.pal)

And simply load it from Grafx2. To automate it a batch file could be created with the contents:

Code: [Select]
@bin\grafx2 amstradcpc.pal
Title: Re: Grafx2 CPC palette
Post by: sigh on 01:39, 04 February 11
Your a star!!! I had been looking for these R G B amstrad palette numbers.

The confusing thing is that there seem to be 2 greys:

128 128 128
and
192 192 192

I've been using 128 128 128 for my graphics...
Title: Re: Grafx2 CPC palette
Post by: ssg on 15:30, 05 February 11
yes 128,128,128 for grey makes more sense since a grey on CPC is a "half on" white (which is 255,255,255). 127,127,127 could even be more accurate.
Title: Re: Grafx2 CPC palette
Post by: MacDeath on 22:32, 06 February 11
The 2nd grey is because of a bug from Grafx2...

As I told it need 2 greys to display the GUI...but as amstrad has only one "purely middle" grey... this create an horrible glitch/bug...


Title: Re: Grafx2 CPC palette
Post by: sigh on 00:23, 07 February 11
yes 128,128,128 for grey makes more sense since a grey on CPC is a "half on" white (which is 255,255,255). 127,127,127 could even be more accurate.

Okay. Thanks.

The 2nd grey is because of a bug from Grafx2...

As I told it need 2 greys to display the GUI...but as amstrad has only one "purely middle" grey... this create an horrible glitch/bug...

Double Thanks!