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

×
I ought to ask, but I'm sort of interested in /.play.it. I have the Humble Bundle copy of Pier Solar, a game mentioned above (but you mentioned it for GOG). I wonder if I can try it out with it?

And, I didn't understand the OP enough, so what's the point of ./play.it? Is it allow easy integration of the games on platforms where gog_xyz.sh installers aren't supported by default?
avatar
PookaMustard: I ought to ask, but I'm sort of interested in /.play.it. I have the Humble Bundle copy of Pier Solar, a game mentioned above (but you mentioned it for GOG). I wonder if I can try it out with it?
If you want, I can help you to adapt the script to work with the Humble installer. Just send me a message via GOG chat if you’re interested to give it a try ;-)

avatar
PookaMustard: And, I didn't understand the OP enough, so what's the point of ./play.it? Is it allow easy integration of the games on platforms where gog_xyz.sh installers aren't supported by default?
For Linux games sold on GOG, ./play.it scripts provide a better integration, mainly a system-wide installation and menu entries, and an integration with your package manager. For games using DOSBox, ScummVM or WINE, it will use your system-provided version instead of the one bundled in the installer.
For Windows games, it will do the same ;-) That way you will avoid all the data extracting and WINE/DOSBox fiddling and get something that "just works" without spending half a day on it.
high rated
Hey, ./play.it seems to be back at full speed ;-)
This is mostly thanks to the work of a fresh new contributor, Mopi, who wrote the scripts for all the following new games but Undertale:
Undertale (GOG)
MouseCraft (GOG)
Darwinia (GOG)
Day of the Tentacle Remastered (GOG)
Multiwinia (GOG)
Regency Solitaire (Humble)
Softporn Adventure (GOG)
Retro City Rampage (Humble)

As usual, some other scripts got some tweaks (more akin to full rewrite this time):
Heroes of Might and Magic 3
World of Goo
Post edited August 28, 2016 by vv221
As much as I love using these scripts I have a question, will this be integrated to Arch as well? I've just recently switched to Antergos from Linux Mint.
avatar
Spy_Gentleman: (…)
Amadren is already working on this:
https://github.com/Amadren/play.it

Due to the amount of work needed to have the whole library compatible, I guess he would welcome any help in his porting efforts ;-)
Due to a bug that removed nearly all games from ./play.it GOGMix, I decided to delete it. It was quite a pain to keep up-to-date anyway…

Jump here instead if you want to see the list of all supported games:
http://wiki.dotslashplay.it/en/start
Howdy, here comes a new bunch of ./play.it updates!

Let’s start with new supported games, once again nearly every one of them courtesy of Mopi (the only one I did myself is the one for Master of orion 2):
Edna & Harvey: Harvey’s New Eyes (GOG)
Fez (Humble)
I Have No Mouth And I Must Scream (GOG)
Limbo (Humble)
Little Big Adventure (GOG)
Master of Orion 2 (GOG)
Never Alone (Humble)
Octodad Dadliest Catch (Humble)
Sam & Max Hit the Road (GOG)
The Swapper (Humble)

Some other scripts got an update to work with new installers:
Baldur’s Gate Enhanced Edition (GOG)
gog_baldur_s_gate_enhanced_edition_2.5.0.7.sh
Baldur’s Gate 2 Enhanced Edition (GOG)
gog_baldur_s_gate_2_enhanced_edition_2.6.0.10.sh
Don’t Starve (GOG)
gog_don_t_starve_2.4.0.6.sh
Sunless Sea (Humble)
Sunless_Sea-StandAlone-Linux-2016-03-29.sh

And some scripts got minor tweaks & fixes:
Heroes of Might & Magic 4 (GOG)
Race the Sun (GOG & Humble)
Trine (GOG)
Post edited September 18, 2016 by vv221
Nice! Thank you for your work.

