The forum

Constructor GoG Version

Starting problems

Author Replies
royber Sunday 30 March 2014 at 20:22
royberAnonymous

Hi there,

i am new to the PlayOnLinux thing and first of all i want to say: Awesome Work :) Tried The Settlers 2 from the approved Games List and it works good.

Now i tried to get "Constructors" (from gog) to run in POL.
I can install the game and afterwards i can start the game via the INSTALLATION window (after the installation is complete). But if i leave the game and wants to start it again: It wont work. Not from POL or directly WINE on my System.

POL just says that wine crashed and with my wine on my system, a dosbox window appears and closes directly.

I guess it has something to do with dosbox 0.73 but i cant get to it... 
Later i found this in the dosbox.conf:

[autoexec]
# Lines in this section will be run at startup.

@ECHO OFF
mount C "."
imgmount d "const.gog" -t iso -fs iso
c:
cls
cd \
game.exe
exit

dosbox.exe is located one folder further from the installdirectory... but the dosbox.conf is located in the installdirectory...

i can mount the const.gog and manually start game.exe .. then he says "unable to find system.ini" which is located in the Settings Folder from the Installdirectory...

There is a "DOS4GW.exe" ... i thought this exe would do my wish and start the game properly... but nope... and there is no other bat or exe ... 

Kinda frustrating to find the solution... maybe s1 can help ?? :)

- Name of the distribution: Ubuntu 13.10
- Name of the software and its version Wine: 1.4.1 or higher... tried a few 
- Errors from the software. And if possible, tell when and/or where it happens
  See above

Greetings
royber





petch Wednesday 2 April 2014 at 23:50
petch

Hi royber,

Starting the game from the installer, you're using the DOSBox version bundled with the game by GOG, which means currently a Windows version of DOSBox.

That has some drawbacks, so that's not what install scripts use for GOG MS-DOS games, instead they use PlayOnLinux support for DOSBox, which is sort of described in DOSBox support HOWTO
That thread also contains a list of many titles that use this support, so you can have a look at those for examples.

Determining what's the main program (and arguments) to run a game can be tricky, specially in this kind of case (what's really executed is dosbox.exe, with the right arguments).
I personally use lp64 and a custom script analyze_menus for that.

Feel free to ask for more explanations if something's unclear.

Hope it helps,
Pierre.

booman Friday 4 April 2014 at 21:32
booman

There is a fancy step-by-step guide for playing DosBox games in Linux:  dosbox guide

Its actually pretty cool, you can install the GOG game in PlayOnLinux, then just copy the game folder into your "dosgames" directory.

So you really don't need PlayOnLinux at all to play those Dos Games.
As Petch said... ask questions as needed!

Edited by booman


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
petch Friday 4 April 2014 at 22:07
petch

However that's still PlayOnLinux web site.