Peneheals / ihhh

Install Heroes of Might and Magic 3 (HoMM3) + HD mod + Horn of the Abyss (HotA) easily on old Mac OS (and will do the same on Linux in the future).
15 stars 1 forks source link

Mac OS HoMM3 installer

This short script helps you installing and running Heroes of Might and Magic 3, HoMM3 HD edition and Horn of the Abyss (HotA) on your older Macbooks. I recommend you to download the two offline HoMM3 installer files (~1 GB) from gog.com (I assume you have the game).

The project's goal is to automatize this well-written install guide.

Prerequisites

Install

1 - Open the Terminal (hit Command+Space -> type Terminal and hit Enter).

Open the Terminal

2 - Enter the following command:

/bin/bash -c "$(curl -H 'Cache-Control: no-cache' -fsSL https://raw.githubusercontent.com/Peneheals/ihhh/master/install_homm3.sh)"

Run the script

How to run the game after the install process

  1. Just open the Terminal (see above how).
  2. Enter the below command:

    cd "$HOME/.wine/drive_c/GOG\ Games/HoMM\ 3\ Complete" && wine HD_Launcher.exe
  3. Check for updates with the "Update" button and install it if you found any!
  4. If the basic settings (resolution etc.) look OK, create the HD.exe with the "Create HD exe" button!
  5. Now you are ready to play! The above steps are not necessary in the future, just start the launcher in the Terminal with the above command in step #2 (or push the up key for the last executed commands) and hit the "Play" button!

Contribute

If you have any feedback (feature requests, bug reports, problems etc.), feel free to open an issue here. Please upload any related screenshots (maybe to Imgur) and link them in the issue.

Good to know

  1. The installer uses common and existing tools:
    1. Brew, to install necessary packages.
    2. Wine, to run the Windows-based game in Mac.
    3. HD mod and HotA.
    4. Planned: this or this to download the offline installer files from GoG.
  2. We do not store nor send any credentials to any 3rd party (except gog.com in a future release).
  3. Planned: Linux support!

Alternative install method

1 - Download the code.

Download the code

2 - Click on it to unzip.

Unzip the package

3 - Check that it is in the right place (I assume your downloads go to your home's Downloads folder).

Check the files

4 - Open the Terminal (hit Command+Space -> type Terminal and hit Enter).

Open the Terminal

5 - Run the script with ~/Downloads/ihhh-master/install_homm3.sh command.

Run the script

Uninstall

Use with precaution! It will wipe everything!!!

curl -H 'Cache-Control: no-cache' -fsSL https://raw.githubusercontent.com/Peneheals/ihhh/master/install_homm3.sh | bash -s -- -u

To uninstall just your HoMM3 related stuff (deleting your ~/.wine directory), use this:

curl -H 'Cache-Control: no-cache' -fsSL https://raw.githubusercontent.com/Peneheals/ihhh/master/install_homm3.sh | bash -s -- -uh3

Copyright

TODO