Gconvert problems

Topics on software tools like TileStudio, comments on documentation and tutorials (or the lack of) should go here.
Post Reply
User avatar
DaveyPocket
Posts: 378
Joined: Sun Sep 14, 2008 8:33 pm
Contact:

Gconvert problems

Post by DaveyPocket »

I'm trying to convert graphics using gconvert. I keep getting the following error: Error in bridge.xml: Error reading Attributes.

Is it having trouble reading the xml file or the input graphics file?

This is what my XML file looks like:

Code: Select all

<?xml version="1.0" ?>
<gfx-xform version="1">
    <input file="./gfx.png" type="png" tile-width="8" tile-height="8"/>
    <output file="../gfx.inc>
        <tiles var-name="uMTiles"/>
        <maps pointers-size="8">
	    <map var-name="map_bridge" left="1" top="0" width="3" height="1"/>
	    <map var-name="map_char" left="0" top="1" width="1" height="2"/>
	</maps>	
    </output>
</gfx-xform>
I saved the PNG using GIMP, the graphics mode is set to indexed and uses the Uzebox palette. I attempted to save as raw, but GIMP doesn't have the capabilities to save in that format. Is something wrong with my PNG or XML?
User avatar
DaveyPocket
Posts: 378
Joined: Sun Sep 14, 2008 8:33 pm
Contact:

Re: Gconvert problems

Post by DaveyPocket »

Fixed it, forgot a endquote...
Post Reply