Unused Material

Ambreville

Deity
Joined
Sep 28, 2006
Messages
2,255
Location
Windy City USA
Would it in any way help the general performance of a MODERN age scenario if I removed the XML data of those units that aren't in use in the scenario, as well as unused leaders & civilizations? Looks like there's about a meg and a half of unused data that could pared down.
 
It could reduce your download size not to include those if you are providing all the files anyway, but if you aren't going to include all the files which refer to them, then it just means extra files to require downloading (if you remove a bunch of units you might have to include Python, if any unit is specifically mentioned in that, probably the Events folders if mentioned there, and the Civilizations if there are UU versions of it, and probably Technologies if it is unlocked by a Tech...)


XML will never affect how the gamespeed is after loading though. Once the XML is loaded up, it is never touched again, all the data exists in the SDK and all functions are done with SDK or Python only.


So end of story: Cutting XML will speed up load times (marginally), and reduce download size IF you were already including all files which reference the data.
 
Makes sense.

I did manage to cut the unused material. I ended having to modify a good dozen files, most of which were already included in the mod, especially some of the big ones (a meg +, or close to a meg).

Nothing's crashing (now at least) and I haven't seen any Python issues yet. The loading time is definitely better as a result. As you said, I didn't witness any game speed improvement in play.

Not sure how to get the game to run more quickly (after all it uses a fairly small map).
 
Back
Top Bottom