Openrct2: Autodetect RCT2 installs instead of asking where it is

Created on 15 Nov 2019  路  3Comments  路  Source: OpenRCT2/OpenRCT2

Look in obvious places before asking where the datafiles are.

In particular, try looking in the windows registry for information of where the game is installed. Also look for an install via steam, parsing the steam config files. I've done the latter myself.

invaliincomplete

Most helpful comment

Do you honestly think you can speak to us like that? Cut the attitude.

At the very least it needs to look up the actual name of "Program Files". Because it's localizable.

Since Windows Vista, folders always have an English name on the file system and localisation happens in Windows Explorer. And we don't support anything older than Vista.

All 3 comments

Look in obvious places before asking where the datafiles are.

We already do this, it includes the default paths of all known releases of RCT2.

"Default"? As in a hard coded list? That's garbage! At the very least it needs to look up the actual name of "Program Files". Because it's localizable.

Anyway, I experienced a different bug. #10241

Do you honestly think you can speak to us like that? Cut the attitude.

At the very least it needs to look up the actual name of "Program Files". Because it's localizable.

Since Windows Vista, folders always have an English name on the file system and localisation happens in Windows Explorer. And we don't support anything older than Vista.

Was this page helpful?
0 / 5 - 0 ratings