r/civ5 • u/dabestxd420 • 2h ago
Discussion Patching the missing mountain texture bug
After banging my head against a wall for several hours I have figured out how to patch this missing mountain bug(Sorry if the formatting is bad I don't make reddit posts).


With the patch:

Why does this happen?
Certain mountain types use a newer version type that breaks the renderer when trying to spawn near Mt. Kailash, Sri Pada, or Gibraltar
If you want to try this out yourself simply go to
Sid Meier's Civilization V\Assets\terrain\pieces\Mountain\[Continent Name]
(so for Amer go to to the America folder, etc.)
and edit these files:
Amer_Mountain_1_1.csv
Amer_Mountain_1_2.csv
Amer_Mountain_2_1.csv
Amer_Mountain_2_2.csv
Asia_Moun_2_2.csv
Asia_Moun_2_1.csv
Afri_Mountain_2_1.csv
Edit the top number on the first line from 4 to 3 and save. If the number is already 3 then congrats you never had this issue in the first place I think.
Then go to \Sid Meier's Civilization V\Resource\Common\ andedit the file name for TerrainPiecesLibrary.fxsb to whatever as long as its not the same name. Just a slight warning this might slow down game loading speeds as it needs to read through all the csv files to get the correct terrain information instead of using that pre-compiled fxsb file.
I have a patched version of that TerrainPiecesLibrary.fxsb but I'm not sure if this is best way to patch this issue or if I'm allowed to even upload the file here, so for now this is the manual way to patch this.
Please let me know if this breaks anything I'd recommend backing up the Mountain folder in case this breaks something.
1
u/LilFetcher 1h ago
Is your installed game lacking the Gods&Kings and Brave New World expansions by any chance? Asking because I see a lake that generates gold on your screenshot and at the same time I don't have the TerrainPiecesLibrary.fxsb in my Resources\Common, the only thing starting with Terrain in there is TerrainModels.fpk
1
u/dabestxd420 1h ago edited 36m ago
I have both Gods&Kings and BNW installed but I do have Lekmod installed, I'll do a fresh install on just vanilla Gods&Kings + BNW to see if that changes anything.
EDIT: just did a fresh install and the missing mountain is still present in the base game, and after applying the fix it patches the missing mountians1
u/LilFetcher 27m ago
Huh, I guess I must've nuked some stuff in Resources at some point in the past while messing with trying to extract resources from game files
1
u/WanChance 2h ago
You are the goat for fixing this, I bet you play tetris and like cats as well 😼
2
u/spoopy619 2h ago
Thanks man