Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Sat Apr 20, 2024 3:21 pm
All times are UTC + 0
demandloadbuildup & freebuildup
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
bonzy_buddy
Shrapnel Sniper


Joined: 31 Oct 2006

PostPosted: Sun Feb 11, 2007 12:23 am    Post subject:  demandloadbuildup & freebuildup Reply with quote  Mark this post and the followings unread

what do they do ?

Back to top
View user's profile Send private message
DeeZire
Cyborg Engineer


Joined: 20 Nov 2006

PostPosted: Sun Feb 11, 2007 8:02 am    Post subject: Reply with quote  Mark this post and the followings unread

They are used to optimise the use of RAM.

There's no need to permanently hold buildup animations in RAM as they are not required all of the time - they are only used in special circumstances (i.e. when you build or sell a structure). In other words, because the game only requires them by exception rather than continuously it simply loads them into RAM when needed and gets rid of them again when they have been used. By contrast, animations that are needed frequently/continually or need to be looped to play for example need to reside in RAM permanently.

DemandLoadBuildup=true loads the buildup animation into RAM, FreeBuildup=true clears it from RAM again when its done. Without these tags, the buildup animation would be loaded into RAM and left there permanently as this is what the game does by default, thus wasting memory space.

With modern systems that have lots of RAM, high dedicated graphics card memory and good memory management processes this isnt strictly needed but is good practice and keeps the game flowing quickly without cluttering up RAM and wasting processor cycles, but when TS was wrote it was a good thing to do - like any application, the game has to 'agree' how much RAM it requires with the Operating System and how to use that, and Win98 was notoriously bad at interfering with that process.

It's also a good idea to apply the same principle to infrequent animations/graphics entries in (FS)ART.INI by using the DemandLoad=true and FreeAfterPlaying=true tags that work in the same way.

Back to top
View user's profile Send private message
bonzy_buddy
Shrapnel Sniper


Joined: 31 Oct 2006

PostPosted: Sun Feb 11, 2007 11:36 am    Post subject: Reply with quote  Mark this post and the followings unread

ok thanks, I had no clue.

Back to top
View user's profile Send private message
Oshog
General


Joined: 02 Sep 2005
Location: Sofia, Bulgaria

PostPosted: Mon Feb 12, 2007 12:29 pm    Post subject: Reply with quote  Mark this post and the followings unread

DeeZire, is that really you? :O

Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.2086s ][ Queries: 11 (0.0084s) ][ Debug on ]