El Foro

can't install Phantasmagoria (GOG.com)

Autor Respuestas
sancio Sunday 14 April 2013 at 18:56
sancioAnonymous

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 Sunday 14 April 2013 at 19:36
petch
Developer

Hi,

http://bugs.winehq.org/show_bug.cgi?id=32451

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:
http://www.playonlinux.com/en/topic-8747-Ultima_123_GOGcom_Edition.html
sancio Monday 15 April 2013 at 13:42
sancioAnonymous

Hi!

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 Monday 15 April 2013 at 14:32
sancioAnonymous

Hi,
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 Monday 15 April 2013 at 20:21
booman

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 64-bit | Nvidia 415.25 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
sancio Monday 15 April 2013 at 21:19
sancioAnonymous

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!

Thanks!


booman Monday 15 April 2013 at 21:44
booman

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=http://www.aoaforums.com/frontpage/software-news-reviews-60/linux/12401-dosbox-gaming-with-mint-13.html]DosBox gaming[/url]

Editado por: booman


† Booman †
Mint 19 64-bit | Nvidia 415.25 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
petch Monday 15 April 2013 at 21:56
petch
Developer

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 Monday 15 April 2013 at 22:31
sancioAnonymous

Thanks!

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 GOG.com.
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:

[autoexec]
# Lines in this section will be run at startup.
mount c /home/giulio/GOGgames/Phantasmagoria
c:
SIERRA

(the .exe file is SIERRA.exe)

what do you think about?
sancio Monday 15 April 2013 at 22:44
sancioAnonymous

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 Tuesday 16 April 2013 at 2:01
booman

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 64-bit | Nvidia 415.25 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained