Tests
Suites
Latest Results
Search
Register
Login
Popular Tests
Flexible IO Tester
Timed Linux Kernel Compilation
Blender
PostgreSQL
SVT-AV1
7-Zip Compression
Newest Tests
OpenVINO GenAI
Rustls
LiteRT
WarpX
Epoch
Valkey
Recently Updated Tests
Llama.cpp
NCNN
srsRAN Project
VVenC
x265
RELION
New & Recently Updated Tests
Recently Updated Suites
Machine Learning
Server Motherboard
HPC - High Performance Computing
New & Recently Updated Suites
Component Benchmarks
CPUs / Processors
GPUs / Graphics
OpenGL
Disks / Storage
Motherboards
File-Systems
Operating Systems
OpenBenchmarking.org
Corporate / Organization Info
Bug Reports / Feature Requests
Half Life 2 1.0.0
stefandoesinger/halflife2-1.0.0
- 13 March 2012 -
Long HL2 timedemo
downloads.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v3.8.0m3 (Bygland)--> <PhoronixTestSuite> <Downloads> <Package> <URL>http://cdn.steampowered.com/download/SteamInstall.msi</URL> <MD5>1da2fb5a1738d7aefbc0e87b2e1dea15</MD5> <FileName>SteamInstall.msi</FileName> <FileSize>1588224</FileSize> <PlatformSpecific>Windows</PlatformSpecific> </Package> </Downloads> </PhoronixTestSuite>
install_windows.sh
#!/bin/sh echo "#!/bin/sh halflife2.bat \$@ > \$LOG_FILE" > halflife2 echo "@echo off C: cd \"\Program Files (x86)\Steam\" rem delete the results file set RESULTFILE=\"steamapps\%STEAMUSER%\half-life 2\hl2\sourcebench.csv\" del %RESULTFILE% rem HL2 command line options: rem -novid to skip the intro rem -console to skip loading the background map rem -nosound to limit the test scope(if you want a sound test, write one) rem +timedemoquit ptsdemo: Run the timedemo \"ptsdemo\" and exit rem %* : Forward command line params from this file to hl2 rem Use start to make sure the batch script continues start Steam.exe -silent -login %STEAMUSER% %STEAMPWD% -applaunch 220 -novid -console -nosound +cl_showfps 2 +timedemoquit ptsdemo %* rem wait for the results file :retry ping 127.0.0.1 -n 6 > NUL if not exist %RESULTFILE% goto retry rem in case the wine version suffers from the hl2 crash-on-exit bug taskkill /F /IM hl2.exe rem exit steam Steam.exe -shutdown rem Wait 5 seconds to let steam exit ping 127.0.0.1 -n 6 > NUL rem sometimes steam doesn't die taskkill /F /IM steam.exe rem On Wine cmd.exe skips the last line for some reason. Add a dummy line with just spaces rem as data to make it read the line we are interested in. Filter out the last line in the rem for loop below in case it is parsed on native Windows. copy %RESULTFILE% %TEMP%\sourcebench.csv > NUL echo , , , , , , , , , , , , , , , , , , , , , , >> %TEMP%\sourcebench.csv rem Parse the result file, write to stdout rem This picks the 2nd token in the comma separated values list and writes the last one rem since we deleted the file before the run there are only two lines in it: The header rem and the result of that run. Use ('type filename') rather than (filename) because the rem latter syntax doesn't like filenames in semicolons, but the semicolons are needed to rem escape spaces for /f \"tokens=2 delims=,\" %%i in ('type %TEMP%\sourcebench.csv') do ( if not \"%%i\"==\" \" set last=%%i ) echo result echo %last%" > halflife2.bat # This assumes the default install directory C:\Program Files (x86)\Steam msiexec /package SteamInstall.msi /passive # use the browser protocol. start.exe terminates after invoking Steam, # allowing PTS to exit. Unfortunately the demo cannot be used, it only # works in accounts that do not own the real game start steam://install/220
results-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v3.8.0m3 (Bygland)--> <PhoronixTestSuite> <ResultsParser> <OutputTemplate>#_RESULT_#</OutputTemplate> <LineBeforeHint>result</LineBeforeHint> </ResultsParser> </PhoronixTestSuite>
test-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v3.8.0m3 (Bygland)--> <PhoronixTestSuite> <TestInformation> <Title>Half Life 2</Title> <AppVersion>1.0</AppVersion> <Description>This test calculates the average frame-rate within a Half Life 2 timedemo.</Description> <ResultScale>Frames Per Second</ResultScale> <Proportion>HIB</Proportion> <TimesToRun>3</TimesToRun> </TestInformation> <TestProfile> <Version>1.0.0</Version> <SupportedPlatforms>Windows</SupportedPlatforms> <SoftwareType>Game</SoftwareType> <TestType>Graphics</TestType> <License>Retail</License> <Status>Unverified</Status> <SupportedArchitectures>x86, x86_64</SupportedArchitectures> <EnvironmentSize>5500</EnvironmentSize> <ProjectURL>http://www.steampowered.com/</ProjectURL> <Maintainer>Stefan Dösinger</Maintainer> </TestProfile> <TestSettings> <Option> <DisplayName>Resolution</DisplayName> <Identifier>auto-resolution</Identifier> <Menu> <Entry> <Name>$VIDEO_WIDTH x $VIDEO_HEIGHT</Name> <Value>-width $VIDEO_WIDTH -height $VIDEO_HEIGHT</Value> </Entry> </Menu> </Option> <Option> <DisplayName>DxLevel</DisplayName> <Identifier>dxlevel</Identifier> <Menu> <Entry> <Name>DirectX 8</Name> <Value>-dxlevel 81</Value> </Entry> <Entry> <Name>DirectX 9</Name> <Value>-dxlevel 90</Value> </Entry> <Entry> <Name>DirectX 9+</Name> <Value>-dxlevel 95</Value> </Entry> </Menu> </Option> </TestSettings> </PhoronixTestSuite>