CPCWiki forum

General Category => Amstrad CPC hardware => Topic started by: NiNxPe on 14:07, 11 October 15

Title: The real hidden color palette of the GX4000
Post by: NiNxPe on 14:07, 11 October 15
Hi

As seen on CPCRuleZ :
The member MUSICMAN3512 found  the "The real hidden color palette of the GX4000".
It's a pallete of the 26 colors of GX4000 who replace the old palette for the old games.... and with it, a look of 16bit games.
To more understand, try the config file with emulator PC CPC : http://cpcrulez.fr/forum/download/file.php?id=2122 (http://cpcrulez.fr/forum/download/file.php?id=2122)
It's very impressive to see the game in an other look.
And THE question is :
Is there a solution to "change" Old Palette with the new on a real hardware ? with an other ROM ? or something else ?
Title: Re: The real hidden color palette of the GX4000
Post by: Ast on 15:18, 11 October 15
Fast answer, no!
Title: Re: The real hidden color palette of the GX4000
Post by: Gryzor on 16:09, 11 October 15
Hm, what are we talking about here? More info?
Title: Re: The real hidden color palette of the GX4000
Post by: arnoldemu on 16:29, 11 October 15
It is a config file for PC-CPC emulator. It allows you to re-define the colours used by the emulator for the standard CPC emulation. With this you can redefine the standard 27 CPC colours but make it look as if it was on a plus.

In reality the result is not a real CPC/Plus.

The correct way is to patch games to use real Plus hardware and use Plus palette.
Title: Re: The real hidden color palette of the GX4000
Post by: arnoldemu on 16:31, 11 October 15
It is not possible on standard CPC to replace palette in this way.

On Spectrum, a similar thing is the ULA plus.

ULAplus (https://sites.google.com/site/ulaplus/)

On BBC micro there was a hardware device that connected between monitor and BBC and this "read" which colour was being used and translated it into a programmed colour which could be anything.

http://8bs.com/othrdnld/tmu/tmu07-11.jpg (http://8bs.com/othrdnld/tmu/tmu07-11.jpg)
(Magazine cover shows the info, I can't find the article)

On CPC it could be possible to do the same with hardware.
Title: Re: The real hidden color palette of the GX4000
Post by: Gryzor on 16:31, 11 October 15
Ah I see. Well, I guess anyone doing an emulator could do something of the sort... Not terribly interesting, but I'd sure like to see some screens if someone can post them!
Title: Re: The real hidden color palette of the GX4000
Post by: NiNxPe3 on 21:04, 11 October 15
The goal is if it's possible to make à rom that able to replace all the 27 colors of Old  by 4096 colors of CPC & GX4000 to have an other look of games.
Thé tests is very impresive with PC CPC for about 90% of Old games.
Thé idea is to  replace all the original Old CPC palette by an other more near the original convertion
Title: Re: The real hidden color palette of the GX4000
Post by: arnoldemu on 14:02, 12 October 15
Quote from: NiNxPe3 on 21:04, 11 October 15
The goal is if it's possible to make à rom that able to replace all the 27 colors of Old  by 4096 colors of CPC & GX4000 to have an other look of games.
Thé tests is very impresive with PC CPC for about 90% of Old games.
Thé idea is to  replace all the original Old CPC palette by an other more near the original convertion
Understood.

It will be possible to do it with a ROM but only BASIC or games using firmware will benefit. I think a ROM like this will be limited.
I think I could make a patched OS that would do this and put it into a cartridge which you can run on plus with c4cpc.
I'll have a go later.

If you want to do 90% of all old games then you will need to patch the assembler code because most will go direct to the hardware.

Title: Re: The real hidden color palette of the GX4000
Post by: TFM on 15:39, 12 October 15
Well, 'just' create your own GA and supply it with new colors. However I see no sense in it. :)
Title: Re: The real hidden color palette of the GX4000
Post by: KaosOverride on 20:09, 12 October 15
Ahh, the fun of 9bit RGB vs 12bit RGB :D Because 3bit per channel can't be remade with 4bit per channel palette

You can replace the resistors at the CPC DAC with potentiometers and adjust your own palette.  :P
Title: Re: The real hidden color palette of the GX4000
Post by: andycadley on 21:00, 12 October 15
If I understand it, the idea is that most games look good with a specific rearrangement of the palette? It would require hacking of individual games to work, but that doesn't necessarily make the whole idea unfeasible. It would probably help to share the actual suggested palette scheme here (I get what I think is a permissions error from your link) as well as some screenshots of the end result to see how well it actually does work. It might be the "next step" in GX4000 cart conversions.
Title: Re: The real hidden color palette of the GX4000
Post by: andycadley on 21:06, 12 October 15
Quote from: KaosOverride on 20:09, 12 October 15
Ahh, the fun of 9bit RGB vs 12bit RGB :D Because 3bit per channel can't be remade with 4bit per channel palette
A common misconception, the Plus palette doesn't quite map to a standard 12-bit arrangement, it's arranged so that the mid points are (near enough) mapped onto the appropriate levels to remain compatible with the old school CPCs.
Title: Re: The real hidden color palette of the GX4000
Post by: MacDeath on 23:25, 12 October 15
if you have a different palette, you quite have to redo the graphics... palette swaps from on palette into another led to the terrible C64 to CPC ports...

hard to translate greys and brown into CPC...
Title: Re: The real hidden color palette of the GX4000
Post by: TFM on 16:02, 13 October 15
Agreed with that. I couldn't use the line provided before, so I can't tell if there are positive examples. But imho a well done game will just suffter from a color change.


Of course if you have a port from c64 to cpc and switch colors back to c64 palette, then if may look better. But in this case - as pointed out before - do a proper patch and use Plus colors.  :)
Title: Re: The real hidden color palette of the GX4000
Post by: NiNxPe on 11:19, 15 October 15
Some screens :

