Picouz/VoiD
The Insomniac
+39|7141
Everytime I try this in game (Of course I remove name for the video name I wish) It say the message


Cannot create on client side.


Can anyone help me?


Thanks

VoiD
IBKCKNURASS
Corrosion Inhibitor
+172|7213
ru sure ur playing on a server with the battle recorder on? some servers turn off the battle recorder.
Breez
AKA: badhq
+937|7108|Derby, England

Recording
Create a LAN server on any map or start up a SP game.

Press your tilde(~ or `) and bring down the console.

Type in demo.recordDemo demoname where demoname is the name of the file. Name it whatever. “Demo1”, “Gulf_Demo”, or “Stewed_Rabbit”. Whatever, it’s your choice. No spaces though. Spaces are used to separate arguments.

Now for the fun part. Do all those things you’re too arsed to do in a real match. Blow shit up, kill yourself, bunny hop with your n00b t00b. Fly loops, try and fit through the damn Kubra holes, etc, etc.

When you’re done, open the console again and type in demo.stoprecording

Note: Unlike the Unreal Engine demos, leaving a game in progress with a demo recording session will not save the demo, but instead leave the demo unplayable. Stop recording first, before leaving the match.

Replaying
There are two ways to play your demo;

If you want to play them through your Community tab you have to move the demo files from ..\EA Games\Battlefield 2\mods\bf2\Demos\ to ..\My Documents\Battlefield 2\Profiles\Default\demos\ and then you can play them in game.

It’s a bit of a hassle to play them outside becuase you have to restart BF2 each time you play a different demo, but you needn’t move any files.

First you have to make two batch files. I’d put the text here but it’ll make this seem long and confusing (like it isn’t already) so http://www.tweakguides.com/files/BF2DemoPlayer.zip. (Kudos for TweakGuides.com for these files)

Extract them to your raw BF2 directory and run either one.

One is loaded with instructions and you must open it in the command prompt to check them out, it’s the only way to record, save video definition files, etc, stuff you can’t do while normally playing it back through the community tab.

The other file is an auto-player for your basic needs. The upside of these are that you are loaded with extra options and needn’t move any files (if you’re one of those people who are very very afraid to move anything out of its place). However the disadvantage is that you have to start the game just to play it and when you’re done the game quits. Not much of a nuisance if you’re a fast loader, and it’s definately worth the extra options.





Sorce

http://wiki.bf2s.com/other/battlerecorder

Peace Boris
CTD-CaptainBuck
BLEEDING BLUE
+71|7243|Tenn
Check your Main BF2 directory for a file called "demo.cmd" ... if its there i have nothing to tell you...however if it ISNT... this is what you should do...

Open NotePad and copy/paste all the text below into it. Save the file as demo.cmd in your EA Games/Battlefield 2 directory... it should work and leave your demo files in /mods/bf2/demos

Code:

@echo off
setlocal
set _PANORAMASLICES=0
set _DEMOOPTS=+wx 0 %DEMOOPTIONS% 
set _MODE=playback
set _SIZE=default
set _RENDERFPS=30
set _OVERRIDEFOV=
set _SYNCCAMANDDEMO=1
set _TIMEDEMO=0
set _RENDERSTATS=0
set _VTUNE=-1
set _VTUNERENDERING=0
set _VTUNEREPEAT=1
set _DEMOROOT=mods\stunts
set _BF2EXE=bf2.exe

if NOT "%1" == "" goto parse

:help
echo - DEMO.CMD usage:
echo - Author: jonas.kjellstrom@dice.se, andreas.fredriksson@dice.se
echo -
echo - Play demo Demos\foo.bf2demo with user camera:
echo -
echo -   demo foo 
echo -
echo - Play demo Demos\foo.bf2demo with camera Demos\mycam.bf2cam:
echo -
echo -   demo foo mycam
echo -
echo - Play demo Demos\foo.bf2demo with and record camera 
echo - to Demos\mycam.bf2cam:
echo -
echo -   demo +c foo mycam
echo -
echo - Render demo Demos\foo.bf2demo with camera Demos\mycam.bf2cam
echo - to Demos\foo_mycam.avi:
echo -
echo -   demo +r foo mycam
echo -
echo - A custom avi-filename can be given as a final argument (saved
echo - as Demos\myavi.avi):
echo -  
echo -   demo +r foo mycam myavi
echo -
echo - Render sound of demo Demos\foo.bf2demo with camera Demos\mycam.bf2cam:
echo -
echo -   demo +s foo mycam
echo -
echo - The format of the window can be changed to E3-wide with +w and to 
echo - a mini-window with +m:
echo -  
echo -   demo +r +w foo mycam
echo -
echo - The render fps can be changed with +fps:
echo -
echo -   demo +r +fps 24 foo mycam
echo -
echo - And the default fov can be overridden with +fov:
echo -
echo -   demo +r +fov 120 foo mycam
echo -
echo - To render panoramic (360 degree) output to 10 separate AVIs:
echo -
echo -   demo +r +p 10 foo mycam  
echo -   (where 10 is the number of slices in a 360 rotation)
echo -
echo - To render panoramic (360 degree) output to a single AVI:
echo - (Note: Not many codecs support this format.)
echo -
echo -   demo +r +p 1 foo mycam
echo -
echo - A camera track that extends beyond the length of a demo is possible by
echo - adding +nosync to the command line.
echo - 
echo -   demo +nosync +c myShortDemo myLongCameraTrack
echo -   demo +nosync myShortDemo myLongCameraTrack
echo -
echo - Running a demo in time demo mode (which reports stats to the log-file)
echo - is done with:
echo - 
echo -   demo +timedemo myDemo myCam
echo -
echo - Adding additional render information when running a time demo is done
echo - with: (0-4, 0 - no info, 4 - all info):
echo - 
echo -   demo +renderstats 3
echo -
echo - You can also enable the VTune profiler for a single frame. The engine
echo - will unpause the profiler around the mainloop for the frame you specify.
echo - 
echo -   demo +timedemo +vtune {frame number} myDemo myCam
echo -
echo - To VTune only the renderer, add +vrend 1.
echo - To render the profiled frames mutliple times, add +vrepeat {count}.
echo -
goto end


:parse

if "%1"=="+w" set _SIZE=wide&&shift /1&&goto parse
if "%1"=="+m" set _SIZE=mini&&shift /1&&goto parse
if "%1"=="+c" set _MODE=camera&&shift /1&&goto parse
if "%1"=="+r" set _MODE=render&&shift /1&&goto parse
if "%1"=="+s" set _MODE=sound&&shift /1&&goto parse
if "%1"=="+timedemo" set _MODE=playback&&set _TIMEDEMO=1&&shift /1&&goto parse
if "%1"=="+renderstats" set _RENDERSTATS=%2&&shift /1&&shift /1&&goto parse
if "%1"=="+vtune" set _VTUNE=%2&&shift /1&&shift /1&&goto parse
if "%1"=="+vrend" set _VTUNERENDERING=%2&&shift /1&&shift /1&&goto parse
if "%1"=="+vrepeat" set _VTUNEREPEAT=%2&&shift /1&&shift /1&&goto parse
if "%1"=="+p" set _PANORAMASLICES=%2&&set _SIZE=panorama&&shift /1&&shift /1&&goto parse
if "%1"=="+fps" set _RENDERFPS=%2&&shift /1&&shift /1&&goto parse
if "%1"=="+fov" set _OVERRIDEFOV=%2&&shift /1&&shift /1&&goto parse
if "%1"=="+nosync" set _SYNCCAMANDDEMO=0&&shift /1&&goto parse
if "%1"=="+debug" set _BF2EXE=bf2_d.exe&&shift /1&&goto parse
if "%1"=="+release" set _BF2EXE=bf2_r.exe&&shift /1&&goto parse
if "%1"=="+modpath" set _DEMOROOT=%2&&shift /1&&shift /1&&goto parse


goto size_%_SIZE%
:parse1

set _DEMOOPTS=%_DEMOOPTS% +szx %_WIDTH% +szy %_HEIGHT%

if not "%_OVERRIDEFOV%"=="" set _FOVX=%_OVERRIDEFOV%

goto parse_filenames
:parse1_5

goto mode_%_MODE%
:parse2

goto end

::--------------------------------------------------------------------------------------
:: SIZE
::

:size_default:
set _WIDTH=800
set _HEIGHT=600
set _FOVX=90
goto parse1


:size_wide:
set _WIDTH=1620
set _HEIGHT=405
set _FOVX=160
goto parse1


:size_mini:
set _WIDTH=400
set _HEIGHT=300
set _FOVX=90
goto parse1

:size_panorama:
set _WIDTH=1024
set _HEIGHT=768
rem set these for super-fast testing
rem set _WIDTH=200
rem set _HEIGHT=150
set _FOVX=36
goto parse1

::--------------------------------------------------------------------------------------
:: FILENAMES
::

:parse_filenames
set _DEMOFILE=%_DEMOROOT%\Demos\%1.bf2demo
set _CAMERAFILE=%_DEMOROOT%\Demos\%2.bf2cam
if "%3"=="" (set _AVIBASE=%1_%2) else (set _AVIBASE=%3)
set _AVIFILE=%_DEMOROOT%\Demos\%_AVIBASE%_%_WIDTH%x%_HEIGHT%_fov%_FOVX%_fps%_RENDERFPS%.avi

if not EXIST %_DEMOFILE% (
    echo ERROR: %_DEMOFILE% does not exist
    goto end
)
goto parse1_5



::--------------------------------------------------------------------------------------
:: MODE
::

:mode_playback
echo demo.demoMode playback > demo.tmp

if "%2"=="" (
    echo Playing back demo with user cam...
    echo demo.cameraMode user >> demo.tmp
) else (
    echo Playing back demo with recorded camera...

    if not EXIST %_CAMERAFILE% (
        echo ERROR: %_CAMERAFILE% does not exist
        goto end
    )
    
    echo demo.cameraMode playback >> demo.tmp
    echo demo.camerafile %_CAMERAFILE% >> demo.tmp
)

echo demo.demofile %_DEMOFILE% >> demo.tmp
echo demo.renderwidth %_WIDTH% >> demo.tmp
echo demo.renderheight %_HEIGHT% >> demo.tmp
echo demo.renderfieldofview %_FOVX% >> demo.tmp
echo demo.renderfps %_RENDERFPS% >> demo.tmp
echo demo.synccameraanddemo %_SYNCCAMANDDEMO% >> demo.tmp
echo demo.timedemo %_TIMEDEMO% >> demo.tmp
echo demo.renderstats %_RENDERSTATS% >> demo.tmp
echo demo.vtuneFrame %_VTUNE% >> demo.tmp
echo demo.vtuneRendering %_VTUNERENDERING% >> demo.tmp
echo demo.vtuneRepeatCount %_VTUNEREPEAT% >> demo.tmp
set _DEMOOPTS=%_DEMOOPTS% 
goto execute 



:mode_camera
echo Playing back demo and recording camera...

if EXIST %_CAMERAFILE% (
    echo ERROR: %_CAMERAFILE% already exist.
    goto end
)

echo demo.demoMode playback > demo.tmp
echo demo.cameraMode record >> demo.tmp
echo demo.demofile %_DEMOFILE% >> demo.tmp
echo demo.camerafile %_CAMERAFILE% >> demo.tmp
echo demo.renderwidth %_WIDTH% >> demo.tmp
echo demo.renderheight %_HEIGHT% >> demo.tmp
echo demo.renderfieldofview %_FOVX% >> demo.tmp
echo demo.synccameraanddemo %_SYNCCAMANDDEMO% >> demo.tmp
set _DEMOOPTS=%_DEMOOPTS% +noSound 1 +skipMips 10
goto execute 



:mode_render
if "%_PANORAMASLICES%"=="0" (
    echo Rendering AVI...
    set _PANORAMA=0
) else (
    echo Rendering AVI in parorama mode...
    set _PANORAMA=1
)


if EXIST %_AVIFILE% (
    echo ERROR: %_AVIFILE% already exist.
    goto parse2
)

if not EXIST %_CAMERAFILE% (
    echo ERROR: %_CAMERAFILE% does not exist.
    goto end
)

echo demo.demoMode render > demo.tmp
echo demo.cameraMode playback >> demo.tmp
echo demo.demofile %_DEMOFILE% >> demo.tmp
echo demo.camerafile %_CAMERAFILE% >> demo.tmp
echo demo.renderfile %_AVIFILE% >> demo.tmp
echo demo.rendercompressed 1 >> demo.tmp
echo demo.renderpanorama %_PANORAMA% >> demo.tmp
echo demo.numpanoramaslices %_PANORAMASLICES% >> demo.tmp
echo demo.renderfps %_RENDERFPS% >> demo.tmp
echo demo.renderwidth %_WIDTH% >> demo.tmp
echo demo.renderheight %_HEIGHT% >> demo.tmp
echo demo.renderfieldofview %_FOVX% >> demo.tmp
echo demo.synccameraanddemo %_SYNCCAMANDDEMO% >> demo.tmp
set _DEMOOPTS=%_DEMOOPTS% +noSound 1
goto execute 



:mode_sound

if not EXIST %_CAMERAFILE% (
    echo ERROR: %_CAMERAFILE% does not exist.
    goto end
)

echo Rendering sound...
echo demo.demoMode rendersound > demo.tmp
echo demo.cameraMode playback >> demo.tmp
echo demo.demofile %_DEMOFILE% >> demo.tmp
echo demo.camerafile %_CAMERAFILE% >> demo.tmp
echo demo.synccameraanddemo %_SYNCCAMANDDEMO% >> demo.tmp
set _DEMOOPTS=%_DEMOOPTS% +skipMips 10
goto execute 



:execute
echo - Executing: %_BF2EXE% %_DEMOOPTS% +demo demo.tmp
%_BF2EXE% %_DEMOOPTS% +demo demo.tmp
goto parse2



:end
::if exist demo.tmp del demo.tmp
echo Done!
endlocal
Picouz/VoiD
The Insomniac
+39|7141
This can be done on any online server WITHOUT battlerecorder right?

As this is a seperate way of recording from B.recorder?
Picouz/VoiD
The Insomniac
+39|7141
CTD-CaptainBuck - The file is actually NOT there,  what I don't understand why it wouldnt be there?
CTD-CaptainBuck
BLEEDING BLUE
+71|7243|Tenn

Picouz/VoiD wrote:

This can be done on any online server WITHOUT battlerecorder right?

As this is a seperate way of recording from B.recorder?
NO nope and nope...it is only useable in singleplayer/local games...i misundertsood the topic...

Picouz/VoiD wrote:

CTD-CaptainBuck - The file is actually NOT there,  what I don't understand why it wouldnt be there?
not sure exactly but when BF2 came out it was posted everywhere. o and also(DUH) it was written by some programmer at DICE and he released it on his own accord as an easy workaround.
Picouz/VoiD
The Insomniac
+39|7141
Ah ok I understand sorry for the stupid questions

The only thing is running fraps in game slows me down >>

And the Battlerecords when I download them they either error or when completed they dissapear.
Picouz/VoiD
The Insomniac
+39|7141
Ok EVERY single battlerecorder file I have doesn't download probably because servers haven't set them up properly >>

I went on a few tonight come to download them nope, "failed to download".

Fs!
ExtremeSpy506
Code Red Pro Sniper Guy
+45|7114|Olympus Mons, Mars
I think you need to get 1.21 patch if you don't have it.
l41e
Member
+677|7124

Picouz/VoiD wrote:

Ok EVERY single battlerecorder file I have doesn't download probably because servers haven't set them up properly >>

I went on a few tonight come to download them nope, "failed to download".

Fs!
Servers only hold 30 BRecorder files at a time, if you come more than 30 rounds later then you're f*cked.
Breez
AKA: badhq
+937|7108|Derby, England

Picouz/VoiD wrote:

Everytime I try this in game (Of course I remove name for the video name I wish) It say the message


Cannot create on client side.


Can anyone help me?


Thanks

VoiD
try same comand in single player
Defiance
Member
+438|7147

It only works on singleplayer. Want to download from the server? Get the admin to set it up right.

Otherwise, get the admin to give you the demo if autorecord is on.

Board footer

Privacy Policy - © 2025 Jeff Minard