Benchmarking: Difference between revisions
From Unreal Tournament 2004 MiA Wiki
mNo edit summary |
mNo edit summary |
||
| Line 8: | Line 8: | ||
* For fps1, <code>map=</code> is between 0 and 8 | * For fps1, <code>map=</code> is between 0 and 8 | ||
* Maps fps2 and fps 3 are stand-alone maps with no | * Maps fps2 and fps 3 are stand-alone maps with no <code>map=</code> option | ||
* Unless you use the <code>?quit=1</code> parameter the map will keep running in the background with the console showing results. | * Unless you use the <code>?quit=1</code> parameter the map will keep running in the background with the console showing results. | ||
* Output is put into the log you specify. | * Output is put into the log you specify. | ||
Revision as of 20:59, 9 May 2026
BenchMarking UT2004 renderers
Download the files linked below. Put the maps into your Maps directory and you can run maps from the command line.
e.g.
./UT2004 fps1?map=2 ini=UT2004.ini log=MyLog.log
- For fps1,
map=is between 0 and 8 - Maps fps2 and fps 3 are stand-alone maps with no
map=option - Unless you use the
?quit=1parameter the map will keep running in the background with the console showing results. - Output is put into the log you specify.
- You can specify any configuration in the
ini=file you select. The pack comes with high and low detail defaults to try.
Downloads
Get the files you need from this link
Automation
Windows
- Extract the 7z zip into your ut2004 directory. The maps should end up in your Maps directory. The scripts to automate runs should be in your
Benchmark\scriptsdirectory. - Put the
BenchmarkLow.iniandBenchmarkHigh.inifiles fromBenchmark/scripts/iniin to yourSystemand edit them for the screen resolution you want to test in this section of each file:[WinDrv.WindowsClient] FullscreenViewportX=3440 FullscreenViewportY=1440
- From PowerShell, navigate to your UT2004 executable
Systemdirectory and run:
powershell.exe -ExecutionPolicy Bypass -File "..\Benchmark\scripts\Benchmark.ps1"
- You should see the game starting multiple times and running a flyby through a map each time.
- Output is saved into
benchmark_results.txt
Linux
- Extract the 7z zip into your ut2004 directory. The maps should end up in your Maps directory. The scripts to automate runs should be in your
Benchmark/scriptsdirectory. - Put the
BenchmarkLow.iniandBenchmarkHigh.inifiles fromBenchmark/scripts/iniin to your~/.ut2004/Systemdirectory and edit them for the screen resolution you want to test in this section of each file:[SDLDrv.SDLClient] FullscreenViewportX=3440 FullscreenViewportY=1440
- Put these ini files in
~/.ut2004/Systemand edit for the screen resolution you want to test:./ini/BenchmarkLow.ini./ini/BenchmarkHigh.ini
- Navigate to your UT2004 executable
Systemdirectory and run:
../Benchmark/scripts/Benchmark.sh
- You should see the game starting multiple times and running a flyby through a map each time.
- Output is saved into
benchmark_results.txt
