Skip to content
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 games are calling wine when you open them with double click #281

Open
neuromancer opened this issue Jul 7, 2019 · 2 comments
Open

Comments

@neuromancer
Copy link
Contributor

neuromancer commented Jul 7, 2019

In the last dev revision (ff9270b), GameHub loads wine when executing some DOSBox games with double click. The compatibility layer is correctly set to DOSBox and the binary is the executable from the game (MS-DOS executable). The log shows that it is trying to execute the executable with wine and then loads DOSBox correctly but using an additional configuration file (?):

DEBUG]  [Utils.run] {'/mnt/ssd/games/Dosbox/Street Rod 2/SR2/SR.EXE'}; dir: '/mnt/ssd/games/Dosbox/Street Rod 2/SR2'
000b:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
000b:fixme:winediag:start_process Wine Staging 4.11 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
000f:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
0012:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
000d:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
0019:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
001b:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
0021:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
DOSBox version 0.74-2
Copyright 2002-2018 DOSBox Team, published under GNU GPL.
---
CONFIG:Loading primary settings from config file /home/g/.dosbox/dosbox-0.74-2.conf
CONFIG:Loading additional settings from config file /home/g/.wine/dosdevices/c:/users/g/Temp/cfge46b.tmp
MIXER:Got different values from SDL: freq 44100, blocksize 512
ALSA:Can't subscribe to MIDI port (65:0) nor (17:0)
MIDI:Opened device:none
@tkashkin
Copy link
Owner

tkashkin commented Jul 7, 2019

It looks like you have wine binfmt installed and for some reason GameHub tries to run game's executable directly instead of using compat tool.

Which platform does this game have in GameHub? Does it use compatibility at all?

@neuromancer
Copy link
Contributor Author

It's a user-added MSDOS game (interestingly enough, the executable has the +x flag). It uses the DOSBox compatibility mode (and works as expected).

Also, I discovered that my GameHub settings to use double click to run games was disabled. If you enable them, it will not trigger this bug (also it won't trigger #280).

hagabaka pushed a commit to hagabaka/GameHub that referenced this issue Sep 3, 2019
Lucki pushed a commit to Lucki/GameHub that referenced this issue Oct 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants