I made a keybindings cheat sheet from the
vehicle.json files which ship with the game.
The PDF file is available here on github.
There are 414 shortcut entries for a total of 488 keys (some entries have more than one shortcut). Of those 414 shortcut entries, only 38 are unbound.
A few info
The PDF file is automatically generated which notably means that not all keys will appear on this cheat sheet, just the ones that are in the key bindings game file. This means that keys that are bound in the C++ code will not appear (e.g. directional keys or menu keys for example).
This also mean I don’t intend to add anything to the file since I rely only on automatically generating its content.
Basically it goes like this:
(keybindings.json + vehicle.json) -> python -> latex (pdflatex) -> pdf
The code to generate the PDF file is available here:
You need the python script named
generate_keybindings_doc.pyand the latex file
Python 3 and a latex compiler.
Generate the latex output like this:
$ python ./generate_keybindings_doc.py <game_path>/data/raw/keybindings.json -a <game_path>/data/raw/keybindings/vehicle.json -o ./cdda_all_keybindings.tex
Then use your latex compiler to get the pdf
I’m aware of a few defects here and there in the PDF (which I haven’t been able to fix in the generated latex):
“Select items in dragged containers” (in Advanced Inventory category) is going over the next column
“New Char Scenarios” and “Uilist” categories are not properly aligned to the top of the page.