View Full Version : XML Manipulator


ClassicThunder
Sep 28, 2007, 08:38 PM
XML Manipulator

Download: (http://forums.civfanatics.com/downloads.php?do=file&id=7127&act=down)

Description:
This program I made allows you to make repetitive changes to XML very quickly. It allows you to add add tags, remove them, and set default values. One thing I've found very useful was to update XML files to BTS and copy the needed parts over.

I also spent a bit of time to make a nice interface so it should be pretty easy to use. Post or E-Mail me at ClassicThunder@bellsouth.net if you need any help. This app is mainly to help upgrade to BTS but you could also easily convert BTS material to the regular game if you wanted.

Uses
Adding Tags: This program allows you to add tags to a file allowing you to convert a whole file to BTS schema and then copy over what you need directly to a BTS file.
Removing Tags: You can do just the opposite converting BTS to stock and then copy over the new units and buildings.
Default Values: You can easily set every requirement to none making it easer to add in a tech tree and then hook everything back up.

NikNaks
Sep 29, 2007, 02:01 PM
Looks good! Although you've put MXL File instead of XML file ;)

cynical81
Oct 03, 2007, 01:34 PM
Is this for BTS only? I got an error trying to open it for the first time: Application Failed to Initialize Properly (0xc0000135).

EDIT: Sorry, I didn't have the .net framework installed. Fixed now. I still don't fully understand what it's supposed to do though.

ClassicThunder
Oct 03, 2007, 05:55 PM
Its supposed to make converting a lot faster and easier.

For example:
After the iHurryCostModifier tag in stock you could add the iAdvancedStartCost tag and the iAdvancedStartCostIncrease tag with appropriate default values to every unit in about 10 clicks. After about 5 mins you can update a whole xml file and then copy and paste the units you want.

You could also use the remove function to remove any tags that are in BTS and are not in the stock game then copy BTS units over. Until you get used to the program I suggest you make backups before doing anything though.

The Navy Seal
Oct 09, 2007, 08:39 AM
Wow, I'll have to take a look at this. This will make upgrading a lot easier. :thumbsup:

ClassicThunder
Oct 09, 2007, 10:30 AM
Thats the idea. Report back anything you dislike or have any problems with.

RandallS_1985
Mar 08, 2008, 06:58 PM
This download link is corrupt, "File Not Found."

NikNaks
Mar 09, 2008, 03:51 AM
Can you re-upload, 'Thunder? If you haven't already heard, a hacker deleted all the files in the Download DB back to around June/July last year.

JEELEN
Mar 13, 2008, 07:48 AM
:agree: Yeah, I really need to do some XML editing!:(

MacGyverInSpace
Mar 14, 2008, 10:49 PM
Someone try e-nagging ClassicThunder?

ClassicThunder
Mar 16, 2008, 04:55 PM
There we go I fixed it. Thanks to who ever E-Mailed me.

JEELEN
Mar 17, 2008, 07:43 AM
Thank you, ClassicThunder!:goodjob:

CivalGanjaman
Jul 18, 2008, 07:50 PM
Out of interest what did you write this in ? Thanks