Game art in PNG format

Discussion about the game and its default mods.
Post Reply
Lamoot
Posts: 10
Joined: Thu Nov 25, 2010 8:17 pm

Game art in PNG format

Post by Lamoot »

Hello,

Currently OpenRA uses art assets in the .shp format, for obvious reason to use original Red Alert and C&C sprites. I'm wondering though, how realistic would it be to support an image format unrestrained by licences, copyright etc. the immediate choice being PNG. OpenRA could then be used as an RTS engine for truly free/libre, or commercial projects, without relying on a proprietary format.

Things to consider here are, first, developer time and interest and then also possible technical limitations and difficulties the PNG format would bring.

Any thoughts on this?

xtf
Posts: 8
Joined: Sat Jul 10, 2004 7:18 am

Post by xtf »

SHP is a multi-image format, PNG is single-image (AFAIK).

Lamoot
Posts: 10
Joined: Thu Nov 25, 2010 8:17 pm

Post by Lamoot »

Ah, you mean in a way .gif can have multiple frames in a single file? From the technical point of view, PNG could then be used as a sprite sheet. Of course, then there's the "detail" of implementing this different way to handle sprites.

Matt
Posts: 1144
Joined: Tue May 01, 2012 12:21 pm
Location: Germany

already implented

Post by Matt »

OpenRA.Utility --extract allows you to get the SHP from a MIX file
OpenRA.Utility --png extracts the SHP into a PNG
OpenRA.Utility --shp repacks your (edited) PNG file to SHP

If you want a truly free engine that does not rely on proprietary legacy file formats for game files have a look at something like http://stratagus.sourceforge.net/ or http://springrts.com/

Post Reply