It stopped running in ubuntu22, where the only relevant diffence is going from wine 5.x to 6.x.
What I've noticed upon investigation is that for some strange reason - the exec is trying to run native linux dosbox instead of the one shipped with the game. Which crashes. My guess is that it either has some diffent flags or can't reach some path that is wine specific.
Code: Select all
adam@adamPc:~/.wine/dosdevices/l:/games_installed/Jagged Alliance$ ps aux |grep -i dosbox
adam 60430 99.8 0.3 450728 75348 pts/1 Sl 17:52 12:46 /usr/bin/dosbox -userconf -conf /home/adam/.wine/dosdevices/c:/windows/profiles/adam/Temp/cfg6c56.tmp
adam 61855 0.0 0.0 11740 2396 pts/1 S+ 18:04 0:00 grep -i dosbox
Although it's pretty cool how wine now integrates windows world programs, it's not only counterproductive here, but also goes against the 'eat your own dogfood' policy, where it was encouraged for users to use everyday products like firefox, dosbox or even putty to make the testing more throughout. At least I remember them having this policy somewhere around version 2 (my ass is old, I know, that's why I play old games)
ps. no helpfull logs when runing from the console
Code: Select all
adam@adamPc:~/.wine/dosdevices/l:/games_installed/Jagged Alliance$ wine JA.EXE
DOSBox version 0.74-3
Copyright 2002-2019 DOSBox Team, published under GNU GPL.
---
CONFIG:Loading primary settings from config file /home/adam/.dosbox/dosbox-0.74-3.conf
CONFIG:Loading additional settings from config file /home/adam/.wine/dosdevices/c:/windows/profiles/adam/Temp/cfgbc84.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
Two or more joysticks reported, initializing with 2axis
Using joystick Logitech Logitech Extreme 3D with 4 axes, 12 buttons and 1 hat(s)
Using joystick ShanWan PC/PS3/Android with 4 axes, 13 buttons and 1 hat(s)
DOSBox switched to max cycles, because of the setting: cycles=auto. If the game runs too fast try a fixed cycles amount in DOSBox's options.
What I did notice is that there is some snap related to wine which may be the source of the problem, although class deb packages seam to be present as well.
Code: Select all
adam@adamPc:~/.wine/dosdevices/l:/games_installed/Jagged Alliance$ snap list |grep wine
wine-platform 3.0.4-4.6 128 latest/stable mmtrt -
wine-platform-3-stable 3.0.4 14 latest/stable mmtrt -
wine-platform-runtime v1.0 316 latest/stable mmtrt -
adam@adamPc:~/.wine/dosdevices/l:/games_installed/Jagged Alliance$ dpkg -l |grep wine
ii fonts-wine 6.0.3~repack-1 all Windows API implementation - fonts
ii libkwineffects13 4:5.24.4-0ubuntu1 amd64 KDE window manager effects library
rc libkwineffects1abi4 4:4.11.11-0ubuntu0.2 amd64 library used by effects for the KDE window manager
ii libwine:amd64 6.0.3~repack-1 amd64 Windows API implementation - library
ii libwine:i386 6.0.3~repack-1 i386 Windows API implementation - library
ii wine 6.0.3~repack-1 all Windows API implementation - standard suite
ii wine32:i386 6.0.3~repack-1 i386 Windows API implementation - 32-bit binary loader
ii wine64 6.0.3~repack-1 amd64 Windows API implementation - 64-bit binary loader
ii winetricks 0.0+20210206-2 all simple tool to work around common problems in Wine