Helper tool to view, edit, and backup aliases from Tower Networking Inc. (steam)
Find a file
2026-07-21 08:20:23 +00:00
.gitignore Initial commit 2026-07-21 07:26:19 +00:00
README.md update readme 2026-07-21 08:20:23 +00:00
toweraliases.py resolve dotenv streaming error (#1) 2026-07-21 08:13:52 +00:00

tni-alias-manager

Helper tool to view, edit, and backup aliases from Tower Networking Inc. (steam)
Unofficial wiki link about aliases in TNI: https://hackmd.io/@tower-network/Hk9Ni-VOgl

At the moment, this assumes file location as Linux at $HOME/.local/share/godot/app_userdata/Tower Networking Inc/settings.json Plans to implement for Windows if anyone is able to test. A config_path option can be set manually and later set via command argument.

Functions

  • print
    • Print aliases from the configuration file.

Planned

  • set
    • Set (new or overwrite) an alias.
  • unset
    • Unset/remove an alias.
  • backup
    • Backup aliases to a file. (Aliases only, not config itself.)
    • Also an option for set/unset.
  • restore -Restore aliases in JSON format to TNI configuration file.

At the moment, if you set TNI_CONFIG_PATH in your env or a .env file, it will read that, but it hasn't been properly setup yet. Logging is half-implemented to basic .log file, and logger was only a partial thought while tinkering. (Only error or warn about config file existing or non-writable by owner right now.)

Quick-Use

On Linux? You can maybe try this in your CLI for the basic print-out, if you have a config file at the Linux default mentioned above. (does create a log file toweraliases.py)

curl -sSL https://git.mana.pink/rubeae/tni-alias-manager/raw/branch/main/toweraliases.py | python3 - print