Skip to content

Instantly share code, notes, and snippets.

@lucasw
Last active January 27, 2018 13:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucasw/d74c78f0d337b85ab22901c785b3c0c0 to your computer and use it in GitHub Desktop.
Save lucasw/d74c78f0d337b85ab22901c785b3c0c0 to your computer and use it in GitHub Desktop.
Heroes of Might & Magic 2

GOG installer leaves a desktop icon, and the game runs fine once clicked on but the resolution makes the window tiny and the mouse is permanently locked in focus.

cd ~/.wine/drive_c/GOG Games/HoMM 2 Gold
dosbox .
imgmount d homm2.inst -t iso -fs iso
heroes2.exe

But it crashes on first sleep.

fheroes2

Try fheroes2 https://github.com/ciplogic/fheroes2enh

Edit CMakeLists.txt to require 3.5 instead of 3.8

Can build in other directory, but need to run executable from the base of source dir.

cd ~/other/games/fheroes2enh
ln -s ~/.wine/drive_c/"GOG Games/HoMM 2 Gold/DATA" data
ln -s ~/.wine/drive_c/"GOG Games/HoMM 2 Gold/MAPS" maps
../build_fheroes2enh/fheroes2
20:13:35: [ERROR]	open:  Couldn't open fheroes2.bin
08:13:35 PM: [ERROR]	SetLangEnvPath:  translation not found: en.mo

The pointer moves around super slow, unplayable.

@lucasw
Copy link
Author

lucasw commented Jan 27, 2018

Set resolution larger with vgfds cj

fullresolution=1280x960
windowresolution=1280x960

Or scaler to normal3x?

Syndicate steals the mouse when the scaler is upped, can't get it back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment