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

×
high rated
Adding games to Galaxy sidebar guide (update 27.08.15)

note, game will be added to your sidebar only, you'll be able to start the game through Galaxy but forget about tracking your playtime or downloading bonuses from GOG : )

1. Adding games available at GOG.

a) find the game on GoG and search in source for third gog-product string. Note the number as shown highlighted on attached picture 1a.jpg.

b) go to game folder and create text file with content as in Shogo example: 1b.jpg
{
"gameId" : "1207658659",
"rootGameId" : "1207658659",
"standalone" : true,
"dependencyGameId" : "",
"language" : "English",
"name" : "Shogo",
"playTasks" : [
{
"isPrimary" : true,
"type" : "FileTask",
"path" : "Shogo.exe",
"workingDir" : ""
}
]
}
and save as goggame-#.info, where # stands for gameId you found in step a

c) within Galaxy click on + sign at the top-left, choose scan and import folders and head to directory with game you want to add.

d) (optional but recommended) buy digital copy on GOG

2. Adding games not yet available at GOG.

a) create goggame-#.info file as in 1. with random gameId number in game directory. (see attached 2abd.jpg picture)
{
"gameId" : "777", //random number
"rootGameId" : "777",
"standalone" : true,
"dependencyGameId" : "",
"language" : "English",
"name" : "Return to Castle Wolfenstein", //game title
"playTasks" : [
{
"isPrimary" : true,
"type" : "FileTask",
"path" : "ioWolfSP.x86_64.exe", //path to game executable
"workingDir" : ""
},
{
"name" : "multi", //new menu entry
"type" : "FileTask",
"path" : "ioWolfMP.x86_64.exe", //and path to another executable
"workingDir" : "",
"arguments" : "" //optional command line arguments (ie. +set sv_cheats..)
},
{
"name" : "help", //another menu entry
"type" : "FileTask",
"path" : "Docs\\Help\\index.htm", //and some file to open..
"workingDir" : "Docs\\Help"
},
{
"name" : "vote for rtcw",
"type" : "URLTask",
"link" : "http://www.gog.com/wishlist/games/return_to_castle_wolfenstein"
}
]
}
b) go to %ALLUSERSPROFILE%\GOG.com\Galaxy\webcache and create folder named with number used in a)

c) paste three images in this folder, one for logo (196x110px), one for icon (128x128px) and one for background (usually 2560x670px, but can be any size)

d) create text file with content as follow:
{
"images\/background" : "background.jpg",
"images\/icon" : "icon.png",
"images\/logo" : "logo.jpg"
}
with names used for background, icon and logo and save as resources.json in this same directory

e) (optional but recommended) e-mail publisher to put the game on GOG as soon as possible : )

3. To remove game from Galaxy, rename/delete goggame-#.info file in game folder and restart Galaxy.

4. (optional but recommended) Please forgive me my english skills and fact I actually did this for no reason..

I hope I didn't break any rules nor revealed some kind of confidential data ; )

edit (28.08.15):

Currently it's not possible to set compatibility mode via .info file, although there is a workaround with batch file:
"name" : "doom compatibility mode", //menu entry
"type" : "FileTask",
"path" : "doom.bat", // path to batch file
"workingDir" : "",
"arguments" : "" // optional command line arguments
doom.bat
@set __COMPAT_LAYER=Win95 640x480 256Color // compatibility mode
doom.exe // executable
list of available modes:
Windows 95 = WIN95
Windows 98/ME = WIN98
Windows NT SP5 =NT4SP5
Windows 2000 = WIN2000
Windows XP SP2 = WINXPSP2
Windows XP SP3 = WINXPSP3
Windows Server 2003 SP1 = WINSRV03SP1
Windows Server 2008 SP1 = WINSRV08SP1
Windows Vista = VISTARTM
Windows Vista SP1 = VISTASP1
Windows Vista SP2 = VISTASP2
Windows 7 = WIN7RTM
Run in 256 colors = 256COLOR
Run in 640 x 480 screen resolution = 640X480
Disable visual themes = DISABLETHEMES
Disable desktop composition = DISABLEDWM
Disable display scaling on high DPI settings = HIGHDPIAWARE
Run this program as an administrator =RUNASADMIN
thanks Anthedon for asking about compatibility mode : )

