Mod doesn't show up on the Installed screen

Equaton

Chieftain
Joined
May 28, 2012
Messages
21
Location
Ljubljana, Slovenia
Now why is that? I've built it, like I'm supposed to, it's in the Mods folder, but it's just not there in-game. The Database.log just keeps going on about some completely unrelated stuff:

Spoiler :
[45951.732] constraint failed
[45951.732] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[45957.395] Validating Foreign Key Constraints...
[45957.395] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[45957.395] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[45957.395] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[45958.939] Invalid Reference on UnitGameplay2DScripts.UnitType - "UNIT_PRIVATEER" does not exist in Units
[45958.939] Invalid Reference on UnitGameplay2DScripts.UnitType - "UNIT_SPANISH_GALLEON" does not exist in Units
[45958.939] Invalid Reference on UnitGameplay2DScripts.UnitType - "UNIT_SPANISH_TREASURE CART" does not exist in Units
[45958.939] Invalid Reference on UnitGameplay2DScripts.UnitType - "UNIT_DANISH_LONGBOAT" does not exist in Units
[45958.939] Invalid Reference on UnitGameplay2DScripts.UnitType - "UNIT_SAXON_HUSCARL" does not exist in Units
[45958.939] Invalid Reference on UnitGameplay2DScripts.UnitType - "UNIT_POLYNESIAN_WAR_CANOE" does not exist in Units
[45958.939] Failed Validation.
[45959.750]


It's not finished or anything, but I'd like to be able to test it during the final stages...
 
Those are the normal errors, the ones caused by the core game and the DLCs, so those aren't errors you need to worry about.

But you need to be more clear. Is the mod showing up in the mod list, and then it's just not having an actual effect in-game? If it's selectable and it's just not doing something in-game, then you've just made a mistake somewhere, such as screwing up your OnModActivate command.

But you phrased it as not being on the Installed screen at all. If the mod's not being listed in your mod browser, then it's never even loading, and so would not show up in your logfiles at all. It'd never even be checked for errors at all.
So for that, the question becomes how you made the mod. I'd assume you made it in ModBuddy, which should put all of the necessary bits in the appropriate directories already. If you're hacking a mod together in any other way, then it's not surprising that it's failing.
 
It is not on the installed screen at all. It is not listed in my browser. I have made it with ModBuddy, using the instructions in the ModdersGuide. I cannot explain this. It could be that I'm missing something basic, but I don't think so.
 
It could be that I'm missing something basic, but I don't think so.

Since you say that the file is in your Mods directory, I'm assuming it's not that you forgot to use the Build command or something like that. So let's cover the basics.

1> Have you ever used any other mods successfully? And if so, are they in the same Mods directory as your new mod?
2> Are you sure the full package is inside the Mods directory, and that it's not just an empty directory? It's possible that ModBuddy's paths were screwed up and it was placing the files somewhere else.
3> When you built it, did you do a full build (files AND package), a files-only build, or a package-only build?

If none of the above help, then zip up your mod and post it here. At the very least, attach the .modinfo file so that we can look for some of the more obvious problems.
 
I seem to have spotted the issue. I downloaded the European Union mod succeessfully as a test, and it's not in my mods folder. Neither does it work, apperantly (shows up on the installed screen, but the civ is not there to select). Then I downloaded another mod. Same result: nothing in the Mods folder, mod doesn't work. And yes, I have installed the mods like I'm supposed to. But I have no idea where it is or how to fix this...
The only mods I've been able to use successfully are the ones I got with the DLC (Vikings and stuff), but I can't find those in the files.

EDIT: I'll try repairing my game files with steam, that's the only thing I can think of to do...
EDIT 2: Didn't help.
 
So it sounds like the game, and ModBuddy, are putting their files in the wrong place. When you installed the SDK, it asked you where you wanted to place mods. Thankfully, we can fix that.

Go into ModBuddy.

Open the Options&Settings screen. It's under the Debug menu.

Go to the last section, the one labeled "Civilization 5".

It'll list two paths: the path to the game assets, and the path to the MODS directory. First of all, make sure you have NOT selected "use custom ..." for either of these. Then, make sure the paths it gives point to the right place.

For instance, the second one, the User Path, should point to
C:\Users\(your name)\Documents\My Games\Sid Meier's Civilization 5\MODS

This path will tell you where ModBuddy is putting your mod's files when you build a project. If this isn't the same place you were looking at previously, then there's your problem. You can either enable the "use custom" option and change the path, or edit your registry so that it defaults to the right place.

Now, this shouldn't affect where the game puts mods you downloaded through the in-game browser, which means that you might ALSO have screwed up the paths when installing the Civ5 game itself. To fix that, you might have to edit your registry entries, or else reinstall the entire game.
 
That fixed it, thank you! It turns out that my 2nd path was set to the same folder as my 1st path, and not to the correct Users folder. Still don't know why downloaded mods don't work though (not important).

Thank you for all you help!

Now to work out some bugs I had the pleasure of discovering...:lol:
 
Still don't know why downloaded mods don't work though (not important).

Because you probably made the same mistake when installing the core game. The path I pointed you to above is what the SDK uses, but the Mod Browser doesn't go through the SDK when you download a new mod. So most likely, you've got an incorrect path for your mod directory in the registry, in the same way that your SDK was broken. If you're familiar with regedit then you can try finding this and fixing it.

One thing to check, then, is to find where the game DID put the mods you downloaded. If the two paths in the SDK were the same, then it's likely the same was true of the core game, and it placed the downloaded mods in the Steam directory. Go into there and see if you can find the files you added. (Or really, just search for all .modinfo files, since that extension will be unique to Civ5 mods.) If they're in there, then you can move them over to your Mods directory.
 
Back
Top Bottom