Do you ever have problem with game files that need to be written by the user? Or is this not an issue?
avatar
Gede: Do you ever have problem with game files that need to be written by the user? Or is this not an issue?
I work around this by copying only the files the user need write access to under a user-writable directory.
It took me a while to work out a way to do this efficiently, but now it is a fully automated process. You just need to give the list of these files to the script and a couple functions I wrote take care of everything.
avatar
vv221: I work around this by copying only the files the user need write access to under a user-writable directory.
How do the games know where to look for such files in the user-writable directory instead of looking for them in the "regular" protected directory? I can only think of convoluted methods.
avatar
Gede: How do the games know where to look for such files in the user-writable directory instead of looking for them in the "regular" protected directory? I can only think of convoluted methods.
I use what I call "links farms", here goes an example with Heroes of Might and Magic 4 ('/home/dave/…' is user-writable, '/usr/local/…' is not):
heroes-of-might-and-magic-4/
├── binkw32.dll -> /usr/local/share/games/heroes-of-might-and-magic-4/binkw32.dll
├── campaign_editor.exe -> /usr/local/share/games/heroes-of-might-and-magic-4/campaign_editor.exe
├── data
│   ├── binkw32.dll -> /usr/local/share/games/heroes-of-might-and-magic-4/data/binkw32.dll
│   ├── current.aop -> /usr/local/share/games/heroes-of-might-and-magic-4/data/current.aop
│   ├── default.aop -> /usr/local/share/games/heroes-of-might-and-magic-4/data/default.aop
│   ├── default.pbg -> /usr/local/share/games/heroes-of-might-and-magic-4/data/default.pbg
│   ├── heroes4.h4r -> /usr/local/share/games/heroes-of-might-and-magic-4/data/heroes4.h4r
│   ├── high_scores.dat -> /home/dave/.local/share/games/heroes-of-might-and-magic-4/./data/high_scores.dat
│   ├── movies.h4r -> /usr/local/share/games/heroes-of-might-and-magic-4/data/movies.h4r
│   ├── mp3dec.asi -> /usr/local/share/games/heroes-of-might-and-magic-4/data/mp3dec.asi
│   ├── mss32.dll -> /usr/local/share/games/heroes-of-might-and-magic-4/data/mss32.dll
│   ├── music.h4r -> /usr/local/share/games/heroes-of-might-and-magic-4/data/music.h4r
│   ├── storm.aop -> /usr/local/share/games/heroes-of-might-and-magic-4/data/storm.aop
│   ├── storm.h4r -> /usr/local/share/games/heroes-of-might-and-magic-4/data/storm.h4r
│   ├── storm_override.h4r -> /usr/local/share/games/heroes-of-might-and-magic-4/data/storm_override.h4r
│   ├── text.h4r -> /usr/local/share/games/heroes-of-might-and-magic-4/data/text.h4r
│   ├── updates.h4r -> /usr/local/share/games/heroes-of-might-and-magic-4/data/updates.h4r
│   ├── winds.aop -> /usr/local/share/games/heroes-of-might-and-magic-4/data/winds.aop
│   ├── x2.h4r -> /usr/local/share/games/heroes-of-might-and-magic-4/data/x2.h4r
│   └── x2_override.h4r -> /usr/local/share/games/heroes-of-might-and-magic-4/data/x2_override.h4r
├── drvmgt.dll -> /usr/local/share/games/heroes-of-might-and-magic-4/drvmgt.dll
├── games -> /home/dave/.local/share/games/heroes-of-might-and-magic-4/./games
├── heroes4.exe -> /usr/local/share/games/heroes-of-might-and-magic-4/heroes4.exe
├── maps -> /home/dave/.local/share/games/heroes-of-might-and-magic-4/./maps
├── mp3dec.asi -> /usr/local/share/games/heroes-of-might-and-magic-4/mp3dec.asi
└── mss32.dll -> /usr/local/share/games/heroes-of-might-and-magic-4/mss32.dll
avatar
Gede: How do the games know where to look for such files in the user-writable directory instead of looking for them in the "regular" protected directory? I can only think of convoluted methods.
avatar
vv221: I use what I call "links farms", here goes an example with Heroes of Might and Magic 4 ('/home/dave/…' is user-writable, '/usr/local/…' is not):
I see. This group of symbolic links is created on the $HOME of the user? And this happens when they invoke some script to install said game for them?
avatar
Gede: This group of symbolic links is created on the $HOME of the user? And this happens when they invoke some script to install said game for them?
These links are created when the game is launched for the first time, and go in a directory under $HOME/.local/share

for native games: ~/.local/share/games/the-game-name/ (yeah, some native games need this kind of work-around, and some game developers should find a new job)
for WINE games: ~/.local/share/wine/prefixes/the-game-name/drive_c/the-game-name/
for DOSBox games: ~/.local/share/dobox/prefixes/the-game-name/

Some future version of ./play.it scripts will bring all prefixes (that's how I usually call the links farms) together under ~/.local/share/play.it/prefixes/
Post edited September 21, 2016 by vv221
avatar
Gede: This group of symbolic links is created on the $HOME of the user? And this happens when they invoke some script to install said game for them?
avatar
vv221: These links are created when the game is launched for the first time, and go in a directory under $HOME/.local/share

for native games: ~/.local/share/games/the-game-name/ (yeah, some native games need this kind of work-around, and some game developers should find a new job)
for WINE games: ~/.local/share/wine/prefixes/the-game-name/drive_c/the-game-name/
for DOSBox games: ~/.local/share/dobox/prefixes/the-game-name/

Some future version of ./play.it scripts will bring all prefixes (that's how I usually call the links farms) together under ~/.local/share/play.it/prefixes/
If I am understanding it correctly, you place a script with the name of the game on the $PATH, and it ensures you have the right "prefixes" set-up before launching the game. If that is the case, then I could uninstall the game, play something else, reinstall the game again and continue where I left off. Or share the installation of the game with another user of the system, each with their own independent game state.
avatar
Gede: I could uninstall the game, play something else, reinstall the game again and continue where I left off. Or share the installation of the game with another user of the system, each with their own independent game state.
You nailed it ;-)