Page 1 of 1

shp -> png -> shp using OpenRA.Utility

Posted: Tue Nov 08, 2011 8:52 pm
by twarpie
I'm hoping someone can help me out. I've been trying to edit some cameos using the following steps:
  1. extracting them using XCC mixer
  2. convert them using OpenRA.Utility (and temperat.pal)
  3. edit them
  4. convert back to shp (again with OpenRA.Utility)
My problem is with step 4: "OpenRA.Utility --shp" doesn't take a 'palette' parameter, so I'm guessing the input png needs to already use the correct palette, but I'm kinda stumped as to how to do that.

It was my understanding that XCC mixer would be able to perform all these steps (except #3 of course), based on this post by raminator.

I also found the Open Source SHP Builder, which is nice enough, but it seems its shps aren't recognized by OpenRA as valid files.

Any pointers are appreciated.

Posted: Sat May 26, 2012 9:27 am
by Matt
Just use OpenRA.Utility.exe only:

Code: Select all

  --extract MOD[,MOD]* FILES
  --png SHPFILE PALETTE [--transparent]
  --shp PNGFILE FRAMEWIDTH
  --remap SRCMOD:PAL DESTMOD:PAL SRCSHP DESTSHP