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: Hero portrait image requirement for color/pallete?
Thread: Hero portrait image requirement for color/pallete?
myocytebd
myocytebd


Hired Hero
posted October 26, 2020 12:12 AM

Hero portrait image requirement for color/pallete?

Is there any extra requirement of HoMM3 hero portrait, in addition to correctly-sized 8-bit pcx?

I thought that the palette does not matter, but some images is not rendered correctly.

Small portrait on hero selection screen is rendered OK.
Entering the map, both small/large portrait may have some pixels with distorted colors.
(Actually the portrait rendering is never correct: rendered hero portraits is obviously differs from the original image.
But I am talking about "very wrong" result, like some white pixels become dark, etc.)

Does anyone know if it is HoMM3's bug, or there is extra requirement for the palette or image?

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


Known Hero
Moist & Creamy
posted October 26, 2020 12:14 AM

The first color in the bitmap palette is set as the "transparent" color, so that needs to be set to an unused color.

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


Hired Hero
posted October 26, 2020 05:54 AM
Edited by myocytebd at 06:29, 26 Oct 2020.

BTB said:
The first color in the bitmap palette is set as the "transparent" color, so that needs to be set to an unused color.

Thanks, but what image editor can swap palette entries efficiently?

IrfanView can force palette, but cannot swap palette entry. I have to export palette -> edit swap palette entry -> import palette.

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


Promising
Supreme Hero
posted October 26, 2020 06:46 AM

Paradoxally its a big problem with heroes III all bitmaps. We have no tool.
For single portrait you can use grayface deftool. Select def creation, next transparency color. Next save as bmp not def. So you will have fist color empty.
Mass creation is worst because deftool has no option select all frames. You must manually one by one!
Eg
MMArchive has it but you must use this color in picture. If not you have not.
So you must create bigger image with blue border next inject it to MM678 type icons.lod. So you have transparent blue. Next extract and autmatically crop borders using irfan view. You can fast make it with hundreds pics.
Irfan has bath option so you can add blue borders for a lot pics by one click. Next import to MMarchive icons lod next crop borders using irfan.
Very complicated.
But theres no tool for mass creation H3 bitmaps!

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


Known Hero
Moist & Creamy
posted October 27, 2020 02:56 AM

myocytebd said:
BTB said:
The first color in the bitmap palette is set as the "transparent" color, so that needs to be set to an unused color.

Thanks, but what image editor can swap palette entries efficiently?


Photoshop

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


Promising
Supreme Hero
posted October 27, 2020 07:41 AM

Tutorials how to create perfect homm3 portraits were written many times during heroes3 life and HC forum life. For example here:
http://heroescommunity.com/viewthread.php3?TID=36887
____________

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


Promising
Supreme Hero
posted October 27, 2020 09:26 AM

Very complicated as you see.
As I told.
1. Make portrait in bmp.
2. Open in h3 def tool
3. Save as bmp.
Its fastest method for some pictures.
But if want to replace eg. 876 pics. Do as Ive wroten upper.

 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.0240 seconds