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

×
How do I use commandline with GogGalaxy?
No posts in this topic were marked as the solution yet. If you can help, add your reply
avatar
possom2009: How do I use commandline with GogGalaxy?
...More specifically?
He probably wants to launch games with commandline parameters from the Galaxy interface.
If Kristian is right, look at the shortcuts created by Galaxy, they may help (or not, I don't know, depends on how they're made, I don't use the thing).
Well, you may start Galaxy with %PROGRAMFILES(X86)%\GalaxyClient\GalaxyClient.exe and.. thats it as for now.
The only useful command line parameter I know is forcing Galaxy update if available:

%ALLUSERSPROFILE%\GOG.com\Galaxy\redists\galaxyupdater.exe /clientUpdatePath="%PROGRAMFILES(X86)%\GalaxyClient" /redistUpdatePath="%ALLUSERSPROFILE%\GOG.com\Galaxy\redists" /reportToService /updateClient /updateRedist
Post edited May 20, 2015 by mike_cesara
I mean Use command line with the games. Like AvP Classic 2000 to run in windowed mode.
avatar
possom2009: I mean Use command line with the games. Like AvP Classic 2000 to run in windowed mode.
Edit the goggame-######.info file. Find the "playTasks" part, and if it doesn't exist, add the "arguments" : "-windowed" line. Any Dos game should have an example of how to do that. Here is an example from 7 Cities of Gold
"playTasks" : [
{
"isPrimary" : true,
"type" : "FileTask",
"path" : "DOSBOX\\dosbox.exe",
"workingDir" : "DOSBOX",
"arguments" : "-conf \"..\\dosbox_7cog.conf\" -conf \"..\\dosbox_7cog_single.conf\" -noconsole -c \"exit\""
},
{
"name" : "Graphic Mode Setup",
"type" : "FileTask",
"path" : "DOSBOX\\GOGDOSConfig.exe",
"workingDir" : "DOSBOX",
"arguments" : "1207664773"
}
],
avatar
possom2009: I mean Use command line with the games. Like AvP Classic 2000 to run in windowed mode.
avatar
JMich: Edit the goggame-######.info file. Find the "playTasks" part, and if it doesn't exist, add the "arguments" : "-windowed" line. Any Dos game should have an example of how to do that. Here is an example from 7 Cities of Gold

"playTasks" : [
{
"isPrimary" : true,
"type" : "FileTask",
"path" : "DOSBOX\\dosbox.exe",
"workingDir" : "DOSBOX",
"arguments" : "-conf \"..\\dosbox_7cog.conf\" -conf \"..\\dosbox_7cog_single.conf\" -noconsole -c \"exit\""
},
{
"name" : "Graphic Mode Setup",
"type" : "FileTask",
"path" : "DOSBOX\\GOGDOSConfig.exe",
"workingDir" : "DOSBOX",
"arguments" : "1207664773"
}
],
avatar
JMich:
Where can I find the ini file? It's not in the client folder or game folder.

Edit: Nevermind, found it. But when I add that, Galaxy say my game is corrupted.
Post edited May 26, 2015 by possom2009
avatar
possom2009: Edit: Nevermind, found it. But when I add that, Galaxy say my game is corrupted.
Which means that Galaxy checks the info file, and if it's changed, it won't run it. Either that, or the quotes are incorrect.
I need the working command line parameters to make Sacred 2 Gold work on my pc
Thank you for searching first but...

avatar
Filatterio: I need the working command line parameters to make Sacred 2 Gold work on my pc
OS?

Where within your hard drive did you install the game?

Are you using Galaxy?

Is something not working when you tried to run the game?

Are you trying to run it differently and need something changed?

Did you install the game already? If so, did you look at the icon's settings to see what command line is already there?
Since this got bumped:

setting command line arguments for launching a game via Galaxy has been implemented and is located at More - Settings - Add command line arguments.

As for what arguments can help you run Sacred Gold, it's sorcery and whoever tells you will be burned as a witch.
First you have to--

avatar
Starmaker: As for what arguments can help you run Sacred Gold, it's sorcery and whoever tells you will be burned as a witch.
Ummm. Nevermind.
avatar
Starmaker: As for what arguments can help you run Sacred Gold, it's sorcery and whoever tells you will be burned as a witch.
Looks like it has issues with Windows 10:

https://www.gog.com/forum/sacred_series/depressed_sacred_2_doesnt_work_on_windows_10/post6

The poster may want to head over to the Sacred subforum as I see some mention about fan patches for Windows 10:

https://www.gog.com/forum/sacred_series
avatar
possom2009: How do I use commandline with GogGalaxy?
avatar
Darvond: ...More specifically?
If you could give me the full list of the commands gog uses on its commandline environment and the hardware requirements that sacred 2 gold needs to work