Advertisement
Civilization Fanatics' Center  

Welcome to Civilization Fanatics' Center.

You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support.

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization

Notices

Reply
 
Thread Tools
Old Jun 17, 2008, 10:11 AM   #1
Ambreville
Deity
 
Ambreville's Avatar
 
Join Date: Sep 2006
Location: Windy City USA
Posts: 2,255
Question Unused Material

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.
Ambreville is offline   Reply With Quote
Old Jun 17, 2008, 01:23 PM   #2
xienwolf
Deity
 
xienwolf's Avatar
 
Join Date: Oct 2007
Location: Location! Location!
Posts: 10,589
Images: 8
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.
xienwolf is offline   Reply With Quote
Old Jun 17, 2008, 01:40 PM   #3
Ambreville
Deity
 
Ambreville's Avatar
 
Join Date: Sep 2006
Location: Windy City USA
Posts: 2,255
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).
Ambreville is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > Unused Material

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unused Unique Buildings Dumdumdumdum Civ4 - Rhye's and Fall of Civilization 0 Dec 05, 2007 12:05 PM
What to do with unused tiles? EHRMARU Civ3 - General Discussions 17 May 06, 2004 11:30 AM
What to do with vast unused territory? Bamspeedy Civ3 - General Discussions 21 Apr 10, 2002 07:54 PM
Unused Sounds Smash Civ2 - General Discussions 2 Sep 07, 2001 05:13 PM


Advertisement

All times are GMT -6. The time now is 01:34 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR