Posted May 12, 2015
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
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)
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:
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:
as bonus, Quake II with berserker mod and mission packs .info file ; )
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 "gameId" : "1207658659",
"rootGameId" : "1207658659",
"standalone" : true,
"dependencyGameId" : "",
"language" : "English",
"name" : "Shogo",
"playTasks" : [
{
"isPrimary" : true,
"type" : "FileTask",
"path" : "Shogo.exe",
"workingDir" : ""
}
]
}
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) "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"
}
]
}
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 "images\/background" : "background.jpg",
"images\/icon" : "icon.png",
"images\/logo" : "logo.jpg"
}
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 "type" : "FileTask",
"path" : "doom.bat", // path to batch file
"workingDir" : "",
"arguments" : "" // optional command line arguments
@set __COMPAT_LAYER=Win95 640x480 256Color // compatibility mode
doom.exe // executable
list of available modes: doom.exe // executable
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 : ) 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
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"
}
]
}
"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"
}
]
}
Post edited August 28, 2015 by mike_cesara