Интернет-кабинет «Днище»

Г. Ейск, улица Армавирская, дом 45, этаж II, кабинет № 221

Site Tools


playground:fheroes2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
playground:fheroes2 [2025/01/17 19:30] serwplayground:fheroes2 [2025/08/11 15:16] (current) serw
Line 1: Line 1:
 +====== fheroes2 is a recreation of Heroes of Might and Magic II game engine ======
  
 +===== Debian 13 Trixie =====
 +
 +Прежде всего, подключим ропеозиторий `contrib`:
 +
 +<code=bash>
 +dragonserw@debian-pn41:~$ cat /etc/apt/sources.list #https://debianforum.ru/index.php/topic,17015.msg129257.html#msg129257
 +#deb cdrom:[Debian GNU/Linux 13.0.0 _Trixie_ - Official amd64 DVD Binary-1 with firmware 20250809-11:21]/ trixie contrib main non-free-firmware
 +
 +deb http://ftp.ru.debian.org/debian/ trixie main contrib non-free-firmware
 +deb-src http://ftp.ru.debian.org/debian/ trixie main contrib non-free-firmware
 +
 +deb http://security.debian.org/debian-security trixie-security main contrib non-free-firmware
 +deb-src http://security.debian.org/debian-security trixie-security main contrib non-free-firmware
 +
 +# trixie-updates, to get updates before a point release is made;
 +# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
 +deb http://ftp.ru.debian.org/debian/ trixie-updates main contrib non-free-firmware
 +deb-src http://ftp.ru.debian.org/debian/ trixie-updates main contrib non-free-firmware
 +
 +# This system was installed using removable media other than
 +# CD/DVD/BD (e.g. USB stick, SD card, ISO image file).
 +# The matching "deb cdrom" entries were disabled at the end
 +# of the installation process.
 +# For information about how to configure apt package sources,
 +# see the sources.list(5) manual.
 +dragonserw@debian-pn41:~$ 
 +</code>
 +
 +Установка пакета fheroes2:
 +
 +fheroes2 Installation Guide: [[https://ihhub.github.io/fheroes2/INSTALL.html#debian-and-ubuntu|Debian and Ubuntu]]
 +
 +<code=bash>
 +sudo apt-get install -y fheroes2 game-data-packager innoextract # contrib!!!
 +</code>
 +
 +  - Распакуем установщик [[https://www.gog.com/downloads/heroes_of_might_and_magic_2_gold_edition/2863|GOG]]. Поддерживается только распаковка в корень.
 +  - При помощи GDP сделаем homm2*.deb-установщики для Дебиан.
 +  - Скопируем их в публичную директорию.
 +
 +<code=bash>
 +dragonserw@debian-pn41:~/Загрузки$ innoextract setup_homm_2_gold_2.1_eng_win_gog_v2_\(83674\).exe
 +game-data-packager heroes2 ./
 +cp -ur homm2*.deb $HOME/Общедоступные/Playground/FHeroes2
 +</code>
 +
 +Войдем в терминал администратора:
 +
 +<code=bash>
 +su -
 +</code>
 +
 +Установим оба пакета:
 +
 +<code=bash>
 +root@debian-pn41:~# cd /home/dragonserw/Общедоступные/Playground/FHeroes2/ && sudo dpkg -i homm2*.deb
 +</code>
 +
 +Если после этого всего fheroes2 не стартует, выполните переустановку пакета `fheroes2`.
 +
 +[[https://drive.google.com/drive/folders/1xqrLAEXX2BjnHYD3UJ8NHM85k4k7iFMa?usp=sharing|Google Drive]] /FHeroes2/.
 +
 +===== macOS =====
 +
 +<code=bash>cd ~/Public/Playground/FHeroes2 && innoextract setup_heroes_of_might_and_magic_2_gold_1.01_(2.1)_(33438).exe</code>
 +
 +https://github.com/ihhub/fheroes2/blob/master/docs/INSTALL.md#homebrew-mac:
 +If you have a legally purchased copy of the original game, copy the subdirectories ANIM, DATA, MAPS and MUSIC (some of them may be missing depending on the version of the original game) from the original game directory to the $XDG_DATA_HOME/fheroes2 (usually ~/.local/share/fheroes2) directory.
 +
 +<code=bash>fheroes2-extract-resources
 +fheroes2-extract-resources /Volumes/Ventoy/Playground/FHeroes2/setup_heroes_of_might_and_magic_2_gold_1.01_\(2.1\)_\(33438\).exe</code>
 +
 +Related article -- [[playground:vcmi|VCMI]] -- a free implementation of HoMMIII Engine.
 +Another one: [[playground:flarerpg|Free/Libre Action Roleplaying Engine]].