Page 1 of 1

Demo recording

Posted: 29 Jul 2008, 16:10
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?

Re: Demo recording

Posted: 29 Jul 2008, 16:48
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.

Re: Demo recording

Posted: 29 Jul 2008, 22:25
by imbaczek
It won't matter at all, demos are simply what your computer receives from the network dumped on the hdd.

Re: Demo recording

Posted: 30 Jul 2008, 02:48
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...

Re: Demo recording

Posted: 30 Jul 2008, 02:57
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