{"action":"created","issue":{"url":"https://api.github.com/repos/Mpstark/BattleTechModLoader/issues/19","repository_url":"https://api.github.com/repos/Mpstark/BattleTechModLoader","labels_url":"https://api.github.com/repos/Mpstark/BattleTechModLoader/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/Mpstark/BattleTechModLoader/issues/19/comments","events_url":"https://api.github.com/repos/Mpstark/BattleTechModLoader/issues/19/events","html_url":"https://github.com/Mpstark/BattleTechModLoader/issues/19","id":327187841,"node_id":"MDU6SXNzdWUzMjcxODc4NDE=","number":19,"title":"GOG patch 1.03-1.04 fails - error writing to Assembly-CSharp.dll","user":{"login":"adamanden","id":39722341,"node_id":"MDQ6VXNlcjM5NzIyMzQx","avatar_url":"https://avatars0.githubusercontent.com/u/39722341?v=4","gravatar_id":"","url":"https://api.github.com/users/adamanden","html_url":"https://github.com/adamanden","followers_url":"https://api.github.com/users/adamanden/followers","following_url":"https://api.github.com/users/adamanden/following{/other_user}","gists_url":"https://api.github.com/users/adamanden/gists{/gist_id}","starred_url":"https://api.github.com/users/adamanden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamanden/subscriptions","organizations_url":"https://api.github.com/users/adamanden/orgs","repos_url":"https://api.github.com/users/adamanden/repos","events_url":"https://api.github.com/users/adamanden/events{/privacy}","received_events_url":"https://api.github.com/users/adamanden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-29T06:41:48Z","updated_at":"2018-05-31T04:01:17Z","closed_at":null,"author_association":"NONE","body":"As the title says, the GOG patch returned an error during the patching process. \r\n\r\nThe log reports :\r\nError modifying:    C:\\InstalledGames\\BATTLETECH\\BattleTech_Data\\Managed\\Assembly-CSharp.dll\r\n\r\nI had a backup of Assembly-CSharp.dll prior to BTML injection. Upon restoring this and running the patcher again, I get a bunch of errors in the log (essentially everything except Assembly-CSharp.dll is throwing an error)\r\n\r\nIt seems that the GOG patcher does not roll back in case of an error during the patching process, resulting in a mix of patched and unpatched files. I understand that this is an issue with the GOG patcher (since apparently Steam just overwrites the pertinent files regardless if they have been modified or not) and not BTML itself. However, to avoid this issue in the future perhaps it would be good to include a warning or some instructions to backup Assembly-CSharp.dll prior to BTML injection, then to restore this backup prior to patching a new version of the game in the case of a GOG-based install."},"comment":{"url":"https://api.github.com/repos/Mpstark/BattleTechModLoader/issues/comments/393394570","html_url":"https://github.com/Mpstark/BattleTechModLoader/issues/19#issuecomment-393394570","issue_url":"https://api.github.com/repos/Mpstark/BattleTechModLoader/issues/19","id":393394570,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzM5NDU3MA==","user":{"login":"jerichodrumm","id":39786992,"node_id":"MDQ6VXNlcjM5Nzg2OTky","avatar_url":"https://avatars0.githubusercontent.com/u/39786992?v=4","gravatar_id":"","url":"https://api.github.com/users/jerichodrumm","html_url":"https://github.com/jerichodrumm","followers_url":"https://api.github.com/users/jerichodrumm/followers","following_url":"https://api.github.com/users/jerichodrumm/following{/other_user}","gists_url":"https://api.github.com/users/jerichodrumm/gists{/gist_id}","starred_url":"https://api.github.com/users/jerichodrumm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerichodrumm/subscriptions","organizations_url":"https://api.github.com/users/jerichodrumm/orgs","repos_url":"https://api.github.com/users/jerichodrumm/repos","events_url":"https://api.github.com/users/jerichodrumm/events{/privacy}","received_events_url":"https://api.github.com/users/jerichodrumm/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T04:01:17Z","updated_at":"2018-05-31T04:01:17Z","author_association":"NONE","body":"Tried this today 4/31/18\r\n\\Managed\\Assembly-CSharp.dll was created.  No errors.  However entering the game itself \"/W MODTEK\"  not displayed.   Double checked each mech in skirmish. NO changes loaded from MOD.  \"JK-Variants\"\r\nNothing seen of \"UnseenMechs_UsingExistingModels\" either.  \r\nHope this helps in someway \r\n  "}}
{"actor":{"display_login":"jerichodrumm"}}