GithubHelp home page GithubHelp logo

borger / scoop-galaxy-integrations Goto Github PK

View Code? Open in Web Editor NEW
161.0 9.0 3.0 205 KB

Provides an easy way to install, attach and update the GOG Galaxy 2 Integrations

PowerShell 100.00%
galaxy-integrations scoop scoop-bucket gog-galaxy steam origin uplay epic

scoop-galaxy-integrations's Introduction

Tests Excavator Repo size

GOG Galaxy 2 Integrations Scoop Bucket

There's no easy way to keep track of all existing galaxy integrations out there and keep them up-to-date. Scoop helps you get the programs you need, with a minimal amount of point-and-clicking. It's highly scalable and easily customized. It's almost like a package manager our *NIX friends know and love. It makes it easy to download, install, update and uninstall apps on your computer, as easy as scoop install <app-name>, cool right? I've always struggled to get my galaxy integrations in the latest version, there's just so many!

Integrations Available in this Bucket

The list below contains only the integrations available in this scoop which were selected based on the GOG Galaxy's available platforms, if you are looking for more integrations to be manually installed or to be added to this bucket, check the full list at awesome-gog-galaxy.

Integration Platform Manifest Name
Friends of Galaxy
Bethesda.net galaxy-bethesda
Blizzard (Battle.net) galaxy-battlenet
Epic Games Store galaxy-epic
Guild Wars 2 galaxy-gw2
Humble Bundle galaxy-humble
Minecraft galaxy-minecraft
Origin galaxy-origin
Paradox galaxy-paradox
Path of Exile galaxy-pathofexile
PSN galaxy-psn
Rockstar galaxy-rockstar
Steam galaxy-steam
Uplay galaxy-uplay
Wargaming galaxy-wargaming
Community, Stores
Amazon galaxy-amazon
Discord galaxy-discord
Riot galaxy-riot
Community, Games
Final Fantasy XIV galaxy-ffxiv
Community, Emulators
Nintendo 3DS (Citra) galaxy-3ds-citra
Nintendo 64 (RetroArch) galaxy-n64
Nintendo DS (RetroArch, DeSmuME) galaxy-nds
Nintendo GameCube (RetroArch, Dolphin) galaxy-ncube
Nintendo Wii (RetroArch, Dolphin) galaxy-nwii
Nintendo Wii U (Cemu) galaxy-nwiiu-cemu
Playstation 2 (PCSX2) galaxy-ps2

Installation

Installing Scoop

Make sure PowerShell 5 (or later, include PowerShell Core) and .NET Framework 4.5 (or later) are installed. Then run:

Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')

# or shorter
iwr -useb get.scoop.sh | iex

Scoop will be installed by default on your user's home folder, likely on C:\Users\<username>\scoop\.

Installing Galaxy Integrations Scoop Bucket

To make it easy to install apps from this bucket, with scoop installed, run

scoop bucket add galaxy-integrations https://github.com/borger/scoop-galaxy-integrations.git

The bucket will be installed on C:\Users\<username>\scoop\buckets\galaxy-integrations\.

To find which apps are available to install (from all installed buckets), run

scoop search

Installing Galaxy Integrations from the Scoop Bucket

With the galaxy integrations scoop bucket installed and GOG Galaxy closed, run

scoop install <manifest-name>
# examples:
scoop install galaxy-steam
scoop install galaxy-uplay

The integrations will be installed on C:\Users\<username>\scoop\apps\<manifest-name>\current.

Notes on the Install Path

The integrations are installed in the scoop folder, to make it visible to GOG Galaxy, scoop will automatically create a Symbolic Link for you. It does require Administrator privilege, so if you're not already on an Administrator PowerShell session, scoop will ask you to elevate your permission via a Windows User Account Control pop-up. You can, however, opt to do it manually. To do so, make sure GOG Galaxy is closed, open a command prompt as Administrator and run

mklink /D "%localappdata%\GOG.com\Galaxy\plugins\installed\<manifest-name>" "%homepath%\scoop\apps\<manifest-name>\current\integration"

Make sure to change <manifest-name> with the actual names.

Updates

Updating Scoop

To update scoop itself, run

scoop update

Updating Galaxy Integrations from the Scoop Bucket

To update all the apps installed on your computer via Scoop, run

scoop update *

To update a specific galaxy integration via scoop, run

scoop update <manifest-name>
# examples:
scoop update galaxy-steam
scoop update galaxy-uplay

Automating Updates

If you're like me and don't want to remember commands, or even to update, you can very simply create a PowerShell script and perhaps even add it to Windows Task Scheduler, to run daily or in your preferred schedule. The script contents would just be:

scoop update
scoop update *

This bucket is immediately updated once the included integrations get a newer version.

Alternatives

  • gog-galaxy-plugin-downloader by Slashbunny: If you don't want to use scoop to install/update your galaxy integrations, you can use this alternative method which has a compiled Windows Binary (.exe) to take care of your setup. It's based on python and if you want you can extend it easily to your liking.

Need Emulators?

I've also created a scoop bucket for emulators, visit https://github.com/borger/scoop-emulators for more details.

Contributing

Thank you for considering contributing to the Galaxy Integrations Scoop Bucket! You may propose new features or improvements of existing bucket behavior in the GitHub issue board. If you propose a new feature, please be willing to implement at least some of the code that would be needed to complete the feature.

Credits

scoop-galaxy-integrations's People

Contributors

borger avatar deide avatar github-actions[bot] avatar janpokorny avatar urwrstkn8mare avatar whyjxz14 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scoop-galaxy-integrations's Issues

Amazon Gaming (replaces Twitch)

