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
tmnations 1.0.5
stefandoesinger/tmnations-1.0.5
- 29 January 2014 -
Fix zero argument values
downloads.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v5.0.0m0 (Plavsk)--> <PhoronixTestSuite> <Downloads> <Package> <URL>http://static3.cdn.ubi.com/trackmania/tmnationsforever_setup.exe</URL> <MD5>198434c0538b9d3269e857dd0ad5ba22</MD5> <FileSize>529246504</FileSize> <PlatformSpecific>Windows</PlatformSpecific> </Package> </Downloads> </PhoronixTestSuite>
install_windows.sh
#!/bin/sh echo "#!/bin/sh \"C:\program files (x86)\autohotkey\autohotkey.exe\" run.ahk \$@ xxx > \$LOG_FILE" > tmnations echo "SetTitleMatchMode, 2 run, tmnationsforever_setup.exe ; Trouble: The dialog comes up with the system language. In German ; the title is 'Setup-Sprache ausw�hlen', let's hope that the ; 'Setup-' doesn't change in most languages winwaitactive, Setup send de ; Select german, then english. Just hitting e may ; select spanish if the default is english send {Enter} winwaitactive, Setup - TmNationsForever send n ; next winwaitactive, Setup, License Agreement send !a{space} ; Alt-A, accept agreement. send n ; next winwaitactive, Setup, Select Destination Location send !n ; Alt-next to avoid overwriting the install path winwaitactive, Setup, Select Start Menu Folder send !d!n ; No start menu entry, next winwaitactive, Setup, Select Additional Tasks send {space}{tab} ; Do not create a desktop icon send {space}{tab} ; No .gbx association send {space}{tab} ; No tmtp:// url handler send {space}{tab} ; No thumbnail shell extension send !n ; next winwaitactive, Setup, Ready to Install send !i ; install winwaitactive, Setup, Completing send {space} ; Do not start TmNations now send !f ; finish ; Run the launcher once to create the initial config and get rid of the dialog boxes Run, C:\Program Files (x86)\TmNationsForever\TmForeverLauncher.exe /configmode /silent, C:\Program Files (x86)\TmNationsForever\,,pid winwaitactive, TmForever, We recommend send {space} winwaitactive, Information, Your version is currently up to date, 2 send {space} winwaitactive, TmForever, Your video card, 2 send {space} Process Wait, %pid%, 10 ; Run through the firewall setup. Note that this only makes the game happy, it doesn't deal ; with any personal firewall popup dialogs ; FIXME: This successfully starts the game and dismisses the dialog, but for some reason ; the dialog comes back the next time the game is started Run, C:\Program Files (x86)\TmNationsForever\TmForever.exe, C:\Program Files (x86)\TmNationsForever\,,pid WinWaitActive, TmForever Network check,,10 if ErrorLevel = 0 { send {space} sleep 10000 } send !{F4} ; Copy the supplied systemconfig into the game's data directory ; fixme: This does not work :-( RegRead mydocs, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders, Personal FileCopy ../../../test-profiles/local/tmnations-1.0.0/Default.SystemConfig.Gbx, %mydocs%/TmForever/Config/Default.SystemConfig.Gbx" > install.ahk "C:\program files (x86)\Autohotkey\Autohotkey.exe" install.ahk rm install.ahk echo "RegRead mydocs, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders, Personal FileDelete %mydocs%\TmForever\Bench\pts.txt Width = 640 Height = 480 Quality = 3 Antialias = 0 Fullscreen = 0 Last = borked Loop, %0% ; For each parameter: { param := %A_Index% ; Fetch the contents of the variable whose name is contained in A_Index. if(param = \"-width\" or param = \"-height\" or param = \"-quality\" or param = \"-antialias\" or param = \"-fullscreen\") { Last = %param% } else { if(Last = \"-width\") { Width = %param% } if(Last = \"-height\") { Height = %param% } if(Last = \"-quality\") { Quality = %param% } if(Last = \"-antialias\") { Antialias = %param% } if(Last = \"-fullscreen\") { Fullscreen = %param% } Last = borked } } SetTitleMatchMode, 2 run, C:\Program Files (x86)\TmNationsForever\TmForeverLauncher.exe, C:\Program Files (x86)\TmNationsForever\ winwait, TmForever Sleep 500 WinActivate winwaitactive, TmForever ControlClick Button2 ; Configuration Sleep 500 send {tab 1} ; Fullscreen checkbox ControlGet cur_fs, Checked,, Button1, Configuration if (cur_fs != Fullscreen) { ControlClick Button1, Configuration ; Toggle fullscreen } send {tab 1} ; Resolution control ; Tmnations only allows us to set resolutions in the combobox list. Since it is ; a combobox we can type the resolution we want, and then hit the down key to select ; the matching resolution from the list of supported resolutions. If the resolution ; is not the list this will select 640x480 send %Width%x%Height% ; Set resolution send {down} send {tab 2}{space} ; Advanced button Sleep 500 while not WinExist(\"Advanced Settings\") { Click 320, 300 Sleep 500 } ; For some reason most controls cannot be adressed, so I have to hardcode ; a lot of mouse coordinates. For the same reason I cannot check the status ; of some checkboxes. For this reason the test is supplying a preconfigured ; config file that has some sane defaults(Windowed mode, customized graphics ; settings enabled, sound off[openal makes problems on some platforms]) Click 315, 82 ; Click the presets field twice to select it Click 315, 82 send {up 6} ; Go to preset none send {down %Quality%} Click 250, 110 ; Antialiasing Click 250, 110 send {up 5} ; MSAA disabled send {down %Antialias%} while WinExist(\"Advanced Settings\") { Click 60, 460 ; OK Sleep 500 } Click 60, 290 ; Save winwaitactive, TmForever ControlClick Button5 ; Exit - we start the actual game .exe ourselves ; Yay. Finally I am done with this crappy setup app. Now run the actual benchmark RunWait, C:\Program Files (x86)\TmNationsForever\TmForever /useexedir /login=%TMUSER% /password=%TMPWD% /silent /bench=Bench.Replay.gbx /out=pts.txt ; Copy the supplied systemconfig into the game's data directory FileRead, ret, %mydocs%\TmForever\Bench\pts.txt FileAppend, %ret% `n, *" > run.ahk
results-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v5.0.0m0 (Plavsk)--> <PhoronixTestSuite> <ResultsParser> <OutputTemplate>#_RESULT_#</OutputTemplate> <LineBeforeHint>// Average Fps</LineBeforeHint> </ResultsParser> </PhoronixTestSuite>
test-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v5.0.0m0 (Plavsk)--> <PhoronixTestSuite> <TestInformation> <Title>tmnations</Title> <AppVersion>1.0</AppVersion> <Description>This runs the Trackmania Nations graphics benchmark</Description> <ResultScale>Frames Per Second</ResultScale> <Proportion>HIB</Proportion> <TimesToRun>3</TimesToRun> </TestInformation> <TestProfile> <Version>1.0.5</Version> <SupportedPlatforms>Windows</SupportedPlatforms> <SoftwareType>Game</SoftwareType> <TestType>Graphics</TestType> <License>Retail</License> <Status>Unverified</Status> <SupportedArchitectures>x86, x86_64</SupportedArchitectures> <EnvironmentSize>713</EnvironmentSize> <ProjectURL>http://www.trackmanianations.com</ProjectURL> <Maintainer>Stefan Dösinger</Maintainer> </TestProfile> <TestSettings> <Option> <DisplayName>Resolution</DisplayName> <Identifier>auto-resolution</Identifier> <DefaultEntry>0</DefaultEntry> <Menu> <Entry> <Name>$VIDEO_WIDTH x $VIDEO_HEIGHT</Name> <Value>-width $VIDEO_WIDTH -height $VIDEO_HEIGHT</Value> </Entry> </Menu> </Option> <Option> <DisplayName>Quality preset</DisplayName> <Identifier>quality</Identifier> <ArgumentPrefix>-quality </ArgumentPrefix> <DefaultEntry>0</DefaultEntry> <Menu> <Entry> <Name>Minimum Quality</Name> <Value>1</Value> </Entry> <Entry> <Name>Low Quality</Name> <Value>2</Value> </Entry> <Entry> <Name>Medium Quality</Name> <Value>3</Value> </Entry> <Entry> <Name>High Quality</Name> <Value>4</Value> </Entry> <Entry> <Name>VeryHigh Quality</Name> <Value>5</Value> </Entry> </Menu> </Option> <Option> <DisplayName>Antialiasing</DisplayName> <Identifier>antialias</Identifier> <ArgumentPrefix>-antialias </ArgumentPrefix> <DefaultEntry>0</DefaultEntry> <Menu> <Entry> <Name>Off</Name> <Value>0</Value> </Entry> <Entry> <Name>2x</Name> <Value>1</Value> </Entry> <Entry> <Name>4x</Name> <Value>2</Value> </Entry> <Entry> <Name>6x</Name> <Value>3</Value> </Entry> <Entry> <Name>8x</Name> <Value>4</Value> </Entry> <Entry> <Name>16x</Name> <Value>5</Value> </Entry> </Menu> </Option> <Option> <DisplayName>Fullscreen</DisplayName> <Identifier>fullscreen</Identifier> <ArgumentPrefix>-fullscreen </ArgumentPrefix> <DefaultEntry>0</DefaultEntry> <Menu> <Entry> <Name>Yes</Name> <Value>1</Value> </Entry> <Entry> <Name>No</Name> <Value>0</Value> </Entry> </Menu> </Option> </TestSettings> </PhoronixTestSuite>