Unable to Load DDS Textures Issue

Milomotis

Chieftain
Joined
Feb 14, 2016
Messages
35
So I've recently got Civ V with Brave New World and have been enjoying the game decently (Hard as balls and I feel like everything is against me), but none the less I've been intrigued by the modding scene of the game.

I wanted to give my own try at making my own civilization and thus am trying out adding King Dedede from the Kirby games as a custom leader in the game. I have all the files laid out and been messing with it for a while. After a lot of frustration from things not working I finally got the civilization to show up as being choosable....but it keeps telling me the textures are not loading.

It seems that ALL the textures don't load, so I don't see an issue with it being my Atlas.xml file but the DDS files themselves. Before you ask, yeah I've checked off that the DDS files should be converted the VFS files. I also don't see anything out of the ordinary with my logging files, but I could check more in depth with that if no other obvious solution is needed.

So if all the textures aren't loading and I basically copypasted a working mod's assets to practice it, what exactly is the problem with the DDS files then? I even tried to see if there was an option in the mod properties itself and didn't see anything. I also tried to have the "Import to VFS" option be true for the XML files that use DDS files, but I didn't see anything there either. So what exactly is the problem then? :c
 
Probably a compression issue with the DDS files, but without the actual mod (see link 2 in my sig) we can't tell. Also, link 3 will tell you what each file needs in terms of VFS, OnModActivated etc. And finally, link 1 will show you how to enable logging and ascertain which log errors relate to your mod (and you need to fix ALL of those)
 
See link 3 in my sig, DDD_Scene.xml needs VFS=true, no OnModActivated

Should should also set AffectsSavedGames = true

DDS icons need to be no compression, RGBA8 format, be a multiple of 4 (only an issue for 45x45 icons which you'll need to put on sheets in multiples of 4x4) - yours are RGB8, ie no alpha/transparent layer

The Map, DOM, etc need to be an EXACT size (see http://forums.civfanatics.com/showthread.php?t=499400) and either DXT3 or DXT5 compression
 
Yeah thats what I was talking about with making VFS conversion work for an xml, I don't see the option anywhere. I turned off OnModActivated at least.

I read somewhere that AffectsSavedGames could have been the issue, but yeah I'll turn that back on.

I'm....not sure what that really means. Is that something I have to do to the original DDS files or something I have to put in the Atlas xml file?

I'll get on changing the sizes to those, but I'm not sure how exactly to compress it differently. I'm not too much of an expert with image files if you couldn't tell.
 
There are several tutorials in the Tuts and Refs sub-forum in using Gimp and/or Paint .NET to create images/icons - look at one of those. I use Gimp, and my basic guide is linked from my sig
 
Oh so it's a way to save the file, I've been using an online DDS converter because Gimp didn't want to work at all for me with that DDS plugin, it refused to download properly. I guess I can give Paint.NET a try then to see if it works better. So the issue I have with the icons could be solved entirely just from the way I save them?
 
Now when I try to build the mod I get a Zip file error from when I tried to zip the project...and stuff got weird with how I tried to extract it, so its not letting me build the damn thing now. Only SOMETIMES when I try to resave it it lets me save something called "Output-Build" but I don't know what that even is or where it's supposed to be save. Seems like anything I do is just making it worse...
 
Back
Top Bottom