Twitch for Windows 10 no longer supports installing games.
There is an Amazon Plugin on awesome-gog which works fine that could be added

Create a Symbolic Link by scoop

use these properties:
"depends": "sudo", :run as administrator
post_install: A one-line string, or array of strings, of the commands to be executed after an application is installed.Or installer and uninstaller

Add Gog Galaxy client itself to this bucket

Hey, was wondering if adding the galaxy client itself to this bucket would be feasible. I could not find it in any other bucket.

I think it'd be a bit ironic if you'd need to install gog galaxy via an .exe-file.

symlink script failing

This installer can also attach the newly installed integration folder to GOG Galaxy.
If you choose to do so, you will need to Administrator permission (you'll be asked to approve.)
Would you like to attach this integration folder to GOG Galaxy programmatically? [Y/N]: y
Get-Item : Cannot find path 'C:\Users\conno\AppData\Local\GOG.com\Galaxy\plugins\installed\bethesda' because it does
not exist.
At line:51 char:11

  • if ($(Get-Item $path | Select-Object -ExpandProperty Target) -eq  ...
    
  •       ~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (C:\Users\conno...talled\bethesda:String) [Get-Item], ItemNotFoundExcep
      tion
    • FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemCommand

Oops! Something's not right. The System.Collections.Specialized.OrderedDictionary integration was installed, but the symlink was not possible.

Getting this error when installing any of the plugins through scoop, any idea why?

FriendsOfGalaxy no longer operational, link directly to upstream contribs instead

This repo references https://github.com/Mixaill/awesome-gog-galaxy for the list of repos available; it should be noted that in the majority of cases, that "official" list links to the original developer's plugin repo, not the FriendsOfGalaxy fork.

This is relevant because FriendsOfGalaxy has been inactive and plugins have gone unmaintained for over four months now. This has broken a number of plugins due to not pulling from the original developer's repo as they were regularly doing prior to January of this year. (For reference, please see: gogcom/galaxy-integrations-python-api#194)

Recommending that the scoop bucket point to the original upstream developers that FoG forks from, rather than the FoG fork, to match what Mixaill/awesome-gog-galaxy is doing -- which will also fix the broken plugin issues with a number of repos. (If this is already the case, then the bug request can be considered to refer to the editing of README.md to reflect the link change, as it presents only the FriendsOfGalaxy forks under the "Integrations Available in this Bucket" list.)

galaxy-uplay@5eb6810: hash check failed

WARN Purging previous failed installation of galaxy-uplay.
ERROR 'galaxy-uplay' isn't installed correctly.
Removing older version (5eb6810).
'galaxy-uplay' was uninstalled.
Installing 'galaxy-uplay' (5eb6810) [64bit] from galaxy-integrations bucket
uplay_win_afb5a69c-b2ee-4d58-b916-f4cd75d4999a.zip (3,2 MB) [=================================================] 100%
Checking hash of uplay_win_afb5a69c-b2ee-4d58-b916-f4cd75d4999a.zip ... ERROR Hash check failed!
App: galaxy-integrations/galaxy-uplay
URL: https://github.com/GOG-Nebula/galaxy-integration-uplay/releases/download/early_release_0.55.5.1/uplay_win_afb5a69c-b2ee-4d58-b916-f4cd75d4999a.zip
First bytes: 50 4B 03 04 14 00 00 00
Expected: 47a93a20241ec9e9b97b0a7fcc0e8068d60ee9ed2a16de916b80384f3ba514e1
Actual: e6362512345a9b60199c31747eaef609790d820f9ba63abaf03ea3a119ff78de

adding galaxy-integrations bucket fails

Adding the galaxy-integrations bucket fails on my PC with the following error message.

PS C:\Users\Rob> scoop bucket add galaxy-integrations https://github.com/borger/scoop-galaxy-integrations.git
Checking repo... ok
fatal: Invalid path '/cygdrive/c/Users/Rob/C:\Users\Rob\scoop\buckets\galaxy-integrations': No such file or directory
The galaxy-integrations bucket was added successfully.
PS C:\Users\Rob>

[email protected]: hash check failed

I'm not entire sure what happened but I am unable to update. It just fails out of verifying hash.

PS C:\WINDOWS\system32> scoop update *
galaxy-rockstar: 0.3.1 -> 0.3.3
Updating one outdated app:
Updating 'galaxy-rockstar' (0.3.1 -> 0.3.3)
Downloading new version
windows.zip (1.4 MB) [========================================================================================] 100%
Checking hash of windows.zip ... ERROR Hash check failed!
App: galaxy-integrations/galaxy-rockstar
URL: https://github.com/FriendsOfGalaxy/galaxy-integration-rockstar/releases/download/0.3.3/windows.zip
First bytes: 50 4B 03 04 14 00 00 00
Expected: e5bfe47881dedd56f0fdac4e052b39944d6ebb350e0220134cf213274200cb47
Actual: eafb176350b8e90141ffc6bca3222311981c1074a5d515f7321f551a1744ba18

If there is a way to get around this on my end rather than to wait until it's corrected that would be great.

GOG Galaxy 2.0 now automatically updates "Community integrations - popular" integrations

GOG Galaxy 2.0 now seems to automatically download new versions of the "Community integrations - popular" integrations to the C:\Users\<username>\AppData\Local\GOG.com\Galaxy\plugins\installed folder. In the process, it automatically removes the symlink created by this bucket, breaking the scoop update.

As such, I propose removing the "Community integrations - popular" integrations from this bucket -- i.e. galaxy-epic, galaxy-origin, galaxy-psn, galaxy-steam and galaxy-uplay. They are not needed here as GOG Galaxy itself now manages their updates.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.