Launching the game without having installed it.
This is usefull if you have not installed the game files but have copied them from somewhere.
Copy paste the following code into notepad or your favourite text editor.
Code:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Alt1Games.TwelveSky1] @="\"URL:TwelveSky1 Protocol.\"" "URL Protocol"="" [HKEY_CLASSES_ROOT\Alt1Games.TwelveSky1\DefaultIcon] @="\"E:\\Games\\ALT1Games\\TwelveSky1\\Launcher.exe 1\"" [HKEY_CLASSES_ROOT\Alt1Games.TwelveSky1\shell] [HKEY_CLASSES_ROOT\Alt1Games.TwelveSky1\shell\open] [HKEY_CLASSES_ROOT\Alt1Games.TwelveSky1\shell\open\command] @="\"E:\\Games\\ALT1Games\\TwelveSky1\\Launcher.exe\" \"%1\""
Save it as a .reg file
Run it and add it to the registry.
I Have my game in E:\Games\ALT1Games\TwelveSky1 so if yours is in C:\ALT1Games\TwelveSky1 you would alter the paths to be like that but with double slashs to escape them.
Or simply change the E: to the drive letter: you want the game to run from and put the ALT1Games directory into a directory called Games.
To run the game from chrome or another browser. Or to get the launch string you can use one of the following after logging in to your account.
Copy paste into chromes console window
Code:
$.post(APPLICATION_CONTEXT + "/Launcher/auth", { timestamp : new Date().getTime() / 1000 }, function(data){ window.location = data.launcherAuthUrl; });
Code:
$.post(APPLICATION_CONTEXT + "/Launcher/auth", { timestamp : new Date().getTime() / 1000 }, function(data){ console.log(data.launcherAuthUrl); });
Good Luck