-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dosbox enhancements #51
Comments
Probably it's possible, assuming dosbox configs are in consistent location. It may not work if Windows game's dosbox have some game-specific tweaks, but it probably should be somewhat compatible. |
AFAIK, some dosbox configs use Windows only paths to run (for instance using |
There's now It supports loading additional configs like this for forcing windowed mode. CompatTools now can be forced even for native games. Btw I'm wondering if it's still appropriate to call it "compat tools", since there's "custom script" tool. 🤔 |
Great! I tested with some games. It works, but it requires to a few adjustments in the dosbox confs (this is expected, so we don't have to worry). Allowing to edit the .conf files could be a good idea. There is one thing that is annoying: some GOG games define more than two .conf files to configure games or run then in multiplayer (having _client.conf and _server.conf files). GameHub combine all the .conf files while it should only select two of them. It's not completely straightforward how to do it: it must select the GAMEID.conf and GAMEID_single.conf files. Unfortunately, the GAMEID for every game is not documented: for instance, some games like Magic Carpet use "MC" as GAMEID. Also, the select executable option makes no sense for Dosbox.
Maybe dosbox and scummvm are "port tools"? |
Also, I'm not sure how GameHub should deal with some special GOG games that include several titles inside (like Dangerous Dave pack) |
I don't know, I don't have too many DOS games in GOG library. Example: Akalabeth: World of Doom (idk what that is, it's just easy to test as it's on top of games list 🙂) Akalabeth: World of Doom (Linux):
Akalabeth: World of Doom (Windows):
|
Some GOG games using dosbox: One HumbleBundle game using dosbox (installing using wine, because innoextract was failing): Any directory named 'confs' was created by name to keep the original .conf files and let GameHub launch the games. |
Post contents of |
So I also don't see Was it installed using the most recent installer? I've thought all GOG installers should be updated and have similar structure (especially after Galaxy launch). Is it even working in Galaxy? |
Some .info files are here: goggame-1207658971.info.txt |
So it seems it doesn't run DOSBox for multiplayer directly and uses "playTasks": [
{
"isPrimary" : true,
"type" : "FileTask",
"path" : "DOSBOX\\dosbox.exe",
"workingDir" : "DOSBOX",
"arguments" : "-conf \"..\\dosboxMC.conf\" -conf \"..\\dosboxMC_single.conf\" -noconsole -c \"exit\""
},
{
"name" : "Graphic Mode Setup",
"type" : "FileTask",
"path" : "DOSBOX\\GOGDOSConfig.exe",
"workingDir" : "DOSBOX",
"arguments" : "1207658935"
},
{
"name" : "Run Multiplayer Game",
"type" : "FileTask",
"path" : "DOSBOX\\GOGDOSConfig.exe",
"workingDir" : "DOSBOX",
"arguments" : "1207658935 NET"
},
{
"name" : "Reset Game Language",
"type" : "FileTask",
"path" : "reset_language.bat",
"workingDir" : ""
}
]
I have thought about a few solutions for this:
|
I think this is the more straightforward solution. Try to parse .info files is more precise and useful for the future features, but it will take more effort .. |
In the case of Dangerous Dave, maybe you can just iterate over the subdirectories and look for dosbox.conf and dosbox_single.conf (and ignore other confs). This should be enough for that, but I don't know if this will work for games without .info files. |
I think this works quite good so I will close it now. Please note that some games requires manual editing of the |
This patch allows to detect multiple configs one per directory (for instance Dangerous Dave or Redneck Rampage). The user should select one of these somehow, but I don't know how to implement the actual selection:
|
Allow to force compat even for games which do support Linux (tkashkin#51, tkashkin#52, tkashkin#71) Former-commit-id: 36b90dc
A lot of GOG games are using dosbox. I wonder if we could have some special options to handle them, for instance to replace the bundled dosbox executable with the system one. This feature, combined with #33, will enable the automatic port of some games arbitrarily available for some platforms.
The text was updated successfully, but these errors were encountered: