Ricree

Release: A new GalCiv2 map editor

Release: A new GalCiv2 map editor

Hi everyone,

I'd like to announce that I have been working on a map editor for Galciv2, and I finally gotten it to a point where I feel comfortable releasing it.

It has a few features that I think you will especially enjoy, such as a full 3D display, and it allows you to easily click and drag objects on the map. At the moment, it is missing a few features, most notably an automatic generator for maps, but I hope to have it available soon.

You must have .NET 2.0 and Galactic Civilizations 2 installed in order to run this program.

The program can be downloaded from Sourceforge

It can also be found at the Galactic Core website, but the version on that site has not been updated recently.
112,210 views 121 replies
Reply #76 Top
I also seemed to have an issue with GC2Builder creating the map upside down. Of course, it could have been me. It was really late.


No it does that
Reply #77 Top
Hi everyone. I really want to apologize for effectively abandoning this project. It wasn't something I meant to do, but things kept popping up, and one thing lead to another until poof, it's been months since the last update. I realize that there are still some major issues left to iron out, but unfortunately it is unlikely that I will have time to release an update until after this semester has ended. At that point, I do fully intent to resume updating, I just hope that people are still interested at that point . Thank you very much for your patience everyone, and I'm sorry that I don't have the time to give you all better.
Reply #78 Top
If you don't mind send me the source. Probably I'll find some spare time
Reply #80 Top
I am confused as to how this works. When i go into the Galciv2 map editor file and open the Galactic Civilizations Map Editor i get a message saying that there is an unhandled exeption in your application. In the details it says it has something to do with debugging. Can anyone help?
Reply #81 Top
Will it work with .NET 3.0?


Yes, .NET is backwards compatible.
Reply #82 Top
well i download .net 2.0 from source forge and got a virus. it had a 2 month timer the it would erase almost everything on my comp. mcaffe didnt get it but norten professional did.
i still wish to use this program but where could i get .net 3
Reply #83 Top
Can someone help me? I'm trying to use the map editor with GalCiv II: Dread Lords, fully updated from the GC2 website. But whenever I click on the map editor, it gives me a HUGE list of error text. I have installed Microsoft.NET Framework 3.0, but still nada.

Here's the error text it's giving me:


Code
  1. ************** Exception Text **************
  2. System.NullReferenceException: Object reference not set to an instance of an object.
  3. at GalacticCivilizationsMapEditor.Editor.Update_map()
  4. at GalacticCivilizationsMapEditor.Editor.OnPaint(PaintEventArgs e)
  5. at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
  6. at System.Windows.Forms.Control.WmPaint(Message& m)
  7. at System.Windows.Forms.Control.WndProc(Message& m)
  8. at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  9. at System.Windows.Forms.ContainerControl.WndProc(Message& m)
  10. at System.Windows.Forms.Form.WndProc(Message& m)
  11. at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  12. at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  13. at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
  14. ************** Loaded Assemblies **************
  15. mscorlib
  16. Assembly Version: 2.0.0.0
  17. Win32 Version: 2.0.50727.42 (RTM.050727-4200)
  18. CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
  19. ----------------------------------------
  20. Galactic Civilizations Map Editor
  21. Assembly Version: 1.0.0.0
  22. Win32 Version: 1.0.0.0
  23. CodeBase: file:///D:/Program%20Files/Galciv2%20Map%20Editor/Galactic%20Civilizations%20Map%20Editor.exe
  24. ----------------------------------------
  25. System.Windows.Forms
  26. Assembly Version: 2.0.0.0
  27. Win32 Version: 2.0.50727.42 (RTM.050727-4200)
  28. CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
  29. ----------------------------------------
  30. System
  31. Assembly Version: 2.0.0.0
  32. Win32 Version: 2.0.50727.42 (RTM.050727-4200)
  33. CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
  34. ----------------------------------------
  35. System.Drawing
  36. Assembly Version: 2.0.0.0
  37. Win32 Version: 2.0.50727.42 (RTM.050727-4200)
  38. CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
  39. ----------------------------------------
  40. Microsoft.DirectX.Direct3D
  41. Assembly Version: 1.0.2902.0
  42. Win32 Version: 9.05.132.0000
  43. CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll
  44. ----------------------------------------
  45. System.Configuration
  46. Assembly Version: 2.0.0.0
  47. Win32 Version: 2.0.50727.42 (RTM.050727-4200)
  48. CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
  49. ----------------------------------------
  50. System.Xml
  51. Assembly Version: 2.0.0.0
  52. Win32 Version: 2.0.50727.42 (RTM.050727-4200)
  53. CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
  54. ----------------------------------------
  55. Microsoft.DirectX
  56. Assembly Version: 1.0.2902.0
  57. Win32 Version: 5.04.00.2904
  58. CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
  59. ----------------------------------------



