It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
neskromanser: I have an issue with HoMM2 under debian though; when I click the shortcut to start the game a small black DosBox window appears for a few seconds, then closes and that's about it, the game doesn't start at all.
Thanks for the report, I’m going to look into it as soon as I’ve a bit of free time ;)

avatar
neskromanser: You probably know there's now a Windows version of HoMM2 available for download through GOG. Have you tried testing that one under Wine?
I didn’t test it yet. Do you know if it comes with anything the DOS version doesn’t have?
avatar
neskromanser: I have an issue with HoMM2 under debian though; when I click the shortcut to start the game a small black DosBox window appears for a few seconds, then closes and that's about it, the game doesn't start at all.
avatar
vv221: Thanks for the report, I’m going to look into it as soon as I’ve a bit of free time ;)

avatar
neskromanser: You probably know there's now a Windows version of HoMM2 available for download through GOG. Have you tried testing that one under Wine?
avatar
vv221: I didn’t test it yet. Do you know if it comes with anything the DOS version doesn’t have?
Thanks in advance! :)

As far as I know the music is higher quality, but that is not the point; I was wondering if maybe it made things easier for you writing the script for the game. Wine is still being actively developed, and while it does probably take more work to try out different versions of Wine you do have more choices so I think you could make the game run better and have less work to do maintaining the script for when linux distros update. I'm just guessing though, I don't know much about emulation software.
avatar
neskromanser: As far as I know the music is higher quality, but that is not the point; I was wondering if maybe it made things easier for you writing the script for the game. Wine is still being actively developed, and while it does probably take more work to try out different versions of Wine you do have more choices so I think you could make the game run better and have less work to do maintaining the script for when linux distros update.
Even if it does not look like it, DOSBox is still actively developed ;)
But I might add support for the Windows installer in the next planned update for the script.

-----

Let’s go back to your issue: I managed to reproduce it by installing the 64-bit version of DOSBox provided by Debian Stretch, and switching to the 32-bit version seems to fix it.
You can do this by running the following command as root:
apt install dosbox:i386
Please try this and tell me if it fixes the issue for you.
Post edited February 15, 2018 by vv221
avatar
neskromanser: As far as I know the music is higher quality, but that is not the point; I was wondering if maybe it made things easier for you writing the script for the game. Wine is still being actively developed, and while it does probably take more work to try out different versions of Wine you do have more choices so I think you could make the game run better and have less work to do maintaining the script for when linux distros update.
avatar
vv221: Even if it does not look like it, DOSBox is still actively developed ;)
But I might add support for the Windows installer in the next planned update for the script.

-----

Let’s go back to your issue: I managed to reproduce it by installing the 64-bit version of DOSBox provided by Debian Stretch, and switching to the 32-bit version seems to fix it.
You can do this by running the following command as root:

apt install dosbox:i386
avatar
vv221: Please try this and tell me if it fixes the issue for you.
Wow, I didn't know it's still being developed; I assumed it wasn't because it's version number is 0.74 since I've first heard of it.

That was really fast; not only fast but also right on the mark, it fixed my problem, Heroes 2 now starts and works nicely too. Thanks a lot! :)
Update

Heroes of Might and Magic
Script has been ported to ./play.it 2, most notable improvement is the support of Arch Linux and derivatives.
No use for me.
Ubuntu 16.04 64bit
HoMM 1
Sound is laggy during play. And worst. Freezes after end of turn.
Have to keep a win partition to play Dosbox game!
Shame and pity.
original post
So the scripts have being updated and again trying I am.

Machine configuration is the same.
So the result. Hangs on End of Turn.
But I've found the solution.

Although first - make the documentation clear.
The site documentation and the instructions after repacking HoMM are different which is confusing. Apt install or dpkg? OK that's not the point.

The point is that an SVN version of dosbox must be installed. The PPA is here:
code.launchpad.net/~i30817/+archive/ubuntu/dosbox-patched

For the lazy:

#+BEGIN_SRC sh
sudo add-apt-repository ppa:i30817/dosbox-patched
sudo apt-get update
sudo apt-get install dosbox
#+END_SRC

Voila! Plays like a charm.
Thank the author for the script and google for the rest.
PS: Same problem in Arch, pretty close solution.
original post

