It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Hi there

This works on Elementary OS 5.1 (64 bits) (based on Ubuntu 18.4 LTS)

Right click on the game.sh > properties > permissions > make it executable > close
Right click on the game.sh > execute

Or

- Launch the Terminal
- sh (drag and drop the game.sh here) (do not use sudo here !)
- You will encounter GTK errors lines about some theme, but ignore them

The graphical user interface should pop up, do not uncheck the game's shortcut box.

That's all accually ;)
***********************************************************************************************

But if you got permission issues :

- A gog games folder is now in your home but you can't see what is inside because you don't have permission. (stop sign)

- Type in the terminal :

sudo chown -R yourlogin (drag and drop the gog games forlder) (/home/login/GOG Games)

- Drag and drop the shortcut into the gog games folder
sudo chown -R yourlogin (drag and drop the gog games forlder)
or up arrow into the terminal

So now you have permission ont the folder's game and the shortcut

You only need to copy this shortcut to /usr/share/applications/

sudo cp (drag and drop the game's shortcut) (drag and drop /usr/share/applications/)

reboot

Now the game is avaliable in the application menu under the games section.
Post edited March 04, 2020 by fury_jin
I'm glad that works for you but running the gog installer script as root is very likely to come back to bite you at some point.
avatar
mcphail: I'm glad that works for you but running the gog installer script as root is very likely to come back to bite you at some point.
yeah you're right, it is much better to not use sudo here.

Thanks
avatar
fury_jin: This works on Elementary OS 5.1 (64 bits) (based on Ubuntu 18.4 LTS)
As a Debian derivative, elementary OS might benefit from ./play.it for well integrated game installations.

If you give it a try your feedback would be most welcome, as I don’t think we have already heard from elementary OS users yet.
What is this all about?

Why terminal, root, sudo? Does simple "doubleclicking" not work for "*.sh" installers on "Elementary OS" for some reason?
I have always thought the installation process was quite simple (the most frustrating part could probably be "permission to execute" absent on a freshly downloaded installer, but that can be fixed in a GUI).

And yes, using root login to install games is not wise.
As Alm888 said, the SH files that GOG uses are just mojo installers; so if you've got a competent file manager and make them executable, there's no need to drop into the terminal.
avatar
Darvond: As Alm888 said, the SH files that GOG uses are just mojo installers; so if you've got a competent file manager and make them executable, there's no need to drop into the terminal.
Yeah, with Elementary OS you can't just double click on the .sh file.

You need to make it executable in the GUI and right click then execute.

I know now, it is working way better without the sudo. (permission issue, and shortcut solved)
Post edited March 04, 2020 by fury_jin
I never understood why linux needs so many distros , nearly all of them have different problems :(
avatar
fury_jin: This works on Elementary OS 5.1 (64 bits) (based on Ubuntu 18.4 LTS)
avatar
vv221: As a Debian derivative, elementary OS might benefit from ./play.it for well integrated game installations.

If you give it a try your feedback would be most welcome, as I don’t think we have already heard from elementary OS users yet.
I tried to install tiny bang story, using this page:

https://wiki.dotslashplay.it/fr/games/tiny-bang-story

but got this error :
Error :
innoextract (>= 1.7) is not found. install innoextract (>= 1.7) before launching the script.

The line : "apt-get install fakeroot icoutils imagemagick innoextract" give me this:

fakeroot is already the newest version (1.22-2ubuntu1).
icoutils is already the newest version (0.32.3-1).
innoextract is already the newest version (1.6-1build3).
imagemagick is already the newest version (8:6.9.7.4+dfsg-16ubuntu6.8).

I tried something here:
https://constexpr.org/innoextract/
But i think elemntary OS is stuck with Innoextract 1.6... (ubuntu18.04)
avatar
Orkhepaj: I never understood why linux needs so many distros , nearly all of them have different problems :(
Because Linux isn't an operating system, it's a kernel - a base part of operating systems. Many people and companies have their own idea of how the operating system should behave and what defaults it should have, so they build an operating system (or distro) according to their preferences from a bunch of parts that others (and sometimes they themselves themselves) have built.
Post edited March 04, 2020 by Maighstir
Have you asked Watson?
avatar
fury_jin: But i think elemntary OS is stuck with Innoextract 1.6... (ubuntu18.04)
You can easily install innoextract 1.8 on Ubuntu 18.04 by using this PPA. I guess it should work the same for derivatives of Ubuntu like Elementary OS.
avatar
Orkhepaj: I never understood why linux needs so many distros , nearly all of them have different problems :(
Yeah, that sucks. :(
And I never understood how Windows is always the same for everybody, yet Windows users have different problems. :D
avatar
fury_jin: I tried to install tiny bang story, using this page:

https://wiki.dotslashplay.it/fr/games/tiny-bang-story

but got this error :
Error :
innoextract (>= 1.7) is not found. install innoextract (>= 1.7) before launching the script.

This is probably not what you need. For Linux you probably should never deal with innoextract at all, as InnoSetup™ is used only for Windows installers, hence, the script is trying to shove you a Windows version instead of Linux one.

Innoextract might come in handy if you have a Windows-exclusive game on GOG (e.g. some freeware games here are such).
avatar
fury_jin: But i think elemntary OS is stuck with Innoextract 1.6... (ubuntu18.04)
avatar
vv221: You can easily install innoextract 1.8 on Ubuntu 18.04 by using this PPA. I guess it should work the same for derivatives of Ubuntu like Elementary OS.
I have to use this command in order to make it work:

sudo apt install software-properties-common
>
sudo add-apt-repository ppa:arx/release
>
sudo apt-get install innoextract


But : wine: '/home/elem/.local/share/play.it/prefixes/the-tiny-bang-story' is a 32-bit installation, it cannot support 64-bit applications.
:-(
avatar
fury_jin: (…)
I copied your issue there, feel free to join me in this thread if you would like to help in understanding what is not working as expected with Elementary OS + WINE.