BF2 Timedemo

ViciouS

Golden Member
Apr 1, 2001
1,257
0
0
I'm trying to test how my system runs with 1g ram compared to 2. I want to see if i got my money's worth. i found this but its set up for the "demo" version of BF2 not the actual game. When i run it it blinks to a dark screen then back to desktop. Anyone know of any Timedemo's i can use for the actual game? Thanks
 

ViciouS

Golden Member
Apr 1, 2001
1,257
0
0
It seams to run well, "almost run" when i run guru3d.bat, but then it blinks balck screen then back to desktop.

I dont want to record my own demo i just want to run one that has already been made..... this shouldnt be so frustrating.


I installed the demo. when i run in cmd demo.cmd sample.bf2demo sample.bf2cam it says Error: mods\bf2\demo\sample.bf2demo.bf2demo does not exist Done!


 

ViciouS

Golden Member
Apr 1, 2001
1,257
0
0
demo.cmd reads:


@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\bf2
set _BF2EXE=bf2.exe
set _USERWIDTH=800
set _USERHEIGHT=600
set _NOSOUND=0

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 - It can also be set to custom settings with +width and +height
echo -
echo - demo +r +width 640 +height 400 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 - Running a demo with no sound is now simple:
echo -
echo - demo +nosound 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
if "%1"=="+width" set _USERWIDTH=%2&&shift /1&&shift /1&&goto parse
if "%1"=="+height" set _USERHEIGHT=%2&&shift /1&&shift /1&&goto parse
if "%1"=="+nosound" set _NOSOUND=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=%_USERWIDTH%
set _HEIGHT=%_USERHEIGHT%
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 _NOSOUND=1
set _DEMOOPTS=%_DEMOOPTS% +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 _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
set _DEMOOPTS=%_DEMOOPTS% +noSound %_NOSOUND%
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



 

bob4432

Lifer
Sep 6, 2003
11,727
46
91
read my link in sig. basically if you are hitting the pagefil during the game a lot you will benefit from more ram, plain and simple.
 

ViciouS

Golden Member
Apr 1, 2001
1,257
0
0
it would be nice to be able to have a standard timedemo to use? its easier to compare that way..
 

bob4432

Lifer
Sep 6, 2003
11,727
46
91
Originally posted by: ViciouS
it would be nice to be able to have a standard timedemo to use? its easier to compare that way..

i agree with you 100%, but this is ea we are talking about here ;)

there is a benchmark that at uses that you can d/l, it is written by jarred, but i can't remember where to find it, it is in one of the gpu shootouts.....
 

ViciouS

Golden Member
Apr 1, 2001
1,257
0
0
EA is the worst. I know how to patch games, because i know what im doing. My friends are clueless, you would think a POPULAR company like EA would figure out how to make it easy. Look at blizzard they figured out how to make things easy a long time ago. Its impossible to find a decent game with non tking noobs and idiots. Every once and a while i get in a game with a good squad and have fun, but damn its not hard to make these games easier to play and more enjoyalble...!
 

ViciouS

Golden Member
Apr 1, 2001
1,257
0
0
Finaly Installed 2g WOW! So smooth and no stu stu stu stutters even when first entering the game..!
 

bob4432

Lifer
Sep 6, 2003
11,727
46
91
Originally posted by: ViciouS
Finaly Installed 2g WOW! So smooth and no stu stu stu stutters even when first entering the game..!

what is your peak commit charge?
 

ViciouS

Golden Member
Apr 1, 2001
1,257
0
0
Originally posted by: bob4432
Originally posted by: ViciouS
Finaly Installed 2g WOW! So smooth and no stu stu stu stutters even when first entering the game..!

what is your peak commit charge?
i have no idea what your talking about please explain.
 

bob4432

Lifer
Sep 6, 2003
11,727
46
91
Originally posted by: ViciouS
Originally posted by: bob4432
Originally posted by: ViciouS
Finaly Installed 2g WOW! So smooth and no stu stu stu stutters even when first entering the game..!

what is your peak commit charge?
i have no idea what your talking about please explain.

hit ctrl-alt-del, select the performance tab, in the lower left hand corer you will see "Commit Charge (K)", what does the Peak come out to? obviously after you have gamed for some time...