C2C - UEM - Ultimate-Earth-Map 100% MOD and SVN update compatible by Pit2015

We can talk alot, but there is a memory leak. Should be found and fixed and looks like viewport is not working correctly, RAM usage is low on loading the game up, then it is increasing a bit, also koshling told by it self its a viewport bug that CTD, more important again is to unload stuff from memory after viewport is moved, so RAM usage can be improved further.
You can try to get Bill or Koshling back to work on that. I'm not qualified.
 
@Koshling, made view ports and Graphic paging for C2C. I not sure Thunderbrd can change anything associated with view ports. Both these options in BUG were made for low end computers with limited graphical abilities. Iirc you need to turn Off Graphical paging with only viewports On to get the view to move to current combat. The size of the view thru viewports can also be changed in BUG under it's selection.

No, turning off "graphical paging" in "bug" dont helps, but increasing the viewport size to 200x200 still saves alot of RAM, 100x100 should be enouth on first 20.000 turns then jumping to combat works :goodjob:, but could use some coding to make it jump on smaller viewport size also better. So no more memory MAF problems mostly. :king::goodjob: :woohoo:
 
Last edited:
RAM USAGE UPDATE!

To save alot of RAM and not to get MAF's by RAM usage in late game turn on viewport option in "BUG" reduced my RAM usage from 1600 MB to 1100 MB! So larger maps will work even better.

How to do it:

1. Open "BUG" in game, (Green BUG icon in game upper left) select on first tab "Enable Viewport".

2. Set "Viewport" horizontal size to 232 and set "Viewport" vertical size to 112, thats the exact earth size without space then jumping to combat works and it saves you 300-600 MB RAM usage. (Can be lowered if more RAM is needed later)

3. Restard the game completly to enable viewport correctly.

Lower RAM usage and no MAF by RAM for a long time. (Only needed if you run low on RAM, but you can use it at gamestart also.)

I will put this on first page here to the installation instructions.
 
Last edited:
Upload save turn before it happened and after it happened.

It possible, that AI simply started making tribes.
I don't think I can trace it back to when it started, and why would it cause SUCH a huge lag to begin with?
It's not a "double increase", it's like a "tenfold".
OR it could be caused by my PC to begin with, dunno.
I'm busy now, so I'll only be able to play later on, but this sounds like a weak reason.
Also, and this one is inconsistent enough to BE caused by my PC, there's an unpredictable lag during the loading of "Uncached" data of the game start.
It started happened randomly quite a few SVNs ago, and it's very inconsistent, so MAYBE both things are caused by the same issue - fully mine.
I have to test it later.
 
ONE MORE RAM USAGE UPDATE! Saves about 130 MB more RAM. 400 - 700 MB totally saved with this setting!

To save alot of RAM and not to get MAF's by RAM usage in late game turn on viewport option in "BUG" reduced my RAM usage from 1600 MB to 1100 MB! So larger maps will work even better.

How to do it:

1. Open "BUG" in game, (Green BUG icon in game upper left) select on first tab "Enable Viewport".

2. Set "Viewport" horizontal size to 232 and set "Viewport" vertical size to 112, thats the exact earth size without space then jumping to combat works and it saves you 300-600 MB RAM usage. (Can be lowered if more RAM is needed later)

3. Restard the game completly to enable viewport correctly.

4. Before restarting turn off in steam "Steam overlay in game" and "VR Cinema modus in game" - Right click Civ IV Beyond the Sword in steam then click properties. Saves about 100 MB more RAM. Also under "Controller" in steam Civ IV properties deactivate, steam input devices = saves 30 MB more RAM.

Lower RAM usage and no MAF by RAM for a long time. (Only needed if you run low on RAM, but you can use it at gamestart also.)

Works fine on WIN 10, Win 7 or 8 needs more RAM.

I will put this on first page here to the installation instructions.
 
Last edited:
ONE MORE RAM USAGE UPDATE! Saves about 130 MB more RAM.

To save alot of RAM and not to get MAF's by RAM usage in late game turn on viewport option in "BUG" reduced my RAM usage from 1600 MB to 1100 MB! So larger maps will work even better.

How to do it:

1. Open "BUG" in game, (Green BUG icon in game upper left) select on first tab "Enable Viewport".

2. Set "Viewport" horizontal size to 232 and set "Viewport" vertical size to 112, thats the exact earth size without space then jumping to combat works and it saves you 300-600 MB RAM usage. (Can be lowered if more RAM is needed later)

3. Restard the game completly to enable viewport correctly.

4. Before restarting turn off in steam "Steam overlay in game" and "VR Cinema modus in game" - Right click Civ IV Beyond the Sword in steam then click properties. Saves about 100 MB more RAM. Also under "Controller" in steam Civ IV properties deactivate, steam input devices = saves 30 MB more RAM.

Lower RAM usage and no MAF by RAM for a long time. (Only needed if you run low on RAM, but you can use it at gamestart also.)

Works fine on WIN 10, Win 7 or 8 needs more RAM.

I will put this on first page here to the installation instructions.
There are couple memory saving tricks in BTS INI file - CivilizationIV.ini in C:\Users\<USERNAME>\Documents\My Games\Beyond the Sword

Can't alt-tab with this one, if playing in full-screen.
memsaver = 1

There are two other memory saving stuff.
dynamicunitpaging = 1
dynamicanimpaging = 1

