I have the Ultimate version via Steam, which I until very recently had last played a couple years ago - before the community patch got turned into an official one. I got an itch for it recently and reinstalled it, and after some fooling around I wanted to look at the tech trees. Unfortunately, Galactopedia is misbehaving, and I can't figure out how to fix it.Galactopedia works normally when viewing the original game or Dark Avatar files. When I switch to Twilight, it gives me this error, with this full text. The program will keep running if I tell it to continue, but does not display functional trees - this is what it shows instead, which is neither navigable nor helpful. If I close Galactopedia after this and then later try to reopen it, it crashes before opening and gives this error. This happens only after attempting to view the Twilight information - if I only view the base game or Dark Avatar data, Galactopedia has no issues being closed or opened.Unfortunately, I have not been able to find much information on my own. The tech trees haven't been put online, even on the wiki, so I don't have a functional alternative for looking at them. There have been very few reports about Galactopedia not working for anyone, outside the one in the sticky thread - I tried to follow the advice given by chris0101 at the end of that thread, and while erasing the registry files Galactopedia creates allows the program to open again, it neither allows it to display Twilight's data properly nor keeps it from crashing if opened a second time unless the registry files are cleared again.I've been using the Galactopedia version provided here, as per its sticky thread, and have already tried deleting and replacing it. I've verified the files through Steam multiple times, and completely uninstalled and reinstalled the game. The problem remains.Ideally, I'd like some input on how to fix this. Alternatively, I'd consider any sort of functional alternative that's not digging through the XML files the slow way. But any help would be appreciated.
Galactopedia isn't compatible with the latest version. Per the stack trace you got, the developer hardcoded for some values in the XML, and the newer version of the XML has a value he didn't account for.
The only fix would be to fix the tool itself. The package on the library doesn't contain the source code, though absent getting in contact with the developer for the source, it sounds from the comments on the library and the thread that no one would object to someone just decompiling it.
Ah. Wonderful. I was afraid that might be the case, but I wasn't sure since I didn't find anything about problems with compatibility. Maybe everyone else here is just familiar enough with the tech trees already that it didn't warrant mentioning in the year and a half or so since 2.20 was released.
It's not really the answer I was hoping for, but still, thank you. At least now I know why.
I'm not familiar with Galactopedia at all. It sure would be nice to display the tech trees for Future Worlds, which are very different from each other and from the previous. If you care to chase down the author, I'd be very interested in the result.
I may have found a fix/workaround to get Galactopedia working. Galactopedia appears to crash with UE2.20 because ...\Twilight\Data\English\StarbaseModules.xml includes the StarbaseAbility 'RepairAssist' (on line:28). The basic idea is setup Galactopedia to read its info from a copy of the asset files that have the one offending line changed: 1) Edit ...\Twilight\Data\English\StarbaseModules.xml, TEMPORARILY change 'RepairAssist' to 'RepairSB' on line 28. This should allow Galactopedia to launch so you can modify where it looks for files. 2) Copy the required game asset folders into the Galactopedia folder: Folders: Data, Gfx, DarkAvatar/Data, DarkAvatar/Gfx, Twilight/Data, Twilight/Gfx This appears to work, not sure if other folders are needed/useful 3) In Galactopedia under 'Source' -> 'Game Folder...': set the "User-Selected GalCiv2 Installation Folder" to the path of the Galactopedia folder 4) Revert the temporary change made to StarbaseModules.xml 5) Restart GalactopediaNow the game files should be unchanged, but Galactopedia should be reading from a copy of the game files with this one modification. I made one more minor change to the Twilight\Data\English\StarbaseModules.xml that is now in the Galactopedia folder: On line:26 I modified the Description to remind me that the description in Galactopedia differs from the actual game files (I appended "NOTE: Does not repair starbase").For first time Galactopedia use: I seem to remember that the first time you launch Galactopedia it may ask for the path to the install files, if that is the case then there should be no need for the temporary edit and reversion, just copy the folders into Galactopedia, edit the correct StarbaseModules.xml file in Galactopedia, and then tell Galactopedia to use it's own folder as the install path.
I hope this workaround actually works for you. I find Galactopedia indispensable when I play (I keep it open on one monitor when I play and refer to it often) and hope that someday the source code is updated to work with the community update or even be included directly in the install.
Thanks for your work. I'll try it.
Any possibility that it works with mods? And I change the mods files continually. Copying them to some other location may not be worth the hassle.
I don't think Galactopedia works directly with mods, my understanding is that you can have numerous mods in your mods folder and only when you start a game do you decide which mod to use. From what I can tell Galactopedia works independently of your game and has no way to know which mod you've selected. It reads the data files directly (you can use it when GalCivII is not running), and I don't know of any way to tell it to read from the mods folder (although I could be overlooking something). The only way I know of to get Galactopedia to use a mod is to overwrite the files copied to the Galactopedia folder with the modded ones, folder by folder. I agree this would be a hassle if you are regularly modding data files (I've only modded the UI). One possible solution would be to use a program that keeps folders in sync 1-way: when you modify a file or files in your mods/modname folder it could be set to (manually or automatically) copy file(s) to the Galactopedia/Twilight/... folder to keep Galactopedia in sync. I've used open source freefilesync for this purpose on other projects - save a 1-way sync as a batch file and then just 2xclick its shortcut to run it and sync. A bit of effort to get the workflow in place, but could be useful.
It worked; thanks so much for this workaround!
There are many great features available to you once you register, including:
Sign in or Create Account