GC2:Builder

Map, Scenario & Campaign Editor / Mod Development Tool

http://www.gc2builder.com
GC2:Builder now has a new website and updated forums package. We would like to invite you to come try out GC2:Builder and let us know how it works for you.

Please let me know of any bugs or major issues.
Bug Reports/Feedback/General should be directed to the GC2:Builder support forums.

Ok modders!!! Check it out:

http://www.gc2builder.com

Thanks again everyone for the support!!!

Peace,
-Z
44,049 views 89 replies
Reply #2 Top
You need to find somewhere else to host it, lol - I'm sorry but over an hour to download 3.6MB is rediculous - even for dial-up - (and I've got a 2MB connection) :-/
Reply #3 Top
First error msg:

Failed to load /path/data/english/GC2Types.xlm.... The file is there though I've edited it extensively so if your program is looking for specific values...

When trying to run the "Inside GC2" I get an access violation 004F3A78 in module GC2builder.exe 00000000 at 50% load. I press ok and it completes. The GC2Types is empty... linked with the first isue I guess.

Opening the map editor is ok but whenever I place a new star - and no matter the size & color I choose - they all appear yellow. I'll test it more.


G.
Reply #4 Top
I appreciate the effort you have put in to this. I had no problem with the download, it took maybe 20 seconds at most.

Thanks

Sabre
Reply #5 Top
"You can also explore the GC2Types and other XML data. I plan on explanding this to allow editing also; I need to get a better grasp on how the modding directory and how the game uses files in the mod directory so I can tie it all together nicely"

Tell me about it. I still haven't got it down very well, except to just make backups and rewrite the originals in the Data/English folder. Works great with GC2Types.xml, trying to figure out Raceconfig.xml though.... Any tips?
Reply #6 Top
dude ive been waiting for a map editor for games like this for a looooong time.
u have no idea how much i restart a galaxy to get one i rly like.

anyway...is there some help file to go along with your map editor?
cause theres a few things that i need explaining on when using your editor.
Reply #7 Top
raceconfig.xml is best edited in notepad, by rewriting the values to whatever you want. I love making the humans start out as evil every game, because the dialogue is more fun
Reply #8 Top
raceconfig.xml is best edited in notepad, by rewriting the values to whatever you want. I love making the humans start out as evil every game, because the dialogue is more fun


Yes except for the Minors. I don't know if you've tried but changing their home star system/homeworld is not reflected in the game. Even after adding those in the CustomPlanets.XLM. Something else must be interfering or Stardock decided to hard-code these values... Anyhow nobody from the design team has answered to this repeated question of mine.


G.
Reply #9 Top
Thanks for the utility.
Reply #10 Top
There a way to randomly generate a map? Also, when I tried the scenario editor, it doesn't save the new settings. Thanks for the utility btw.
Reply #11 Top
Hey dude, I can host this on my webserver if you want. I could also set you up your own little forum where you can make updates, and get feedback. And also has very fast download speeds.
Reply #12 Top
You need to find somewhere else to host it, lol - I'm sorry but over an hour to download 3.6MB is rediculous - even for dial-up - (and I've got a 2MB connection) :-/


That's all on your end; we have Dual T1's running a total of 2MB. I can get upwards of 200KB/sec transfer rates. I do alot of media (i.e. audio/video) streaming of my other sites so maybe you hit it during a busy time.

Reply #13 Top
Failed to load /path/data/english/GC2Types.xlm.... The file is there though I've edited it extensively so if your program is looking for specific values...

Make it crash with that error and send me a copy of the 'debug.log' file in the directory you installed GC2:Builder into. Also a copy of your modified GC2Types.xml would be great so I can compare.

When trying to run the "Inside GC2" I get an access violation 004F3A78 in module GC2builder.exe 00 at 50% load. I press ok and it completes. The GC2Types is empty... linked with the first isue I guess.

Yup, the first 50% is the tech tree, the reset is the GC2Types.xml and other files.

Opening the map editor is ok but whenever I place a new star - and no matter the size & color I choose - they all appear yellow. I'll test it more.

That is correct; the colors for objects in the map editor are as follows:
Stars are Yellow
Planets are Cyan
Resources are Grey
Ships are Blue
Reply #14 Top
There a way to randomly generate a map?

I have a random galaxy generation feature that is almost done and will be active in some future update.

Also, when I tried the scenario editor, it doesn't save the new settings. Thanks for the utility btw.

Can you please explain and give more detail; this doesn't tell me anything?

