Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Edit gameplay keys via external file

Help
zaid
2013-11-19
2014-03-17
  • zaid
    zaid
    2013-11-19

    Hello. Is there a specific file that gets updated when we apply new keys to the game. I wish to be able to access it via notepad for instance and change the key assignments there manually. The goal is a custom program that access this file to write in its own assignment for the gameplay.

     
  • Eric Hocking
    Eric Hocking
    2014-03-17

    Hi there,
    When you change the keys, the new keys are saved to the games configuration file, in theory, you should be able to do that manually.

    You might want to start with taking a look at Settings.py, that would give you an idea of how to manipulate the keys manually.

    https://github.com/fretsonfire/fof-python/blob/master/src/Settings.py