[2.0.58] [mac-x64] Grammatical error in value for key `macos-preferred-graphics-backend`

Bugs that are actually features.
fardshid420
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sat Jun 21, 2025 3:37 am
Contact:

[2.0.58] [mac-x64] Grammatical error in value for key `macos-preferred-graphics-backend`

Post by fardshid420 »

Hey there! I recently went through the entirety of my config.ini to look for settings that don't appear in the settings UI, as I do every so often. The newest key under the [graphics] header, macos-preferred-graphics-backend, has a grammatical error in one of the options for valid values.

Code: Select all

; Options: open-gl, metal
macos-preferred-graphics-backend=metal
The valid values listed for macos-preferred-graphics-backend are open-gl and metal. Regardless of context, I think it's evident that the hyphen in the open-gl value should be removed, as the API's name is OpenGL. However, in addition to it being intuitive, there is precedent for this stylisation elsewhere in the Factorio configuration file, as seen here:

Code: Select all

; Options: true, false
; force-opengl=false
Just 130 lines above the macos-preferred-graphics-backend key, there is another key under the same [graphics] header named force-opengl. I think this makes this a pretty open-and-shut issue. Thank you to all of the developers for their continued support of Factorio. :)
Attachments
Screenshot 2025-06-23 at 21.31.23.png
Screenshot 2025-06-23 at 21.31.23.png (290.7 KiB) Viewed 297 times
Screenshot 2025-06-23 at 21.31.07.png
Screenshot 2025-06-23 at 21.31.07.png (271.29 KiB) Viewed 297 times
factorio-current.log
(355.04 KiB) Downloaded 7 times
config.ini
(63.95 KiB) Downloaded 8 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 15793
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.58] [mac-x64] Grammatical error in value for key `macos-preferred-graphics-backend`

Post by Rseding91 »

Thanks for the report however changing this is only going to break existing configurations that are using the old naming scheme.

It functionally has no impact to be what it is so it’s best left alone and best to *not* break existing player setups.
If you want to get ahold of me I'm almost always on Discord.
fardshid420
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sat Jun 21, 2025 3:37 am
Contact:

Re: [2.0.58] [mac-x64] Grammatical error in value for key `macos-preferred-graphics-backend`

Post by fardshid420 »

Rseding91 wrote: Tue Jun 24, 2025 7:16 am Thanks for the report however changing this is only going to break existing configurations that are using the old naming scheme.

It functionally has no impact to be what it is so it’s best left alone and best to *not* break existing player setups.
I admit this may be a bit too overcomplicated, but I know of more than one game that does things this way, and it's not like you guys shy away from overcomplicated design. Would it be possible to change the value to opengl at the same time as implementing a configuration schema updater to fix things like this on-the-fly on launch of the game? Might be a bit out of scope for a bug report. But even if so, I'd just be interested in your thoughts, if you have a minute. :)
Jap2.0
Smart Inserter
Smart Inserter
Posts: 2509
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: [2.0.58] [mac-x64] Grammatical error in value for key `macos-preferred-graphics-backend`

Post by Jap2.0 »

fardshid420 wrote: Tue Jun 24, 2025 2:08 pm I admit this may be a bit too overcomplicated, but I know of more than one game that does things this way, and it's not like you guys shy away from overcomplicated design. Would it be possible to change the value to opengl at the same time as implementing a configuration schema updater to fix things like this on-the-fly on launch of the game? Might be a bit out of scope for a bug report. But even if so, I'd just be interested in your thoughts, if you have a minute. :)
I'll give you 90% odds the answer is "we could but it's not worth it".
There are 10 types of people: those who get this joke and those who don't.
Post Reply

Return to “Not a bug”