View Full Version : Civ4 Save/Scenario/Map Editor
kswoll Nov 28, 2005, 03:27 PM 1/3 - New Version (1.0.23) - Undo support in map editor, bug fixes when starting up
12/5 - New Version (1.0.22)
Fixed river saving, editing, and the arrow directions when drawing north/south were opposite what they should have been.
Added about box with version number and link to this page.
12/4 - New Version (1.0.21) - Fixed color loading for Europeans and their crazy commas as the decimal point. :)
12/4 - New Version (1.0.20) - Better exception messaging when parsing colors
12/3 - New Version (1.0.19) - Lots of fixes to the file loading parsing
12/2 - New Version (1.0.18) - Lots of fixes to the river editor
12/2 - New Version (1.0.17) - Fix river parsing bug when loading a game
12/2 - New Version (1.0.16) - Exceptions when loading display in a nice dialog
12/2 - New Version (1.0.15)
River editor fixed so you can specify river direction. It should be obvious how to use.
12/2 - New Version (1.0.14)
New map editor feature: River editing. You can now edit rivers in the map editor. It is considerably easier to edit rivers in this program than in WorldBuilder. Although if you've edited rivers in WorldBuilder you would understand that this isn't saying much. Be that as it may, it should be very easy and intuitive. Just click on the river button and start drawing on the map. The river that will be laid down is displayed when your mouse moves over the map and you can click the left mouse button to actually lay the river down permanently.
A message appears now if you do not have Civ4 installed rather than the program crashing.
12/1 - New Version (1.0.11) - Bug fixes
12/1 - New Version (1.0.10) - Bug fixes. (thanks CivDav)
12/1 - New Version (1.0.8)
New map editor feature: Background images! Now you can specify a background image in the map editor to make it VERY easy to trace over map images you have.
12/1 - New Version (1.0.7)
Bug fixes
11/30 - New Version (1.0.6)
New map editor feature: Generate Coast. This feature ensures every ocean square that is adjacent to a land square is a coast square.
11/30 - New Version (1.0.5)
Lots of fixing to the parsing engine that loads in save files. Prior versions would crash when faced with some files.
11/30 - New Version (1.0.4)
Lots of new performance improvements. Game loading/saving and map drawing is MUCH faster.
New Feature: Copying and pasting support in the map editor
11/29 - New Version (1.0.3)
River data was not being preserved. Still not possible to edit river data. Coming soon.
11/29 - New Version (1.0.2)
This program currently functions to load and save Civ4WorldBuilderSave files and also to create brand new ones from scratch. It provides complete editing of most aspects of the file. Coming soon is support for rivers. Editing terrain is considerably faster using this program compare to the WorldBuilder. In WorldBuilder, adding a single hill sometimes takes a second or two. Using this program you can paint hills (or any terrain feature) like a painting program with very smooth performance.
TipsThere are two terrain combo boxes in the map editor. The main one is for the left mouse button and the secondary (right) one is for the right mouse button. This way you can, for example, make the primary terrain Grassland and the secondary terrain Ocean. This way you can easily draw on the map and quickly "erase" what you've done with the right mouse button.
There is a button, "Generate Coast." This is useful if you draw on the map using the technique described above, and have land jutting up directly against ocean squares. This button will convert into a coast square any ocean square that is adjacent (in any of the 8 directions) to a land square.
This program currently has some memory leaks and is absolutely in a pre-release state so Use-At-Your-Own-Risk!!! Especially make backup copies of any files you edit as there is every posibility you could lose or corrupt your work. That being said, that hasn't happened to me in quite a while, but who knows? With your help, it'll get increasingly stable. Please report any and all bugs or idiosynchracies here.
Here is a shot of the map editor portion in action:
http://www.casalus.com/civ4editor/civ4editormap.gif
(http://www.casalus.com/civ4editor/Civ4EditorMap.gif)
Here is a shot of the player editor portion in action:
http://www.casalus.com/civ4editor/civ4editorplayers.gif
(http://www.casalus.com/civ4editor/civ4editorplayers.gif)
This software requires .Net v.2.0 which can be downloaded from here if you do not already have it installed:
http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&DisplayLang=en
I will be making changes to this program often. Please check back here for updates. I welcome all types of feedback so please don't hesitate to let me know what you think.
thamis Nov 28, 2005, 04:36 PM Cool tool indeed. It's good for editing maps.
I noticed two things:
- Hills: You can place them, but are they grassland hills or plains hills and do they have a forest?
- Forests/Jungles: missing
Also, if you save a file, it writes out the infos for all civilizations that aren't used, as well (including starting location 0,0). Doesn't the game load them if there is any more info than the bare minimum?
Another problem: When I press "save" not "save as", I get 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.ArgumentException: The path is not of a legal form.
at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.File.Delete(String path)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Save (String file, C concept, PersistenceTypeConverter converter)
at Civ4MapGenerator.Wbs.WorldBuilderSave.Save(String file)
at Civ4MapGenerator.Civ4Editor.save()
at Civ4MapGenerator.Civ4Editor.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
----------------------------------------
Civ4MapGenerator
Assembly Version: 1.0.2158.25714
Win32 Version: 1.0.2158.25714
CodeBase: file:///C:/Program%20Files/Casalus/Civ4%20Editor/Civ4MapGenerator.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
----------------------------------------
Civ4EditorModel
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Casalus/Civ4%20Editor/Civ4EditorModel.DLL
----------------------------------------
Foundation
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Casalus/Civ4%20Editor/Foundation.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
----------------------------------------
DynamicAssemblyProxyGen
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ISymWrapper
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/ISymWrapper/2.0.0.0__b03f5f7f11d50a3a/ISymWrapper.dll
----------------------------------------
DynamicAssemblyProxyGen
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
Civ4EditorControls
Assembly Version: 1.0.2158.25713
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Casalus/Civ4%20Editor/Civ4EditorControls.DLL
----------------------------------------
DynamicAssemblyProxyGen
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
DynamicAssemblyProxyGen
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
DynamicAssemblyProxyGen
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
DynamicAssemblyProxyGen
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
DynamicAssemblyProxyGen
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
DynamicAssemblyProxyGen
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
DynamicAssemblyProxyGen
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
DynamicAssemblyProxyGen
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Casalus/Civ4%20Editor/Foundation.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.
May I also draw your attention to this little tool (http://forums.civfanatics.com/showthread.php?t=144366)for XML modding of civilizations and get your opinion on it?
Karam Nov 28, 2005, 06:12 PM First pick! excellent work, I can't try it out tonight, tomorrow maybe.
kswoll Nov 29, 2005, 01:20 AM Thanks for your feedback. I've attached a new version (to the main thread up top)
Cool tool indeed. It's good for editing maps.
I noticed two things:
- Hills: You can place them, but are they grassland hills or plains hills and do they have a forest?
- Forests/Jungles: missing
Yes, you're right. It took some puzzling out, but terrain is handled 3 different ways. Most of them are handled by the Plot's TerrainType attribute. Hills and Peaks are handled by PlotType. Forests, Jungles, Flood Plains, and Ice are handled by FeatureType. The graphics should handle all these permutations by various types of shading.
Also, if you save a file, it writes out the infos for all civilizations that aren't used, as well (including starting location 0,0). Doesn't the game load them if there is any more info than the bare minimum?
Spitting out the starting locations was a bug. Thanks for reporting it. My experience is that only CivType and LeaderHead must be blank. It would probably be ideal for the excess information to not be saved. I will look into this.
Another problem: When I press "save" not "save as", I get this error:
[code]See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
Thanks, this is fixed.
May I also draw your attention to this little tool (http://forums.civfanatics.com/showthread.php?t=144366)for XML modding of civilizations and get your opinion on it?
Very cool. The open architecture of this game sure makes creating tools for it fun, huh? :)
JamieCiv4Files Nov 30, 2005, 12:24 PM Look great!
I've taken the liberty to host it on our website (http://www.civ4files.com/file/;51179), I hope that is OK.
Looking forward to future updates :)
kswoll Nov 30, 2005, 07:47 PM Look great!
I've taken the liberty to host it on our website (http://www.civ4files.com/file/;51179), I hope that is OK.
Looking forward to future updates :)
Thanks Jamie, I appreciate it.
Feet Dec 01, 2005, 06:02 AM It doesn't appear to like my mod. I Open my WBS file and the program just crashes. No error message or anything. The WBS is definately ok.
Ho hum.
CivDav Dec 01, 2005, 06:34 AM When i try to run the editor i got this error message:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(T Key key)
at Civ4MapGenerator.GameInfo.GameInfoProvider.GetGame Infos(GameInfoKey gameInfo)
at Civ4EditorModel.Wbs.Game.Created()
at Foundation.Concept`1.Create()
at Civ4MapGenerator.Wbs.WorldBuilderSave.Created()
at Foundation.Concept`1.Create()
at Civ4MapGenerator.Civ4Editor.newToolStripMenuItem_C lick(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
----------------------------------------
Civ4MapGenerator
Assembly Version: 1.0.2160.40557
Win32 Version: 1.0.2160.40557
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Civ4MapGenerator.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
----------------------------------------
Civ4EditorModel
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Civ4EditorModel.DLL
----------------------------------------
Foundation
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Foundation.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
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
Civ4EditorControls
Assembly Version: 1.0.2160.40557
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Civ4EditorControls.DLL
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Foundation.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.
kswoll Dec 01, 2005, 09:29 AM It doesn't appear to like my mod. I Open my WBS file and the program just crashes. No error message or anything. The WBS is definately ok.
Ho hum.
Would you mind zipping up your WBS file and either emailing it to me (kirk.woll@gmail.com) or posting it on this forum? I'll try opening it myself and see if I can reproduce it. If so I should have a fix shortly.
kswoll Dec 01, 2005, 09:32 AM When i try to run the editor i got this error message:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
Thanks for reporting this. I'm puzzled why you were having any problems as I was simply catching an exception that was thrown which is perfectly legal code. However, to try to solve your problem I invoked a different method that avoids the exception alltogether. So please try the latest version and let me know if that fixes it for you.
CivDav Dec 01, 2005, 01:19 PM Thanks for reporting this. I'm puzzled why you were having any problems as I was simply catching an exception that was thrown which is perfectly legal code. However, to try to solve your problem I invoked a different method that avoids the exception alltogether. So please try the latest version and let me know if that fixes it for you.
Now it writes another problem:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: path
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.Path.GetFullPath(String path)
at System.Drawing.IntSecurity.UnsafeGetFullPath(Strin g fileName)
at System.Drawing.IntSecurity.DemandReadFileIO(String fileName)
at System.Drawing.Bitmap..ctor(String filename)
at Civ4EditorControls.MapEditor.set_Background(String value)
at Civ4MapGenerator.GameEditor.InitializeComponent()
at Civ4MapGenerator.GameEditor..ctor()
at Civ4MapGenerator.Civ4Editor.newToolStripMenuItem_C lick(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
----------------------------------------
Civ4MapGenerator
Assembly Version: 1.0.2161.21870
Win32 Version: 1.0.2161.21870
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Civ4MapGenerator.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
----------------------------------------
Civ4EditorModel
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Civ4EditorModel.DLL
----------------------------------------
Foundation
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Foundation.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
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
Civ4EditorControls
Assembly Version: 1.0.2161.21755
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Civ4EditorControls.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.
kswoll Dec 01, 2005, 01:45 PM Now it writes another problem:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
Fixed. Thanks again.
CivDav Dec 01, 2005, 02:00 PM Error message again:) And it stoppes loading at this point: "loading color values"
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(T Key key)
at Civ4MapGenerator.GameInfo.GameInfoProvider.GetGame Infos(GameInfoKey gameInfo)
at Civ4EditorModel.Wbs.Game.Created()
at Foundation.Concept`1.Create()
at Civ4MapGenerator.Wbs.WorldBuilderSave.Created()
at Foundation.Concept`1.Create()
at Civ4MapGenerator.Civ4Editor.newToolStripMenuItem_C lick(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
----------------------------------------
Civ4MapGenerator
Assembly Version: 1.0.2161.22871
Win32 Version: 1.0.2161.22871
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Civ4MapGenerator.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
----------------------------------------
Civ4EditorModel
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Civ4EditorModel.DLL
----------------------------------------
Foundation
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Foundation.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
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
Civ4EditorControls
Assembly Version: 1.0.2161.22870
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Civ4EditorControls.DLL
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/J%E1t%E9kok/Civ4%20Editor/Foundation.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.
CivDav Dec 01, 2005, 02:04 PM Here is a screenshot of the problem
kswoll Dec 01, 2005, 02:49 PM Error message again:) And it stoppes loading at this point: "loading color values"
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
Thanks. This one is strange. I notice you're from Hungary. Is your copy of Civ localized to that version? Can you send me (kirk.woll@gmail.com or attach here) your copy of:
Interface\CIV4PlayerColorInfos.xml
Interface\CIV4ColorVals.xml
It's looking for a color (from Civ4ColorVals.xml) based on the value of ColorTypePrimary in CIV4PlayerColorInfos.xml. Thanks again.
Also, I put a new version up that should handle this problem without throwing an exception.
Zespri Dec 01, 2005, 03:22 PM If Civ4 is not installed on the computer, your program crashes with an obscure error. It would be nice if it displayed a message saying that you have to have civ4 installed in order to use this program. Thanks.
Get SEG-Y Dec 01, 2005, 07:01 PM I get this message when I launch Civ4Editor. Any help is appreciated.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.TypeLoadException: Could not load type 'Civ4EditorModel.Util.ProgressHost' from assembly 'Civ4EditorModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
at Civ4MapGenerator.TaskScreen.DoHandleCreated(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnHandleCreated(Event Args e)
at System.Windows.Forms.Form.OnHandleCreated(EventArg s e)
at System.Windows.Forms.Control.WmCreate(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.WmCreate(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
----------------------------------------
Civ4MapGenerator
Assembly Version: 1.0.2161.24735
Win32 Version: 1.0.2161.24735
CodeBase: file:///D:/Program%20Files/Casalus/Civ4%20Editor/Civ4MapGenerator.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
----------------------------------------
Civ4EditorModel
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/Program%20Files/Casalus/Civ4%20Editor/Civ4EditorModel.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.
Harrdy Dec 02, 2005, 10:10 AM Same error while loading the "color" stuff here. I am using the german version in Austria. Could be regional settings?
Edit: DL the new version, same error...
Tried the debugger and he said the following, don't know if it is related to the debugger or the problem at hand:
An unhandled exception of type 'System.ArgumentException' occurred in System.Drawing.dll
Additional information: Value of '25500' is not valid for 'red'. 'red' should be greater than or equal to 0 and less than or equal to 255.
PeAcE
kswoll Dec 02, 2005, 11:58 AM Additional information: Value of '25500' is not valid for 'red'. 'red' should be greater than or equal to 0 and less than or equal to 255.
PeAcE
This is strange. It is parsing the values in Interface\CIV4ColorVals.xml. For me, this file contains a series of color definitions with the colors defined by xml elements with the names fRed, fGreen, fBlue, fAlpha. In my file, these values are numbers between 0 and 1 indicating a percent of the color component. I am multiplying this value by 255 in order to get an integer between 0 and 255 to use .Net. It sounds like the value in your file is actually 100 instead of 1. Can you check if you have any numbers greater than 1 in your Civ4ColorVals.xml file? Thanks.
kswoll Dec 02, 2005, 11:59 AM I get this message when I launch Civ4Editor. Any help is appreciated.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.TypeLoadException: Could not load type 'Civ4EditorModel.Util.ProgressHost' from assembly 'Civ4EditorModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
This looks like you're missing a dll. Is there any chance you copied the EXE file from the folder it was installed to? The exe must be run from the folder it was installed to and should not be moved.
kswoll Dec 02, 2005, 12:03 PM If Civ4 is not installed on the computer, your program crashes with an obscure error. It would be nice if it displayed a message saying that you have to have civ4 installed in order to use this program. Thanks.
Thanks Zespri, good point. The latest version now does as you suggest.
Harrdy Dec 02, 2005, 02:22 PM This is strange. It is parsing the values in Interface\CIV4ColorVals.xml. For me, this file contains a series of color definitions with the colors defined by xml elements with the names fRed, fGreen, fBlue, fAlpha. In my file, these values are numbers between 0 and 1 indicating a percent of the color component. I am multiplying this value by 255 in order to get an integer between 0 and 255 to use .Net. It sounds like the value in your file is actually 100 instead of 1. Can you check if you have any numbers greater than 1 in your Civ4ColorVals.xml file? Thanks.
I dont have a value bigger than 1 in the file.
Here ist the filetext:
<?xml version="1.0"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Bart Muzzin (Firaxis Games) -->
<!-- Sid Meier's Civilization 4 -->
<!-- Copyright Firaxis Games 2005 -->
<!-- -->
<!-- Color Vals -->
<Civ4ColorVals xmlns="x-schema:CIV4InterfaceSchema.xml">
<ColorVals>
<ColorVal>
<Type>COLOR_CLEAR</Type>
<fRed>1.00</fRed>
<fGreen>1.00</fGreen>
<fBlue>1.00</fBlue>
<fAlpha>0.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_ALPHA_GREY</Type>
<fRed>0.1</fRed>
<fGreen>0.1</fGreen>
<fBlue>0.1</fBlue>
<fAlpha>0.45</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_WHITE</Type>
<fRed>1.00</fRed>
<fGreen>1.00</fGreen>
<fBlue>1.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_BLACK</Type>
<fRed>0.00</fRed>
<fGreen>0.00</fGreen>
<fBlue>0.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_DARK_GREY</Type>
<fRed>0.25</fRed>
<fGreen>0.25</fGreen>
<fBlue>0.25</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_GREY</Type>
<fRed>0.5</fRed>
<fGreen>0.5</fGreen>
<fBlue>0.5</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_LIGHT_GREY</Type>
<fRed>0.75</fRed>
<fGreen>0.75</fGreen>
<fBlue>0.75</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_RED</Type>
<fRed>1.00</fRed>
<fGreen>0.00</fGreen>
<fBlue>0.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_GREEN</Type>
<fRed>0.00</fRed>
<fGreen>1.00</fGreen>
<fBlue>0.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_BLUE</Type>
<fRed>0.00</fRed>
<fGreen>0.00</fGreen>
<fBlue>1.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_CYAN</Type>
<fRed>0.00</fRed>
<fGreen>1.00</fGreen>
<fBlue>1.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_YELLOW</Type>
<fRed>1.00</fRed>
<fGreen>1.00</fGreen>
<fBlue>0.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_MAGENTA</Type>
<fRed>1.00</fRed>
<fGreen>0.00</fGreen>
<fBlue>1.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_YIELD_FOOD</Type>
<fRed>0.99</fRed>
<fGreen>0.58</fGreen>
<fBlue>0.16</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_YIELD_PRODUCTION</Type>
<fRed>0.44</fRed>
<fGreen>0.56</fGreen>
<fBlue>0.74</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_YIELD_COMMERCE</Type>
<fRed>1.00</fRed>
<fGreen>0.94</fGreen>
<fBlue>0.08</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_CITY_BLUE</Type>
<fRed>0.07</fRed>
<fGreen>0.46</fGreen>
<fBlue>0.80</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_CITY_GREY</Type>
<fRed>0.35</fRed>
<fGreen>0.25</fGreen>
<fBlue>0.25</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_CITY_BROWN</Type>
<fRed>0.70</fRed>
<fGreen>0.45</fGreen>
<fBlue>0.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_CITY_GREEN</Type>
<fRed>0.18</fRed>
<fGreen>0.53</fGreen>
<fBlue>0.42</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_FONT_RED</Type>
<fRed>1.00</fRed>
<fGreen>0.30</fGreen>
<fBlue>0.15</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_FONT_GREEN</Type>
<fRed>0.10</fRed>
<fGreen>0.95</fGreen>
<fBlue>0.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_RESEARCH_STORED</Type>
<fRed>0.00</fRed>
<fGreen>0.90</fGreen>
<fBlue>0.20</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_RESEARCH_RATE</Type>
<fRed>0.00</fRed>
<fGreen>0.90</fGreen>
<fBlue>0.20</fBlue>
<fAlpha>0.60</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_CULTURE_STORED</Type>
<fRed>0.60</fRed>
<fGreen>0.00</fGreen>
<fBlue>1.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_CULTURE_RATE</Type>
<fRed>0.60</fRed>
<fGreen>0.00</fGreen>
<fBlue>1.00</fBlue>
<fAlpha>0.60</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_GREAT_PEOPLE_STORED</Type>
<fRed>1.00</fRed>
<fGreen>1.00</fGreen>
<fBlue>0.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_GREAT_PEOPLE_RATE</Type>
<fRed>1.00</fRed>
<fGreen>1.00</fGreen>
<fBlue>0.00</fBlue>
<fAlpha>0.60</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_NEGATIVE_RATE</Type>
<fRed>1.00</fRed>
<fGreen>0.00</fGreen>
<fBlue>0.00</fBlue>
<fAlpha>0.65</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_EMPTY</Type>
<fRed>0.0</fRed>
<fGreen>0.0</fGreen>
<fBlue>0.0</fBlue>
<fAlpha>0.40</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_POPUP_TEXT</Type>
<fRed>1.00</fRed>
<fGreen>1.00</fGreen>
<fBlue>1.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_POPUP_SELECTED</Type>
<fRed>1.00</fRed>
<fGreen>1.00</fGreen>
<fBlue>0.00</fBlue>
<fAlpha>0.75</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_TECH_TEXT</Type>
<fRed>0.50</fRed>
<fGreen>1.00</fGreen>
<fBlue>0.10</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_UNIT_TEXT</Type>
<fRed>1.00</fRed>
<fGreen>1.00</fGreen>
<fBlue>0.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_BUILDING_TEXT</Type>
<fRed>0.80</fRed>
<fGreen>0.80</fGreen>
<fBlue>0.85</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PROJECT_TEXT</Type>
<fRed>0.80</fRed>
<fGreen>0.80</fGreen>
<fBlue>0.85</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_HIGHLIGHT_TEXT</Type>
<fRed>0.40</fRed>
<fGreen>0.90</fGreen>
<fBlue>1.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_ALT_HIGHLIGHT_TEXT</Type>
<fRed>0.50</fRed>
<fGreen>1.00</fGreen>
<fBlue>0.10</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_WARNING_TEXT</Type>
<fRed>1.00</fRed>
<fGreen>0.30</fGreen>
<fBlue>0.30</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_POSITIVE_TEXT</Type>
<fRed>0.50</fRed>
<fGreen>1.00</fGreen>
<fBlue>0.10</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_NEGATIVE_TEXT</Type>
<fRed>1.00</fRed>
<fGreen>0.30</fGreen>
<fBlue>0.30</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_BROWN_TEXT</Type>
<fRed>0.40</fRed>
<fGreen>0.24</fGreen>
<fBlue>0.16</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_SELECTED_TEXT</Type>
<fRed>1.00</fRed>
<fGreen>0.82</fGreen>
<fBlue>0.49</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_WATER_TEXT</Type>
<fRed>0.70</fRed>
<fGreen>0.70</fGreen>
<fBlue>1.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_MENU_BLUE</Type>
<fRed>0.28</fRed>
<fGreen>0.83</fGreen>
<fBlue>0.95</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_DAWN_OF_MAN_TEXT</Type>
<fRed>0.22</fRed>
<fGreen>0.09</fGreen>
<fBlue>0.03</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_TECH_GREEN</Type>
<fRed>0.16</fRed>
<fGreen>0.70</fGreen>
<fBlue>0.27</fBlue>
<fAlpha>0.50</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_TECH_BLUE</Type>
<fRed>0.21</fRed>
<fGreen>0.23</fGreen>
<fBlue>0.68</fBlue>
<fAlpha>0.50</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_TECH_WORKING</Type>
<fRed>0.21</fRed>
<fGreen>0.23</fGreen>
<fBlue>0.68</fBlue>
<fAlpha>0.50</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_TECH_BLACK</Type>
<fRed>0.00</fRed>
<fGreen>0.00</fGreen>
<fBlue>0.00</fBlue>
<fAlpha>0.50</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_TECH_RED</Type>
<fRed>1.00</fRed>
<fGreen>0.00</fGreen>
<fBlue>0.00</fBlue>
<fAlpha>0.50</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_BLACK</Type>
<fRed>0.13</fRed>
<fGreen>0.13</fGreen>
<fBlue>0.13</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_BLACK_TEXT</Type>
<fRed>0.8</fRed>
<fGreen>0.808</fGreen>
<fBlue>0.851</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_BLUE</Type>
<fRed>0.21</fRed>
<fGreen>0.40</fGreen>
<fBlue>1.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_BLUE_TEXT</Type>
<fRed>0.698</fRed>
<fGreen>0.776</fGreen>
<fBlue>1.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_BROWN</Type>
<fRed>0.39</fRed>
<fGreen>0.24</fGreen>
<fBlue>0.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_BROWN_TEXT</Type>
<fRed>0.898</fRed>
<fGreen>0.624</fGreen>
<fBlue>0.180</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_CYAN</Type>
<fRed>0.07</fRed>
<fGreen>0.90</fGreen>
<fBlue>0.86</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_CYAN_TEXT</Type>
<fRed>0.00</fRed>
<fGreen>0.831</fGreen>
<fBlue>0.788</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_DARK_BLUE</Type>
<fRed>0.16</fRed>
<fGreen>0.00</fGreen>
<fBlue>0.64</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_DARK_BLUE_TEXT</Type>
<fRed>0.812</fRed>
<fGreen>0.749</fGreen>
<fBlue>1.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_DARK_CYAN</Type>
<fRed>0.00</fRed>
<fGreen>0.54</fGreen>
<fBlue>0.55</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_DARK_CYAN_TEXT</Type>
<fRed>0.6</fRed>
<fGreen>1.00</fGreen>
<fBlue>0.973</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_DARK_GREEN</Type>
<fRed>0.00</fRed>
<fGreen>0.39</fGreen>
<fBlue>0.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_DARK_GREEN_TEXT</Type>
<fRed>0.561</fRed>
<fGreen>0.80</fGreen>
<fBlue>0.561</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_DARK_PINK</Type>
<fRed>0.69</fRed>
<fGreen>0.00</fGreen>
<fBlue>0.38</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_DARK_PINK_TEXT</Type>
<fRed>1.00</fRed>
<fGreen>0.00</fGreen>
<fBlue>1.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_DARK_PURPLE</Type>
<fRed>0.45</fRed>
<fGreen>0.00</fGreen>
<fBlue>0.49</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_DARK_PURPLE_TEXT</Type>
<fRed>0.706</fRed>
<fGreen>0.302</fGreen>
<fBlue>0.741</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_DARK_RED</Type>
<fRed>0.62</fRed>
<fGreen>0.00</fGreen>
<fBlue>0.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_DARK_RED_TEXT</Type>
<fRed>1.00</fRed>
<fGreen>0.02</fGreen>
<fBlue>0.02</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_DARK_YELLOW</Type>
<fRed>0.97</fRed>
<fGreen>0.75</fGreen>
<fBlue>0.0</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_DARK_YELLOW_TEXT</Type>
<fRed>0.973</fRed>
<fGreen>0.757</fGreen>
<fBlue>0.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_GRAY</Type>
<fRed>0.7</fRed>
<fGreen>0.7</fGreen>
<fBlue>0.7</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_GRAY_TEXT</Type>
<fRed>0.8</fRed>
<fGreen>0.8</fGreen>
<fBlue>0.8</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_GREEN</Type>
<fRed>0.49</fRed>
<fGreen>0.88</fGreen>
<fBlue>0.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_GREEN_TEXT</Type>
<fRed>0.486</fRed>
<fGreen>0.882</fGreen>
<fBlue>0.0</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_ORANGE</Type>
<fRed>0.99</fRed>
<fGreen>0.45</fGreen>
<fBlue>0.0</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_ORANGE_TEXT</Type>
<fRed>.996</fRed>
<fGreen>.459</fGreen>
<fBlue>0.0</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_PEACH</Type>
<fRed>0.60</fRed>
<fGreen>0.49</fGreen>
<fBlue>0.0</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_PEACH_TEXT</Type>
<fRed>0.761</fRed>
<fGreen>0.698</fGreen>
<fBlue>0.396</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_PINK</Type>
<fRed>0.98</fRed>
<fGreen>0.67</fGreen>
<fBlue>0.49</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_PINK_TEXT</Type>
<fRed>0.980</fRed>
<fGreen>0.353</fGreen>
<fBlue>0.224</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_PURPLE</Type>
<fRed>0.77</fRed>
<fGreen>0.34</fGreen>
<fBlue>1.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_PURPLE_TEXT</Type>
<fRed>0.831</fRed>
<fGreen>0.6</fGreen>
<fBlue>1.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_RED</Type>
<fRed>0.86</fRed>
<fGreen>0.02</fGreen>
<fBlue>0.02</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_RED_TEXT</Type>
<fRed>1.00</fRed>
<fGreen>0.298</fGreen>
<fBlue>0.416</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_WHITE</Type>
<fRed>0.90</fRed>
<fGreen>0.90</fGreen>
<fBlue>0.90</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_WHITE_TEXT</Type>
<fRed>1.00</fRed>
<fGreen>.898</fGreen>
<fBlue>0.898</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_YELLOW</Type>
<fRed>1.00</fRed>
<fGreen>1.00</fGreen>
<fBlue>0.17</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_YELLOW_TEXT</Type>
<fRed>0.996</fRed>
<fGreen>1.00</fGreen>
<fBlue>0.173</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
</ColorVals>
</Civ4ColorVals>
kswoll Dec 02, 2005, 02:39 PM I dont have a value bigger than 1 in the file.
Here ist the filetext:
Well, thanks for checking. I don't know what it could be. Does it produce a stack trace for you? That would help me track down where this is happening.
kswoll Dec 02, 2005, 03:17 PM I dont have a value bigger than 1 in the file.
Here ist the filetext:
I tried changing one of the 1.00 values in my Civ4ColorVals.xml to 100 and I got the exact same exception you reported. If you download the latest version, if you still get the exception it will appear in a dialog that will also display the path to Civ4. Is there any possibility you had a beta version of Civ4 installed at one time? Or another version, anyway? Either way, please verify that the path to Civ4 that the exception window displays matches where you know Civ4 to be installed to.
Get SEG-Y Dec 02, 2005, 05:43 PM This looks like you're missing a dll. Is there any chance you copied the EXE file from the folder it was installed to? The exe must be run from the folder it was installed to and should not be moved.
I have tried running the program from th eshortcut it creates and form the icon in the folder where the .dll's reside. All with the same result.:sad:
Deschain Dec 02, 2005, 07:55 PM Value of '25500' is not valid for 'red'. 'red' should be greater than or equal to 0 and less than or equal to 255.
This is what i get if i try V1.0.18...
tbear2520 Dec 03, 2005, 12:36 AM Kswoll, I really like your program. Very nice...
Exspecially useful I feel once a map is created. Plot starting location, cities and even units. yea... I did have trouble with that last bit. The plotting units gave me an error but I think that is under construction(Can't see the full name).
Well I look forward to watching this application develope. The map drawing portion I'm try to stay away from on this one. Between using bmp's to create maps based off of pictures and then the Atlas project I think that portion is covered. At least for the time ;). Your app though has huge potentional though in all these aspects and could even lead the way if all aspects get fully developed. It plotted my rivers on my map using the bmp convertor and the map displayed perfectly on yours. Which I have many rivers on a large 72x144 map.
I look forward to the scenario features devloping. :goodjob:
Tbear2520
Get SEG-Y Dec 03, 2005, 09:22 AM Just had to unistall and reinstall (I had previously just overwritten the earlier installs). Can now create my own WBS and save and open it but get the following message when opening a WBS saved in Civ4.
Unable to cast object of type 'Civ4EditorModel.Wbs.PlayerImpl' to type 'System.IConvertible'.
at Civ4EditorModel.Wbs.Persist.SmallDetailContainerAd apter`4.Load(Civ4PersistenceLoadContext loadContext, ConceptBase concept)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (Civ4PersistenceLoadContext context, C concept)
at Civ4EditorModel.Persist.EmbeddedConceptAdapter`2.L oad(Civ4PersistenceLoadContext loadContext, ConceptBase concept)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (Civ4PersistenceLoadContext context, C concept)
at Civ4EditorModel.Wbs.Persist.EmbeddedContainerAdapt er`2.Load(Civ4PersistenceLoadContext loadContext, ConceptBase concept)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (Civ4PersistenceLoadContext context, C concept)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (Stream stream, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (String file, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
net55 Dec 03, 2005, 05:29 PM Dido...same error
Unable to cast object of type 'Civ4EditorModel.Wbs.PlayerImpl' to type 'System.IConvertible'.
It only happens to maps that where edited in Civ4....the maps that are just generated but not edited load fine.
black_imperator Dec 04, 2005, 01:02 AM i have a problem while launching your program:
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.Double.Parse(String s)
at Civ4MapGenerator.GameInfo.GameInfoProvider.LoadCol ors()
at Civ4MapGenerator.GameInfo.GameInfoProvider.Preload (ProgressHost progressHost)
at Civ4MapGenerator.SplashScreen.Start(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
kswoll Dec 04, 2005, 01:19 AM Kswoll, I really like your program. Very nice...
Exspecially useful I feel once a map is created. Plot starting location, cities and even units. yea... I did have trouble with that last bit. The plotting units gave me an error but I think that is under construction(Can't see the full name).
Yes, I haven't spent much time with this section since stubbing it out. I'll look into it more soon.
Well I look forward to watching this application develope. The map drawing portion I'm try to stay away from on this one. Between using bmp's to create maps based off of pictures and then the Atlas project I think that portion is covered. At least for the time ;).
I think the bmp converter is a great program, but personally, I'm not sure I agree with the approach. They acknowledge this to an extent in their document, "the fact that when you draw a map and start placing resources and cities on it, you cant turn back. Lets suppose that while placing the cities, you realize that one continent should be shifted one tile left (with all the cities, units and resources in it)
..good luck."
I think ideally, your maps should be saved as a Civ4WorldBuilderSave file and edits should be made directly to that. Fortunately, with my editor, you can in fact move the entire map one tile to the left, right, or any other spot by using the copy and paste feature. Furthermore, I found the tool required quite a lot of steps, including manipulation of several copies of your file.
However, I've found it really easy to use my program to create these maps and have them come out perfectly rendered with moutains, hills, forests, coasts, rivers, etc. all in exactly the right place and all by directly modifying the Civ4WorldBuilderSave
Your app though has huge potentional though in all these aspects and could even lead the way if all aspects get fully developed. It plotted my rivers on my map using the bmp convertor and the map displayed perfectly on yours. Which I have many rivers on a large 72x144 map.
I look forward to the scenario features devloping. :goodjob:
Tbear2520
I appreciate the kind words and look forward to implementing the scenario features.
kswoll Dec 04, 2005, 01:23 AM Just had to unistall and reinstall (I had previously just overwritten the earlier installs). Can now create my own WBS and save and open it but get the following message when opening a WBS saved in Civ4.
Unable to cast object of type 'Civ4EditorModel.Wbs.PlayerImpl' to type 'System.IConvertible'.
I'm surprised you had to explicitly uninstall. There is a property on the installer "RemovePreviousVersion" that I have set to true and it's been working for me. Go figure.
But thanks for reporting the bug. The stack trace was a big help. The latest version should fix this problem.
kswoll Dec 04, 2005, 01:38 AM i have a problem while launching your program:
Input string was not in a correct format.
Please download the latest version and try again. If you still get the error, it should provide more detail as to what it's specific complaint is.
black_imperator Dec 04, 2005, 01:50 AM after downloading the new version , this is the error:
Error parsing alpha component '0.00' of COLOR_CLEAR in Interface\CIV4ColorVals.xml
Exception
at Civ4MapGenerator.GameInfo.GameInfoProvider.LoadCol ors()
at Civ4MapGenerator.GameInfo.GameInfoProvider.Preload (ProgressHost progressHost)
at Civ4MapGenerator.SplashScreen.Start(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
stgelven Dec 04, 2005, 03:48 AM hummm, may be i a stupid but i have an exeption and this message, what can i do?
Error parsing alpha component '0.00' of COLOR_CLEAR in Interface\CIV4ColorVals.xml
Harko Dec 04, 2005, 08:40 AM I got error-message: Value of '25500' is not valid for 'red'. 'red' should be greater than or equal to 0 and less than or equal to 255.
Stack trace:
ArgumentException
at System.Drawing.Color.CheckByte(Int32 value, String name)
at System.Drawing.Color.FromArgb(Int32 alpha, Int32 red, Int32 green, Int32 blue)
at Civ4MapGenerator.GameInfo.GameInfoProvider.LoadCol ors()
at Civ4MapGenerator.GameInfo.GameInfoProvider.Preload (ProgressHost progressHost)
at Civ4MapGenerator.SplashScreen.Start(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
I've installed patch 1.09 and my XML "colorfile" contains no numbers above 1:confused:
Craig_Sutter Dec 04, 2005, 09:05 AM Hi.
I love the usefulness of your program.
I made a map using WBS-BMP converter and used your utility to view the map. It was very useful as I don't have a computer capable of running the game as yet, and actually seeing the map was a godsend.
I did have one problem though. I loaded my map, and all river plots came out as expected; however, many of the arrows, although shown on the map, did not show up under plot information as rivers. These were usually ones pointing in one of the northern directions. Anyhow, I saved the game after making some adjustments to the game variables. Upon reopening, many of the river plots had disappeared, this time on the map; I suspect these to be the plots that the program had previously not designated as such under plot information (although had shown graphically).
Anyhow, something is not quite working regarding the rivers, and it is only in particular directions in which the river is flowing... the graphic is working and shows on the map, but in certain directions, this is not being attributed to the actual plot information.
Hope this helps.
Great job.
Gaia013 Dec 04, 2005, 09:14 AM I got error-message: Value of '25500' is not valid for 'red'. 'red' should be greater than or equal to 0 and less than or equal to 255.
Stack trace:
ArgumentException
at System.Drawing.Color.CheckByte(Int32 value, String name)
at System.Drawing.Color.FromArgb(Int32 alpha, Int32 red, Int32 green, Int32 blue)
at Civ4MapGenerator.GameInfo.GameInfoProvider.LoadCol ors()
at Civ4MapGenerator.GameInfo.GameInfoProvider.Preload (ProgressHost progressHost)
at Civ4MapGenerator.SplashScreen.Start(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
I have the same problem.:( :(
kswoll Dec 04, 2005, 09:54 AM after downloading the new version , this is the error:
Error parsing alpha component '0.00' of COLOR_CLEAR in Interface\CIV4ColorVals.xml
Exception
at Civ4MapGenerator.GameInfo.GameInfoProvider.LoadCol ors()
at Civ4MapGenerator.GameInfo.GameInfoProvider.Preload (ProgressHost progressHost)
at Civ4MapGenerator.SplashScreen.Start(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
To all who have been getting this exception (and, presumably, all of you are Europeans, or at least not American) please try the latest version. I had forgotten that parsing a number in Europe using the default methods expects a "," as the decimal separator instead of a ".". i.e. It's expecting "0,00" instead of "0.00". I'm now using the US culture info to parse, so this should be fixed. However, since I don't have a computer using European culture info, it's hard for me to test. Let me know how it goes.
Loranga Dec 04, 2005, 10:17 AM Thanks for a promising application. What about adding a version number in a "about" box?
Harko Dec 04, 2005, 02:05 PM To all who have been getting this exception (and, presumably, all of you are Europeans, or at least not American) please try the latest version. I had forgotten that parsing a number in Europe using the default methods expects a "," as the decimal separator instead of a ".". i.e. It's expecting "0,00" instead of "0.00". I'm now using the US culture info to parse, so this should be fixed. However, since I don't have a computer using European culture info, it's hard for me to test. Let me know how it goes.
Yes, it's fixed now, thank you (from Holland :goodjob: )!
*edit*
Got another error:
Message:
Illegal version line "e
Stack Trace:
Exception
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load Header(Civ4PersistenceLoadContext context)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (Stream stream, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (String file, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4MapGenerator.Wbs.WorldBuilderSave.Load(String file, ProgressHost progressHost)
at Civ4MapGenerator.LoadScreen.DoLoad(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
kswoll Dec 04, 2005, 02:05 PM I think this will be my new sig:
Only in Europe where 1,000 == 1 and 1.00 != 1
God help your programmers.
kswoll Dec 04, 2005, 02:24 PM Got another error:
Message:
Illegal version line "e
Stack Trace:
Exception
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load Header(Civ4PersistenceLoadContext context)
This should be pretty straightforward. What is the first line of the file you are trying to load?
kswoll Dec 04, 2005, 02:54 PM Thanks for a promising application. What about adding a version number in a "about" box?
Thanks for the kind words, your advice is sound and future versions will include an about box with version info and a link to this page.
Harko Dec 04, 2005, 03:30 PM This should be pretty straightforward. What is the first line of the file you are trying to load?
I tried a savegame instead of a worldbuilder savegame :blush:
With a worldbuilder savegame there were no problems
Harrdy Dec 04, 2005, 04:20 PM That last update got rid of the startup problem... yeah, there are different Formats for numbers around the world 8o)
Tried to load a saved game (map) and it crashed thou 8-/
Illegal version line "e
Exception
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load Header(Civ4PersistenceLoadContext context)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (Stream stream, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (String file, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4MapGenerator.Wbs.WorldBuilderSave.Load(String file, ProgressHost progressHost)
at Civ4MapGenerator.LoadScreen.DoLoad(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
PeAcE
kswoll Dec 04, 2005, 05:09 PM That last update got rid of the startup problem... yeah, there are different Formats for numbers around the world 8o)
Sure, but the specific format for dividing integers that is used in programming langugages is that of a period '.'. This is constant no matter what language you speak or where you live and thus would seem to be of particular hardship to programmers where they are accustomed to this not being the case. :)
tbear2520 Dec 04, 2005, 09:54 PM Kswoll, Hey can I like to make a suggestion. How about putting in a Undo button?
kswoll Dec 04, 2005, 10:21 PM Kswoll, Hey can I like to make a suggestion. How about putting in a Undo button?
Thanks for the suggestion. Yeah, undo features are one of those things that are obvious, gotta have, but tough to implement. It's a priority and will get done soon.
TechniCT Dec 05, 2005, 05:17 PM The rivers are disappearing for me as well as mentioned in a previous post. Also, can you consider adding both types of forest?
The map with disappearing rivers is attached. When I save and reload, many are gone. Hope that helps. The tool is really a great timesaver, very nice work.
Craig_Sutter Dec 05, 2005, 05:21 PM More on the rivers. I think it has to do with river tiles with more than one direction associated with them... where there is a river on both the bottom and the right side of a plot.
TechniCT Dec 05, 2005, 08:01 PM Yes, I tried it out and that's it exactly.
kswoll Dec 06, 2005, 01:04 AM The rivers are disappearing for me as well as mentioned in a previous post. Also, can you consider adding both types of forest?
The map with disappearing rivers is attached. When I save and reload, many are gone. Hope that helps. The tool is really a great timesaver, very nice work.
Thanks to all of you for reporting this. Please try version 1.0.22.
And thanks for reminding me about the different forest types. I'll get that added in soon.
Loranga Dec 06, 2005, 02:40 AM Got another error:
Message:
Illegal version line "e
Stack Trace:
Exception
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load Header(Civ4PersistenceLoadContext context)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (Stream stream, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (String file, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4MapGenerator.Wbs.WorldBuilderSave.Load(String file, ProgressHost progressHost)
at Civ4MapGenerator.LoadScreen.DoLoad(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
I'm from Sweden and I also got this error.
Feet Dec 06, 2005, 05:28 AM I retried this today and it works for me now.
This is an awesome tool.
Quick request\question. Does it look at the mod path line in the WBS and pull the custom mod XML from there? And if so could you make a custom leaderhead page to make it easy to import your own still DDS files for a mod.
Top work anyway. :)
kswoll Dec 06, 2005, 11:44 AM I retried this today and it works for me now.
This is an awesome tool.
Quick request\question. Does it look at the mod path line in the WBS and pull the custom mod XML from there? And if so could you make a custom leaderhead page to make it easy to import your own still DDS files for a mod.
Top work anyway. :)
Thanks for the kind words. I had mods in mind from the beginning, so support for mod paths will be forthcoming. However, mod editing is really an entirely new component to the editor so there's a lot of work there.
kswoll Dec 06, 2005, 11:45 AM I'm from Sweden and I also got this error.
I apologize for any confusion because of my subject, but the editor is intended to edit only Civ4WorldBuilderSave files, and not Civ4SavedGame files. Is there any possible value in being able to edit Civ4SavedGame files?
PawelS Dec 06, 2005, 07:45 PM Is there any possible value in being able to edit Civ4SavedGame files?
I'd like to start a scenario game as single player, and then edit the savegame to make it hotseat. (scenarios can't be played in hotseat normally)
Craig_Sutter Dec 08, 2005, 07:20 AM I'm still running into problems placing rivers.
I think the problem is this... there are 5 options under the river drop down list. No river, North of Eastbound, North of Westbound, West of Northbound, and West of South bound. The problem lies in the selection of a river course when any two of these choices must be applied to one plot. The BMP to WBS utility is very specific in adding plot information to account for corners.
Here is an example of a plot taken from a map made using BMP to WBS... I can't do this using Civ4MapGenerator
BeginPlot
x=14,y=1
isNOfRiver
RiverWEDirection=3
isWOfRiver
RiverNSDirection=2
PlotType=2
TerrainType=TERRAIN_GRASS
EndPlot
I think that more river plot characteristics will have to be added to the dropdown menu...
These are taken from the BMP to WBS utility. You have the first four choices in the drop down, but need the other four to account for all possible river directions.
kswoll Dec 08, 2005, 11:37 AM I'm still running into problems placing rivers.
I think the problem is this... there are 5 options under the river drop down list. No river, North of Eastbound, North of Westbound, West of Northbound, and West of South bound. The problem lies in the selection of a river course when any two of these choices must be applied to one plot. The BMP to WBS utility is very specific in adding plot information to account for corners.
You should be using the "River" button, not the combo box. You should be "drawing" the river on the map. Don't use the river combo. You are correct that a combo box is the wrong metaphor for this field.
tbear2520 Dec 09, 2005, 12:10 AM Am I missing something? Are the resources not working or am I just stuck on stupid tonight?
Gr3yHound Dec 09, 2005, 09:50 AM hmm, i m not sure if this has already mentioned.
I can´t get it running.
I don´t want to spam with the whole error message (additionally to the fact that i don´t have the program installed anymore) but the short version of it would be:
"Device not operatable" (or "device not ready") or something, it´s a try to translate "Gerät nicht bereit" to the english language.
CokeHead Dec 09, 2005, 11:26 AM Hey,
I tried to load Earth 1000 AD into this editor along with other WBS files in the PublicMaps folder and none of them load. Please let me know what can be the issue. I have Net 2.0.
Cheers,
-CH
kswoll Dec 14, 2005, 01:01 PM Hey,
I tried to load Earth 1000 AD into this editor along with other WBS files in the PublicMaps folder and none of them load. Please let me know what can be the issue. I have Net 2.0.
Cheers,
-CH
Hi everone. Sorry, I've been on vacation. I'll respond to all these tomorrow (Thursday)
SoCalian Dec 22, 2005, 02:26 AM very cool, thanks!
Craig_Sutter Dec 25, 2005, 08:49 AM Hello,
Still working on making maps using your program. I've run into trouble starting the program. I've reinstalled, both it and NET. 2.0 but keep getting the same problem during program loading:
Message: The type initializer for 'Foundation.Concept`1' threw an exception.
Stack Trace:
TypeInitializationException
at Foundation.Concept`1.Create()
at Civ4MapGenerator.GameInfo.GameInfoProvider.LoadCol ors()
at Civ4MapGenerator.GameInfo.GameInfoProvider.Preload (ProgressHost progressHost)
at Civ4MapGenerator.SplashScreen.Start(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
I'll keep working to get it started.
Craig_Sutter Dec 26, 2005, 05:22 AM Just wondering... could this problem be patch related? I'll try a reinstall of Civ IV without the patch later today and see.
gutty47 Dec 26, 2005, 07:27 AM Heres a sample registry file from Windows XP x64. Thought you might want to add this extra location when checking for installation of Civ4. :)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Firaxis Games]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Firaxis Games\Sid Meier's Civilization 4]
"INSTALLDIR"="C:\\Games\\Civilization 4"
"DEFAULT_LANGUAGE"=dword:00000009
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Firaxis Games\Sid Meier's Civilization 4\1.00.0000]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Firaxis Games\Sid Meier's Civilization 4\1.09]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Firaxis Games\Sid Meier's Civilization 4\1.52]
kswoll Dec 26, 2005, 11:42 AM Just wondering... could this problem be patch related? I'll try a reinstall of Civ IV without the patch later today and see.
Sorry, I was out on vacation. Are you still having this problem? I've been using it successfully with the patch, so I don't think that's the problem. I'll work on a new version that will provide better feedback for this error.
kswoll Dec 26, 2005, 11:44 AM Heres a sample registry file from Windows XP x64. Thought you might want to add this extra location when checking for installation of Civ4. :)
Thanks for this info. The next version will check this entry.
DigitalD Dec 28, 2005, 12:41 PM cant open saved game....
Illegal version line "f
Exception
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load Header(Civ4PersistenceLoadContext context)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (Stream stream, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (String file, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4MapGenerator.Wbs.WorldBuilderSave.Load(String file, ProgressHost progressHost)
at Civ4MapGenerator.LoadScreen.DoLoad(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
pinkballoon Dec 30, 2005, 03:58 PM Hi, I love your program, but I cannot get it to work after I've closed a saved file. When I reopen the file for later editing, the program either freezes or I get the same dialogue pop up that Thermis and others have received. I'm asked to "continue" or "quit," but continuing only leaves the program open--it does not open the saved file. I am using your most recent version of the program. When I open those saved files with Civ4's worldbuilder, they work, but I cannot continue using your program after that first closing of the file (and I'd very much like to :) )
The exception text is:
Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
Index was outside the bounds of the array.
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box [etc, etc...]
pelletip Jan 01, 2006, 05:24 PM Can't open saved game...
Illegal version line "f
Exception
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load Header(Civ4PersistenceLoadContext context)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (Stream stream, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (String file, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4MapGenerator.Wbs.WorldBuilderSave.Load(String file, ProgressHost progressHost)
at Civ4MapGenerator.LoadScreen.DoLoad(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
Baron Rakkan Jan 02, 2006, 09:06 AM Can't open saved game...
Illegal version line "f
Exception
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load Header(Civ4PersistenceLoadContext context)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (Stream stream, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (String file, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4MapGenerator.Wbs.WorldBuilderSave.Load(String file, ProgressHost progressHost)
at Civ4MapGenerator.LoadScreen.DoLoad(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
The same happened to me. I don't know why, but I can't open a savegame I can only open the Worldbuilder-save-data.
Otterbear Jan 03, 2006, 12:50 AM I love your utility, AND it runs FINE on my system..version 1.52. However, I was a little taken back when I noticed that I could change/add a new/different civ by changing the values in the player screen, but couldn't add or subtract any of the existing civs. Is this the case or am I missing something? I know that this is a work in progress and it appears that you may have some international issues, but my English,USA version is working very well.
Also, where do you get your lists for "Leader Type" and "Civ Type"? I am using the Leaders mod, which adds quite a few new civs and leaders. I tried (after backing it up of course) to replace the original Civ 4 files with the new files in the Leader Mod. However I now get the extended list in "Leader Type" but the new leaders names are blank spaces. The "Civ Type" does not change at all, I'm assuming that this is hard coded, am I correct? Is it possible to add to this so that my new civs show up?
Thanks in advance for your time and Help.
Thanks for the great utility and all your hard work. :thumbsup:
Hope you had a nice Holiday season.:king:
Baron Rakkan Jan 03, 2006, 02:27 AM I believe, that the utiliy works fine, but nevertheless I couldn't open a savegame, only a wbsavegame! When I wanted to open a savegame the message: illegal version line "f" , appeared! What does this message mean???
Gr3yHound Jan 03, 2006, 06:49 AM This program currently functions to load and save Civ4WorldBuilderSave files and also to create brand new ones from scratch.
probably because you canīt open normal savegames?
kswoll Jan 03, 2006, 01:03 PM The same happened to me. I don't know why, but I can't open a savegame I can only open the Worldbuilder-save-data.
Sorry for any confusion, but this is correct, you can only open Civ4WorldBuilderSave files. Regular save games are in binary. If someone has the slightest clue what the format of this file is I would be happy to support it.
Gr3yHound Jan 03, 2006, 02:12 PM Sorry for any confusion, but this is correct, you can only open Civ4WorldBuilderSave files. Regular save games are in binary. If someone has the slightest clue what the format of this file is I would be happy to support it.
I wonder whatīs all the in usual save files. I canīt think of many things, 1 thing would be the time until theindividual cottages grow to towns etc.
Mayb we get a converter with the SDK
pinkballoon Jan 03, 2006, 05:38 PM My problem doesn't refer to saved *game* files; I meant the worldbuilder files I create using kswoll's Map Editor.
Thunderbirdsei Jan 05, 2006, 01:12 PM What can I do?
Update: Solved, F*** Microsoft... :mad:
CivDav Jan 09, 2006, 07:52 AM Error message while editing map:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Civ4EditorModel.Wbs.Civ4Map.get_Item(Int32 x, Int32 y)
at Civ4EditorControls.MapEditor.OnMouseMove(MouseEven tArgs e)
at System.Windows.Forms.Control.WmMouseMove(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.UserControl.WndProc(Message& m)
at Civ4EditorControls.MapEditor.WndProc(Message& messg)
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
----------------------------------------
Civ4MapGenerator
Assembly Version: 1.0.2194.21616
Win32 Version: 1.0.2194.21616
CodeBase: file:///c:/J%E1t%E9kok/Civ4%20Editor/Civ4MapGenerator.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
----------------------------------------
Civ4EditorModel
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///c:/J%E1t%E9kok/Civ4%20Editor/Civ4EditorModel.DLL
----------------------------------------
Foundation
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///c:/J%E1t%E9kok/Civ4%20Editor/Foundation.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
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///c:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
Civ4EditorControls
Assembly Version: 1.0.2192.34445
Win32 Version: 1.0.0.0
CodeBase: file:///c:/J%E1t%E9kok/Civ4%20Editor/Civ4EditorControls.DLL
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///c:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///c:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///c:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///c:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///c:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///c:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///c:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///c:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///c:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///c:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///c:/J%E1t%E9kok/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///c:/J%E1t%E9kok/Civ4%20Editor/Foundation.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.
Caesar Maximus Jan 12, 2006, 08:15 AM Hello, I've just downloaded your utility and I'm now upgrading the .net Framework. But I've a doubt:
when I tried to run the installation, the program said "you need framework version n et cetera... do you want to install now?" I clicked yes and it opened a browser window with the italian version (1.1!) of the framework. I tried to install it but it said I already have it.
I tried to download it from your link and now it's installing... BUT...
if I've italian Visual Basic 6 installed, will .netFW interfer with it???
Thanks...
Kopernikus1979 Jan 13, 2006, 12:35 AM Hi,
just downloaded the utility and got the following message:
Illegal version line "f
Exception
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load Header(Civ4PersistenceLoadContext context)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (Stream stream, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (String file, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4MapGenerator.Wbs.WorldBuilderSave.Load(String file, ProgressHost progressHost)
at Civ4MapGenerator.LoadScreen.DoLoad(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
What's the problem with?
Crash757 Jan 13, 2006, 03:25 AM How can i create a edit scenario savegame for hotseat playing with this editor ? :crazyeye:
Genghis_Kai Jan 14, 2006, 01:25 AM I have a problem with using the Civ4Editor.
After I edited a scenario in World builder, I use the Civ4Editor to make some changes of the game setting. But sometimes, the number of civs increased. The first half of the civs are empty.
When I open this game again in Civ4, my original civs are gone remining with the empty civs.
See attachment for a screenshot of the extra civs.
Any help would be greatly appreciated!
Kaiserguard Jan 15, 2006, 02:00 AM I have a problem regarding mods, It isnt able to load mods, the button does nothing!
Schee Jan 15, 2006, 05:49 AM I have the European version of Civ4, with the 1.52 patch, and I got this error when launching the editor (It's a bit fast but I think it appears while saying "loading civilization types...") :
Message : Invalid character in the given encoding. Line 2095, position 39.
Stack trace :
XmlException
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(I nt32& bytesCount, Int32& charsCount)
at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
at System.Xml.XmlTextReaderImpl.ReadData()
at System.Xml.XmlTextReaderImpl.ParseCDataOrComment(X mlNodeType type, Int32& outStartPos, Int32& outEndPos)
at System.Xml.XmlTextReaderImpl.ParseCDataOrComment(X mlNodeType type)
at System.Xml.XmlTextReaderImpl.ParseComment()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(Stream inStream)
at Civ4MapGenerator.GameInfo.GameInfoProvider.GetGame Infos(GameInfoKey gameInfo)
at Civ4MapGenerator.GameInfo.GameInfoProvider.Preload (ProgressHost progressHost)
at Civ4MapGenerator.SplashScreen.Start(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
I would have tried to look at this line 2095, position 39 but I don't see a filename mentioned in the error so...
And I haven't made changes to any XML file as far as I remember.
kurt-roges Jan 16, 2006, 09:35 PM hi
great program, it's super helpful, but I had a couple of problems with v1.0.23 that you might want to know about.
First, I think I ran into the same problem as CivDav, with the OutOfRangeException. For me, it happens when I'm drawing with a brush, cruising around the screen, and my mouse pointer goes off the edge of the map. For instance, drag the horizontal scrollbar all the way to the right, then choose a brush, click in the middle of the drawing window, and drag the mouse pointer to the right, past the edge of the world. You'll get this:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
Second, it doesn't look like river arrows work properly. I draw a southbound river, save my map, quit and reload the program, load my map, and see a northbound river. This happens with east/west as well as north/south. Not sure how or why this is happening.
Finally, I'm having problems launching the program. The progress bar gets stuck on 'loading religions' or whatever the message is that has to do with religions. I have to kill it and re-run it (one or more times) for it to work. Weird.
Anyway, keep up the great work. Looking forward to newer versions when you get the time.
thanks
- Dan
PurpleTurtle Jan 17, 2006, 02:34 PM I have the neccessary files installed to run this program, but for some reason I cannot place units or cities. The only thing I have been able to do is place rivers(and not very well either). Any ideas what I am doin wrong?
Kaiserguard Jan 18, 2006, 10:10 AM Kswoll, you should be shamed for tricking hardcore modders in such a frustrating way!
dodgy_007au Jan 19, 2006, 03:11 AM Hi, looks like a handy tool..but i can't tell becoz i get this error when i try to open a BMP image:
Illegal version line "BM6d
Exception
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load Header(Civ4PersistenceLoadContext context)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (Stream stream, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (String file, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4MapGenerator.Wbs.WorldBuilderSave.Load(String file, ProgressHost progressHost)
at Civ4MapGenerator.LoadScreen.DoLoad(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
any ideas???
thanx
rebel5555 Jan 19, 2006, 09:55 AM :beer: For some reason when i load a worldbuilder file the application freezes and doesn't respond I do have the latest version of .net framework. It would be nice if you could create a help file in your next version explaining how to use all the settings so people dont have to figure it out. Great work by the way!
Andrew_Jay Jan 20, 2006, 10:47 PM Awesome editor, it works great, though adding trees/jungle/ice somestimes gets a little wonky, and I have to go straight to the official worldbuilder - but hey, at least this saves a LOT of time.
Also, I discovered the "trace" feature today. Absolutely fantastic
Tyranausaurus Jan 22, 2006, 05:38 PM This is absolutely great!, one thing though, I personally prefer editing resources using Map View. When I try to load a worldbuilder file that is previously fabricated using the Civ4Editor the MapView utility crashes. Any ideas?
Gr3yHound Jan 22, 2006, 06:47 PM This is absolutely great!, one thing though, I personally prefer editing resources using Map View. When I try to load a worldbuilder file that is previously fabricated using the Civ4Editor the MapView utility crashes. Any ideas?
Could you please host/send me such a file? Iīll see if i can find the error.
Craig_Sutter Jan 23, 2006, 05:41 AM I had this same error. The plot characteristics are in a different order then the mapview uses. What I did was open the file in World Builder, and saved it. I could then open it in Mapview, as worldbuilder reconfigured the plot information into a sequence that Mapview could handle.
Sounds like you had the same problem.
Greyhound: I mentioned it previously in your Mapview thread. Just so you know.
Gr3yHound Jan 23, 2006, 06:10 AM ah yeha, didn´t recognize it
Tyranausaurus Jan 23, 2006, 02:44 PM I had this same error. The plot characteristics are in a different order then the mapview uses. What I did was open the file in World Builder, and saved it. I could then open it in Mapview, as worldbuilder reconfigured the plot information into a sequence that Mapview could handle.
Hey thanx, I thought that would solve the issue but I thought if I point this out another time the creators of the program would be able to fix it. Kswoll and Gr3yHound I thank you guys for putting the two absolutely fanastic programs together, I think this should have been an essential utility the game should have shipped with. :goodjob:
kurt-roges Jan 29, 2006, 10:02 AM any chance I could get the source to this program?
Stad Feb 05, 2006, 01:15 AM I am looking for a way to edit units using the editor. As I think I heard, it was impossible to load a save game file to mess with units and the like.
I have tried and got illegal line f error with
Exception
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load Header(Civ4PersistenceLoadContext context)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (Stream stream, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (String file, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4MapGenerator.Wbs.WorldBuilderSave.Load(String file, ProgressHost progressHost)
at Civ4MapGenerator.LoadScreen.DoLoad(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
no either my filename is too long, or just doesn't work.
Dday2000 Feb 05, 2006, 05:13 AM I have a problem with this program. I know that it's only supposed to work with worldmod saves, but when I try to use it on my 'greekworld' worldmod saves it never works. What happens is I edit the worldmod save, then try to load it up and I always get "you have been defeated" immediately when I login.
Anyone know what's up with that?
tucow Feb 17, 2006, 08:26 AM Cool tool that i've been looking for!
Is it possiable to add/del civilization or team in game?
Beginner Feb 26, 2006, 09:49 AM I'm having a serious problem with this program:
This morning I changed all the Civilizations and city names on Randland(a Wheel of Time map, I downloaded it here from this forum) to their appropriate Wheel of Time setting names. It all worked well, but I notice a few mistakes I had done, so I wanted to correct them. When I try to load my edited version of Randland into this program my computer(it's quite a good computer) starts lagging REALLY bad, and the program itself freezes on "Initializing". I restart my computer and try to load my edited version of Randland, but same thing happens again. I restart my computer(again), but this time I try to load another map. Not a problem at all. I try loading a couple of different maps, and they all work. Then I try to load my edited version of Randland again, and guess what happens. The computer starts lagging so bad that I have to restart it again. Does anybody know a cure for this problem? I really want to continue on this map...
babakahmadi Mar 03, 2006, 07:19 AM So is the "F" problem fixed? Is there an update? If so, where can I get it please?
Here is what I get:
Illegal version line "f
Exception
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load Header(Civ4PersistenceLoadContext context)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (Stream stream, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (String file, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4MapGenerator.Wbs.WorldBuilderSave.Load(String file, ProgressHost progressHost)
at Civ4MapGenerator.LoadScreen.DoLoad(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
MHKnights Mar 04, 2006, 06:34 PM Nice program! Can't wait to see what is added next.
Love Mar 06, 2006, 08:26 AM I like this!
Love Mar 06, 2006, 08:42 AM this wont work o my computer
kmfdm Mar 07, 2006, 08:50 PM I have an error when I try to place a Unit.
I can't seem to choose what I want to place either.
"Unable to cast object of type 'Civ4EditorModel.Wbs.Civ4Infolmpl' to type 'Civ4EditorModel.Wbs.Unit'
swedia Mar 11, 2006, 01:22 PM apparantly, I dont have Civ 4 installed on my computer :confused:
Anyone got any suggestions to get rid of the "Civilization 4 is Required" box?
Angus Khan Mar 13, 2006, 08:04 AM After editing a file with your Civ4Editor was unable to edit the file in MapView. Any ideas? Thanks.
Tyranausaurus Mar 13, 2006, 09:02 AM After editing a file with your Civ4Editor was unable to edit the file in MapView. Any ideas? Thanks.
Apparently, or it is what Kswoll said, the Civ4Editor writes the lines in a way different than MapView. Maps created by either programs would work flawlessly, what I did though, is run the map created by the Civ4Editor in Civ, opened WorldBuilder and then saved the map. Your map would then work in MapView ;).
Dr. Strangelove Mar 18, 2006, 10:19 AM Will this utility program ever be able to edit a saved game in addition to being able to edit worldbuilder saved games?
DragonEmperor Mar 26, 2006, 04:39 PM When you select to work on a new map after having been working on another map it remembers the previous path. So when you select to save you overwrite the other non-related map.
Also setting tile size has a nasty habit of messing up the program.
A nice feature would be to be able to flood fill an area (like in a paint program). An even better feature would be to be able to set a legend for the background and to be able to initialize the map based on that information (there would still be work to be done, but it would lessen the mind numbing work of tracing coasts on a 500x500 map).
MrPinchyPants Mar 27, 2006, 11:32 AM Wtf, it doesn't let me type in a mod path!
Justinian519 Apr 16, 2006, 05:35 AM The screenshots don't work on the first page. Also, can someone tell me what this program can help you do with scenarios? Or is it just use to make maps?
Thorvald of Lym Jun 04, 2006, 05:40 PM The screenshots don't work on the first page. Also, can someone tell me what this program can help you do with scenarios? Or is it just use to make maps?
The program's buggy, that's for sure. Now, I've only made maps but if it operates correctly it should let you create scenarios. There are a number of tabs that let you load a specific mod, place units and cities and customize nations and stuff. It loads faster and is somewhat easier to use (once you find your way around) than the game's built-in editor, but has a number of faults which I'm sure kswoll is toiling to correct.
PSYX Jun 05, 2006, 10:43 PM Error of the new version of editor:
Message:
Value cannot be null.
Parameter name: key
Stack trace:
ArgumentNullException
at System.ThrowHelper.ThrowArgumentNullException(Exce ptionArgument argument)
at System.Collections.Generic.Dictionary`2.Insert(TKe y key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.set_Item(T Key key, TValue value)
at Civ4MapGenerator.GameInfo.GameInfoProvider.LoadDes criptions(FileStream descriptionsFile)
at Civ4MapGenerator.GameInfo.GameInfoProvider.Preload (ProgressHost progressHost)
at Civ4MapGenerator.SplashScreen.Start(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
Why?
shaneaustin3179 Jun 28, 2006, 06:18 PM I tried to run the program and it said that Civilization 4 is required. I have had it installed on this computer and played it for some time now. Please let me know if you have ran into this before and if you can think of how to fix it. Shane
Italicus Jul 02, 2006, 09:09 PM Unfortunately when they change him or they add the city's names the map it jams in the editor and it is impossible to play :(
MusX Sep 12, 2006, 02:04 PM will check it. thx :)
civfanphp Sep 15, 2006, 10:23 AM Hi, I tried to use your program but I get this error when openning up a saved game (If possible, you should show a message saying it can't open saved games, only worldbuilder saves. I found out only after reading through this thread)
Message:
Illegal version line "g
Stack Trace:
Exception
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load Header(Civ4PersistenceLoadContext context)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (Stream stream, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (String file, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4MapGenerator.Wbs.WorldBuilderSave.Load(String file, ProgressHost progressHost)
at Civ4MapGenerator.LoadScreen.DoLoad(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
samoyed1958 Sep 25, 2006, 07:50 AM I'm getting this when trying to open a saved game
Illegal version line "g
Exception
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load Header(Civ4PersistenceLoadContext context)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (Stream stream, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (String file, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4MapGenerator.Wbs.WorldBuilderSave.Load(String file, ProgressHost progressHost)
at Civ4MapGenerator.LoadScreen.DoLoad(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
seems the last person before me was getting the same thing, what can I do to fix it?
I just bought the game at wal-mart this weekend too, and downloaded the lastest patch
ok so guess you can only open worldbuilder saves... I'm only looking to edit the time so it doesn't end in 2050
civfanphp Sep 25, 2006, 09:58 AM I'm only looking to edit the time so it doesn't end in 2050
I was also trying to find out how to do the same thing after I also bought the game at walmart, lol.
I found out that you can continue playing even after 2050. After you get the score screen and other stuff, you will get a dialog box and you can exit to the main menu or click the button that says something like "err.. just one more turn" and keep playing. That was all I wanted.
But if you still want to change it, I am not sure if you can or not, but you can play more turns until you get to the year 2050. The easiest way is to play a slower game like Epic or Marathon. You can also edit the file with those settings. Go to the folder you installed Civ4 and open Assets\XML\GameInfo\CIV4GameSpeedInfo.xml with a text editor. There you can change how many turns it will take to get to 2050 and other speed related settings.
I hope this helped!
The Frederick Sep 30, 2006, 10:08 AM Yo, your editor is great. But I'm getting this error when I try to create cities:
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:\Games\Firaxis Games\Sid Meier's Civilization 4\Assets\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)
at Civ4MapGenerator.GameInfo.GameInfoProvider.GetGame Infos(GameInfoKey gameInfo)
at Civ4EditorModel.Wbs.Persist.XmlPickListAttribute.C reatePickList[V,W](Field`1 field)
at Foundation.PickList`1.GetPickListExplicit[V](Field`1 field)
at Foundation.PickList`1.GetPickList(Field`1 field)
at Foundation.WinformConnectors.Connect[V,W](ComboBox comboBox, Field`1 field, Field`1 displayField)
at Civ4MapGenerator.GameEditor.BindCity(City city)
at Civ4MapGenerator.GameEditor.plotHasCityCheckBox_Ch eckedChanged(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
----------------------------------------
Civ4MapGenerator
Assembly Version: 1.0.2194.21616
Win32 Version: 1.0.2194.21616
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Civ4MapGenerator.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
----------------------------------------
Civ4EditorModel
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Civ4EditorModel.DLL
----------------------------------------
Foundation
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.DLL
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
Civ4EditorControls
Assembly Version: 1.0.2192.34445
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Civ4EditorControls.DLL
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.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.
After that, every time I click on the map, I get this:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(T Key key)
at Foundation.WinformConnectors.Disconnect[V](TextBox textBox, Field`1 field)
at Civ4MapGenerator.GameEditor.UnbindPlot(Plot plot)
at Civ4MapGenerator.GameEditor.mapPanel_PlotSelected( Object sender, PlotEventArgs e)
at Civ4EditorControls.MapEditor.OnPlotSelected(Plot plot)
at Civ4EditorControls.MapEditor.SelectPlots()
at Civ4EditorControls.MapEditor.OnMouseUp(MouseEventA rgs e)
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.ContainerControl.WndProc(Mess age& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at Civ4EditorControls.MapEditor.WndProc(Message& messg)
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
----------------------------------------
Civ4MapGenerator
Assembly Version: 1.0.2194.21616
Win32 Version: 1.0.2194.21616
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Civ4MapGenerator.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
----------------------------------------
Civ4EditorModel
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Civ4EditorModel.DLL
----------------------------------------
Foundation
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.DLL
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
Civ4EditorControls
Assembly Version: 1.0.2192.34445
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Civ4EditorControls.DLL
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.dll
----------------------------------------
ConceptProxyAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Games/Utilities/Casalus/Civ4%20Editor/Foundation.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.
Sorry for the massive post >_>
The Frederick Oct 07, 2006, 02:59 AM Uhh, bump? Little help? Please? Anyone?
*wants to work of his map*
texinus Nov 03, 2006, 02:47 PM I can't launch the editor, it keeps sayin "civilization 4 required",
I have windows xp64...
Vorgen May 25, 2007, 08:51 PM i also can't launch the editor and I get the same error message. I think it might be because I reinstalled windows and didn't reinstall civ 4. I didn't reformat and civ 4 still worked so why reinstall? But I think it might not be registered in windows.
Ollis May 30, 2007, 12:43 PM Ive downloaded the latest version. When i try to run the program it freezes during "Loading color values".
Im using swedish windows 2000 OS.
Musciculus Jun 30, 2007, 04:47 AM This also for Warlords ?
Color Jul 01, 2007, 10:26 PM I can't launch the editor, it keeps sayin "civilization 4 required",
I have windows xp64...
Same here I run Vista Ultimate x64 I get the same error I have anyone any ideas Civ is ofcourse installed and works fine.
kevinman4404 Jul 30, 2007, 10:58 PM Message: Object Reference not set to an instance of an object
Stack Trace:
NullReferenceException
at Civ4MapGenerator.Wbs.WorldBuilderSave.Load(String file, ProgressHost progressHost)
at Civ4MapGenerator.LoadScreen.DoLoad(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
happens when trying to load a compatible map
Gr3yHound Jul 31, 2007, 03:28 AM Same here I run Vista Ultimate x64 I get the same error I have anyone any ideas Civ is ofcourse installed and works fine.
Itīs probably the registry structure Vista vs. registry structure XP.
I did something similar in MapView, i check the registry for Civ4 to determine whe XML file locations etc. Vista prolly has another structure so Civ4 isnīt found. Mayb thereīs a ini or something where you can interfere?
dutchking Aug 01, 2007, 08:56 PM Does it work with BtS?
Partizanac Aug 19, 2007, 05:05 AM how can I place cities? :confused:
OzzyKP Nov 28, 2007, 06:59 AM I just used it for my Fractured States map of the United States/North America. Worked like a charm. :goodjob:
Raiden101 Feb 10, 2008, 02:30 PM Does it work with BtS?Using version 1.0.23 to open a BtS savegame I get;
Illegal version line "-
Exception
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load Header(Civ4PersistenceLoadContext context)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (Stream stream, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4EditorModel.Wbs.Persist.Civ4Persistence`1.Load (String file, C concept, PersistenceTypeConverter converter, ProgressHost progressHost)
at Civ4MapGenerator.Wbs.WorldBuilderSave.Load(String file, ProgressHost progressHost)
at Civ4MapGenerator.LoadScreen.DoLoad(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
Using Civ4 Home Of
C:\Program Files\Firaxis Games\Sid Meier's Civilization 4
^ Maybe you have to change that directory to Beyond the Sowrds.. I dunno.
miguel3d Mar 23, 2008, 04:18 AM I apologize for any confusion because of my subject, but the editor is intended to edit only Civ4WorldBuilderSave files, and not Civ4SavedGame files. Is there any possible value in being able to edit Civ4SavedGame files?
I have a need for editing a Civ4SavedGame file.
About a year ago, I played game of Civ using two custom leaders. I added these leaders, not by adding a mod, but by adding directly to the XML files. Then at some point I had to reinstall Windows and lost Civ. (But I still have the Civ4SavedGame file.)
I would like to extract the map from that SavedGame becuase it was a great map. The problem is that the Civ4SavedGame won't load, probably because the leaders I used then don't correspond to the leaders I have now.
Does anyone know of an editor/map extractor ?? Or any ideas for a workaround ??
thx,
Miguel3d
Jedra May 28, 2008, 04:30 AM I get the following error message when trying to run the program:
Could not find a part of the path 'C:\Assets\XML\Text\CIV4GameTextInfos.xml'.
Stack Trace
DirectoryNotFoundException
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)
at System.IO.File.Open(String path, FileMode mode)
at Civ4MapGenerator.GameInfo.GameInfoProvider.Preload (ProgressHost progressHost)
at Civ4MapGenerator.SplashScreen.Start(Object param)
at Civ4MapGenerator.TaskScreen.RunThread(Object host)
And i have nothing in my "using civ home of" box either... and yes, civ is installed.
Two potential problems:
1) I have vista (like those above)
2) I have the "Civ Complete" version, not separate installed versions - I don't know if this would make any difference.
Hyronymus Sep 28, 2008, 01:50 AM Can't find it anywhere or maybe I'm looking passed it but are BtS savegames supported?
Findus Dec 09, 2008, 10:04 AM Does the editor work on civ bought on steam? Sorry, if it has already been asked.
skodkim Jan 16, 2009, 09:46 PM Tried the editor and I get a lot of errors concerning game options:
Could not convert 'GAMEOPTION_CULTURALLY_LINKED_STARTS' into a Civ4EditorModel.Wbs.Civ4Info
Could not convert 'GAMEOPTION_NO_TECH_BROKERING' into a Civ4EditorModel.Wbs.Civ4Info
Edit: Maybe I should tell that I'm using a slightly modified version of the History in the Making mod
\Skodkim
Munro Sep 13, 2009, 10:13 PM Can't find it anywhere or maybe I'm looking passed it but are BtS savegames supported?
Doesn't appear to. I downloaded it and tested it out but couldn't get it to work with BtS. It works with Warlords though.
Farsight Sep 22, 2009, 01:42 PM Why do I get a message saying that I need to install CIV first? I already did!
Harukih Sep 28, 2009, 02:25 PM I don't know if this is because of my computer or i messed something up during installation but I'm having trouble making cities, selecting squares, and even closing the program gives me an error waring :(
yarrick Feb 08, 2010, 12:36 PM Looks great, but when I try to open it all I get is a message saying "Civilization 4 is required" Is it in the wrong file or what?
AZAxle May 22, 2010, 10:52 AM Is it possible to edit the really complicated modding stuff like religion and scenario properties yet? I see its still in "beta" mode and being worked on but has anyone been able to complete a scenario with this editor that knows how to change that stuff.
Keep up the good work...i've already downloaded and learning to work it.:goodjob:
Luthor_Saxburg Sep 24, 2012, 07:29 PM Hi.
The program says "Civ4 is required" when I try to start it but I do have Civ4... any idea why?
EDIT: just realized how old this thread is... :sad:
.
|
|