Reply #15 Top
Hey dude, I can host this on my webserver if you want. I could also set you up your own little forum where you can make updates, and get feedback. And also has very fast download speeds.


Right on, please send email to [email protected] if you are interested in providing a mirror for GC2:Builder or wish to discuss anything else related with myself. Also please send any bug reports to the same address.

Reply #16 Top
I created a map with your tool, but when I go to save, a popup appears that says:

Failed to save map ""!

Note the empty double quotes.

Reply #17 Top
I created a map with your tool, but when I go to save, a popup appears that says:

Failed to save map ""!

Note the empty double quotes.

Did you do "Save" or "Save As". With new maps only "Save As" should be clickable. More details (i.e. you launched the program, went straight into new map and it did it) and the debug.log file from your GC2:Builder install directory would be great! You can send them to the email address listed above.

Reply #18 Top
"Save" was grey. Only "Save As" was available. This was a new map, with quite a few stars, and something like 380 planets, and maybe as many as 30 or so resources. I did indeed go straight into a new map. I don't have the current log, because I reran the program, to experiment. Can you tell me what exceptional conditions might make it not want to save? I'll see if I can recreate the issue.

I used every system from custom planets, which included two new ones that I added manually.

It was a 10x10 grid.

"Use Mods" was clicked, but no mods directory had been selected.

C//
Reply #19 Top
"Use Mods" was clicked, but no mods directory had been selected.


That could be the problem; but it doesn't look like it after going over the code. Do you have Microsoft's XML 4.0 SP2 installed? That will cause the program to barf as it won't have an XML parser library to use.

I've added some additional debug output to the Save routines in the map editor; once you have patched we should have more details about where in the save process it's dying.
Reply #20 Top
I don't know which DOM I have installed. I've been rebuilding from scratch, same basic scale and approach, and saving incrementally. It's working on smaller saves, so I'm not sure what gives. I'll let you know more as I go along.

C//
Reply #21 Top
I don't know which DOM I have installed. I've been rebuilding from scratch, same basic scale and approach, and saving incrementally. It's working on smaller saves, so I'm not sure what gives. I'll let you know more as I go along.

Right on; I've updated GC2:Builder. I've added some extra checks when exiting the Map/Scenario editor (i.e. if you clicked the X you didn't get prompted to save changes). Extra debug statements have been placed in the Save map code.

Current Version is now: 0.8.82z (Build: 2157)
Existing users please run the Auto-Update link for GC2:Builder, if you have any problems with the Auto-Update please a) let me know and b) uninstall your current version, download the latest setup and reinstall.



Reply #22 Top
Make it crash with that error and send me a copy of the 'debug.log' file in the directory you installed GC2:Builder into. Also a copy of your modified GC2Types.xml would be great so I can compare.



All the relevant files were sent.


G.
Reply #23 Top
All the relevant files were sent.

Awesome! Thanks!
Reply #24 Top
Exzachly, thanks for taking the time to do this. Let us know where we can send some donations. I really believe that people should recieve compensation for their work. Even if that work is free, a little thank you in any form would be a welcome.

Anyways, for the Custom scenario editor. I first tried opening a scenario. I made some changes, then clicked on Save As and gave a new name, for example, Test. Problem is, when i exit, it ask's if i want to save over the original. I click no. When I open a new file in the scenario editor, i don't see the Test file.

Also, when making a scenario from scratch. Same thing happens, I click on Save As and give it a name. Then when I exit and try to open it up, its not there. I go into the game and its not in the custom scenario list either.

Hope that helps.
Reply #25 Top
Nice job Exzachly:)

Even though there weren't any instructions the editor was pretty easy to figure out.

Just to add a few hints to those that haven't figured it out yet, once you open up a map, whether new or editing an existing one, simple double left click on any spot on the map and a window opens giving a choice of options to place..like a star, planet, star system, anomoly, ship, etc.

Once you select an item for placement, another window will open up allowing further options, e.g. type of ship.

Once an item it placed, you can right click on it to delete it or edit it. Stars are a good example here where you might want to change the starting color and size.

I do have a couple problems though, one is after I place a resource. If I select the placed resource, I get an access violation that says "Access viloation ar address 0040660D in module 'GC2Builder.exe'. Read of address 00000004.

Another problem I ran into was placing a star system too close to the map edge. I got a range check error but was able to cure it by deleting the star and planets.

One last thing, I'm not sure the reason for the unusual names for the resource types like "Black Platinum". I can't seem to edit these to say just economic or whatever even though when they are placed thats what they say in game.

Sabre