Jump to content


MasterScrat

Member Since 31 Mar 2009
Offline Last Active Jun 25 2020 01:08 AM

Posts I've Made

In Topic: Problems reading BAM files

31 March 2015 - 01:39 PM

I'm not sure what language you are working in, but you might find it useful to know how Beamdog loads BAM files.  Note that "bammer" is Beamdog's internal BAM editing tool.

 

When the hell did that come out. I spent so much time writing my own PHP converters 5 years ago (yes PHP, I was young and stupid at the time). This should solve a lot of my problems, thanks a lot for pointing it out to me! :D

 

Does anyone know why there are utilities to convert to PNG and JSON formats? Does anyone have a link to some kind of announcement?!

 

In any case this me very happy :D 


In Topic: Problems reading BAM files

30 March 2015 - 11:09 PM

Oops your are right, I made a mistake copy-pasting the names. I am using original, unedited BG2 files.

I meant: DBAM1A1.bam and DBAM1G1.bam. Which are used from DKHALID01.cre, if I remember well.

In Topic: Rendering fake colored avatars

30 March 2015 - 02:36 PM

After further research, it seems the other colours are used for various small elements of the characters. Here are 2 characters generated with only grey for the main colours, and blue for the additional 21 ranges.

 

I can't find any documentation saying which of these range goes to which part of the character. Any pointer?


In Topic: Rendering fake colored avatars

30 March 2015 - 09:05 AM

Thanks a lot! But... I still see green highlights in her hair. Should I change the other ranges that are green in the original palette as well? Or is it an accessory in her hair?

 

And if it an accessory, then what is the use of the extra colours beyond the 7 * 11 = 77 ones that are used for various body parts?


In Topic: Rendering fake colored avatars

30 March 2015 - 08:19 AM

Thanks, the guide will definitely be useful.

 

But I still don't fully get how colouring works... I get a full palette of 255 colours, consistent with the "STANDARD COLOUR USAGE" (see attached image):

 

GREY - Belt buckles, small metal things
TEAL - Minor clothing colour
PINK - Major clothing colour
YELLOW - Skin colour
RED - Leather colour
BLUE - Armour colour
GREEN - Hair colour (nice!)

 

And I guess this lets me go from fake colours to the real ones (I still need to try this):

 

To calculate mixed colours, add the two pure RGB values and divide by two. Always round down. 

 

BUT what I don't get is how do I know which range from the palette I need to modify to change, for example, the hair colour?