question: memory management

sins diplomacy's memory management for unused entities

hi everyone

 

how does the game work?

if there are unused entities (that are in the entity.manifest, but nobody builds them) do they use some memory?

i asked because i made new ships and there are a few old ships, that nobody can build. should I remove them, is it going to free up some memory or something? or the game once checked the entity if it exists and is it correct, just leave it alone or place it in the memory for quick access? in that case, how much memory will free up after removing for example 30 ships? 5 mega? 50 mega? any clue?

i don't want to waste time with removing and checking other files whether few of them have references for them (like galaxy scenario def or abilities etc. etc.) or not.

 

thanks guys

 

neterw

4,938 views 2 replies
Reply #1 Top

The game loads everything at startup. Anything in the manifests are loaded. So yes, if there are completely unused files in the entity manifests, it would be best to take them out.

If you are not using Vanilla Sins at all, Harpo has made a nice tool that will generate the manifest for your mod. If you are only selectively getting rid of certain entities, removing them one at a time is your only option.

Reply #2 Top

thanks GoaFan77

 

neterw