pantinor Posted September 26, 2015 Share Posted September 26, 2015 I was working with the frames and animations in the bam files which have alot of the character frames. These are mostly the BAMS in BG2 SOA which begin with letter C (ie like CHFW2CA.BAM). The palettes on these are not the colors actually appearing in the game (like neon colors), and expect there is some conversion routine or formula which normally can changes the color palette in various ways to reuse the same sprite but have different palette. Is this routine or formula documented anywhere on how to convert the frame colors to the actual game colors? The BAM file for those has only one palette, how do they programatically apply correct color scheme palettes to those? Link to comment
lynx Posted September 26, 2015 Share Posted September 26, 2015 the used colors are configurable by the user and stored as individual character's stats. What do you want to do? Link to comment
pantinor Posted September 27, 2015 Author Share Posted September 27, 2015 I want extract the frames into an texture atlas for animations in another game I am working on. I wanted to find a way to swap in a real palette and was wondering if there are statically defined alternative palettes somewhere. Or else if not then I would have to manually create a new one manually. Link to comment
lynx Posted September 27, 2015 Share Posted September 27, 2015 Tough luck then. You do know you'll have licensing problems, though? Link to comment
pantinor Posted September 27, 2015 Author Share Posted September 27, 2015 Yes of course this is just personal not commercial. They must have some pre canned palettes for those because it is the same with the city characters that are used across. Will keep trying thanks. Link to comment
lynx Posted September 27, 2015 Share Posted September 27, 2015 yes, there are some palettes bundled. Look for .plt files. Some are in bams too. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.