Tests
Suites
Latest Results
Search
Register
Login
Popular Tests
Flexible IO Tester
Timed Linux Kernel Compilation
Blender
7-Zip Compression
SVT-AV1
FFmpeg
Newest Tests
OpenVINO GenAI
Rustls
LiteRT
WarpX
Epoch
Valkey
Recently Updated Tests
srsRAN Project
VVenC
x265
RELION
Llamafile
Llama.cpp
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
Company of Heroes 2 1.0.2
pts/coh2-1.0.2
- 07 February 2016 -
Add steam environment variable pre.sh script
install.sh
#!/bin/sh HOME=$DEBUG_REAL_HOME steam steam://install/231430 echo "#!/bin/bash . steam-env-vars.sh cd \$DEBUG_REAL_HOME/.steam/steam/steamapps/common/Company\ of\ Heroes\ 2/bin case \$3 in \"MIN\") graphicsquality=0 modeldetail=0 effectsfidelity=0 effectsdensity=0 terraindetail=0 snowdetail=1 shadows=0 ambocclquality=0 shrubsdetail=0 raindetail=0 antialiasing=0 reflections=0 postprocessing=0 ;; \"LOW\") graphicsquality=1 modeldetail=128 effectsfidelity=0 effectsdensity=0 terraindetail=1 snowdetail=1 shadows=1 ambocclquality=1 shrubsdetail=0 raindetail=1 antialiasing=0 reflections=0 postprocessing=0 ;; \"MED\") graphicsquality=2 modeldetail=256 effectsfidelity=1 effectsdensity=1 terraindetail=1 snowdetail=2 shadows=2 ambocclquality=1 shrubsdetail=0 raindetail=1 antialiasing=0 reflections=1 postprocessing=1 ;; \"HIGH\") graphicsquality=3 modeldetail=384 effectsfidelity=2 effectsdensity=2 terraindetail=2 snowdetail=2 shadows=3 ambocclquality=2 shrubsdetail=1 raindetail=2 antialiasing=1 reflections=1 postprocessing=1 ;; \"MAX\") graphicsquality=5 modeldetail=511 effectsfidelity=3 effectsdensity=3 terraindetail=3 snowdetail=3 shadows=3 ambocclquality=2 shrubsdetail=1 raindetail=2 antialiasing=1 reflections=1 postprocessing=1 ;; esac echo \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?> <registry> <key name=\\\"HKEY_CLASSES_ROOT\\\"> </key> <key name=\\\"HKEY_CURRENT_CONFIG\\\"> </key> <key name=\\\"HKEY_CURRENT_USER\\\"> <key name=\\\"Software\\\"> <key name=\\\"IndirectX\\\"> <key name=\\\"Direct3D\\\"> <key name=\\\"Config\\\"> <value name=\\\"AllowD3D1x\\\" type=\\\"integer\\\">1</value> <value name=\\\"DisableSSOs\\\" type=\\\"integer\\\">1</value> <value name=\\\"DisableUBOs\\\" type=\\\"integer\\\">0</value> <value name=\\\"DXTCompressionSetting\\\" type=\\\"integer\\\">1</value> <value name=\\\"FSAALevel\\\" type=\\\"integer\\\">0</value> <value name=\\\"UseMTGL\\\" type=\\\"integer\\\">1</value> <value name=\\\"UsePresentGammaCorrection\\\" type=\\\"integer\\\">1</value> <value name=\\\"VBOMinMemToMap\\\" type=\\\"integer\\\">32768</value> </key> </key> </key> <key name=\\\"MacDoze\\\"> <key name=\\\"Config\\\"> <value name=\\\"GameCannotQuit\\\" type=\\\"integer\\\">1</value> <value name=\\\"MouseModifierLeftAndRight\\\" type=\\\"integer\\\">0</value> <value name=\\\"MouseModifierMiddle\\\" type=\\\"integer\\\">0</value> <value name=\\\"MouseModifierRight\\\" type=\\\"integer\\\">0</value> <value name=\\\"RemapCommandToControl\\\" type=\\\"integer\\\">1</value> </key> </key> <key name=\\\"Original Developer\\\"> <key name=\\\"Company of Heroes 2\\\"> <key name=\\\"Config\\\"> <value name=\\\"advancedorders\\\" type=\\\"integer\\\">0</value> <value name=\\\"ambocclquality\\\" type=\\\"integer\\\">\$ambocclquality</value> <value name=\\\"antialiasing\\\" type=\\\"integer\\\">\$antialiasing</value> <value name=\\\"classickeybindings\\\" type=\\\"integer\\\">1</value> <value name=\\\"classicxpkickers\\\" type=\\\"integer\\\">0</value> <value name=\\\"effectsdensity\\\" type=\\\"integer\\\">\$effectsdensity</value> <value name=\\\"effectsfidelity\\\" type=\\\"integer\\\">\$effectsfidelity</value> <value name=\\\"graphicsquality\\\" type=\\\"integer\\\">\$graphicsquality</value> <value name=\\\"height\\\" type=\\\"integer\\\">\$1</value> <value name=\\\"hudscale\\\" type=\\\"integer\\\">255</value> <value name=\\\"keyscroll\\\" type=\\\"integer\\\">128</value> <value name=\\\"mastervolume\\\" type=\\\"integer\\\">255</value> <value name=\\\"modelanimationdetail\\\" type=\\\"integer\\\">1</value> <value name=\\\"modeldetail\\\" type=\\\"integer\\\">\$modeldetail</value> <value name=\\\"mousescroll\\\" type=\\\"integer\\\">128</value> <value name=\\\"musicvolume\\\" type=\\\"integer\\\">255</value> <value name=\\\"objectscarring\\\" type=\\\"integer\\\">-1</value> <value name=\\\"physics\\\" type=\\\"integer\\\">3</value> <value name=\\\"playercolour\\\" type=\\\"integer\\\">0</value> <value name=\\\"postprocessing\\\" type=\\\"integer\\\">\$postprocessing</value> <value name=\\\"raindetail\\\" type=\\\"integer\\\">\$raindetail</value> <value name=\\\"reflections\\\" type=\\\"integer\\\">\$reflections</value> <value name=\\\"refreshratedenominator\\\" type=\\\"integer\\\">1</value> <value name=\\\"refreshratenumerator\\\" type=\\\"integer\\\">60</value> <value name=\\\"screengamma\\\" type=\\\"integer\\\">3</value> <value name=\\\"sfxvolume\\\" type=\\\"integer\\\">255</value> <value name=\\\"shadows\\\" type=\\\"integer\\\">\$shadows</value> <value name=\\\"showaestheticitems\\\" type=\\\"integer\\\">1</value> <value name=\\\"showcustomitems\\\" type=\\\"integer\\\">1</value> <value name=\\\"showglobalunitcontrol\\\" type=\\\"integer\\\">1</value> <value name=\\\"shownoncriticaleventcues\\\" type=\\\"integer\\\">1</value> <value name=\\\"showpaths\\\" type=\\\"integer\\\">1</value> <value name=\\\"showsubtitles\\\" type=\\\"integer\\\">1</value> <value name=\\\"showunitdescription\\\" type=\\\"integer\\\">1</value> <value name=\\\"showunitocclusion\\\" type=\\\"integer\\\">1</value> <value name=\\\"showxpkickers\\\" type=\\\"integer\\\">1</value> <value name=\\\"shrubsdetail\\\" type=\\\"integer\\\">\$shrubsdetail</value> <value name=\\\"snowdetail\\\" type=\\\"integer\\\">\$snowdetail</value> <value name=\\\"soundconfig\\\" type=\\\"integer\\\">7</value> <value name=\\\"soundfrequency\\\" type=\\\"integer\\\">44100</value> <value name=\\\"soundquality\\\" type=\\\"integer\\\">2</value> <value name=\\\"soundreverb\\\" type=\\\"integer\\\">2</value> <value name=\\\"soundvoices\\\" type=\\\"integer\\\">128</value> <value name=\\\"speechvolume\\\" type=\\\"integer\\\">255</value> <value name=\\\"stickyselection\\\" type=\\\"integer\\\">1</value> <value name=\\\"terraindetail\\\" type=\\\"integer\\\">\$terraindetail</value> <value name=\\\"texturedetail\\\" type=\\\"integer\\\">0</value> <value name=\\\"verticalsync\\\" type=\\\"integer\\\">0</value> <value name=\\\"width\\\" type=\\\"integer\\\">\$2</value> <value name=\\\"worldviewquality\\\" type=\\\"integer\\\">2</value> </key> <key name=\\\"Setup\\\"> <value name=\\\"BackingScaleFactor\\\" type=\\\"binary\\\">000000000000f03f</value> <value name=\\\"DisableMomentumScrolling\\\" type=\\\"integer\\\">1</value> <value name=\\\"ForceTestServer\\\" type=\\\"integer\\\">0</value> <value name=\\\"FullScreen\\\" type=\\\"integer\\\">1</value> <value name=\\\"GameOptionsDialogShouldShow\\\" type=\\\"integer\\\">0</value> <value name=\\\"Language\\\" type=\\\"integer\\\">1</value> <value name=\\\"LimitTextureDetailToMedium\\\" type=\\\"integer\\\">0</value> <value name=\\\"QuitClosesWindow\\\" type=\\\"integer\\\">1</value> <value name=\\\"ScreenD\\\" type=\\\"integer\\\">32</value> <value name=\\\"ScreenH\\\" type=\\\"integer\\\">\$2</value> <value name=\\\"ScreenR\\\" type=\\\"integer\\\">15360</value> <value name=\\\"ScreenW\\\" type=\\\"integer\\\">\$1</value> </key> </key> </key> <key name=\\\"SDL\\\"> <key name=\\\"Config\\\"> <value name=\\\"DisableDispatchlessContext\\\" type=\\\"integer\\\">0</value> <value name=\\\"EnableForceFeedback\\\" type=\\\"integer\\\">0</value> </key> </key> </key> </key> <key name=\\\"HKEY_LOCAL_MACHINE\\\"> <key name=\\\"Software\\\"> </key> </key> <key name=\\\"HKEY_USERS\\\"> </key> </registry> \" > \$DEBUG_REAL_HOME/.local/share/feral-interactive/CompanyOfHeroes2/preferences rm -f \$DEBUG_REAL_HOME/.local/share/feral-interactive/CompanyOfHeroes2/AppData/LogFiles/pts.csv HOME=\$DEBUG_REAL_HOME ./CompanyOfHeroes2 --show-performance -perftest pts.csv -autotest performance_test.lua -fixedframerate 60 cp \$DEBUG_REAL_HOME/.local/share/feral-interactive/CompanyOfHeroes2/AppData/LogFiles/pts.csv \$LOG_FILE" > coh2 chmod +x coh2
pre.sh
#!/bin/bash STEAM_GAME_ID=231430 GAME_BINARY="Company Of Hero" export HOME=$DEBUG_REAL_HOME steam steam://run/$STEAM_GAME_ID & sleep 6 GAME_PID=`pgrep "$GAME_BINARY"` echo '#!/bin/sh' > steam-env-vars.sh while read -d $'\0' ENV; do NAME=`echo $ENV | cut -d= -f1`; VAL=`echo $ENV | cut -d= -f2`; echo "export $NAME=\"$VAL\""; done < /proc/$GAME_PID/environ >> steam-env-vars.sh chmod +x steam-env-vars.sh kill -9 $GAME_PID
results-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v6.2.0m5--> <PhoronixTestSuite> <ResultsParser> <OutputTemplate>average fps #_RESULT_# minimum fps #_MIN_RESULT_# maximum fps #_MAX_RESULT_#</OutputTemplate> <FileFormat>CSV</FileFormat> </ResultsParser> </PhoronixTestSuite>
test-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v6.2.0m5--> <PhoronixTestSuite> <TestInformation> <Title>Company of Heroes 2</Title> <Description>This is a benchmark of Company of Heroes on Steam. The test profile assumes you have a Steam account, have Steam installed for the system, and that you own a copy of this game. This automates the process of executing the game and using its built-in benchmark mode.</Description> <ResultScale>Frames Per Second</ResultScale> <Proportion>HIB</Proportion> <TimesToRun>3</TimesToRun> <PreInstallMessage>This test will attempt to install the necessary game using your Steam account. If the test appears hung you may need to manually exit the Steam client.</PreInstallMessage> </TestInformation> <TestProfile> <Version>1.0.2</Version> <SupportedPlatforms>Linux</SupportedPlatforms> <SoftwareType>Game</SoftwareType> <TestType>Graphics</TestType> <License>Free</License> <Status>Verified</Status> <SupportedArchitectures>x86, x86_64</SupportedArchitectures> <EnvironmentSize>2</EnvironmentSize> <ProjectURL>http://store.steampowered.com/app/231430/</ProjectURL> <Maintainer>Michael Larabel</Maintainer> </TestProfile> <TestSettings> <Option> <DisplayName>Resolution</DisplayName> <Identifier>auto-resolution</Identifier> <ArgumentPrefix></ArgumentPrefix> <ArgumentPostfix></ArgumentPostfix> <DefaultEntry>0</DefaultEntry> <Menu> <Entry> <Name>$VIDEO_WIDTH x $VIDEO_HEIGHT</Name> <Value>$VIDEO_WIDTH $VIDEO_HEIGHT</Value> <Message></Message> </Entry> </Menu> </Option> <Option> <DisplayName>Graphics Preset</DisplayName> <Identifier>graphics-preset</Identifier> <ArgumentPrefix></ArgumentPrefix> <ArgumentPostfix></ArgumentPostfix> <DefaultEntry>0</DefaultEntry> <Menu> <Entry> <Name>Minimum</Name> <Value>MIN</Value> <Message></Message> </Entry> <Entry> <Name>Low</Name> <Value>LOW</Value> <Message></Message> </Entry> <Entry> <Name>Medium</Name> <Value>MED</Value> <Message></Message> </Entry> <Entry> <Name>High</Name> <Value>HIGH</Value> <Message></Message> </Entry> <Entry> <Name>Maximum</Name> <Value>MAX</Value> <Message></Message> </Entry> </Menu> </Option> </TestSettings> </PhoronixTestSuite>