• We are currently performing site maintenance, parts of civfanatics are currently offline, but will come back online in the coming days. For more updates please see here.

Will this allow WB Maps to have Ilimited Size?

Genghis.Khan

Person
Joined
Jun 9, 2012
Messages
934
Location
Somewhere
Found this on CvWorldBuilderMap.h

Code:
public:
	static const uint FileVersion = 11;
	static const uint MaxMapSize = 32768;
	static const uint MaxPlayers = 32;
	static const uint MaxCityStates = 64;
	static const uint MaxTeams = MaxPlayers + MaxCityStates;
	static const uint BarbarianPlayer = MaxPlayers + MaxCityStates;

So, if I change MaxMapSize to e.g. 100000 (1000x100) will WB allow me to create 1000x100 Maps?

Also, Gedemon, did you change this to have 34 Civs in YNAEMP?
 
Found this on CvWorldBuilderMap.h

Code:
public:
	static const uint FileVersion = 11;
	static const uint MaxMapSize = 32768;
	static const uint MaxPlayers = 32;
	static const uint MaxCityStates = 64;
	static const uint MaxTeams = MaxPlayers + MaxCityStates;
	static const uint BarbarianPlayer = MaxPlayers + MaxCityStates;

So, if I change MaxMapSize to e.g. 100000 (1000x100) will WB allow me to create 1000x100 Maps?

Also, Gedemon, did you change this to have 34 Civs in YNAEMP?

I don't know DLL, and there's no comment on how this is limited, so probably yes. However, don't touch MaxTeams or anything to do with players.
 
I don't know DLL, and there's no comment on how this is limited, so probably yes. However, don't touch MaxTeams or anything to do with players.

Without looking into it, some possible other consequences:
- Increase it too much and it may overflow, which would just break the game.
- It will likely increase play time by some ridiculous amount; increase it too much and even if it technically works, it'll slow the game down by potentially orders of magnitude (like, hour or day long turn processing).
- It might be an expected value in other places, in which case it would just break the game. If that happens, you might get random crashes that are difficult to track down and reproduce and no indication why.

I would advise against changing those kinds of fundamental values unless you know enough C++ to figure out the consequences for yourself, honestly, but if you want to play with it, give it a shot - the worst it's likely to do is break the game, and then you'll have to undo it.
 
Found this on CvWorldBuilderMap.h

Code:
public:
	static const uint FileVersion = 11;
	static const uint MaxMapSize = 32768;
	static const uint MaxPlayers = 32;
	static const uint MaxCityStates = 64;
	static const uint MaxTeams = MaxPlayers + MaxCityStates;
	static const uint BarbarianPlayer = MaxPlayers + MaxCityStates;

So, if I change MaxMapSize to e.g. 100000 (1000x100) will WB allow me to create 1000x100 Maps?

Also, Gedemon, did you change this to have 34 Civs in YNAEMP?

no to both question.

you have to change also the WB program itself to change the max size. you may allow maps bigger than the actual max size to load, but you'll soon reach a memory problem when playing.
 
no to both question.

you have to change also the WB program itself to change the max size. you may allow maps bigger than the actual max size to load, but you'll soon reach a memory problem when playing.

hard limitation

32 bit application

stuff.
 
You can't just edit a 32 bit exe to make it a 64 bit application.
Even if you managed to set some 64 bit flag on a 32 bit application, it would be like putting an "electric car" sticker on an old combustion powered car and hope it will suddenly work without gazoline.
There are some fundamental differences and you can't just ignore them.
 
Back
Top Bottom