I con't really make heads or tails of this, can you help?
Reply #84 Top
This is my error message

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at GalacticCivilizationsMapEditor.Editor.Update_map()
at GalacticCivilizationsMapEditor.Editor.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(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
----------------------------------------
Galactic Civilizations Map Editor
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/Games/GalCiv2/Map%20Editor/Galactic%20Civilizations%20Map%20Editor.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
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.2902.0
Win32 Version: 9.05.132.0000
CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.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
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
----------------------------------------
Reply #85 Top
Try downloading .Net from the Microsoft site? After all, it is the most obvious place to download without worry from getting virus' from the download..
Reply #86 Top
Hmm.. I have some troubles with this program...
1) Cant load maps

2) Errors during map making, setting hope world etc.

3) Naming stars/planets seems to ruin system/planet hiararcy/folder.


----------------
1) error when loading maps in editor

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Xml.XmlException: Content cannot be converted to the type Float. Line 33, position 15. ---> System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Single.Parse(String s, NumberStyles style, NumberFormatInfo info)
at System.Xml.XmlConvert.ToSingle(String s)
at System.Xml.XmlReader.ReadContentAsFloat()
--- End of inner exception stack trace ---
at System.Xml.XmlReader.ReadContentAsFloat()
at System.Xml.XmlReader.ReadElementContentAsFloat()
at GalacticCivilizationsMapEditor.Galciv_Map.Star..ctor(XmlTextReader reader)
at GalacticCivilizationsMapEditor.Galciv_Map.GalcivMap.Load(String filename)
at GalacticCivilizationsMapEditor.Galciv_Map.GalcivMap..ctor(String filename, EventHandler MapChangedHandlers)
at GalacticCivilizationsMapEditor.Editor.FileOk(Object sender, CancelEventArgs e)
at System.Windows.Forms.FileDialog.OnFileOk(CancelEventArgs e)
at System.Windows.Forms.FileDialog.DoFileOk(IntPtr lpOFN)


************** 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
----------------------------------------
Galactic Civilizations Map Editor
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Stardock/TotalGaming/GalCiv2/Galciv2%20Map%20Editor/Galactic%20Civilizations%20Map%20Editor.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
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.2902.0
Win32 Version: 9.05.132.0000
CodeBase: file:///C:/Program%20Files/Stardock/TotalGaming/GalCiv2/Galciv2%20Map%20Editor/Microsoft.DirectX.Direct3D.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
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/Program%20Files/Stardock/TotalGaming/GalCiv2/Galciv2%20Map%20Editor/Microsoft.DirectX.DLL
----------------------------------------


Reply #87 Top
You might want to look here for a newlywritten mapeditor featuring DA and no setup trouble
Reply #88 Top
@ All

If you download the GalCiv2IDE, please help making it more stable, to fix bugs by giving feedback. Development could speed up, if some more people replied on i-mod-productions
If you wish, I can also create a bugreport thread here on stardock.
There also exists a thread in the caves on stardock
It may be found here
Reply #89 Top
Could not get the IDE to work.. Constant error msgs. Whether creating new map, modding an existing. Have Microsoft.NET Framework 3.0 but still nada.. installs fine...u said u were going to upload an update 1.5.5.7 or something..like to try it
Reply #90 Top
Actually. I thought MS .net Framework has a downward compatibility. I does not seem to be the case with 3.0. If you can, try to install .net2.0 and all should be fine. If you still have problems, let me know.
Reply #91 Top
I have 2.0 installed seperate and still same error msgs
Reply #92 Top
MrKorx i can open campaigns and Scenario but can`t open or edit a map file get error

The Specified module could not be found Exception from HRESULT: 0x8007007E


************** Exception Text **************
System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at az.a(Device A_0)
at an.f()
at ai..ctor(String A_0)
at r.b(Object A_0, CancelEventArgs A_1)
at System.Windows.Forms.FileDialog.OnFileOk(CancelEventArgs e)
at System.Windows.Forms.FileDialog.DoFileOk(IntPtr lpOFN)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///D:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
GalCiv2IDE
Assembly Version: 1.0.5.5
Win32 Version: 1.0.5.5
CodeBase: file:///D:/Program%20Files/Brainbug/GalCiv2IDE/GalCiv2IDE.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///D:/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:///D:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.2902.0
Win32 Version: 9.05.132.0000
CodeBase: file:///D:/Program%20Files/Brainbug/GalCiv2IDE/Microsoft.DirectX.Direct3D.DLL
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///D:/Program%20Files/Brainbug/GalCiv2IDE/Microsoft.DirectX.DLL
----------------------------------------
Reply #93 Top
Well, all I can recommend you is to be patient, I'll upload in a couple of hours the promised new version on i-mod, which has a much more detailed debugg.err( including all hardware info, os type etc. I need. With next version it will be much more easier for me to investigate without asking question after question
Reply #94 Top
NP P I was just trying to help we all wanted a do it all map editer.

I did not know if the info would help is all.

Nasty
Reply #96 Top
MrKorx still getting same error used 1.0.6.1


System Info
Time: 6/18/2007, 07:18:56
DirectX Version: DirectX 9.0c (4.09.0000.0904)
Machine Name: ABIT_BLUE
Operating System: Windows XP Professional (5.1, Build 2600) Service Pack 2 (2600.xpsp_sp2_gdr.070227-2254)
Languages: English (Regional Setting: English)
System Manufacturer: VIA Technologies, Inc.
System Model: KT880-8237
BIOS: Phoenix - AwardBIOS v6.00PG
Processor: AMD Athlon(tm) XP 3200+, MMX, 3DNow, ~2.2GHz
Physical Memory: 2046MB RAM
Page File: 307MB used, 2357MB available
Windows Dir: D:\WINDOWS


Display Info
Display device 1:
Device Name: \\.\DISPLAY1
Card Name: NVIDIA GeForce 7600 GS
Manufacturer: NVIDIA
Chip Type: GeForce 7600 GS
DAC Type: Integrated RAMDAC
Key Device: Enum\PCI\VEN_10DE&DEV_02E1&SUBSYS_22471682&REV_A2
Display Memory: 512.0 MB
Current Display Mode: 1024 x 768 (32 bit) (60Hz)
Monitor Name: ViewSonic VX2235wm
Monitor Max Resolution: 1680,1050
Driver Name: nv4_disp.dll
Driver Version: 6.14.0010.9371
Driver Date: 10/22/2006 12:22:00
DirectX Acceleration Enabled: Yes



Sound info
Sound device 1:
Description: Realtek AC97 Audio
Default Sound Playback: Yes
Default Voice Playback: Yes
Hardware ID: PCI\VEN_1106&DEV_3059&SUBSYS_1410147B&REV_60
Manufacturer ID: 1
Product ID: 100
Driver Name: ALCXWDM.SYS
Provider: Realtek Semiconductor Corp.
Driver Version: 5.10.0000.5900
Driver Date: 8/19/2005 17:31:52
Type: WDM
Other Drivers:
Acceleration Level: 3
Cap Flags: 0
Min/Max Sample Rate: 0, 0

Will this info help ???
Reply #97 Top
Can you please post the content of debug.err file. It's located in the GalCiv2IDE installation directory
Reply #98 Top
Well it's good that people are trying to make a scenario editor. (Or map editor, whatever you call it.) Shame on stardock that they didn't put this in DL, or DA for that matter. Since they couldn't make the epic generator, I figured they would replace the EG with something else....such as a map editor, but noooooooooo!

.....Okay I'm done.  
Reply #99 Top
So you tried the galciv2ide? Did the available modules run properly?
Reply #100 Top
sorry MrKorx there is nothing in debug.err

this is what it said

Operating Sytem:Microsoft Windows XP Professional 5.1.2600.131072
CPU:AMD Athlon(tm) XP 3200+
Physical Memory:2047.51538097492MB
Virtual Memory:2049MB
Available Physical Memory:989MB
Available Virtual Memory:1918MB
GfxCard:NVIDIA GeForce 7600 GS
DeviceName:\\.\DISPLAY1
DriverName:nv4_disp.dll
Language:English (United States)
Culture set:English (United Kingdom)
UICulture set:English (United Kingdom)
GalCiv2IDE started
GalCiv2IDE HasRun: True
GalCiv2Path: D:\Program Files\Stardock\TotalGaming\GalCiv2
DarkAvatar installed: True
DarkAvatarPath: D:\Program Files\Stardock\TotalGaming\GalCiv2\DarkAvatar
MapEditor opened
MapEditor opened