OpenRCT2 / OpenRCT2/OpenRCT2

'benchgfx' from command line uses the config.ini from user.

Open
#15,545 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
16.2k
Forks
1.9k
Avg merge
1d 20h
Merged PRs (30d)
80

Description

Using openrct2 benchgfx [..args] currently uses the configuration from the user folder, to make the benchmark consistent it should use only the default values as if no config.ini were present.

Ideally the user can optionally provide the config.ini via command line to override the settings, this could be something like --config-file=C:\Path\to\user.ini

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the openrct2 benchgfx command entry point and trace how it loads configuration, then run the benchmark with a user-folder config.ini present and absent. Done means the benchmark uses default values without that file, while a command-line --config-file can optionally override them.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.