|
Thread: Hero portrait image requirement for color/pallete? | |
|
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?
|
|
BTB
Famous 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.
|
|
myocytebd
Hired Hero
|
posted October 26, 2020 05:54 AM |
|
|
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.
|
|
Baronus
Legendary 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!
|
|
BTB
Famous 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
|
|
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
____________
|
|
Baronus
Legendary 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.
|
|
|