Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Cheats menu doesn't work by default on macOS #10083

Open
krovellium opened this issue Oct 16, 2022 · 9 comments
Open

[Bug]: Cheats menu doesn't work by default on macOS #10083

krovellium opened this issue Oct 16, 2022 · 9 comments
Labels
OS: MacOS This issue is related to a Mac OS problem

Comments

@krovellium
Copy link

Version of OpenTTD

OpenTTD 12.2, macOS Monterey

Expected result

Cheats menu should open upon pressing Cmd+Opt+C

Actual result

Doesn't open

Steps to reproduce

In order for the cheats menu to open, you have to open hotkeys.cfg and change the cheats line to something like META+C. This fix should be implemented by default.

@nielsmh nielsmh added the OS: MacOS This issue is related to a Mac OS problem label Oct 16, 2022
@Bouke
Copy link
Contributor

Bouke commented Oct 16, 2022

The cheat menu opens on macOS by pressing ⌃⌥C (control+option+c).

@krovellium
Copy link
Author

I tried that key combo, and it didn’t work, at least for me

@EmperorJake
Copy link
Contributor

I can confirm I also had to edit the .cfg before I was able to open the cheat menu on my mac

@Bouke
Copy link
Contributor

Bouke commented Oct 21, 2022

I just tried again, making sure I started with a clean profile by renaming ~/Documents/OpenTTD to something else. Started OpenTTD 12.2, New game, then control+option+c (not command) and the cheats menu is displayed. Note that the original post uses command, which is not the correct shortcut.

@EmperorJake
Copy link
Contributor

I tried again as well, on a fresh OTTD install, and made sure that any key remappings in MacOS were reset to default. I can confirm that I was not able to open the cheat menu using control+option+c or any similar key command. Using MacOS 12.6 Monterey on a M2 Macbook Air

@krovellium
Copy link
Author

54120CC8-3845-4828-8954-94AC7272ADFE
on a serious note though, you’re gonna wanna also clear you application support folder for openTTD for a complete restart

@jimyouare
Copy link

jimyouare commented May 13, 2023

you can edit the hotkeys.cfg file (Documents/OpenTTD):
cheats = CTRL+C
then it should open :)

@Bouke
Copy link
Contributor

Bouke commented Aug 14, 2023

In order to match the documented shortcut, it should be ⌃⌘C (control+command+c):

cheats = CTRL+META+C

@flisk
Copy link

flisk commented Dec 28, 2023

I just ran into this problem and found the following in my hotkeys.cfg:

cheats = CTRL+ALT+C

I'm guessing ALT is in there because I sync my OpenTTD directory between a Windows and a macOS machine. Manually changing it to CTRL+META+C as @Bouke suggested did the trick for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS: MacOS This issue is related to a Mac OS problem
Projects
None yet
Development

No branches or pull requests

6 participants