Help - Search - Members - Calendar
Full Version: Exceptions in BG2 to BG1 BAM conversion?
The Black Wyrm's Lair - Forums > Mod development resources & discussion > Modder's Workshop
Baronius
I am not a specialist in this, I just know that BG1 bams are decompressed, and thus if I want an animation from BG2, I have to decompress it. Near Infinity has been excellent for this so far, I just click Export, choose Decompressed, and specify my BG1 Override path.

However, with BG2's IPLAT04 and IPLAT23.BAM, there is a problem. It doesn't cause a crash in the game, but it is displayed in the inventory as a colourful pixel monstrousity, only its shape can be seen. If I lift it in the inventory, the armour loses its shape as well, becomes a rectangle, 'filled' with the same pixel mess. (By the way, CPLAT23 is okay.) Both are full plate mails. Perhaps some problem with the palette?

Any ideas?
jastey
No ideas, but I had a similar problem when extracting / decompressing the "empty bottle" BAM from BG2 (no idea how it is called) with NI and using it for the BG1 slime quest. Sir-Kill extracted a functioning one for me, maybe he has a good idea. smile.gif
Sir-Kill
I exproted the images as 2 seprate images then made a new bam (remember to save the image in 256 color before making it a bam again) I could do it for you you will just have to remind me.
Baronius
Thanks a lot, I will do if I encounter a problematic BAM. (I changed my mind about the armour's animation, not because of the export problem).
Avenger_teambg
This might be because the decompressor/compressor is bad.
If you made it with NI, try DLTCEP, or vice versa.
If DLTCEP screws it, tell me. I have an idea what could go wrong: the number of transparent pixels is exactly 256.
Avenger_teambg
Another thing that might go wrong is that the transparent color is not set to 0.
BG2 can render only bams (in hardware mode) which got the transparent color at 0. position in the palette.
If this is the case, you can check/fix the bams in dltcep.
1. Load the bam.
2. check if the 'transparent index' in the bottom section of the screen is nonzero.
3. if it is non zero, click on 'order palette' and resave.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.