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:
Install the Heroes of Might and Magic games on Linux

-----

version francaise

-----

Hello fellow Debian users, Ubuntu lovers and Mint freaks!

Here you’ll find scripts allowing you to turn your Windows installer of Heroes of Might and Magic 2 into a .deb package, allowing to install it through DPKG and remove it through any APT front-end (apt-get, aptitude, synaptic, etc.).

Download links and usage instructions can be found on the following page:
[url=https://debian-facile.org/utilisateurs:vv222:games:heroes-of-might-and-magic-2]https://debian-facile.org/utilisateurs:vv222:games:heroes-of-might-and-magic-2[/url]

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

-----

Here you go for more supported games!
Post edited September 17, 2017 by vv221
Just want to say that this worked great on my xubuntu 14.04.

Thanks!
avatar
CornMaster: Just want to say that this worked great on my xubuntu 14.04.
Thank you for the confirmation!
These reports are really useful, as I don’t test the scripts on Ubuntu myself ;)
avatar
CornMaster: Just want to say that this worked great on my xubuntu 14.04.
avatar
vv221: Thank you for the confirmation!
These reports are really useful, as I don’t test the scripts on Ubuntu myself ;)
Your welcome.

I also made a few tweaks for anyone interested. I wanted to play the game in a larger window so I created a new file in ~/.dosbox called dosbox-0.74-homm2.conf (which was just a copy of the dosbox-0.74.conf that was in that directory) already and changed:

windowresolution=1280x960
output=openglnb


My understanding is that output has to be anything but surface for this to work.

Then I edited /usr/local/games/heroes-of-might-and-magic-2 (as root with sudo) and changed:

dosbox -c "mount c .

to

dosbox -conf /home/thomas/.dosbox/dosbox-0.74-homm2.conf -c "mount c .

in order to load my game specific config on startup.
Post edited September 08, 2015 by CornMaster
avatar
CornMaster: (…)
Nice tweak, thanks for sharing it here!

Just a small bit of advice: instead of editing /usr/local/games/heroes-of-might-and-magic-2 you can copy it under ~/bin/heroes-of-might-and-magic-2 and edit the copy. This way you won’t need root rights to do it.
Files under ~/bin/ will take priority over files with the same name under /usr/local/games/
avatar
CornMaster: (…)
avatar
vv221: Nice tweak, thanks for sharing it here!

Just a small bit of advice: instead of editing /usr/local/games/heroes-of-might-and-magic-2 you can copy it under ~/bin/heroes-of-might-and-magic-2 and edit the copy. This way you won’t need root rights to do it.
Files under ~/bin/ will take priority over files with the same name under /usr/local/games/
That is good to know. Thanks. :)
avatar
CornMaster: (…)
By the way, with some future update to the project games installed via the scripts I share here will be able to find and use a game-specific dosbox.conf file.
I’ll post an update here when it’s done, but don’t hold your breath, it won’t be done before a couple months at best ;)
Tried this on Ubuntu 16.04 using the dosbox in the repository, it crashed consistently on first turn however. Fixed this by building dosbox from the SVN repository instead. Commands below. I don't have enough rep to post links, so replace #### with https://.

# Install build dependencies
sudo apt install libsdl1.2-dev libsdl-sound1.2-dev automake autoconf svn

# Checkout SVN trunk
svn checkout ####svn.code.sf.net/p/dosbox/code-0/dosbox/trunk dosbox-code-0
cd dosbox-code-0

# Build dosbox and install
./autogen.sh
./configure
make -j4
sudo make install