[attachimg=2][attachimg=3][attachimg=4][attachimg=5][attachimg=6][attachimg=7][attachimg=8][attachimg=9][attachimg=10][attachimg=11][attachimg=12][attachimg=13][attachimg=14][attachimg=15]
Title: Re: The real hidden color palette of the GX4000
Post by: NiNxPe on 11:31, 15 October 15
...
[attachimg=1][attachimg=2][attachimg=3][attachimg=4][attachimg=5][attachimg=6][attachimg=7][attachimg=8][attachimg=9][attachimg=10][attachimg=11][attachimg=12][attachimg=13][attachimg=14]
Title: Re: The real hidden color palette of the GX4000
Post by: NiNxPe on 11:39, 15 October 15
...
[attachimg=1][attachimg=2][attachimg=3][attachimg=4][attachimg=5][attachimg=6][attachimg=7][attachimg=8][attachimg=9][attachimg=10][attachimg=11][attachimg=12][attachimg=13][attachimg=14]
Title: Re: The real hidden color palette of the GX4000
Post by: Bryce on 11:49, 15 October 15
Aaaarrrrggghhh! It's as brown as a C64!!

Bryce.
Title: Re: The real hidden color palette of the GX4000
Post by: gerald on 11:56, 15 October 15
Let face it, sometimes hidden things should remain hidden  :picard:
Title: Re: The real hidden color palette of the GX4000
Post by: NiNxPe on 12:00, 15 October 15
[attachimg=1][attachimg=2][attachimg=3][attachimg=4][attachimg=5][attachimg=6][attachimg=7][attachimg=8][attachimg=9][attachimg=10][attachimg=11][attachimg=12][attachimg=13][attachimg=14][attachimg=15]
Title: Re: The real hidden color palette of the GX4000
Post by: NiNxPe on 12:04, 15 October 15
[attachimg=1][attachimg=2][attachimg=3][attachimg=4][attachimg=5][attachimg=6][attachimg=7][attachimg=8][attachimg=9][attachimg=10][attachimg=11][attachimg=12][attachimg=13][attachimg=14][attachimg=15]
Title: Re: The real hidden color palette of the GX4000
Post by: Bryce on 12:12, 15 October 15
It's not a hidden colour palette, it's a hidden C64 emulator! :D

Bryce.
Title: Re: The real hidden color palette of the GX4000
Post by: NiNxPe on 12:59, 15 October 15
Yessssssssssss  ;D
It's the same pallet Color

You're right it's an C64 emu !  :o
Title: Re: The real hidden color palette of the GX4000
Post by: NiNxPe on 13:04, 15 October 15
[attachimg=1][attachimg=2][attachimg=3][attachimg=4][attachimg=5][attachimg=6][attachimg=7][attachimg=8][attachimg=9][attachimg=10][attachimg=11][attachimg=12][attachimg=14][attachimg=13][attachimg=15]
Title: Re: The real hidden color palette of the GX4000
Post by: NiNxPe on 13:08, 15 October 15
[attachimg=1][attachimg=2][attachimg=3][attachimg=4][attachimg=5][attachimg=6][attachimg=7][attachimg=8][attachimg=9][attachimg=11][attachimg=10][attachimg=12][attachimg=13][attachimg=14][attachimg=15]
Title: Re: The real hidden color palette of the GX4000
Post by: NiNxPe on 13:12, 15 October 15
[attachimg=1][attachimg=2][attachimg=3][attachimg=4][attachimg=5][attachimg=6][attachimg=7][attachimg=8][attachimg=9][attachimg=10][attachimg=12][attachimg=11][attachimg=13][attachimg=14][attachimg=15]
Title: Re: The real hidden color palette of the GX4000
Post by: NiNxPe on 13:13, 15 October 15
[attachimg=1][attachimg=2][attachimg=3][attachimg=4][attachimg=5]
Title: Re: The real hidden color palette of the GX4000
Post by: Carnivius on 13:22, 15 October 15
In some cases it looks ok and still beats the C64 because the colours are not restricted in their placement (sprites can have all the colours on CPC, unlike C64) but it does all look rather washed out rainy afternoon compared to the vibrant colours they are originally.

And that's the most realistically skin-toned Bart Simpson I ever seen which means it really doesn't work there.  :)


Also there are two greens which are so close together in value it's very hard to tell them apart especially on the sprites which makes the Turtles, for example look quite flattened and undetailed.
Title: Re: The real hidden color palette of the GX4000
Post by: arnoldemu on 13:30, 15 October 15
a special cart or rom would not fix all these programs.

All of them would need patching.

a special cart or rom would only fix basic programs or programs that use firmware. so the special cart would only change the colours of about 40 games or so.

if you need to patch each game then you can choose more appropiate palettes for each game.

How is this different from a load of screenshots with palettes on a disk, or a mockup of how a cpc game could be recoloured for plus?
Title: Re: The real hidden color palette of the GX4000
Post by: arnoldemu on 13:39, 15 October 15
Quote from: NiNxPe on 12:59, 15 October 15
Yessssssssssss  ;D
It's the same pallet Color

You're right it's an C64 emu !  :o
there is a problem with your palette.
On real Gate-Array, index 0 and index 1 are the same -> grey.
Not in your palette!

Here you are defining 32 almost unique colours? So now, the h/w colours in standard cpc do not map correctly to new colours or????
Title: Re: The real hidden color palette of the GX4000
Post by: dragon on 15:00, 15 October 15
Oh, changue the palette in cpc is very easy.

Yo can select normal palette with colour monitor , green with green monitor and black and white with black and white monitor.

If youn need other colours palette ist more easy.

Take a paper and and transparent plastic and  cut parts of your colour.

Took on macgyver mode and build. it

The result is same as this: Specialized 3-D Lenses | American Paper Optics, LLC (http://www.3dglassesonline.com/our-products/specialized-lenses) And voila palette changed.
Title: Re: The real hidden color palette of the GX4000
Post by: Devilmarkus on 17:21, 15 October 15
Looked at the screenshots and thought to myself:
How happy I am, the old CPC has not such a color palette :)
(Just my personal opinion)

Edit: If someone likes to change the palette for some games, to CPC+ palette, I guess, it's simpiler to add a little hack into each game...
So the user can choose between patched game and normal...
(Shouldn't be too complicated to do a jump somewhere to free ram, where original palette code is located, and add additional code to enable plus palette)
Title: Re: The real hidden color palette of the GX4000
Post by: andycadley on 18:53, 15 October 15
Quote from: arnoldemu on 13:30, 15 October 15
a special cart or rom would not fix all these programs.

All of them would need patching.

a special cart or rom would only fix basic programs or programs that use firmware. so the special cart would only change the colours of about 40 games or so.

if you need to patch each game then you can choose more appropiate palettes for each game.

How is this different from a load of screenshots with palettes on a disk, or a mockup of how a cpc game could be recoloured for plus?

I was mostly curious as to whether there was a "good enough" default palette switch that would make it worth hacking a least some of the better games. There would always be a little scope to tweak the colours and it'd be a lot easier than having to redraw sprites etc to work better with a properly redesign graphics makeover.

The end result isn't overly convincing though. Although the idea of tweaking things in the emulator to get a feel for how colour changes might look isn't entirely without merit.
Title: Re: The real hidden color palette of the GX4000
Post by: McKlain on 19:05, 15 October 15
Where is the yellow colour?  :-[
Title: Re: The real hidden color palette of the GX4000
Post by: MacDeath on 19:11, 15 October 15
What's the point, every thing now looks like having only greyish blue and reddish browns...

Title: Re: The real hidden color palette of the GX4000
Post by: Fessor on 19:31, 15 October 15
SCNR... Very nice palette for drawing piles of dogshit in the moonligth...



If the cpc came out with that it would have flopped....

Title: Re: The real hidden color palette of the GX4000
Post by: Arnaud on 19:42, 15 October 15
It's snapshots of old CPC game running on CPC6128+ ? Or a special mode ?
Title: Re: The real hidden color palette of the GX4000
Post by: arnoldemu on 19:51, 15 October 15
Quote from: Arnaud on 19:42, 15 October 15
It's snapshots of old CPC game running on CPC6128+ ? Or a special mode ?

The screenshots are taken from an emulator where you can define the r,g,b for each cpc colour. The plus allows you to program colours using cpc method, and translates it into r,g,b for plus, this tells the emulator which colours to use.

In this way you can recolour games but only through the emulator.

In reality to recolour the games you need to patch them, edit the code, put the code in to set the palette, disable the old colours.

Perhaps this is a proof-of-concept to find a palette that can be used for many games and then later use that palette.

Now, it is possible to make a patched OS cart that uses new colours, but it would only work on basic or games using firmware, anything that sets it direct to the hardware will not work.


Title: Re: The real hidden color palette of the GX4000
Post by: ||C|-|E|| on 23:24, 15 October 15
Huuum... looking at the screenshots MAYBE some games could benefit from a palette like that, but I think that not so many. Somehow, I like Terminator, perhaps Cybernoid, Impossamole, Prince of Persia, Strider... However, many others look awful  :picard: .

Title: Re: The real hidden color palette of the GX4000
Post by: Gryzor on 10:49, 16 October 15
Some of them do look nice. But I don't understand either the purpose of the exercise other than showing off how we can emulate the muted and awful c64 palette (like others said, even with this they still look better than c64). Why not go in all this trouble with something more proper?
Title: Re: The real hidden color palette of the GX4000
Post by: Optimus on 11:48, 16 October 15
I think, it's an artistic choice. The author chooses intentionally less bright colors, maybe to have smoother transitions between them, or maybe because they look more mature?
There is a clash between C64 and CPC graphicians taste sometimes, for example I heard many C64 graphicians claim the CPC has very childish cartoonish color, while many CPCists find the C64 colors very brown and boring. While we prefer some bright colors, maybe it's how we where raised on the CPC or Speccy. So, you can't say which is better, but I definitely would prefer some brighter CPC+ colors (and there are genuine CPC+ games or demos that show this off)
Title: Re: The real hidden color palette of the GX4000
Post by: Gryzor on 12:05, 16 October 15
I see what you mean, and in the end, to some extend, it's how we're used to stuff.


But (and it's a huge BUT), if that was good enough then for me all shades of green would be the best. I only lived with the green palette for several years. Friends of mine had c64s and seeing colours was really great, but the first time I plugged my trusty 464 into a SCART TV I was blown away...


Maybe true; maybe the CPC palette could do with a little less saturation. But all kinds of shit being better than this? No way.
Title: Re: The real hidden color palette of the GX4000
Post by: seanb on 12:42, 16 October 15
Damn.
And I was hoping we'd have a way of changing Double Dragons palette
Title: Re: The real hidden color palette of the GX4000
Post by: TFM on 17:49, 16 October 15
Sure why not? Patch the game for Plus colors and there you go!  :)
Title: Re: The real hidden color palette of the GX4000
Post by: Fessor on 20:28, 16 October 15
You are talking about the Virgin/Mastertronic Version? You can give the game new colours. But the Graphics look bad converted and remember to ultima 6 on atari st which suffers the same fate. nearest colour alghorithm against a limited and fixed palette.

Search with an Hex-Editor for 14 07 0a 1e 1c 1f 00 06 0e 0c 1d 1a 16 03 1c 0b 14 in the Disk Image.
This are the Hardwarecolours which where ORed with &40.


CPC Palette - CPCWiki (http://www.cpcwiki.eu/index.php/CPC_Palette)

Colour-Setting Routine:
21 de a7 01 00 7f 16 11 7e 23 ed 49 F6 40 ed 79 0c 15 20 f4



0b8a:
ld hl,#a7de
ld bc,#7f00
ld d,#11
ld a,(hl)
inc hl
out (c),c
or #40
out (c),a
inc c
dec d
jr nz,#0b92
ret


Powered by SMFPacks Menu Editor Mod