View Full Version : Civ4 XML Editor - First Release!
Futzy Nov 15, 2005, 01:54 AM BUG FIX! Fixed the alternate directory bug!
OK, this began life as a little app I was throwing together to help me create new civilizations for a mod. But as I got rolling, I decided it might actually be good enough to release, so here it is, version 0.1!
What it does so far:
Creates new mod folders
Updates the ini file in the root of mod folders
Allows you to create new civilizations and delete existing ones
Allows you to edit all civ properties located in the CIV4CivilizationInfos.xml file
Allows you to edit color and text data from the other relevant XML files
Enforces good practices by not modifying any of the root files
Stores location of Civ 4 files in a config file so you can change it if you didn't install it to the normal folder
Known Shortcomings and Bugs:
Does not work on any of the non-English languages in the text files
Does not edit one or two sections of the civ XML because I could not find samples of how they needed to be structured
Does not allow you to prevent a civ from building certain units
What it WILL do in future versions:
Allow you to edit Leaderheads
What it MAY do in future versions:
Include a graphic viewer so you can more easily select graphics
Include an audio player so you can more easily select audio
Allow you to edit other sections of the XML
For the technically inclined, I wrote the app in C# 2.0, since I just got my hands on the final version, and this seemed like a good teaching project.
PLEASE NOTE: Because this is written in a .NET 2.0 language, most of you will need to download and install the .NET 2.0 framework. You can find it here (http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en).
Please let me know what you think, I would love for this to continue to grow.
Edited to update feature list with things I forgot the first time around.
sovarn Nov 15, 2005, 03:27 AM wow, thanks.
This should be a very useful tool for ppl.
Feet Nov 15, 2005, 04:10 AM Dude.
I could hug you.
Feet Nov 15, 2005, 04:20 AM Just so you know that one the colours page you can choose 4 colours but there's only 3 preview boxes, this is pretty confusing.
Apart a few errors where you can just click continue it works really well.
Vilu Nov 15, 2005, 04:27 AM PLEASE NOTE: Because this is written in a .NET 2.0 language, most of you will need to download and install the .NET 2.0 framework.
Ouch. There goes my chance of trying out the editor. .NET 1.1 and 2.0 cannot co-exist on the same machine and I really need 1.1 for a project that doesn't work with 2.0.
emalherbe Nov 15, 2005, 04:36 AM Ouch. There goes my chance of trying out the editor. .NET 1.1 and 2.0 cannot co-exist on the same machine and I really need 1.1 for a project that doesn't work with 2.0.
You can run both at the same time. If you are having issues with IIS you can just right-click on the web app and select the 1.1 framework from the selector box (instead of the default 2.0) in the properties dialog.
Orion66 Nov 15, 2005, 04:43 AM !!!!!!!!!!!!
The editor doesn;t want to work becose I have diffrent path to game. I edited config file with a proper path but editor is still looking for 'C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Mods
Feet Nov 15, 2005, 08:06 AM Ok well it's loosing some of my information now which is pretty irritating. :P
Things like Civilopedia entries for the new factions, city names (they show up in the list but the name text box remains empty).
Weird thing is the first time ran it, they were held ok. I had to close it and when I came back to it later it no lnger saves this info. I think it HAS saved it in the XML but you can no longer see what you've put in the TEXT boxes in the app. I think. Something like that anyway.
Looking forward to the leaders part. I just tried to do it manually and it didn't work. :(
Futzy Nov 15, 2005, 08:15 AM Ok well it's loosing some of my information now which is pretty irritating. :P
Things like Civilopedia entries for the new factions, city names (they show up in the list but the name text box remains empty).
On the city tab, the names that show up in the list box on the left are the names in the civilization XML file, then when you click on one of the names, you should see the "friendly" name popup in the text box on the right (which is stored in one of the files in the Text directory, I don't remember which one off the top of my head). If it's losing those values, check and see when you save if it's saving both files. If should, but if it only saves the civ XML and not the text XML, that would explain the behavior you describe. If you could check and let me know, that'll help me find and fix the bug.
Futzy Nov 15, 2005, 08:29 AM Just so you know that one the colours page you can choose 4 colours but there's only 3 preview boxes, this is pretty confusing.
This is confusing, but it is because it is the way it works in the files. That first drop down defines a set of 3 colors, a primary, a secondary, and a text color. Then the 3 drop downs below that edit the actual colors. So for example (and I'm at work now, so I'm doing this from memory, so the names are probably a little off), let's say the first drop down is PLAYERCOLOR_BLUE, then under that are COLOR_BLUE for Primary, COLOR_WHITE for Secondary, and COLOR_BLUE_TEXT for Text. If you go in and Edit COLOR_BLUE_TEXT, then ALL items in the game that use COLOR_BLUE_TEXT will be changed to the new color you specify. If you instead hit New on Text Color, and create a new custom color called MYMOD_COLOR_BLUE_TEXT, then the default COLOR_BLUE_TEXT will remain unchanged, but the default PLAYERCOLOR_BLUE will now point to your new MYMOD_COLOR_BLUE_TEXT for its text color. So if you don't want to change any of the original colors, you should always start by creating a new color set at the top like MYMOD_PLAYERCOLOR_BLUE, then make new colors down below as necessary. But if you do want to overwrite the default colors, you have that ability.
Feet Nov 15, 2005, 08:38 AM It's updating an XML file called Text_Civilopedia_Civleaders.xml.
Pretty sure this is incorrect and it should be Civ4GameText_Civilopedia_Civleaders.xml
That's the problem. Its reading from the latter and writing to the former. Needs to both be the latter. :) Just a typo I guess.
Feet Nov 15, 2005, 08:40 AM This is confusing, but it is because it is the way it works in the files. That first drop down defines a set of 3 colors, a primary, a secondary, and a text color. Then the 3 drop downs below that edit the actual colors. So for example (and I'm at work now, so I'm doing this from memory, so the names are probably a little off), let's say the first drop down is PLAYERCOLOR_BLUE, then under that are COLOR_BLUE for Primary, COLOR_WHITE for Secondary, and COLOR_BLUE_TEXT for Text. If you go in and Edit COLOR_BLUE_TEXT, then ALL items in the game that use COLOR_BLUE_TEXT will be changed to the new color you specify. If you instead hit New on Text Color, and create a new custom color called MYMOD_COLOR_BLUE_TEXT, then the default COLOR_BLUE_TEXT will remain unchanged, but the default PLAYERCOLOR_BLUE will now point to your new MYMOD_COLOR_BLUE_TEXT for its text color. So if you don't want to change any of the original colors, you should always start by creating a new color set at the top like MYMOD_PLAYERCOLOR_BLUE, then make new colors down below as necessary. But if you do want to overwrite the default colors, you have that ability.
Ahhh I see. Thanks for clarifying that. :)
silentknight111 Nov 15, 2005, 09:10 AM !!!!!!!!!!!!
The editor doesn;t want to work becose I have diffrent path to game. I edited config file with a proper path but editor is still looking for 'C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Mods
Same here.. you can change the config file but it doesn't do anything :P
I cant use this because I install all my games to a different drive and it won't stop looking on my system drive.
AsnoT Nov 15, 2005, 10:30 AM Same here.. you can change the config file but it doesn't do anything :P
I cant use this because I install all my games to a different drive and it won't stop looking on my system drive.
oh my, what a pity - i also have games installed on their own harddisk, not default :(
Bone_Jones_00 Nov 15, 2005, 02:25 PM Maybe he can do an update that solely fixes that part where you can specify where to locate the game? Everyone here would love you!
Bone_Jones_00 Nov 15, 2005, 07:29 PM I tried and even edited the hex code to change to my location on my hard drive with no luck. I can't find it anywhere.
Futzy Nov 15, 2005, 08:21 PM OK guys, I found and fixed the bug with the directory. I have updated the file attached to the first message.
If you care, it was a classic 3 in the morning bug, I was reading the value out of the config file, but then overwriting it with your OS's Program Files location... :D
Cafegio Nov 15, 2005, 11:09 PM WHY DO I KEEP GETTING THIS ERROR
System.NullReferenceException: Object reference not set to an instance of an object.
at Civ4XMLEditor.frmMain.SaveFiles()
at Civ4XMLEditor.frmMain.saveToolStripMenuItem_Click( Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Obje ct key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(Eve ntArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(Eve ntArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(M ouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventIntera ctive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(Event Args e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEven tArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(M ouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Mes sage& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Civ4XMLEditor
Assembly Version: 0.1.2145.38171
Win32 Version: 0.1.*
CodeBase: file:///C:/Program%20Files/Civ4%20XML%20Editor/Civ4XMLEditor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Feet Nov 16, 2005, 05:43 AM Ok there's a new typo in the config file of the new version you put out.
<value>C:\Program Files\Firaxis Games\Sid Meier's Civilization 5</value>
Spot the error. ;)
I think that's just wishful thinking tbh. :p Setting it back to 4 makes the new version work for me again.
Feet Nov 16, 2005, 06:02 AM Just so you know what i mean about the app saving to the incorrect xml names, here are two screenshots.
This one is taken from
C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Assets\XML\Text
http://img469.imageshack.us/img469/9407/shouldbe3jh.jpg
This one is taken from my Mod folder, after I have used your app.
C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Mods\ASOIAF\Assets\XML\Text
http://img469.imageshack.us/img469/1806/error12yl.jpg
It's writing 4 new xml files with the changes I input instead of to the actual files it should be writing too that the mod will use (which have Civ4Game in front of the name).
Your app is reading from the right files (hence why when I reload the app it doesn;t show the chahges I made), abd is writing to the wrong ones.
Hope that helps you and well done on a brilliant mod. This has saved me quite a few hours, despite a few problems.
It's easy to fix manually however, as you just rename the incorrectly named files to the correct name and all works well. :)
Hope this helps you.
Futzy Nov 16, 2005, 08:42 AM Ok there's a new typo in the config file of the new version you put out.
<value>C:\Program Files\Firaxis Games\Sid Meier's Civilization 5</value>
Spot the error. ;)
I think that's just wishful thinking tbh. :p Setting it back to 4 makes the new version work for me again.
LOL, not wishful thinking, more coding when I'm not getting enough sleep... See I needed to test the fix for the config file bug, but it is installed in the default directory on my computer, so I thought, I'll test it by setting it to the wrong folder and see if i get the error I should get... And I did! But then I forgot to set it back to normal before packaging up the install... :wallbash:
OK, I'll get that fixed up for the next update, but yes, in the meantime, please manually set the value back to Civ 4 in your config file and it should work fine.
jbfballrb Nov 16, 2005, 02:38 PM what do i need to do to get it to see my alternate civ4 directory?
Futzy Nov 16, 2005, 09:05 PM what do i need to do to get it to see my alternate civ4 directory?
In the install directory, there should be a file called Civ4XMLEditor.exe.config. You can open it in notepad or any text editor you like, then look for this section:
<Civ4XMLEditor.Properties.Settings>
<setting name="Civ4RootDirectory" serializeAs="String">
<value>C:\Program Files\Firaxis Games\Sid Meier's Civilization 4</value>
</setting>
</Civ4XMLEditor.Properties.Settings>
Change the file name there to wherever you installed Civ 4.
thtycho Nov 17, 2005, 11:51 PM This is a great tool you have made, Futzy.
I am also getting the unhandled exception error that Cafegio was experiencing... It occurs very frequently and is getting annoying. Anyone has an idea how I can fix it? Thanks.
Futzy Nov 18, 2005, 07:26 PM This is a great tool you have made, Futzy.
I am also getting the unhandled exception error that Cafegio was experiencing... It occurs very frequently and is getting annoying. Anyone has an idea how I can fix it? Thanks.
I have not been able to reproduce this error. So to make it easier to find, I have put out a new version of the app that includes some debug files, which when the error happens again will give me more information to work with. So if you are getting this error, please download the newest version from the top message in this thread, and then if the error happens again, please post the error message to this thread.
Orion66 Nov 19, 2005, 08:03 AM Can I use your program to mod NOT mods but normal "New Game".....??????
Second.
I loaded your program, clicked "single player only?" and an ERROR occured:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Civ4XMLEditor.frmMain.UpdateIniFile(String key, String value)
at Civ4XMLEditor.frmMain.cbGenSinglePlayerOnly_Checke dChanged(Object sender, EventArgs e)
at System.Windows.Forms.CheckBox.OnCheckedChanged(Eve ntArgs e)
at System.Windows.Forms.CheckBox.set_CheckState(Check State value)
at System.Windows.Forms.CheckBox.OnClick(EventArgs e)
at System.Windows.Forms.CheckBox.OnMouseUp(MouseEvent Args mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Civ4XMLEditor
Assembly Version: 0.1.2145.38171
Win32 Version: 0.1.*
CodeBase: file:///C:/Program%20Files/Civ4%20XML%20Editor/Civ4XMLEditor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
thtycho Nov 19, 2005, 04:30 PM Downloaded it again from your very first post in this thread. Reinstalled it. Changed Civ4 path to my Civ4 path in Civ4XMLEditor.exe.config.
When I open the program, it gives this error:
----------
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\My Documents\My Games\Sid Meier's Civilization 4\MODS'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalGetFileDirectoryNames( String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
at System.IO.Directory.GetDirectories(String path, String searchPattern, SearchOption searchOption)
at System.IO.Directory.GetDirectories(String path)
at Civ4XMLEditor.frmMain.frmMain_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Civ4XMLEditor
Assembly Version: 0.1.2145.38171
Win32 Version: 0.1.*
CodeBase: file:///C:/Program%20Files/Civ4%20XML%20Editor/Civ4XMLEditor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
----------
I am able to continue and get to the editor interface. Soon enough, when I try to edit anything, it gives me the following unhandled exception error:
----------
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Civ4XMLEditor.frmMain.txtCivDescriptionKey_TextCha nged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnTextChanged(EventAr gs e)
at System.Windows.Forms.TextBoxBase.OnTextChanged(Eve ntArgs e)
at System.Windows.Forms.Control.set_Text(String value)
at System.Windows.Forms.TextBoxBase.set_Text(String value)
at System.Windows.Forms.TextBox.set_Text(String value)
at Civ4XMLEditor.frmMain.ClearCivilizationTab()
at Civ4XMLEditor.frmMain.cbxModName_SelectedIndexChan ged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChang ed(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Mes sage& m)
at System.Windows.Forms.ComboBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Civ4XMLEditor
Assembly Version: 0.1.2145.38171
Win32 Version: 0.1.*
CodeBase: file:///C:/Program%20Files/Civ4%20XML%20Editor/Civ4XMLEditor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
----------
I don't know if the second error was based on the first one. By the way, I have .NET Framework 1.1 already installed. Do they have conflict with each other? Or is there some settings I have to change?
Thanks.
Orion66 Nov 20, 2005, 02:45 AM Got the same...
Feet Nov 20, 2005, 02:57 AM Just click continue and it carries on working just fine. I got a similar error loads of times, I just clicked continue and the changes I made seemed to work anyway.:scan:
shlomitan Nov 20, 2005, 11:42 AM hello world
Plankhead Nov 20, 2005, 03:03 PM Whenever I create a new mod and change config settings, it works fine. But after adding a new civ, it always gives me those unhandled exceptions when I try to save, and clicking continue doesn't help.
gazel66 Nov 21, 2005, 03:06 AM Hi ,
Im french and excuse my poor english!
Im a civ fan and the xml editor is a good thing but it doesnt work in french so...
please make a xml editor who work in french pleeeeeeaaaaaassssseeeeeee!!!
And do not surprise because you are the only one in the web who make anything
in civ 4
Thanks !
(excuse my english)
gazel66 Nov 21, 2005, 03:19 AM maybe i can change xml in english to xml in french...
if someone have an idea please
i love this game ;)
gazel66 Nov 21, 2005, 03:36 AM sorry i think that it work!!!!
coooooooool
Martinus Nov 26, 2005, 03:58 AM I'm getting errors all the time, making this unusable.
Also for some inexplicable reason, the path refers to Civilization 5 folder. Wtf?
jbfballrb Nov 26, 2005, 04:17 AM Change the file name there to wherever you installed Civ 4.
it doesnt work. i already tried that.
SoCalian Dec 04, 2005, 11:07 PM So how do I save the new civ I added?
lysander Dec 12, 2005, 06:18 PM I'm getting errors all the time, making this unusable.
Also for some inexplicable reason, the path refers to Civilization 5 folder. Wtf?
Yeah, when I opened up my firaxes folder i saw a new folder for "Civ 5" where it had put the new mod i tried to create. :confused:
Kareltje Dec 15, 2005, 07:50 AM buggy as hell on my pc, but i guess that's my pc's fault. For every single character i type, it brings up an exception window. But the program itself looks very promising.
Red Door Dec 17, 2005, 10:36 AM I'm having a problem. Every charecter I type a message comes up saying there's an error. Then I press continue and its fine.
Great program by the way.
Sherkon Dec 18, 2005, 07:33 AM Feature request...
What I'd really love is an ability to change the leader traits (like Industrious and Organized). Any possibility of adding that feature? Great start though and thanks.
Sherkon Dec 18, 2005, 07:47 AM Also, does anyone know if there is a way to turn the 'random seed' on/off for tribal villages (goody huts)?
Daimon Dec 22, 2005, 04:10 AM I've got the same error as just about everyone else here. I've changed the config file thingy but thae error keeps on coming back!
By the way, this seems to be a brilliant editor, please make a fix!
Sir espectral Dec 28, 2005, 03:17 AM !!!!!!!!!!!!
The editor doesn;t want to work becose I have diffrent path to game. I edited config file with a proper path but editor is still looking for 'C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Mods
I think I got the similar problem. I got .NET 2.0 installed.
I can open it, but when i press anything, it always shows me an error (continue or exit). Then I edit the config file and I see it is looking for Firaxis Games\Civilization 5 :confused: ¿?¿??
If I change this config the program crashes
But the program seems to be wonderful.
Which directory is English default?, i will reinstall with its new path. And which version does this editor work with?
stgelven Dec 28, 2005, 03:27 AM I think I got the similar problem. I got .NET 2.0 installed.
I can open it, but when i press anything, it always shows me an error (continue or exit). Then I edit the config file and I see it is looking for Firaxis Games\Civilization 5 :confused: ¿?¿??
If I change this config the program crashes
i've got the same problem! :sad: :suicide:
i change the path to civ 4 and it work! good! BUT, now when i load a mod, i've got this! the first time i load the mod, everything look good, but when i click on the name of a civ, i've got this.
************** Exception Text **************
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)
at System.Convert.ToDouble(String value)
at Civ4XMLEditor.frmMain.ConvertColorNodeToColor(XmlN ode colorNode)
at Civ4XMLEditor.frmMain.cbxCivPrimaryColor_SelectedI ndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChang ed(EventArgs e)
at System.Windows.Forms.ComboBox.set_SelectedIndex(In t32 value)
at Civ4XMLEditor.frmMain.cbxCivDefaultPlayerColorKey_ Selec
stgelven Dec 28, 2005, 03:40 AM i change the path to civ 4 and it work! good! BUT, now when i load a mod, the first time everything look good, but when i click on the name of a civ, or want to change something, i've got this.
************** Exception Text **************
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)
at System.Convert.ToDouble(String value)
at Civ4XMLEditor.frmMain.ConvertColorNodeToColor(XmlN ode colorNode)
at Civ4XMLEditor.frmMain.cbxCivPrimaryColor_SelectedI ndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChang ed(EventArgs e)
at System.Windows.Forms.ComboBox.set_SelectedIndex(In t32 value)
at Civ4XMLEditor.frmMain.cbxCivDefaultPlayerColorKey_ SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChang ed(EventArgs e)
at System.Windows.Forms.ComboBox.set_SelectedIndex(In t32 value)
at Civ4XMLEditor.frmMain.lbCivilizations_SelectedInde xChanged(Object sender, EventArgs e)
at System.Windows.Forms.ListBox.OnSelectedIndexChange d(EventArgs e)
at System.Windows.Forms.ListBox.WmReflectCommand(Mess age& m)
at System.Windows.Forms.ListBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
BoboftheDead Jan 25, 2006, 03:52 AM This is a bit of a necro, but I was just wondering if you're still working on this program?
I couldnt get it to work, I had all the same errors everyone else had, but I thought that it looked great! Would certainly make making civs much easier...
Threezo Feb 10, 2006, 09:17 PM Yeah, I keep getting those unhandled exception errors too, every time I type anything on, say, the cities screen.
Rabbit_Alex Feb 10, 2006, 11:18 PM This has alot of potential. I could have used this today when the civ I was making wouldn't work because I screwed up the XML. Keep working on it.
buggy as hell on my pc, but i guess that's my pc's fault. For every single character i type, it brings up an exception window. But the program itself looks very promising.
I'm having the same problem.
Edit: Added quote after reading the thread again.
Rabbit_Alex Feb 18, 2006, 02:05 PM Any updates Futzy?
abel1717 Feb 22, 2006, 04:53 PM i get an error it says it "cannot find part of path...civ5..."
joebasstard Feb 23, 2006, 10:00 PM OK guys, I found and fixed the bug with the directory. I have updated the file attached to the first message.
If you care, it was a classic 3 in the morning bug, I was reading the value out of the config file, but then overwriting it with your OS's Program Files location... :D
My version of Civ IV was a download. The installer put the game data in 2 locations, one in Program Files and on in My Documents. Your app gives error message: "could not find part of directory..."
Love Mar 06, 2006, 08:33 AM thanks i have always think how i could get xml and i just say one thing...thanks!
[CRO]Nemesis Mar 13, 2006, 06:04 AM Win32 Version: 0.1.*
CodeBase: file:///C:/Program%20Files/Civ4%20XML%20Editor/Civ4XMLEditor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
How to fix this???
J_Period Mar 28, 2006, 02:57 PM How to fix this???
I have the same problem :(
Love Mar 29, 2006, 09:21 AM I have the same problem :(
Me to!:cry: :cry: :cry:
wompie Apr 06, 2006, 12:55 PM Yeah, ummm....i downloaded the version on the first post and it comes up with:
"Could not find a part of the path 'C:\program files\firaxis games\sid meier's civilization 5\mods'.
typo is still there hehe "Civilization 5"
edit: i edited the "Civ4XMLEditor.exe.config" file to point to the right dir myself
Love Apr 06, 2006, 01:07 PM Cant you fix the bug yourself and relese a new "pach" futsy?
troyDoogle7 Apr 15, 2006, 07:04 PM Can you make the code creative commons? That way you can still get the credit for the great work you did and others can help you add functionality and bug fix it?
catbeef Apr 17, 2006, 07:10 PM !!!!!!!!!!!!
The editor doesn;t want to work becose I have diffrent path to game. I edited config file with a proper path but editor is still looking for 'C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Mods
Heh, it's look for C:\Program Files\Firaxis\Games\Sid Meier's Civilization 5\Mods\ for me ;o
my civ4 is installed to d:\civ
[CRO]Nemesis Apr 19, 2006, 06:53 AM Please fix this:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Firaxis Games\Sid Meier's Civilization 5\Assets\XML\GlobalTypes.xml'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Objec t xmlResolver)
at System.Threading.CompressedStack.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.Exe cuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.CompressedStack.Run(CompressedSta ck compressedStack, ContextCallback callback, Object state)
at System.Xml.XmlTextReaderImpl.OpenUrl()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at Civ4XMLEditor.frmMain.LoadModXML()
at Civ4XMLEditor.frmMain.cbxModName_SelectedIndexChan ged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChang ed(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Mes sage& m)
at System.Windows.Forms.ComboBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Civ4XMLEditor
Assembly Version: 0.1.2145.38171
Win32 Version: 0.1.*
CodeBase: file:///C:/Program%20Files/Civ4%20XML%20Editor/Civ4XMLEditor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
:sad:
troyDoogle7 Apr 23, 2006, 01:34 PM just edit the config file and change the civilization 5 to civilization 4 in the program files entry
[CRO]Nemesis Apr 24, 2006, 02:30 PM yes, i have done that
it's just not working, this programe is a good idea, but the bugs, there are just too much of them:
stgelven Apr 27, 2006, 03:50 AM evry body ask for the sames problems with the xml editor (wich could be greatest tool for civ 4) and we never have any answer :
is Futzy dead?
meatwad4289 May 24, 2006, 08:19 PM is Futzy dead? I hope not, I hit him with my car.... I dont need to goto prison... I tried to flee to Mexico, but as soon as I hoped the fence, I got hit by this huge wave of people, and was pushed to cali.. lol JPJP
Um, to fix the cvi5 error... Goto "Program Files" > Civ4XMLEditor > edit the Config file with notepad, switch Civilization 5 with 4. and you'll be set... So far everytime i type i get an error...
Is there anyay I can load everything in the game now into the mod?? All I want to do is replace the Civs, and a religion.
Edit - wow, got that fixed. The type a letter get f'd thing goes away if you select quit then reopen it and goto the file.. it also loads in all regular game data :)
hOW do i edit what i want to call the UU
Slavic Sioux May 25, 2006, 03:22 PM Could someone tell me how this works???? it is a makeing me very sad and angry[pissed] :aargh: :cry: [pissed] :aargh: :cry: [pissed] :aargh: :cry:
Gaizokubanou May 26, 2006, 04:31 PM Umm why is my copy of this software keep trying to modify civilization 5???
meatwad4289 May 27, 2006, 02:06 PM Umm why is my copy of this software keep trying to modify civilization 5???
If you read previous post then you'll know. This is the 10th time someone has posted this problem asking for a solution, when the solution had been posted shortly after the first complaints.
IF YOU'RE EDITOR WANTS TO USE CIV5(all editors that are downloaded from here currently) then do these simple steps..
>Go to "My computer"
>go to "Program Files"
>Go to "CIV4XMLEditor"
>Right click on the config file..
>Select open with...
>Open with Notebook
>go to Edit(or View) and find the "Find" Function
>Search for Civilization 5
>when found switch it with 4.
> Save & Exit
>If doesnt work... Buy a 60ft Rope
>Tie one side around your waist
>Tie the other end around something sturdy on a 40ft Building...
>Jump off the 40ft Building..
Slavic Sioux May 28, 2006, 03:09 PM I am wondering how come you are only allowed to edit the origanal data yet you can not edit those made by other modders????
ss4johnny May 28, 2006, 03:52 PM Yea, I changed it from 5 to 4 and I changed C drive to D drive where my Civilization folder is, and it still gets the error.
Slavic Sioux Jun 17, 2006, 03:51 PM I pm Futzy to see why he did not aswer the qusetions you where asking.
ir8 Oct 07, 2006, 11:34 PM The guy didn't even test the app before he released it.
Unless he named his own game folder Civ 5?
Think about it.
I could have used this too; adding anything to this game is a pain.
Gen.Rommel Oct 15, 2006, 11:40 PM This seems like a good program, but its not able to run as it should, at least not yet. Isnt there any other functional XML editor?
noel_wei Oct 27, 2006, 11:25 AM Thank you. But i get an exception about "can't find the path C:\Program Files\Firaxis Games\Sid Meier's Civilization 5\Mods"
I think it is because i don't reinstall the civ program after i reinstalled my OS... but i would be ok if the editor had allowed me to select the target path manually.
Chazcon Nov 03, 2006, 08:59 AM Ouch. There goes my chance of trying out the editor. .NET 1.1 and 2.0 cannot co-exist on the same machine and I really need 1.1 for a project that doesn't work with 2.0.
Yes, actually you can run them both side by side on the same computer, I do as well as many others.
Cheers
pay-t Nov 26, 2006, 03:48 AM I get this error when I tried to enter some city-names:confused:
Can anyone help me out with this:)
And I changed civ 5 to civ 4 and it worked with me (this is an other error) which has something to do with: object reference not set to an instance of an object.
Question 2; is it also warlords competable, if not, could you make so?
Finally I also wondered if there is any tutorial for this programm, I would love it if so
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Civ4XMLEditor.frmMain.txtCivCity_TextChanged(Objec t sender, EventArgs e)
at System.Windows.Forms.Control.OnTextChanged(EventAr gs e)
at System.Windows.Forms.TextBoxBase.OnTextChanged(Eve ntArgs e)
at System.Windows.Forms.TextBoxBase.WmReflectCommand( Message& m)
at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
at System.Windows.Forms.TextBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Civ4XMLEditor
Assembly Version: 0.1.2145.38171
Win32 Version: 0.1.*
CodeBase: file:///F:/Program%20files%20D/Civ4%20XML%20Editor/Civ4XMLEditor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
pay-t Nov 28, 2006, 06:25 AM People I think: or Futsy is dead or he is to :hmm: scared to post anymore
Please Futsy tell us how to fix these errors or release the "bugged" and complete new version PLZ:goodjob:
dutchking Aug 02, 2007, 06:28 PM What it WILL do in future versions:
Allow you to edit Leaderheads
Needed...unless someone has a good one....
Grakl Aug 16, 2007, 09:15 AM Unless Futzy comes back by this weekend (it's been 2 years almost?), I'll be restarting my Civ4 XML Civ Editor (which I stopped after he posted his ><). It'll follow the same requirements as it'll be written in Visual Studio 2005 (C#). I'm not entirely sure what has changed in the XML between Vanilla, Warlords, and BtS so I'll most likely be using mods like FFH2 Ice Age (Worst case scenario) as a target test.
Wish I had gotten around to this before (was working on an XNA submission for the contest), as I think one of the greatest barriers for simple scenarios and mods is the tedious hand editing that could have easily been automated.
Wish me luck :) hoping to get it in a workable state before Bioshock eats a couple nights of my life.
warlock814 Aug 17, 2007, 03:03 AM Unless Futzy comes back by this weekend (it's been 2 years almost?), I'll be restarting my Civ4 XML Civ Editor (which I stopped after he posted his ><). It'll follow the same requirements as it'll be written in Visual Studio 2005 (C#). I'm not entirely sure what has changed in the XML between Vanilla, Warlords, and BtS so I'll most likely be using mods like FFH2 Ice Age (Worst case scenario) as a target test.
Wish I had gotten around to this before (was working on an XNA submission for the contest), as I think one of the greatest barriers for simple scenarios and mods is the tedious hand editing that could have easily been automated.
Wish me luck :) hoping to get it in a workable state before Bioshock eats a couple nights of my life.
I am pretty sure I speak for everyone who posts in the utilities forum when I say Good luck and Godspeed! And if you're able to create a usable one, which I have the utmost faith that you will, THANKS!
:D
Grakl Aug 17, 2007, 07:57 AM Well, I have good news, I have the CIV4CivilizationInfos.xml all parsed and into controls. Only took a few hours. In theory, all I need is to continue parsing the xmls that contain all the information that CIV4CivilizationInfos.xml tags point to, it should be usable soon.
At launch, it should support:
1) Creating and Opening a mod
2) Adding and Removing Civs
3) Editing all values in the CIV4CivilizationInfos.xml (Assigning Civ's cities, color, units, buildings, etc..)
4) Viewing lists of units, buildings, techs, civics, etc.. that exist in the mod
5) Editing all values in the Civ4LeaderInfos.xml
6) Assigning Leaderhead files (A viewer is iffy until I do more research on the formats and display controls)
7) Assigning Intro Graphics (was one of my favorite bits I accomplished once I found out how to do it by hand...simple, sadly)
8) Assigning audio files
9) A folder selection (asked once and only once) and a "Recent Mods" menu command to quickly load your mods.
I'd eventually like to offer a full unit, tech, building, and civilopedia editor, but that would multiply the time it would take (not to mention chance of failure) to get something usable out the door for the first release.
Also, I'm a little worried about supporting custom tags for the more advanced mods. At the very least, I want to have an editor that doesn't overwrite tags it doesn't expect.
Modular XML is also under consideration, as this would alter the folder structure of mods.
Grakl Aug 20, 2007, 10:06 AM I'm aiming a first release for 11:59pm, Sunday, August 20th..assuming finishing my basement doesn't exhaust me. Currently I have most civilization files parsed, and values selectable.
To Do List:
1) New and edit mechanics for tags
2) "New Project" mechanics (copy all base files/folders from BTS mod dir?)
3) Add more mod property controls
4) Selection and copy mechanism for audio and images
5) Parse and display all mod buildings, techs, units, promotions, etc... (not required but useful)
6) Convert dictionaries to datasets (codespeak)
7) Saving back to XMLDocuments
8) Exception handling
warlock814 Aug 20, 2007, 09:30 PM I'm excited! Will it be just for vanilla Civ, or will it be compatible with Warlords and/or BTS? Regardless of what it works with, I am definitely going to nab it!
Grakl Aug 21, 2007, 08:33 AM Currently it's targetted for BtS expansion. But, it shouldn't be too hard to make it backwards compatible, something I'll definately look into after I release it.
If the XML node structure is the only difference, honestly, it should be pretty easy. Any other bits like a "Corporation Tab" which wouldn't exist in Vanilla or Warlords could simply be disabled.
warlock814 Aug 22, 2007, 05:37 PM Grakl - Any updates on the progress of the editor and/or it's projected release?
You should also create your own thread for it, since I think a new and (most likely) working Civ editor deserves its own thread, even if it is just to update those interested on your progress.
Grakl Aug 23, 2007, 07:44 AM Well, I didn't want to jinx the release and disappoint. But, I have been making quite a bit of progress...though some of it was rework.
I have a preview of what's done so far (I opened the Charlemagne Mod):
http://www.noobschoolbus.com/files/images/GC4ME.preview.JPG
Unfortunately, I need to amend #5:
5) Editing all values in the Civ4LeaderInfos.xml
I finally opened that for the first time last night, wow...just wow. Way too many variables to cram into by the first release. I'm going to downgrade that to the primary goal after the first release. Particularly because I've noticed some requests for a Leaderhead editor (and here I thought ya'll meant selecting the graphic ><).
Regardless, everything looks to be on schedule. Well, minus that I have a bachelor party on Sat. night that I didn't remember, but I can use Sunday to program and recover.
To Do List For First Release:
1) New and edit mechanics for tags
2) "New Project" mechanics (copy all base files/folders from BTS mod dir?)
3) Add more mod property controls - DONE
4) Selection and copy mechanism for audio and images
5) Parse and display all mod buildings, techs, units, promotions, etc... (not required but useful)
6) Convert dictionaries to datasets (codespeak) - DONE
7) Saving back to XMLDocuments
8) Exception handling
Looking at the list, I have the algorithms for each item all planned out (which is half the work). I'll eventually need some user input on certain values. For instance: Derivative Civ...does anyone actually use that? Also, some functionality has been removed (Creating Player Colors) since it's simply too complicated and/or minor to justify spending time on for now.
warlock814 Aug 24, 2007, 08:16 PM Is the Derivative Civ option used to select the vassal you get when you split overseas cities into a separate colony? If so I would say keep it... As for colors - Futzy's old editor just selected the colors from already-existing lists. If that's what your editor will do then I think you're good for color options.
I've always got input to give, so if you need any I hope I can help some!
purplexus Aug 25, 2007, 12:53 AM Can you also Include a Mouse over HELP for all he different areas that we might be editing? I mean let us know what the particular thing we are editing does.
Can you make this editor Spit out Modular CIVS?
Modular civ's allows us to combine all mods by just dragging them into a folder. Instead of combining all the XML files into one XML file.
This should actually make your program even easier to write because then there are no admendments to files it would just create new ones.
CHEESE! Aug 26, 2007, 10:23 AM I get an error message every time i try to do something... it says
unhandled exception has occurred in your application if you click continue blah blah blah...
them it says
Could not find a part of the path C:\users\Dan\documents\My games\Sid meiers civilization 4/MODS
:assimilate:- my computer is evil. Its trying to recruit me
natbob Feb 28, 2008, 03:18 PM On mine it does the same thing when the program starts up it displays
"Could not find a part of the path C:\program files\firaxis games\sid myers civilization 5\mods" I'm sure it says 5 yes. then if I click continue, it gives an error when I do ANY THING click a check box, enter text or highlight anything
|
|