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

×
/!\: This thread is not kept up-to-date anymore, please go to the following one to get the latest links and instructions, or for any kind of feedback on the scripts:
[./play.it] Install the Heroes of Might and Magic games on Linux

-----

Hello fellow Debian users, Ubuntu lovers and Mint freaks!

Here you’ll find scripts allowing you to build .deb packages from your Windows installers for Heroes of Might and Magic games. You can install them through DPKG and remove them through any APT front-end (apt-get, aptitude, synaptic, etc.).

Download links and usage instructions can be found on the following pages:
Heroes of Might and Magic
Heroes of Might and Magic II
Heroes of Might and Magic III
Heroes of Might and Magic IV
Heroes of Might and Magic V

I hope you’ll enjoy the comfort provided by these scripts as much as I enjoy writing and tweaking them ;)

Here you go for more supported games!

-----

/!\: Ce fil n’est plus maintenu, rendez-vous sur le suivant pour trouver les derniers liens et instructions, ou pour poster des retours au sujet de ces scripts :
[./play.it] Install the Heroes of Might and Magic games on Linux

-----

Salut camarades Debianistes, Ubunteros et fanas de Linux Mint !

Vous trouverez ici des scripts vous permettant de construire des paquets .deb à partir de vos installeurs Windows pour les jeux de la série Heroes of Might and Magic. Vous pouvez les installer via DPKG et les supprimer via n’importe quelle interface à APT (apt-get, aptitude, synaptic, etc.).

Les liens de télechargement et les instructions d’utilisation se trouvent sur les pages suivantes :
Heroes of Might and Magic
Heroes of Might and Magic II
Heroes of Might and Magic III
Heroes of Might and Magic IV
Heroes of Might and Magic V

J’espère que vous apprécierez le confort apporté par ces scripts autant que j’apprécie les écrire et les améliorer ;)

Pour plus de jeux supportés, ça se passe par ici !
Post edited May 06, 2018 by vv221
Thanks a lot for updating the Heroes 3 install scripts to support the 2.0.1.17 patch, I was eagerly waiting for that. Keep up the good work!
avatar
neskromanser: Thanks a lot for updating the Heroes 3 install scripts to support the 2.0.1.17 patch, I was eagerly waiting for that. Keep up the good work!
Next time just don’t wait for it to come, I actually didn’t realize I missed a patch… You should ask for an updated script as soon as you notice that a new installer/patch is published by GOG ;-)

As you might guess, with the ./play.it library growing every day I can’t follow closely the updates of every supported game, so I’m mostly relying on the users of the project to point me to the updates I miss.
avatar
neskromanser: Thanks a lot for updating the Heroes 3 install scripts to support the 2.0.1.17 patch, I was eagerly waiting for that. Keep up the good work!
avatar
vv221: Next time just don’t wait for it to come, I actually didn’t realize I missed a patch… You should ask for an updated script as soon as you notice that a new installer/patch is published by GOG ;-)

