GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - legomaster188/tyr-uploader: Uploads your Tyr replays to TYR.pages automatically. Watches the replay folder, never touches the game.

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build_exe.py
build_exe.py
 
 
tyr.ico
tyr.ico
 
 
tyr_uploader.py
tyr_uploader.py
 
 
tyr_uploader_gui.py
tyr_uploader_gui.py
 
 

Repository files navigation

TYR Uploader

Uploads your Tyr replays to TYR.pages by itself. Run it once and every match you play after that goes up on its own.

It's a separate program that watches the folder the game saves replays in (%LOCALAPPDATA%\Tyr\Saved\Demos) and posts new files to the site. Nothing gets loaded into the game and it never reads the game's memory, so as far as Tyr's concerned it isn't there.

Setup

  1. Download TyrUploader.exe from the latest release and put it somewhere it can stay. Windows starts it from wherever it is, so not a Downloads folder you clear out.
  2. Run it. Windows will warn you the first time, see below.
  3. Click Get a token, sign in with Steam on the site, press Upload token and make one. It's only shown once, so copy it.
  4. Paste it in and press Start.

That's all. Close the window and it stays in the tray, and it starts with Windows from then on.

Only matches you play from now on get sent. What's already in the folder is left alone. If you want those up too you can drop them on the site's upload page.

Is it working?

Click the tray icon, it's by the clock (Windows may have tucked it behind the little arrow). The dot at the top says On while it's watching, the line under that is the last thing that happened, and the log has a line for every file with what the site said about it.

A replay goes up about two minutes after the game finishes writing it. Green means it's in. Amber is fine too: a custom game or a match that ended early is a good file the site doesn't collect. Red means something went wrong and the line says what.

If the site can't be reached it keeps trying at a slower pace until it can, and nothing's lost unless the game overwrites the file first. If your token gets refused it stops and tells you, and new replays wait until you paste a new one.

Turning it off

Press Turn off in the window, or right click the tray icon. That stops it and takes it out of the Windows startup list, and it stays off until you press Start again.

To remove it completely, turn it off, delete the exe and delete %APPDATA%\tyr-uploader.

The Windows warning

The exe isn't code signed, a certificate costs real money every year and this is a free tool. So Windows complains the first time:

  • Chrome or Edge may say the file isn't commonly downloaded. Pick Keep from the download's menu.
  • SmartScreen shows a blue "Windows protected your PC" box. Click More info and then Run anyway.

If it asks again every time it starts, right click the exe, open Properties and tick Unblock.

Don't turn Defender or SmartScreen off for this, and don't add an exclusion. If you've got Smart App Control on it'll refuse the exe outright and there's no way round that for one app. Running from source works either way, it's the same program and you can read it first.

The token

A token can upload replays and list your own uploads, that's all. It can't touch your settings, and it belongs to one Steam account. The site only keeps a hash of it. If it leaks, delete it on the site and it's dead.

What it keeps

All in %APPDATA%\tyr-uploader:

  • config.ini has your token and settings.
  • uploaded.json is what it's already dealt with.
  • uploader.log is the log, handy if you need to report something.

It also adds one entry to the Windows startup list, the same one you see in Task Manager under Startup apps.

From source

python tyr_uploader_gui.py              the window and tray icon
python tyr_uploader.py --token TOKEN    no window, prints to the console

Python 3.8 or newer and nothing to install. tyr_uploader.py decides everything and tyr_uploader_gui.py is the window. The only things that touch the network are upload() and check_token(), and what goes up is the .replay file and your token.

To build the exe yourself:

pip install pyinstaller
python build_exe.py

It comes out at dist/TyrUploader.exe, about 11 MB because it's a whole Python.

Licence

MIT, see LICENSE.

About

Uploads your Tyr replays to TYR.pages automatically. Watches the replay folder, never touches the game.

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.