Demo recording

Demo recording

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
MR.D
Posts: 1527
Joined: 06 Aug 2005, 13:15

Demo recording

Post by MR.D »

I was wondering if there was a way to disable Demo recording just to test and see if are any performance improvements in the game.

Does anyone know of a way to do this?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Demo recording

Post by Forboding Angel »

there was a topic about it a long time ago. iirc the "demo" recording just records input. It doesn't record the simulation at all, therefore it just logs commands and positions which probably have less than a .05% impact on performance, however I believe there is a way to turn it off. Search the forums. WOuld be a noob asking the question and prolly 10 or so replies I think, and it was a LONG time ago.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Demo recording

Post by imbaczek »

It won't matter at all, demos are simply what your computer receives from the network dumped on the hdd.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Demo recording

Post by LordMatt »

MR.D wrote:I was wondering if there was a way to disable Demo recording just to test and see if are any performance improvements in the game.

Does anyone know of a way to do this?
The last person who asked how to do this got made fun of...
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Re: Demo recording

Post by trepan »

I'm not 100% sure that this will work, but you may be able
to stop demos from being recorded but blocking the path.
As an example, rename your 'demos/' directory to 'demos-tmp/',
and create a regular file called 'demos'. Depending on which OS
you are using, you could probably just disable write access in
'demos/' as well.

NOTE: looks like that particular trick results in a SEGV ;-)
(probably due to the uninitialize std::ofstream in System/DemoRecorder.cpp)

P.S. fixed in my local sources
Post Reply

Return to “Feature Requests”