Not logged inOpenClonk Forum
Up Topic General / Help and Questions / OpenClonk - Controls
- - By MadScientist Date 2018-04-20 01:13
In what configuration file are controls stored? Is it possible to copy this file to another computer in order to be able to use same change of controls?
Reply
Parent - - By Caesar [jp] Date 2018-04-20 10:36
Not conveniently.

HKCU\Software\OpenClonk Project\OpenClonk\ in the Windows registry.
~/.clonk/OpenClonk/config under linux.
Parent - - By Luchs Date 2018-04-20 11:21
To clarify: copying the config file from one Linux computer to another is easy. I believe it's also possible to export and import the Windows registry parts. There is no easy way to transfer between Windows and Linux configuration though.
Parent - By MadScientist Date 2018-04-21 02:18
Thanks Guys, Yup, not that easy:

How it is stored in a reg file which is export from Registry under Windows

[HKEY_CURRENT_USER\Software\OpenClonk Project\OpenClonk\Controls\UserSets\ControlSet\Assignment]
"Key"="$67"
"Control"="Up"
"GUIDisabled"=dword:00000001

How it is stored in a config file under Linux:

[Assignment]
      Key=$67
      Control=Up
      GUIDisabled=true

Might be a script to write! :)
Reply
Parent - - By Caesar [jp] Date 2018-04-23 00:38
Well, you can have the Windows version read linux config files by passing --config=.
Parent - - By MadScientist Date 2018-04-23 00:57
Thanks Caesar, I need to have a look at parameters you can pass to openclonk.
Reply
Parent - By Caesar Date 2018-04-23 10:47
https://git.openclonk.org/openclonk.git/blob/HEAD:/src/game/C4Application.cpp#l212

I'm almost sorry... (There is a page on the docs, too. But its horribly outdated...)
Up Topic General / Help and Questions / OpenClonk - Controls

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill