Page 1 of 1

Issues with OS SHP Builder OpenRA Utility

Posted: Mon Sep 19, 2016 12:27 am
by devilslayersbane
So, I've been working on updating my mod (which is slightly buried, but that's my own fault for not updating it). That being said, I've been getting bogged down because I want to add my own custom sprites to it. I have a .png file ready to be converted, however, both SHP Builder and OpenRA Utility refuse to convert the sprite. I exporeted the images to .png's then put them together via paint.net. Now, it's not really a naming issue, as I've used SHP Builder to convert .png's to SHP's for cameo's, but never full 32 facing sprites. I know that SHP Builder can do the color indexing (which paint.net can't do on it's own), however the only time it build's a sprite is when it meshes all of the frames together. (kinda). Images to come soon.

If anyone can help me with this issue, I do have the png located here.

Posted: Mon Sep 19, 2016 9:50 am
by Graion Dilach
SHP Builder cannot handle spritesheets, and can only import frames - which is why it requires the filename 0000 syntax. Aka, first frame has 0000, second 0001 etc etc..

The sole way I'm aware a spritesheet can be converted to an SHP is to get XCC Mixer, set up it's directory to the OpenRA content directories then select the correct palette, right-click on the image->Clipboard->Copy and then Clipboard->Paste as SHP when you get a window to specify all size-related properties of the result (frame sizes and count).