Skip to content

Northfear/fheroes2-vita

 
 

Repository files navigation

PlayStation Vita port of fheroes2 project

Vita support was merged into upstream, so fheroes2 release page is probably the best place to get the latest version. I'm keeping this repo just as a playground for new stuff and latest fixes.

Install

Install fheroes2.vpk to your Vita.

fheroes2 requires data files from the original Heroes of Might and Magic II.

Copy HEROES2.AGG and HEROES2X.AGG (if you own Price of Loyalty expansion) from the original games "DATA" folder into "ux0:data/fheroes2/data" and everything from "MAPS" folder into "ux0:data/fheroes2/maps".

Music files in OGG format (from GoG release of the game) should be placed into the "ux0:data/fheroes2/music/" folder.

fheroes2 supports ingame cinematics. To play into and/or other videos, make sure that all of "*.SMK" files are placed inside "ux0:data/fheroes2/heroes2/anim/" folder.

rePatch reDux0 OR FdFix plugin is required for proper suspend/resume support (only use one at a time).

Building

Prerequisites

  • VitaSDK
  • libSDL2
  • libSDL2-mixer (optional)
  • libSDL2-image (optional)

To build the game just run

make -f Makefile.vita

Controls

  • Left analog stick - Pointer movement
  • Right analog stick - Map scrolling
  • × - Left mouse button
  • ○ - Right mouse button
  • □ - End turn
  • △ - Open spellbook
  • L1 - Next hero
  • R1 - Next castle
  • SELECT - System menu
  • START - Enter
  • D-Pad down - re-visit the field that hero stands on

Text input is done with D-Pad.

  • Left - Remove character
  • Right - Add new character
  • Down - Next character (alphabetically)
  • Up - Previous character
  • R1, L1 - Switch current character between uppercase/lowercase

Vita specific options

Pointer movement speed can be changed with 'gamepad_pointer_speed' parameter in "ux0:data/fheroes2/fheroes2.cfg".

Use "fullscreen = on" option to scale game area to native Vita resolution or "fullscreen = off" to keep the game area at the center of the screen.

Native resolution is supported (set "videomode = 960x544" option in config file or just click on the left door in main menu and select resolution manually).

fheroes2

Github Downloads Discord Facebook VK Donate

fheroes2

fheroes2 is a recreation of the Heroes of Might and Magic II game engine.

This open source multiplatform project, written from scratch, is designed to reproduce the original game with significant improvements in gameplay, graphics and logic (including support for high-resolution graphics, improved AI, numerous fixes and user interface improvements), breathing new life into one of the most addictive turn-based strategy games.

You can find a complete list of all of our changes and enhancements in its own wiki page.

Download and install

Please follow the installation guide to download and install fheroes2.

Github Downloads

Copyright

All rights for the original game and its resources belong to former The 3DO Company. These rights were transferred to Ubisoft. We do not encourage and do not support any form of illegal usage of the original game. We strongly advise to purchase the original game on GOG or Ubisoft Store platforms. Alternatively, you can download a free demo version of the game. Please refer to the installation guide for more information.

License

This project is licensed under the GNU General Public License v2.0.

Initially, the project was developed on sourceforge.

Contribution and Development

This repository is a place for everyone. If you want to contribute, please read more here.

To build the project from source, please follow this guide.

Build Status Bugs Code Smells Duplicated Lines (%)

If you would like to help translating the project, please read the translation guide.

Donation

We accept donations via Patreon, PayPal or Boosty. All donations will be used only for the future project development as we do not consider this project as a source of income by any means.

Donate Donate Donate

Contacts

Follow us on social networks: Facebook or VK. We also have a Discord server to discuss the development of the project.

Facebook VK Discord

FAQ

You can find answers to the most commonly asked questions on our F.A.Q. page.

Packages

No packages published

Languages

  • C++ 97.0%
  • CMake 0.8%
  • PowerShell 0.4%
  • Makefile 0.4%
  • Shell 0.4%
  • Java 0.3%
  • Other 0.7%