• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

yeehawlad

Recruit
Feb 2, 2017
3
1
w2.vatican.va
(If this is TLDR for anybody, I think the crux of my question is: what is the purpose of each of the colormap_*.dds files in map/terrain, and how do I edit them to fit with the other map files considering they're lower resolution, and what are the right ways to save them? were they initially generated by methods only paradox has access to?)

I want to drastically change the map. Specifically have the world at a different water level. To test the limits of what could be done with map modding, I moved madagascar from the coast of southeast africa to just off brazil. Here is the initial result: https://u.nya.is/tfuqvy.jpg.

There are three relevant files in the map/ directory. provinces.bmp, rivers.bmp, and terrain.bmp. I edited them with gimp and found on these forums that they needed to be saved as 24 bit and that "save color space information" should not be checkmarked. FIrst I edited provinces.bmp, I moved madagascar and filled in the remaining blank space by completing the boxes of the surrounding sea provinces with the right colors. SInce rivers.bmp and terrain.bmp are the same resolution, I looked at the coordinates of the bottom pixel of madagascar in edited provinces.bmp, and moved madagascar to that same spot in rivers.bmp and terrain.bmp.


Unfortunately, as you can see, it's a bit discolored. That isn't what madagascar looks like regularly. Additionally, there's s alight blue madagascar shaped silhouette in the water by africa where it used to be. So I looked around and found more map related files in map/terrain. These are quite touchy as some won't open in gimp, some will. I have to open some with paint.net. The four relevant files (from what I can tell so far) in here are colormap.dds, colormap_no_shadow.dds (only paint.net), colormap_political.dds, colormap_water.dds (only paint.net). These are all a lower resolution than the three map files in the map directory. colormap.dds is especially strange since it seems to be just somebody with a drawing tablet making it up. To test something, I color picked the yellow of the sahara and made a munch of broad brush strokes randomly around the map, and fired up the game. The result isn't really worth a screenshot since it's hard to see anyway, but it is still noticeable. The bits I colored yellow appeared sort of more "desert-y" in the terrain map mode, more yellow looking patches, though it didn't have an effect on water. So it's a cosmetic file I could work with pretty easily later. colormap_no_shadow though is very interesting since it looks like it had to have been generated off of terrain.bmp in the map directory. Terrain.bmp has different colors for different types of terrain in game on the map, and they all look the same texture-wise in game as colormap_no_shadow.dds, except a slightly different color. Madagascar had all of its textures properly however, so I thought this file might be inconsequential. Deleting it though caused a crash. I think I might be able to leave it there and not worry about it. colormap_political.dds has only a few colors. Actually it looks as though it's only bicolor, but that's wrong because there's some antialiasing around the edges of the continents. This would not be the case, I suspect, if the resolution were the same as the other map files in the map directory. I don't know why all these in map/terrain are sized down. This was one that opened in gimp, and I moved madagascar in it to roughly the same spot as it was in the other files, and this was the new result in game: https://u.nya.is/bclyfc.jpg. As you can see, that looks much better. But the water silhouette still remained in africa, and it really bothers me not having it be pixel perfect placement. Anyway, the water issue would have to be something with colormap_water.dds. So in paint.net I moved madagascar over to brazil there, but unfortunately, I don't know how to save it. Here are the options I am confronted with: https://u.nya.is/exadby.jpg. Using those defaults gives a crash. I was able to edit colormap_political.dds and colormap.dds because they opened in gimp, and I could select overwrite, which I suppose saves the same settings. I can't find an overwrite in paint.net, so I don't know if my water sillhouette issue would be fixed.

For convenience, here's a screenshot of all the files in map/terrain open in gimp or paint.net:
colormap.dds: https://u.nya.is/afiirg.jpg
colormap_no_shadow.dds: https://u.nya.is/iqqpxm.jpg
colormap_political.dds: https://u.nya.is/fyxlrt.jpg
colormap_water: https://u.nya.is/ggxcfn.jpg

Anyway, these 4 files are just kind of strange and bother me in that it seems they came into existence by very specific circumstances that I can't replicate, like only paradox knows how they made them. I don't know how I can edit them properly seeing as they're lower res, and also some other strange things like the water in colormap_water not all being one color, I don't know why that is, etc.

I did some other map changing tests, I made a land bridge from australia to new guinea, which functionally worked. It didn't look good because I only modified the three bmp files in map/, but as far as gameplay I could move troops across it.

If you're wondering, events dealing with provinces won't be an issue because this is ideally a total overhaul.
 
  • 1
Reactions:

yeehawlad

Recruit
Feb 2, 2017
3
1
w2.vatican.va
agree x1
 

Savolainen5

General
71 Badges
Feb 24, 2012
2.497
388
  • Crusader Kings II
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Third Rome
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Magicka
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Cities in Motion
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Monks and Mystics
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis 4: Emperor
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
I have no problem saving the colormap files with the default settings and using them in-game, so maybe check the .dds plugin you're using and/or your Paint.NET version?

You've already figured out just about everything dealing with managing/saving/editing them. They all deal in different ways with how the world looks in-game at a zoomed out and zoomed in level. Beyond that, I dunno what to tell you. You could check out some mods which edit the map and see what they've done. There's the RDS Mapping Project floating around in some part of the Modding forum (you'll have to register your game to see it), as well as a mod that was abandoned called Brand New World. Not sure how much they'll help, since they're probably about the same level of understanding and complexity.

This would be a better post in that subforum anyways.
 
  • 1
Reactions: