Palette for LBM export

Hi,

I think Pro Motion NG is really the tool i need for generating tile maps for amiga. But in the end i need to also have the tiles-image on my amiga to generate raw image data in interleaved bitplane format. For this, i would like to save/export my 32 color images to lbm, which the program supports in general. But i can not load the lbm files on my amiga in deluxe paint. And it seems that Pro Motion NG saves the lbm with a 256 color palette, even if my palette only has 32 colors. I am able to convert the lbm using other tools, so that deluxe paint then is able to load the file. But then, as i said, the image has 256 colors, and i will have to convert to 32 colors in deluxe paint. Then i have to redefine the palette. It would be cool if Pro Motion NG could export to 32 color lbm, using the exact 32 color palette which was defined.

Greetings
Christian

I’m in the same boat, I have tested all kind of conversion tools to overcome this. This has been talked about several times before in this forum but it seems that this issue hasn’t yet been fixed. I would love to see this feature.

As a workaround, haven’t tested it much yet but seems to give good results from short testing, is the tool ham_convert. It’s java based with a GUI and can be ran from the command line as well. To use this tool you save your image as PNG in Pro Motion and then convert it to an IFF image using the following command:

java -Xms500m -Xmx2g -jar ham_convert_1.12.1.jar your_image.png ocs32 custom_pal=your_palette.pal

Thanks! I’ll try. Will the palette of the converted image be the same as the palette in pro motion ng?

Greetings
Christian

The palette of the exported image will be the same as the custom palette you give as a parameter to ham_convert, so that palette should be the same as the one in Pro Motion (but only the first 32 colors of course).

Ok. Sounds good. Thank you. By the way, if you also want to generate tile maps for amiga in interleaved raw format, i found that this tool works perfectly

If i save my tilemap as indexed png (1 coloumn width to ensure that the next tile is stored below the previous one) , i can use that tool to directly create a 5 bitplane raw image in interleaved mode, and load it directly in my game.

Parameters have to be:

-f bitplane
-l interleaved
-d 5 (for 5 bitplanes)

The palette i could save using “save palette” in Pro motion ng using jasc format…only thing to do is divide all rgb values by 16.

Greetings
Christian

Thanks, this might be useful as well!

Do you have a programmer at hand that could create a fie i/o plugin, based on this interface:
https://www.cosmigo.com/pixel_animation_software/plugins/developer-interface#File_IO_Plugin_Interface
?