as bonus, Quake II with berserker mod and mission packs .info file ; )
{
"gameId" : "700",
"rootGameId" : "700",
"standalone" : true,
"dependencyGameId" : "",
"language" : "English",
"name" : "Quake II",
"playTasks" : [
{
"isPrimary" : true,
"type" : "FileTask",
"path" : "Berserker.exe",
"workingDir" : ""
},
{
"name" : "Ground Zero",
"type" : "FileTask",
"path" : "Berserker.exe",
"workingDir" : "",
"arguments" : "+set game rogue +set net_compatibility 1"
},
{
"name" : "The Reckoning",
"type" : "FileTask",
"path" : "Berserker.exe",
"workingDir" : "",
"arguments" : "+set game xatrix +set net_compatibility 1"
}
]
}
Attachments:
2.jpg (392 Kb)
1a.jpg (317 Kb)
1b.jpg (27 Kb)
1c.jpg (167 Kb)
2abd.jpg (312 Kb)
Post edited August 28, 2015 by mike_cesara
I don't use Galaxy yet so it will take a while until I can test your method. Thanks anyway, Doc! +1
Hey, mike_cesara. You know what, you're awesome.
Thank you very much for kind words, I'm really glad to be of help : )
Useful tips, hopefully they add the functionality to add non-GOG games to Galaxy sometime though too.

There's an easier way to add a GOG game that is not in your Galaxy account to Galaxy though. Let's say you happen to have multiple GOG accounts, or you share a computer between multiple people who each have their own GOG account and games. Galaxy does not support multiple accounts on a shared computer yet (maybe in the future likely), but it can still recognize an installed GOG game, you just have to manually import the game and it will show up on your installed games list. This may require that you have installed the game with the most recent Galaxy-aware installers though, so if the game installer is older you might need to log onto the website with the other GOG account and re-download the latest installer in order for Galaxy to detect the game.

When you've got a GOG game installed that is not owned by the currently logged in account, Galaxy puts a blue button below where achievements would normally show which says "[Connect]". I haven't clicked on that as I didn't actually want the game showing up in my Galaxy at the time, but I think it might take you to the game's store page or something.

It would be nice though to have features for handling multiple accounts on a shared computer with the ability to either see other games installed from other accounts, or to ignore them depending on configuration.

The trick mentioned above should work though too if someone doesn't want to re-download Galaxy compatible installers for some reason. Thanks for the post.
Nice I will try whit Quake 3 or doom! :D
This is the first reason I've seen to use Galaxy that actually appeals to me. The ability to launch non-GOG games? Neat.
thank you but it didn't work for a wineskin port (on mac).
avatar
LiefLayer: thank you but it didn't work for a wineskin port (on mac).
I don't have a mac, but I think in path section should be terminal command to start wine and path to game executable as arguments. And of course saved as .goggame-###.info
{
"gameId" : "2701",
"rootGameId" : "2701",
"standalone" : true,
"dependencyGameId" : "",
"language" : "English",
"name" : "Best Game of All Time",
"playTasks" : [
{
"isPrimary" : true,
"type" : "FileTask",
"path" : "wine",
"workingDir" : ""
"arguments" : "/.wine/drive_c/Program\ Files/GAME/game.exe"
}
]
}
avatar
mike_cesara: I don't have a mac, but I think in path section should be terminal command to start wine and path to game executable as arguments. And of course saved as .goggame-###.info
Ok I'll try this with Deus ex (mac port are still made with wine...although more wineskin that pure wine)
It it possible to run an executable that's in an entirely different folder than GOG Galaxy?
I wanted to play Shantae and the Pirate's Curse in english through a Locale Emulator since it adjusts the language of the game accordingly to the systems locale, which is german in my case and and I'd like to run the emulator shortcut inside GOG Galaxy.
As far as I know, you can import any folder to Galaxy (none of my games were installed inside of the GOG Galaxy folder). Try to play around with "workingDir" & "arguments" like I did with Soltys just a few days ago for the Polish forum.
Post edited March 02, 2018 by mike_cesara
avatar
mike_cesara: Adding games to Galaxy sidebar guide (update 27.08.15)

note, game will be added to your sidebar only, you'll be able to start the game through Galaxy but forget about tracking your playtime or downloading bonuses from GOG : )

1. Adding games available at GOG.

a) find the game on GoG and search in source for third gog-product string. Note the number as shown highlighted on attached picture 1a.jpg.

b) go to game folder and create text file with content as in Shogo example: 1b.jpg

{
"gameId" : "1207658659",
"rootGameId" : "1207658659",
"standalone" : true,
"dependencyGameId" : "",
"language" : "English",
"name" : "Shogo",
"playTasks" : [
{
"isPrimary" : true,
"type" : "FileTask",
"path" : "Shogo.exe",
"workingDir" : ""
}
]
}
avatar
mike_cesara: and save as goggame-#.info, where # stands for gameId you found in step a

c) within Galaxy click on + sign at the top-left, choose scan and import folders and head to directory with game you want to add.