I don’t reproduce your issue on my test machine (a Debian Sid amd64). I’m going to set up an Ubuntu 16.04 64-bit for further testing, and ask our Arch Linux developer to run some tests too.
Post edited May 06, 2018 by vv221
From what we’ve seen, the issue is with Arch Linux DOSBox build (I didn’t try on Ubuntu yet).
I don’t think there is anything we can do on ./play.it side to work around this kind of issue, short of bundling a DOSBox build into the game package.

While a fixed DOSBox build for Ubuntu could be done, I won’t maintain one for a rolling release like Arch Linux. Better to send a bug report to the package maintainer.
When I follow the instructions (also giving the scripts +x option), I get the following error upon play-heroes-of-might-and-magic-3.sh execution:

Using setup_homm_3_complete_4.0_(10665).exe
Checking integrity of setup_homm_3_complete_4.0_(10665).exe OK
Extracting data from setup_homm_3_complete_4.0_(10665).exe
warning: unexpected setup data version: 5.5.7 (unicode)
warning: unexpected Auto Boolean value: 20
warning: unexpected Architecture flags: 10
warning: unexpected data while converting from CP1200 to UTF-8
stream error: basic_ios::clear
Done with 1 error and 4 warnings.

Does anyone know what to do?

I use XUbuntu 14.04.
original post
Amazing what you did OP! This is one of the best games ever and I really appreciate your input. However, due to your recent upgrade of the scripts, in Ubuntu 16.04 LTS, the version for the innoextract is too low and the extraction stops very soon. However, a higher version of innoextract can be installed through a ppa repository. Instructions can be found and this link :

linuxhelp...com/how-to-install-innoextract-on-ubuntu-16-04/

Since I cannot post links, just remove the extra dots before com.

The script requires innoextract 1.6/ 5.5.8 and ubuntu 16.04 gives by default only 1.5 / 5.5.6. So you need to use the repository in that link and reinstall innoextract and just follow the rest of the instructions from OP. Everything works after that.

Cheers
original post

This issue usually happen when using Ubuntu 16.04 or a derivative, and is due to an innoextract version too old for the target installer.
You can download an updated innoextract build from ./play.it website:
https://www.dotslashplay.it/ressources/innoextract/ubuntu/xenial/
Post edited May 06, 2018 by vv221
avatar
vv221: <stuff>
I'm curious: why did you open three different threads for the same topic? Granted, they were opened a year or so apart, but why not just keep updating the same, original thread?
avatar
Bookwyrm627: (…)
I wouldn’t have done this if GOG forum gave us an option to edit threads title ;)
avatar
Bookwyrm627: (…)
avatar
vv221: I wouldn’t have done this if GOG forum gave us an option to edit threads title ;)
I wondered if that might be the case. :)

Contact a blue if you want to change a thread's title. They can do it for you. To make their life easier (at least, I assume it would make their life easier), I suggest linking the thread in question and giving a copy/paste of the new title. That worked for me, when I wanted/needed it done some time back.

Edit: spelling
Post edited May 07, 2018 by Bookwyrm627
avatar
Bookwyrm627: (…)
Thanks for the tip, I’ll think about it next time.
Update

Saved games for Heroes of Might and Magic V are now stored in $XDG_DATA_HOME (defaults to ~/.local/share/games/heroes-of-might-and-magic-5/profiles) instead of using ~/My Games directory. This will only take effect on new installations, or after manual removal of the WINE prefix.

Settings are now shared between base game and Hammer of Fate expansion as long as you use the same profile name in both games.
Hi,

I have problems with installing HOMM3 on my XUbuntu 18.04 system. Everything works fine until the dpkg command, where I get the following result :

Selecting previously unselected package heroes-of-might-and-magic-3-en:i386.
(Reading database ... 183608 files and directories currently installed.)
Preparing to unpack ./homm3.deb ...
Unpacking heroes-of-might-and-magic-3-en:i386 (3.0-gog2.0.0.16+20180224.1) ...
dpkg: dependency problems prevent configuration of heroes-of-might-and-magic-3-en:i386:
heroes-of-might-and-magic-3-en:i386 depends on heroes-of-might-and-magic-3-data.

dpkg: error processing package heroes-of-might-and-magic-3-en:i386 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
heroes-of-might-and-magic-3-en:i386

Thanks in advance for checking out my problem. :D
avatar
wolftsc: (…)
Strange, from your report it seems one of the packages is named "homm3.deb", this shouldn’t happen.

Could you please give it another try, and copy-paste here the full output from the script, from the command you run to the dpkg or apt command printed at the end?