Also you can save more memory by changing define in A_New_Dawn_GlobalDefines.xml
SHOW_BUILDINGS_LEVEL - change it to 2, so only thing being displayed is city defences and houses.

I think not everyone knows them.
 
Last edited:
There are couple memory saving tricks in BTS INI file - CivilizationIV.ini in C:\Users\<USERNAME>\Documents\My Games\Beyond the Sword

Can't alt-tab with this one, if playing in full-screen.
memsaver = 1

There are two other memory saving stuff.
dynamicunitpaging = 1
dynamicanimpaging = 1

Also you can save more memory by changing define in A_New_Dawn_GlobalDefines.xml
SHOW_BUILDINGS_LEVEL - change it to 2, so only thing being displayed is city defences and houses.

I think not everyone knows them.

Ok, i look into them asap also.
 
There was fresh 10 MB save posted there.

With those settings 1800 MB of RAM is used.
I didn't enable viewports though.

400 - 700 MB
RAM saved with my settings! UEM should run long now, maybe with no RAM MAF at all, a bit more RAM conserving in mod development over time then no more RAM is needed. Letz see what i can do in the next weeks. Viewport size can be adapted also if more RAM is needed in endgame.
 
400 - 700 MB RAM saved with my settings! UEM should run long now, maybe with no RAM MAF at all, a bit more RAM conserving in mod development over time then no more RAM is needed. Letz see what i can do in the next weeks. Viewport size can be adapted also if more RAM is needed in endgame.
So viewports is by far strongest method of conserving memory then.
 
So viewports is by far strongest method of conserving memory then.

Also game map looks to move better and faster, and may not crash on moving at all any more, but not tested yet enouth, no crash so far on moving arround on map full of animals. Viewport should be set over the full map, excluding space.
 
Use the settings i provided, it adds up, with mod RAM conserving, these settings and correct use of viewport there is alot of RAM saved. My steam stuff settings gets also about 130 MB more. Letz see what else can be done in the next days. So all should enable viewport over there complete map, not only use it as a small viewport, looks like its increasing the map performance also.
 
Last edited:
Also you can save more memory by changing define in A_New_Dawn_GlobalDefines.xml
SHOW_BUILDINGS_LEVEL - change it to 2, so only thing being displayed is city defences and houses.
Is there any LESSER level than that?
Like, just showing that there IS a city, without any specifics?
Not that I need it, but maybe it'd help a bit more.
 
Enabling viewport did not work for me. Reduced RAM usage slightly, but caused this graphical error when moving around. I currently have some outriggers circumnavigating the globe and it seems that jumping back and forth between them and my cities puts a lot of stress on.

Some data points (non-viewport setting):
Main menu - 450ish RAM used
Loading my most recent save and waiting for all the graphics data to load - 1800ish RAM used (around 1600 with the viewport enabled)
After playing a few turns bouncing to outriggers and back - 2100ish RAM used

Game crashed with no error message a few turns later.
 

Attachments

  • C2C graphics bug.png
    C2C graphics bug.png
    4 MB · Views: 841
Is there any LESSER level than that?
Like, just showing that there IS a city, without any specifics?
Not that I need it, but maybe it'd help a bit more.
I think 0 would show houses only.
 
Enabling viewport did not work for me. Reduced RAM usage slightly, but caused this graphical error when moving around. I currently have some outriggers circumnavigating the globe and it seems that jumping back and forth between them and my cities puts a lot of stress on.

Some data points (non-viewport setting):
Main menu - 450ish RAM used
Loading my most recent save and waiting for all the graphics data to load - 1800ish RAM used (around 1600 with the viewport enabled)
After playing a few turns bouncing to outriggers and back - 2100ish RAM used

Game crashed with no error message a few turns later.

2100 RAM usage will not crash the game by RAM, is crashing because of a bug or something else. Is normal that RAM usage increase a bit when you move arround, so if it crashes only on map moving use minimap to jump arround then it never map crashes for me. Use the complete settings i provided on first posting under RAM usage then you will save more RAM but you dont need it yet because only 2100 MB RAM usage is ok. You run windows 10 or 7? On wich SVN are you? As said best SVN for a long game is currently 11238 i think. Also you can make the vieport smaler then you save alot more RAM. If you use steam use my steam memory settings.

Also if you crash by a memory leak bug, then you can reload complete game after some turns until the mod fixes some memory leak bugs.

Use the UEM standard set options, maybe a option that you use is creating a memory leak.

Try to get a error log and give it to @Toffer90
 
Last edited:
BUG/PROBLEM:

@Toffer90 When viewport is enabled never click military advisor, after pressing exit in mil adv screen map is no longer displayed correctly, game needs a restart, maybe problem with your UI. Cause the minimap window in mil adv screen.
 
That has never been in doubt.
Correct.

koshling made viewports 1st for the very low end computer to play C2C on the Giant and Gigantic maps we had when he was doing all the coding.

Later he made graphic paging for mid level computers that had only (iirc) 500MB to 1GB video cards or on board videos (maybe a bit larger). And this was adapted as the default BUG setting.

The last 2 lines in view ports also help but I've forgotten exactly in what way. (see mouseover hints). But the Horizontal and Vertical settings koshling talked a lot about them. So I remembered those. Old folks don't forget everything ya know. ;)
 
Back
Top Bottom