d) (optional but recommended) buy digital copy on GOG

2. Adding games not yet available at GOG.

a) create goggame-#.info file as in 1. with random gameId number in game directory. (see attached 2abd.jpg picture)

{
"gameId" : "777", //random number
"rootGameId" : "777",
"standalone" : true,
"dependencyGameId" : "",
"language" : "English",
"name" : "Return to Castle Wolfenstein", //game title
"playTasks" : [
{
"isPrimary" : true,
"type" : "FileTask",
"path" : "ioWolfSP.x86_64.exe", //path to game executable
"workingDir" : ""
},
{
"name" : "multi", //new menu entry
"type" : "FileTask",
"path" : "ioWolfMP.x86_64.exe", //and path to another executable
"workingDir" : "",
"arguments" : "" //optional command line arguments (ie. +set sv_cheats..)
},
{
"name" : "help", //another menu entry
"type" : "FileTask",
"path" : "Docs\\Help\\index.htm", //and some file to open..
"workingDir" : "Docs\\Help"
},
{
"name" : "vote for rtcw",
"type" : "URLTask",
"link" : "http://www.gog.com/wishlist/games/return_to_castle_wolfenstein"
}
]
}
avatar
mike_cesara: b) go to %ALLUSERSPROFILE%\GOG.com\Galaxy\webcache and create folder named with number used in a)

c) paste three images in this folder, one for logo (196x110px), one for icon (128x128px) and one for background (usually 2560x670px, but can be any size)

d) create text file with content as follow:

{
"images\/background" : "background.jpg",
"images\/icon" : "icon.png",
"images\/logo" : "logo.jpg"
}
avatar
mike_cesara: with names used for background, icon and logo and save as resources.json in this same directory

e) (optional but recommended) e-mail publisher to put the game on GOG as soon as possible : )

3. To remove game from Galaxy, rename/delete goggame-#.info file in game folder and restart Galaxy.

4. (optional but recommended) Please forgive me my english skills and fact I actually did this for no reason..

I hope I didn't break any rules nor revealed some kind of confidential data ; )

edit (28.08.15):

Currently it's not possible to set compatibility mode via .info file, although there is a workaround with batch file:

"name" : "doom compatibility mode", //menu entry
"type" : "FileTask",
"path" : "doom.bat", // path to batch file
"workingDir" : "",
"arguments" : "" // optional command line arguments
avatar
mike_cesara: doom.bat

@set __COMPAT_LAYER=Win95 640x480 256Color // compatibility mode
doom.exe // executable
avatar
mike_cesara: list of available modes:

Windows 95 = WIN95
Windows 98/ME = WIN98
Windows NT SP5 =NT4SP5
Windows 2000 = WIN2000
Windows XP SP2 = WINXPSP2
Windows XP SP3 = WINXPSP3
Windows Server 2003 SP1 = WINSRV03SP1
Windows Server 2008 SP1 = WINSRV08SP1
Windows Vista = VISTARTM
Windows Vista SP1 = VISTASP1
Windows Vista SP2 = VISTASP2
Windows 7 = WIN7RTM
Run in 256 colors = 256COLOR
Run in 640 x 480 screen resolution = 640X480
Disable visual themes = DISABLETHEMES
Disable desktop composition = DISABLEDWM
Disable display scaling on high DPI settings = HIGHDPIAWARE
Run this program as an administrator =RUNASADMIN
avatar
mike_cesara: thanks Anthedon for asking about compatibility mode : )

as bonus, Quake II with berserker mod and mission packs .info file ; )

{
"gameId" : "700",
"rootGameId" : "700",
"standalone" : true,
"dependencyGameId" : "",
"language" : "English",
"name" : "Quake II",
"playTasks" : [
{
"isPrimary" : true,
"type" : "FileTask",
"path" : "Berserker.exe",
"workingDir" : ""
},
{
"name" : "Ground Zero",
"type" : "FileTask",
"path" : "Berserker.exe",
"workingDir" : "",
"arguments" : "+set game rogue +set net_compatibility 1"
},
{
"name" : "The Reckoning",
"type" : "FileTask",
"path" : "Berserker.exe",
"workingDir" : "",
"arguments" : "+set game xatrix +set net_compatibility 1"
}
]
}
avatar
mike_cesara:
Hey Mike, I can't seem to find the gog-product string in the Firefox when I searched it. How do I know the product string then?
Note that It does not work for Galaxy 2.0 anymore.
Attachments:
avatar
erbello: Note that It does not work for Galaxy 2.0 anymore.
According to the devs Galaxy 2 will be able to integrate external games (even without a launcher). The feature is not yet implemented though.