Does anyone know how to delete .dds files.

krazybastid

Chieftain
Joined
Apr 12, 2008
Messages
75
Hi I have modded several aspects of my Civ4bts experence like making cooperations a little more profitable. Increasing the movements of primitive ships. So my project right now is I removed the Devine right tech cause I desided to take out a religion "Confucianism" Restructured the tech advancement for religion. Moved Islam founding over to Philosophy (for convience) and moved Taoism founding over to Code of Laws. I wanted to narrow the religions to 5 cause 6 I thought was to many, plus shrines aren't as powerful. Well what I'm struggling with now is I removed every instance of confucianism in the xml but now i'm having bugs on the city bar with confucianism showing up as a taoism tag and some of the corp buttons on city bar getting screwed up. What i want to know is. I did a search in my computer for.dds files and I couldn't find Confucian anything. Are DDS files compacted into a file in itself, and do I need a special extracter app to get to them. How do I delete .dds files so Confucian is completly wiped from the game?
 
That stuff is in Assets\res\fonts\Gamefont.tga and _75.tga (and not in some .dds files).
The symbols are there in the same order like in the XML, and if you want to remove one, you'll have to move everything beyond that to the left.
But don't edit these files by hand (it's a pain!), use the game font editor.
 
Thanks that seems like a cool tool. I think I got it figured out. What I did was remove the Confucious Tags on those bitmaps and moved everything else over to the left so the other .dds are consecutively in a row. Is that correct? Thanks.
 
Ok I deleted the buttons I wanted too, ( The Confucian Tags) But now when I start up Civ4bts I get a failled to load python error and the game shuts down. There must be something I'm missing. Where are the python files that direct whatever is telling to bring up the Confucian Tag or is it all in the XML. I would hate to have to reinstall my civ4bts and loose my slight corp mods, slight unit tweeks, I also got a mod where you can pic your vassal. I would loose alot if I can't debug it. Any thoughts. Thanks.
 
Here is some advice for you: Never, ever, change any original BtS file. If you are modifying things, make a mod. This is what they are for. You may have just learned the usefulness of this advice the hard way if you have been changing BtS instead of making a mod.

On the other hand, just deleting a religion should not bother the Python. You should turn on Python exception reporting and the various logging options so that you can see what is actually going wrong. These are controlled via the CivilizationIV.ini file. In that file set HidePythonExceptions to 0 and LoggingEnabled to 1. You should end up with various files created in the BtS Logs folder any time you run the game. Any Python error should cause a pop-up that explains what the problem is, and the PythonErr.log file should hold a copy of the same information. That information is what you need to determine what the problem is.

It is also possible that Confucianism is mentioned in one or more XML files that are not in BtS. Some files from Warlords are loaded, as are some from vanilla. The only files in BtS are the ones that were changed or that are new (much like when you make a mod, you only need copies of the files that you are changing in the mod). I don't know of any that would mention religions, but that doesn't mean there aren't any.

I also have to wonder what you did about the CIV4CityLSystem.xml file since it mentions the 4 Confucian buildings and if you make a mistake in that file bad things could happen. So when you say "removed every instance of confucianism in the xml" the question is, are you sure? If you only removed it from the religion info and building info files then you missed some, including (but possibly not limited to) CIV4CityLSystem, CvCivilizationInfos, and CvUnitInfos. On the other hand, you can ignore any reference in any file in XML\Text (the will keep using a little memory, but otherwise do nothing).

But I don't think any of that is likely to have an effect on the Python from BtS. It may, however, have an effect on some Python that was added or changed for your other modifications.

Oh, and by the way: there are not 6 religions there are 7. Removing one would leave 6.
 
ArtDefine files for buildings and units as well.
Movie file as well.
BuildingClass and UnitCLass as well.
Favourite Religion in Leaders as well.

Some of these, even if you forget, they won't cause any problems though.

As GodEmperor said, enable python exceptions, then take a screenshot of the error message.
Picture speaks louder than words
 
In the BtS folder, which also holds the Assets and Mods folders as well as the Civ4BeyondSword.exe file, is a shortcut called "_Civ4Config". This is a shortcut to CivilizationIV.ini file.
 
Back
Top Bottom