General Tso
Panzer General
This is an XML editor for Civ4 that is extremely easy to use. It should cut the amount of time you spend editing XML files dramatically. It sorts the data from the xml file and makes it easier to read. You just have to click on a given item to bring up a dialog box that allows you to edit it.
Once you open the editor, try clicking on the Help button for some ideas on how to use it.
The version is now 1.13 - To use it, just download it, open the folder, and click on the "Civ4 XML Editor" shortcut.
Improvements in 1.13:
The editor now does a much better job of loading files that have been named differently than the ones that came with the game. If you're editing a mod with non standard file names you shouldn't have to use the "Type" button. You probably won't need the "Type" button at all, but I left there just in case.
Other recent improvements:
The editor now loads an XML file if one is passed to it when it opens. That means you can now make Civ4 XML Editor your delault program for xml files and double clicking on a file will open it within the editor. If you want to move your Civ4 XML Editor program folder, it would be best to do it before making it the default program for your xml files. It's a Windows thing.
You can also use the "Send To" option in the Windows right click menu to load files. To make the "Send To" option work, you will need to drag a shortcut of the editor into your SendTo folder.
Added support for negative numbers. (I don't know how I missed that one.)
Added Clone and Delete to the Class List. These commands can be used to quickly add or remove items like units or buildings in the game. You will still have to edit some values in it's Element List to finish the item, but the editor makes that easy.
Added new edit options to the Element List: Add, Clone, and Delete.
Added "Show Edit Help" option - when it's active the various edit options are displayed for each element.
Added option for larger text box when editing text.
Added some code to handle different types of file encoding.
Added the ability to search within the class list and the element list.
Download here:
Civ4 XML Editor Download
You can check out the screen shots below to see what the editor looks like.
Once you open the editor, try clicking on the Help button for some ideas on how to use it.
The version is now 1.13 - To use it, just download it, open the folder, and click on the "Civ4 XML Editor" shortcut.
Improvements in 1.13:
The editor now does a much better job of loading files that have been named differently than the ones that came with the game. If you're editing a mod with non standard file names you shouldn't have to use the "Type" button. You probably won't need the "Type" button at all, but I left there just in case.
Other recent improvements:
The editor now loads an XML file if one is passed to it when it opens. That means you can now make Civ4 XML Editor your delault program for xml files and double clicking on a file will open it within the editor. If you want to move your Civ4 XML Editor program folder, it would be best to do it before making it the default program for your xml files. It's a Windows thing.
You can also use the "Send To" option in the Windows right click menu to load files. To make the "Send To" option work, you will need to drag a shortcut of the editor into your SendTo folder.
Added support for negative numbers. (I don't know how I missed that one.)
Added Clone and Delete to the Class List. These commands can be used to quickly add or remove items like units or buildings in the game. You will still have to edit some values in it's Element List to finish the item, but the editor makes that easy.
Added new edit options to the Element List: Add, Clone, and Delete.
Added "Show Edit Help" option - when it's active the various edit options are displayed for each element.
Added option for larger text box when editing text.
Added some code to handle different types of file encoding.
Added the ability to search within the class list and the element list.
Download here:
Civ4 XML Editor Download
You can check out the screen shots below to see what the editor looks like.