As you might guess, with the ./play.it library growing every day I can’t follow closely the updates of every supported game, so I’m mostly relying on the users of the project to point me to the updates I miss.
Ah, I see now. I thought that you were one of the maintainers of the ./play.it website. I guess I will follow the updates on the website and point you to the updates if there are any. :)
avatar
neskromanser: I thought that you were one of the maintainers of the ./play.it website. I guess I will follow the updates on the website and point you to the updates if there are any. :)
I’m actually the main developper and sole maintainer of the ./play.it project…
The updates I tend to miss are not the ones to ./play.it scripts, but to GOG installers ;-)
avatar
neskromanser: I thought that you were one of the maintainers of the ./play.it website. I guess I will follow the updates on the website and point you to the updates if there are any. :)
avatar
vv221: I’m actually the main developper and sole maintainer of the ./play.it project…
The updates I tend to miss are not the ones to ./play.it scripts, but to GOG installers ;-)
Wow, well I guess I was wrong about everything. :D Thank you very much for creating these install scripts! I have just one more question; where are the save files kept? I tried reading the code in the installation script, but I couldn't comprehend where the save folder is. I'm asking this because I have some older save games. Thanks in advance!
avatar
neskromanser: (…)
Saved games are kept in ~/.local/share/games/$gamename/, so for HoMM2 you should put them in:
~/.local/share/games/heroes-of-might-and-magic-2/
avatar
neskromanser: (…)
avatar
vv221: Saved games are kept in ~/.local/share/games/$gamename/, so for HoMM2 you should put them in:
~/.local/share/games/heroes-of-might-and-magic-2/
Thanks a lot for your help and replying so quickly!
avatar
neskromanser: (…)
No problem, I’m always here to help a fellow Linux gamer ;-)
Hi again. I'm sorry for asking you question in this thread, but I can't start a chat with you on gog for some reason. The game was working fine for quite a while, and still does. However, recently I was messing around with my resolutions in system settings, completely unrelated to the game files or the custom wine files, and all of a sudden the game doesn't launch in full screen, but instead occupies the top left corner in it's standard 800x600 resolution. I tried to fix it through homm3-winecfg, enabling and disabling several options under the graphics tab. I thought that enable/disable "Emulate a virtual desktop" would fix it, but it didn't. I tried to search google for the problem, but found nothing. I also tried uninstalling and reinstalling the package through synaptic a few times, once with "removal" and once with "complete removal", in hope that the settings would reset, but that didn't help. I believe I was on the right track when I found out that it had something to do with xrandr, but I am not sure how to use that utility. Thanks in advance!
avatar
neskromanser: I'm sorry for asking you question in this thread, but I can't start a chat with you on gog for some reason.
That’s strange, you should be able to open a chat conversation with me without difficulties…
Anyway this topic is dedicated for support in using my scripts too, so I prefer if any question is asked here instead of in a private conversation ;-)

avatar
neskromanser: the game doesn't launch in full screen, but instead occupies the top left corner in it's standard 800x600 resolution.
I had a similar bug recently (with another game, running through DOSBox), and a restart of my desktop environment fixed it. So I still don’t know what caused it ;-P

Here is how I usually play HoMM3 in fullscreen:
1. enable a 800x600 virtual desktop via homm3-winecfg
2. write a small script named 'heroes-of-might-and-magic-3' in ~/bin/, with the following contents:
#!/bin/sh
xrandr -s 800x600
/usr/local/games/heroes-of-might-and-magic-3
xrandr -s 0
exit 0
3. if it’s the first script you write in ~/bin/, you might have to run a new session before it is used instead of the script in /usr/local/games
4. run the game ;-)

What it does :
xrandr -s 800x600 -> set your screen resolution to 800x600
/usr/local/games/heroes-of-might-and-magic-3 -> run the game via the original script, the 800x600 virtual desktop will take your entire screen
xrandr -s 0 -> set your resolution back to its default value
Post edited April 17, 2016 by vv221
Thank you for taking the time and sharing your way of playing Heroes 3.

However, this is very interesting. The script looks right, I guess my system defaults could be interfering, but my default resolution is 1366x768, but anyway, here is what happens:

petar@marija ~ $ heroes-of-might-and-magic-3
Size 800x600 not found in available modes
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"

After these few lines, the resolution remains 1366x768, Heroes 3 launches in a virtual desktop of resolution 800x600, and AFTER exiting the game, the resolution changes to 800x600, but instead of occupying as much of the screen as possible, it actually shows the top left of the usual 1366x768 desktop, not the whole desktop scaled to the 800x600 resolution.
update

support added for new Heroes of Might and Magic installers:
setup_heroes_of_might_and_magic_2.3.0.45.exe
setup_heroes_of_might_and_magic_french_2.3.0.45.exe

-----

mise-à-jour

support ajouté pour les nouveaux installeurs de Heroes of Might and Magic :
setup_heroes_of_might_and_magic_2.3.0.45.exe
setup_heroes_of_might_and_magic_french_2.3.0.45.exe
Hi again! I wanted to ask you a question about Heroes 3 running on Linux. Did Loki Games port the complete edition of Heroes 3 or just Restoration of Erathia?
avatar
neskromanser: Hi again! I wanted to ask you a question about Heroes 3 running on Linux. Did Loki Games port the complete edition of Heroes 3 or just Restoration of Erathia?
Just the Restoration of Erathia (and it doesn't seem to be available anywhere).