Renoise reads KeyBindings.xml once at startup, holds the live state in memory, and writes it back at shutdown

“Renoise reads KeyBindings.xml once at startup, holds the live state in memory, and writes it back at shutdown.

for someone like me working with shortcuts, and a lot of them, i need a way to be able to merge content to KeyBindings when operating with different computers. i also maintain a macOS, Windows, Linux set of KeyBindings.xml inside Paketti.

i need to make this maintenance easier.

what can be done?

@taktik

You could use a comparison.

  1. Use the OS. (Windows: “fc a.txt b.txt” (file compare), Unix: “diff -u a.txt b.txt”)
    This is a bit difficult, since Windows’ fc outputs other syntax than Unix’s diff.
  2. Use Git to solve your problem (needs install) with “git diff --no-index a.txt b.txt”
    This would be the most unified solution for over all 3 operating systems, but would require installing Git if not present.
  3. Use your own LUA code to compare the differences between files or LUA table values.
    This would be the most clean option, however, would also be prone to possible errors.