Altered map sizes not working

G-Max

Deity
Joined
May 20, 2006
Messages
2,556
I open C:\Civilization 4\Beyond the Sword\PublicMaps\earth2.py

I change the following:

def getGridSize(argsList):
"Enlarge the grids! According to Soren, Earth-type maps are usually huge anyway."
grid_sizes = {
WorldSizeTypes.WORLDSIZE_DUEL: (10,6),
WorldSizeTypes.WORLDSIZE_TINY: (15,9),
WorldSizeTypes.WORLDSIZE_SMALL: (20,12),
WorldSizeTypes.WORLDSIZE_STANDARD: (25,15),
WorldSizeTypes.WORLDSIZE_LARGE: (30,18),
WorldSizeTypes.WORLDSIZE_HUGE: (90,45)

This should produce a map 360x180 in size. I fire up BtS, start a game on a huge Earth2 map, check the dimensions, and... it's only 128x80

How do I shot web?
 
I guess, if you have Win Vista/7, then you worked with admin rights, yes?

No. I use XP Pro, and I'll probably keep using it for the next ten+ years. I once had a laptop that came with Vista; the experience was so painful that said laptop eventually went for a little swim in a storm drain, after which it took a very long nap. I'd sooner castrate myself with a rusty shovel than touch Vista again.

Did you clear the cache?

What cache?
 
The cache is a temporary storage for the needed files.
If you fired civ one time up, most of the files will be in the cache, and if you then load civ again, the cached files will be loaded (that's faster), and not the current ones, so also changes will not be loaded.

To prevent this, hold shift down during loading, or if you want to mod more, disable caching in the BtS.ini.
 
Gotcha.

Anyway, upon messing around a bit more, I've been able to produce 256x128 maps with very few problems. However, trying to produce a 360x180 map gives me runtime errors. Why?
 
Upon further study, I've found that the game can handle 344x172, but not 352x176. However, anything above ~320x160 makes the map take even longer to load up than Windows does.
 
Top Bottom