KillaBilla wrote:Nice Idea, but then you must have a default tw path because the protocol will run this path.
But maybe someone can code a small connection app which will be installed in a never changed path like C:\WINDOWS\System32\ (on Windows). But this would also be hard, because there can't be an tw app without skins, maps, game.png, ect.
The only way to do this is: Making an Setup app from tw, that makes the key in the registry for the protocol, and saves the tw location in the registry.
What if teeworlds will remain without installer and:
every time the game client run, check if the reg key exists. If exists, check the path. If it's the same, nothing to do, else change the key. If the reg key doesn't exists need to create it.
(something like this also for linux and mac)
With this method, if you have one or more client downloaded, it will run the last you used.
Support Staff - ESL.eu Teeworlds Admin