Games doesn't load Mods

Having tried to make some practice custom race mods non off them seemed to load in the game (The option is checked to enable mods), I've checked the location and folder structure. Even renamed The GalCivIII folder in MyGames\ so the whole thing would be recreated when I ran the game. Then after that was recreated tried again.

 

I placed a copy of the FactionDefs.xml in the game folder of the ExampleMOD 

then edited it the only thing I changed was the human engineering ability to be the Dregin Zealot ability instead then saved it. From the mod readme the game should pick that up as an override for the copy of the file in the main game folder since I didn't rename it.

 

Sadly the result was the humans totally unchanged.

I've tried serveral other mods and nothing.

 

Anyone else encountered this I know at least one person has.

55,812 views 39 replies
Reply #1 Top

I know this is probably a dumb question, but did you restart the game? I tried modding with the game open, and it won't work until the game is restarted. If that isn't the issue, the next thing I'd look for is a typo.

In any case, I've had no trouble seeing the mods in game--except when I made some kind of mistake and the game generated an error...

Reply #2 Top

Mods seem to be working fine for me. Let me know if anyone else is seeing this.

Reply #3 Top

I don't mind obvious questions,  but yes I always restart after making a mod in fact I never mod with the game running.

 

I know dumhead has had the same issue.

 

I'm open to the idea that I've gone wrong somewhere but I really can't see where.

 

Would it be possible for someone to link to the zip of a known working mod so I can give that a go just in case, eliminate my xml though I work with xml all the time in my job and have compared carefully to base files so would be suprised.

Reply #4 Top

I created a really quick UI color mod for you--it works on my machine (it's kind of an ugly blue).

I'm sure you know this, but the UI color is accessible through the custom faction builder in the appearance tab. The name for this color is Test.

Let me know if that works for you...

Reply #5 Top

Thanks for that I'll go flip the pc back on and give that a go. Let you know how it goes shortly. 

Reply #6 Top

Ok tried that, and no Test doesn't appear in the list of UI colors I placed the Test folder and all it's subcontent in my mods folder:

E:\My Documents\My Games\GalCiv3\Mods\Test

booted up the game when to custom creation and looked at the list of UI colours on custom creation just the normal ones no test. So my game  has an issue loading mods, it's not just my bad modding :-) which is good in a way but also frustrating. It's appears only a small number of us are having this issue.

Anyway thanks for your help trumpeter87.

 

 

Reply #7 Top

No problem. Sorry things aren't working for you...

+1 Loading…
Reply #8 Top

I'm sure it can be worked out eventually, must be something to do with how the games installed or configured I guess. 

Reply #9 Top

Derek,

 

in the Tools subdirectory of my main game folders I found a debug.err file with the following content;

 

Debug Message: No files found matching mask C:\Users\bclair\Documents\My Games\GalCiv3\Mods\Core\*.xml
Debug Message: No files found matching mask C:\Users\bclair\Documents\My Games\GalCiv3\Mods\ExampleMod\Core\*.xml
Debug Message: No files found matching mask C:\Users\bclair\Documents\My Games\GalCiv3\Mods\Text\*.xml
Debug Message: No files found matching mask C:\Users\bclair\Documents\My Games\GalCiv3\Mods\ExampleMod\Text\*.xml
Debug Message: No files found matching mask C:\Users\bclair\Documents\My Games\GalCiv3\Mods\Campaign\Game\*.xml
Debug Message: No files found matching mask C:\Users\bclair\Documents\My Games\GalCiv3\Mods\Core\Game\*.xml
Debug Message: No files found matching mask C:\Users\bclair\Documents\My Games\GalCiv3\Mods\ExampleMod\Game\*.xml
Debug Message: No files found matching mask C:\Users\bclair\Documents\My Games\GalCiv3\Mods\Game\Game\*.xml
Debug Message: No files found matching mask C:\Users\bclair\Documents\My Games\GalCiv3\Mods\Text\Game\*.xml
Debug Message: No files found matching mask ..\Campaigns\Campaign_01\Game\*.xml
Debug Message: No files found matching mask ..\Campaigns\Campaign_01\Campaign_01_Scenario_01\Game\*.xml
Debug Message: No files found matching mask ..\Campaigns\Tutorial\Game\*.xml
Debug Message: No files found matching mask ..\Campaigns\Tutorial\Tutorial_Refuge\Game\*.xml
Debug Message: No files found matching mask ..\Campaigns\Campaign_01\Game\*.xml
Debug Message: No files found matching mask ..\Campaigns\Campaign_01\Campaign_01_Scenario_01\Game\*.xml
Debug Message: No files found matching mask ..\Campaigns\Tutorial\Game\*.xml
Debug Message: No files found matching mask ..\Campaigns\Tutorial\Tutorial_Refuge\Game\*.xml
Debug Message: No files found matching mask ..\Campaigns\Campaign_01\Game\*.xml
Debug Message: No files found matching mask ..\Campaigns\Campaign_01\Campaign_01_Scenario_01\Game\*.xml
Debug Message: No files found matching mask ..\Campaigns\Tutorial\Game\*.xml
Debug Message: No files found matching mask ..\Campaigns\Tutorial\Tutorial_Refuge\Game\*.xml

this file looks like is created around the time I tried to run the game with the mod, but the user directory looks wrong my user name is colin so that's the user profile it should be looking under.

Reply #10 Top

E:\My Documents\My Games\GalCiv3\Mods is where my GalCiv3 Mods folder is

 

Reply #11 Top

There should be more entries in the file from your later attempts (it doesn't overwrite this file like the others).

Mine has the same bclair entires (he's the guy here who makes the builds) and then attempts looking in the correct directories on my machine.

Reply #12 Top

As mentioned here (https://forums.galciv3.com/463145/page/1/#3537407)... I have the same problem.  mods do not show.  my debug.err file also shows that it its looking for bclair.  Also my error log is short like econu's, in fact it is identical. 

 

Anyway, it is mysterious that a few people seem to be able to write/load their mods, but others of us, using the exact same settings and even files in the same file locations... can't get it to show.

Reply #13 Top

There is a longer debug.err file found in the my games\galciv3 it record the game looking in mods\sfx and another similar folder that I think is graphic related. Never mentions my mod folders I placed in there though including the known good mod I downloaded.

 

Just looks like its not aware of them somehow.

Reply #14 Top

Interesting that unlike the one in tools it doesn't seem to be looking for *.xml In any subdirectories of the mods folder.

Reply #15 Top


I placed a copy of the FactionDefs.xml in the game folder of the ExampleMOD 

econundrum1

Make a new folder structure  I used stonehold`s mod for mine,... Take a untouched factiondefs.emll and put it in the game folder change just the racelogo00 for the Terran`s the another one. After that change that file to a read only file so right click on the factiondefs.xml click read only and hit apply. you`ll have to change it back to make any editing to it you want. See if this Works.

 

Reply #16 Top

Why make it read only? I'm happy to try this but what are we trying to prove surley the game doesn't try to modify the file?

Reply #17 Top

I'm a bit stumped by this. PM me your steam id and I will see if I can find a time to ping you and we can work on it together, if you have time.

It really sounds like you have mods disabled in options, but I know you mentioned that you have already checked that.

Also if you can send me your \\my documents\my games\galciv3\debug.err file I would love to check it out.

Reply #18 Top

I definitely have it enabled from the in game options. I have double checked the pref file to see that EnableMods = 1.

Reply #19 Top

I'll pm you my steam id soon as I can, though I'm in the uk so we might have a time zone issue. Posting from my phone currently.  Not sure where Dumhed is based.

 

it is really odd.

 

The debug.err I posted was from my tools directory there is another one in the mygames\galciv3 Folder. That does search my two specific subdirectories of my mods directory but looking for sound and graphics files. It doesn't mention looking for xml or any of the mods ive tried putting in there I'll post that to dropbox so you can see.

Reply #20 Top

This is from my debug error file.

Debug Message: Loading mods
Debug Message: Creating anchor win
Debug Message: Create popup manager
Debug Message: No files found matching mask Sfx\*.wav
Debug Message: No files found matching mask Music\*.ogg
Debug Message: No files found matching mask E:\My Documents\My Games\GalCiv3\Mods\Sfx\*.wav
Debug Message: No files found matching mask E:\My Documents\My Games\GalCiv3\Mods\Sfx\*.msscmp
Debug Message: No files found matching mask E:\My Documents\My Games\GalCiv3\Mods\Music\*.mp3
Debug Message: No files found matching mask E:\My Documents\My Games\GalCiv3\Mods\Music\*.ogg
Debug Message: Initializing bink
Debug Message: CInfluenceSystem::CInfluenceSystem size_influenceMapActual 2359296 size_influenceMapCache 2359296 size_lastTurnOwningPlayerIndex 589824 size_prevOwningPlayerIndex 589824 size_owningPlayerIndex 589824 size_isSectorChanged 9216 size_numOwnedTiles
Debug Message: CTurnSystem::RequestTurnState from: Invalid to: Uninitialized on tick 0
Debug Message: Game XML has been changed: Yes
Debug Message: No files found matching mask E:\My Documents\My Games\GalCiv3\Factions\*.faction
Debug Message: CGalCiv3Shell::RequestInitializationState from: Initialized to: LoadingContinentTextures
Debug Message: Running DXAtlasDLL Generator Program
Debug Message: Finished running DXAtlasDLL Generator Program (D:\steam\steamapps\common\Galactic Civilizations III\Gfx\planets\generic_heightmaps)
Debug Message: Running DXAtlasDLL Generator Program
Debug Message: Finished running DXAtlasDLL Generator Program (D:\steam\steamapps\common\Galactic Civilizations III\Gfx\planets\custom_heightmaps)
Debug Message: Running DXAtlasDLL Generator Program
Debug Message: Finished running DXAtlasDLL Generator Program (D:\steam\steamapps\common\Galactic Civilizations III\Gfx\planets\custom_base_heightmaps)
Debug Message: Creating initial screens
Debug Message: Create setup screens.
Debug Message: Creating remaining screens
Debug Message: Set mouse
Debug Message: Set update timer

Suggests it is adding mods but it doesn't mention E:\My documents\My Games\GalCiv3\Mods\Test\

That's the mod I go from someone else that worked on their machine.

Reply #21 Top

My debug looks exactly like yours (mine doesn't mention my mod directories either, just the audio directories) even though my mods are loading correctly.

I'll be looking for your pm with your steam id. I'm around all the time so I'm sure we will be able to find some time to meet up.

Reply #22 Top

I'm based in the US.  I'll pm my steamID as well.  Though, econu, if you have time to work on this maybe that would get things figured more quickly.  This next two or three weeks is killer for me.

Reply #23 Top

k, I've sent steam friend requests to both of you. Ping me when you get online and we can try to troubleshoot it together.

Thanks!

Reply #24 Top

Sadly I might not have much time either. But I would love to get to the bottom of this.

Reply #25 Top

econundrum, I worked with Derek today on this.  Looks like the problem has to do with how the game is reading the a space in the user name within the Windows file system.  Mine, for instance has a space and the game doesn't like that.  Anyway, they'll have to modify the DataCompiler batch file.  

Anyway, I edited the batch file and... tada!  mods work.   

 

In the batch file there is a line:

SET moddir=%docsdir%\My Games\GalCiv3\Mods

 

Change it to:

SET moddir=%HOMEPATH%\Documents\My Games\GalCiv3\Mods

 

This should only work on Windows Vista and later (not on other OSs). There can be challenges if you have things pointing to different locations in your registry.  In which case, they need to code in something that refers to shell directories in the registry, maybe.  There are probably many ways to fix it; some less elegant than others.  I'm sure they'll come up with something will work universally and for other OSes.

 

 Edit:

Also, to get other parts of the mod to work, you'll need to change the same line in other batch files in the Tools directory... Particle, Core, and Campaign compilers.