can't install Phantasmagoria (

Auteur Réponses
sancio Dimanche 14 Avril 2013 à 18:56

Hi all, 

I've got a problem with the GOG game "Phantasmagoria". I cannot install it. 
NOTE: it is a DOS game which uses DOSBox.

Firstly, I thought it was a matter of free space on my SSD (I just had 2.8 Gb free, while game needs 2.1 Gb), but then, after freeing some memory, I encountered the same problem. 

The problem is this: install seems to work flawlessly till it reaches about 75%. Then it stops and an empty window appears on the screen.
This window do not report nothing about installation failure and allows me just to push 4 buttons: "OK" (to what?), "cancel", "retry", and one more that I really can't figure now. This seems to be not so important, since every button do nothing at all.

Actually, I'd like to know something about this problem. And it would be also nice to know what could be the solution!!

Thank you all!
petch Dimanche 14 Avril 2013 à 19:36


The installer must be run with the "/nogui" parameter.
Problem is, that's not supported by manual installations, nor by "Run .exe from this virtual drive"; You can try to start the installer from the virtual drive's terminal with "POL_Wine setup_phantasmagoria.exe /nogui" or something like that.

For better results you can also select "1.4-dos_support_0.6" for "Wine" version to get native DOSBox support. It need some extra work to get it running through:
sancio Lundi 15 Avril 2013 à 13:42


thanks for your reply!

I tried to do your way and finally I could install the game.
Unfortunately, I can't run it!

Here are the matters I found:
1) INSTALLATION FOLDER: instead of the ordinary "drive_c" folder, the game has been installed in "deault/drive_c/";

2) No GUI: I can't see the game among my installed applications on the PlayOnLinux GUI;

3) PROBLEMS WITH CONSOLE: I then tried to launch the game from POL console, but the directory's .exe files can't run the game!

Actually, I have the game installed on my Windows pc, and I found out that the game is not launched by an .exe game file! In fact, the Star Menu link (which I can't run in Linux!) launches DOSBox.exe with some commands related to two GOG configuration files (from the game folder)! The strange thing is that also DOSBox seemes to launch no .exe!

Here are the link commands:
"C:\\GOG Games\\Phantasmagoria\\DOSBOX\\DOSBox.exe" -conf "..\\dosboxPHANT.conf" -conf "..\\dosboxPHANT_single.conf" -noconsole -c exit

What do you think about it?

Thank you!

sancio Lundi 15 Avril 2013 à 14:32

I tried the same command on POL console and this is the debug:

[04/15/13 14:24:31] - Running wine- /home/giulio/PlayOnLinux's virtual drives/default/drive_c/GOG Games/Phantasmagoria/DOSBOX/DOSBox.exe -conf /home/giulio/PlayOnLinux's virtual drives/default/drive_cfixme:win:EnumDisplayDevicesW ((null),0,0x266f338,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x266f238,0x00000000), stub!
fixme:d3d:wined3d_device_decref Device released with resources still bound, acceptable but unexpected.
fixme:d3d:wined3d_device_decref Leftover resource 0x193960 with type WINED3D_RTYPE_SURFACE (0x1).

My wine version is the 1.4-dos_support_0.6.

booman Lundi 15 Avril 2013 à 20:21

Interesting. DosBox must be packaged with the download because GOG shows it as XP, Vista, 7 compatible.

You could probably just install the Linux version of DosBox and just copy the game data to your DosBox C Drive, the launch it from Linux.

I have had success with DosBox Linux and old PC Games.

† Booman †
Mint 19.3 64-bit | Nvidia 440 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
sancio Lundi 15 Avril 2013 à 21:19

Ok, I think I got it!
I believe that the problem relies in shortcuts: GOG's installer creates some shortcuts, which do not link to a .exe file.
They link to DOSBox, specifying the two .conf files DOSBox must refer to, whose content is this:
1) a DOSBox configuration (full screen, ecc ecc);
2) an "autoexec" section which provides the directory of the C drive;

So, I could try to do what Booman said, but I'd like to know if there is a way to make my OS read the GOG shortcuts (just like it works under Windows).
By the way, I think that POL can't list the game because it can't find the .exe file.

This topic stands still!


booman Lundi 15 Avril 2013 à 21:44

I think you can create a shortcut in PlayOnLinux to the DosBox shortcut for Phantasmagoria.
That should allow Wine to launch the Windows DosBox (included with the game) and launch the game.

Kinda funny if you think about it...
using Linux to use Wine to Launch Windows to Launch Dos to Launch Phantasmagoria

A Lot of extra steps and layers.

By the way, I made a tutorial on how to install DosBox in Linux and play some Dos games.
I even show you how to create the config files and make shortcuts to them.
[url=]DosBox gaming[/url]

Edité par booman

† Booman †
Mint 19.3 64-bit | Nvidia 440 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
petch Lundi 15 Avril 2013 à 21:56

If it installs in default/drive_c instead of drive_c, you probably used PlayOnLinux console and not a specific virtual drive console (Configure button > select virtual drive > Miscellaneous tab > Open a shell in this virtual drive button).

And even using the Windows DOSBox installed by GOG indeed requires some work.
sancio Lundi 15 Avril 2013 à 22:31


I tried it on DOSBox and it works flawlessly!
Now I got one more question for you:

I've got, by now, two .conf files in the game's folder, provided by
I'm creating the launcher of DOSBox using them, but it seemes not to work...
I just consulted your guide, but there must be something wrong in the way I'm working.

I wrote, as a command for my launcher, this:

dosbox -conf /home/giulio/GOGgames/Phantasmagoria/dosboxPHANT.conf

(note that I customised the two conf files into one)
The path is correct, so I can't understand where is the problem.
Also the autoexec part must be correct...I tried it by now on DOSBox and the game worked well.

I wrote:

# Lines in this section will be run at startup.
mount c /home/giulio/GOGgames/Phantasmagoria

(the .exe file is SIERRA.exe)

what do you think about?
sancio Lundi 15 Avril 2013 à 22:44

Ok, now I made it!

I've decided to do your way, it's really simpler!
I've done a new .conf file and now the launcher works good.

Really thanks!
booman Mardi 16 Avril 2013 à 2:01

I always had to make a separate .conf file which launches the game from the DosBox c: drive.

Then I would make a shortcut to that .conf file as my laucher. Explained in the tutorial.
So each game should have its own .conf file

Here is the command I was using:
/usr/bin/dosbox -conf /home/booman/.dosbox/game.conf
But this is for the Linux DosBox

The game.conf will mount where the C drive, CD to the game folder and launch the game.

† Booman †
Mint 19.3 64-bit | Nvidia 440 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained