diff --git a/Applications/Games/GOG Galaxy/Online/script.js b/Applications/Games/GOG Galaxy/Online/script.js new file mode 100644 index 0000000000..c85ab7fec7 --- /dev/null +++ b/Applications/Games/GOG Galaxy/Online/script.js @@ -0,0 +1,35 @@ +include(["engines", "wine", "quick_script", "online_installer_script"]); +include(["engines", "wine", "verbs", "corefonts"]); +include(["engines", "wine", "verbs", "vcrun2017"]); +include(["engines", "wine", "verbs", "xact"]); + +var installerImplementation = { + run: function () { + new OnlineInstallerScript() + .name("GOG Galaxy") + .category("Games") + .editor("GOG.com") + .applicationHomepage("https://www.gog.com/") + .author("Markus Ebner") + .url("https://content-system.gog.com/open_link/download?path=/open/galaxy/client/setup_galaxy_1.2.51.30.exe") + .checksum("faa29721de18a171561a3e4dfa243953ff98aa09") + .executable("GalaxyClient.exe") + .wineArchitecture("amd64") + .wineVersion(LATEST_STAGING_VERSION) + .wineDistribution("staging") + .preInstall(function (wine/*, wizard*/) { + wine.corefonts(); + wine.vcrun2017(); // Probably needed for self-updater + wine.xact(); // Required by a couple of games + + // GOG Galaxy doesn't properly install without a symlink between + // drive_c/ProgramData and drive_c/users/Public + remove(wine.prefixDirectory() + "/drive_c/users/Public"); + lns(wine.prefixDirectory() + "/drive_c/ProgramData", wine.prefixDirectory() + "/drive_c/users/Public"); + }) + .go(); + } +}; + +/* exported Installer */ +var Installer = Java.extend(org.phoenicis.scripts.Installer, installerImplementation); diff --git a/Applications/Games/GOG Galaxy/Online/script.json b/Applications/Games/GOG Galaxy/Online/script.json new file mode 100644 index 0000000000..10dedac3d7 --- /dev/null +++ b/Applications/Games/GOG Galaxy/Online/script.json @@ -0,0 +1,11 @@ +{ + "scriptName" : "Online", + "id" : "online", + "compatibleOperatingSystems" : [ + "MACOSX", + "LINUX" + ], + "testingOperatingSystems" : [], + "free" : true, + "requiresPatch" : false +} diff --git a/Applications/Games/GOG Galaxy/application.json b/Applications/Games/GOG Galaxy/application.json new file mode 100644 index 0000000000..01611926a7 --- /dev/null +++ b/Applications/Games/GOG Galaxy/application.json @@ -0,0 +1,5 @@ +{ + "name" : "GOG Galaxy", + "id" : "gog_galaxy", + "description" : "GOG GALAXY is a fully optional Steam-like client for GOG.com to install, play and update your games. It also offers online multiplayer, achievements, chat, game-time tracking and more - but it’s up to you which features you want to use." +} diff --git a/Applications/Games/GOG Galaxy/miniatures/main.png b/Applications/Games/GOG Galaxy/miniatures/main.png new file mode 100644 index 0000000000..5a1e238b2f Binary files /dev/null and b/Applications/Games/GOG Galaxy/miniatures/main.png differ