{"action":"created","issue":{"url":"https://api.github.com/repos/Bosek/pluginloader/issues/4","repository_url":"https://api.github.com/repos/Bosek/pluginloader","labels_url":"https://api.github.com/repos/Bosek/pluginloader/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Bosek/pluginloader/issues/4/comments","events_url":"https://api.github.com/repos/Bosek/pluginloader/issues/4/events","html_url":"https://github.com/Bosek/pluginloader/issues/4","id":193360767,"number":4,"title":"Patcher or launcher?","user":{"login":"Bosek","id":6001235,"avatar_url":"https://avatars.githubusercontent.com/u/6001235?v=3","gravatar_id":"","url":"https://api.github.com/users/Bosek","html_url":"https://github.com/Bosek","followers_url":"https://api.github.com/users/Bosek/followers","following_url":"https://api.github.com/users/Bosek/following{/other_user}","gists_url":"https://api.github.com/users/Bosek/gists{/gist_id}","starred_url":"https://api.github.com/users/Bosek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bosek/subscriptions","organizations_url":"https://api.github.com/users/Bosek/orgs","repos_url":"https://api.github.com/users/Bosek/repos","events_url":"https://api.github.com/users/Bosek/events{/privacy}","received_events_url":"https://api.github.com/users/Bosek/received_events","type":"User","site_admin":false},"labels":[{"id":387523941,"url":"https://api.github.com/repos/Bosek/pluginloader/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-12-04T16:45:27Z","updated_at":"2016-12-06T12:46:49Z","closed_at":null,"body":"It should be possible to create launcher-based PL, instead of patcher-based. But what is the best way?\r\n\r\nLauncher would be a bit more user-friendly and probably easier to maintain, since we wouldn't have to write PatcherGUI wizard. On the other hand it needs some redesign in order to work.\r\n\r\nPatcher might be problematic, because users have to patch everytime game updates. Plus we have to develop PatcherGUI. (it also needs some more work, but not that much as launcher mechanism)\r\n\r\nMy personal opinion is, that Launcher is a bit more elegant. Rework just would take some time I could spend on enhancing API and polishing code. Also, it's better to do rework sooner than later, so we don't break potential mods in future."},"comment":{"url":"https://api.github.com/repos/Bosek/pluginloader/issues/comments/265141459","html_url":"https://github.com/Bosek/pluginloader/issues/4#issuecomment-265141459","issue_url":"https://api.github.com/repos/Bosek/pluginloader/issues/4","id":265141459,"user":{"login":"Bosek","id":6001235,"avatar_url":"https://avatars.githubusercontent.com/u/6001235?v=3","gravatar_id":"","url":"https://api.github.com/users/Bosek","html_url":"https://github.com/Bosek","followers_url":"https://api.github.com/users/Bosek/followers","following_url":"https://api.github.com/users/Bosek/following{/other_user}","gists_url":"https://api.github.com/users/Bosek/gists{/gist_id}","starred_url":"https://api.github.com/users/Bosek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bosek/subscriptions","organizations_url":"https://api.github.com/users/Bosek/orgs","repos_url":"https://api.github.com/users/Bosek/repos","events_url":"https://api.github.com/users/Bosek/events{/privacy}","received_events_url":"https://api.github.com/users/Bosek/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T12:46:49Z","updated_at":"2016-12-06T12:46:49Z","body":"PL doesn't need to overwrite any files 😈 \r\n\r\nLauncher will create `patchedIR.exe` upon every launch. This file can be used for PL developing(since you need patched executable) or directly running IR with PL.\r\n\r\nBasically it will work similarly as patcher did, it's no-go because of how assemblies are handled in .NET. Running with launcher just guarantees always patched executable because it regenerates patchedIR.exe and runs it directly. It's a bit quicker however, because launcher wouldn't need to extract all additional files like IPY libs and dlls.\r\n\r\nAt the end we will technically provide both options - patcher and launcher.\r\n\r\n> Also, the \"Ask for game path\" step could theoretically get the game installation path by looking in the registry. --> \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam App 363360\"\r\n\r\nGood hint. I'll definitelly look into it :)"}}
{"actor":{"display_login":"Bosek"}}