Program script that needs debugging

Auteur Réponses
FuzzyToothpaste Dimanche 3 Aoüt 2014 à 20:38

I am making my first PlayOnLinux script that should be compatible with PlayOnMac (I don't have a Mac so I can't test). It lets the user install a free indie game called Octodad (, but it has some problems. The couple that I know of so far are:

1. On the screen that mentions that an internet connection is required, yo have to click the Next button twice. This makes me wonder if it is skipping a step.

2. When the script tries to start the .exe installer, the message "There is no program configured to open this type of file" is displayed by Wine, which doesn't make sense because it is an .exe file

If you can help me see what I did wrong, I will be grateful and submit the script. I have made plenty of comments to make things easier. I also have plans to make scripts for GIMP, OpenOffice, and VLC media player if this goes well. The Octodad script (to be edited and posted here when a bug is fixed) can be downloaded at . P.S. I would appreciate if any of you Mac users would test this once it has been fixed here.

Edité par FuzzyToothpaste

petch Dimanche 3 Aoüt 2014 à 20:44

That game has Linux and Mac versions...


FuzzyToothpaste Dimanche 3 Aoüt 2014 à 20:46

You're thinking of Octodad: Dadliest Catch, the sequel.

Edité par FuzzyToothpaste

petch Dimanche 3 Aoüt 2014 à 20:58

Ah ok, that other one has Windows and Mac versions, so script Mac compatibility may not be so important

petch Dimanche 3 Aoüt 2014 à 21:10

Ok, back to the script review.

First, with comments at the end of every line, this is the most unreadable script I've read (really). They were easy enough to remove with a regexp though.

POL_Download ""

That's probably the problem;

> POL_Download ""
[POL_Download] Message: Downloading
[POL_Download] Warning: POL_Download - MD5 is missing!

> file OctodadInstallerV1_5_3_exe
OctodadInstallerV1_5_3_exe: HTML document, UTF-8 Unicode text, with very long lines

What you're retrieving with that URL is an HTML page.

POL_Wine start /unix "OctodadInstallerV1_5_3_exe"

"start /unix" is usually not necessary and has a drawback, so if the installation works without it, better remove it.

rm -f ~/Desktop/Octodad.lnk

It's a bit strange that you need that, the WINEDLLOVERRIDES=winemenubuilder.exe=d that PlayOnLinux uses is supposed to make such thing unnecessary (but maybe there's a problem lurking around).

Also not an desktop directories are called "Desktop", depending on locales and stuff, so it's a fragile workaround.


FuzzyToothpaste Dimanche 3 Aoüt 2014 à 22:11

It seems that there are no official Octodad mirrors that make direct links to Octodad. I will probably just have to get the installer and put it on a cloud storage service or something. I still haven't figured out why you have to click Next twice though. It seems like I have a lot of work to do.