Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: How to add colors to pcx file?
Thread: How to add colors to pcx file?
songfx
songfx


Adventuring Hero
posted December 11, 2011 03:57 AM

How to add colors to pcx file?

I want to modify the hero screen pcx, HEROSCRZ.pcx.
I successfully extract HEROSCRZ.bmp from h3bitmap.lod, and open it in Photoshop.
However, I failed to add some other colors such as red into the bmp.
In addtion, I can't replace colors in the color index, otherwise it will display incorrectly in game.

I noted there are many MODs have manager to replace hero screen, such as Master of Puppets. I wonder how they are done.
____________
Chinese WOG Forum

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
JimV
JimV


Responsible
Supreme Hero
posted December 11, 2011 06:02 AM

Others know more about this than me, but I will write what I think I know.

Some pictures are meant to display with different colors for different players, for example, the menu buttons for the Adventure screen, or the borders of Hero screens.  I believe Heroes 3 uses the last 32 colors of its 256-color palettes for these colors (4 colors per player - four shades of red, blue, etc.).  Grayface's excellent tools will add these colors to palettes automatically, for the the DEF's which have this feature.  For pictures which aren't part of DEF's, I think you will need a sample palette which has these last 32 colors (I don't have one), and will have to index all the rest of the colors you use into the first 224 colors of your palette.

I myself build DL pictures using GIMP, and index them to 224 colors.  That way none of the colors I use will be replaced by different colors for different player flags.  Before I figured this out I was shocked to see that my pictures which looked good in GIMP had muddied colors in Heroes.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0204 seconds