Giter Club home page Giter Club logo

fheroes2-vita-old's Introduction

This version is based on original fheroes2 project (that's currently inactive).

New version of the port (that's based on the newer version of fheroes2) can be downloaded here

https://github.com/Northfear/fheroes2-vita

FHeroes2 port for PS Vita

Building

Prerequisites

  • libSDL2 (libSDL1 works, but performance is far superior with second one)
  • libSDL2-mixer (optional, but sound is corrupted without it in libSDL2 build)
  • libSDL2-image (optional)
  • libSDL2-ttf (optional, but required for translations)

To build the game just run

make -f Makefile.vita

Original data

FHeroes2 requires data files from the original Heroes of Might and Magic 2.

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

Data from GoG version of the game is working nicely. Files from the demo version should work too.

Music files in OGG format should be placed into the ux0:data/fheroes2/files/music/ folder.

In order to get music working with audio from GoG release, some file renaming is required (at least with my version of the game).

  • homm2_01.ogg -> 02 Battle (1).ogg
  • homm2_02.ogg -> 03 Battle (2).ogg
  • homm2_03.ogg -> 04 Battle (3).ogg
  • homm2_04.ogg -> 06 Sorceress Castle.ogg
  • homm2_05.ogg -> 07 Warlock Castle.ogg
  • homm2_06.ogg -> 09 Necromancer Castle.ogg
  • homm2_07.ogg -> 10 Knight Castle.ogg
  • homm2_08.ogg -> 05 Barbarian Castle.ogg
  • homm2_09.ogg -> 08 Wizard Castle.ogg
  • homm2_10.ogg -> 11 Lava Theme.ogg
  • homm2_11.ogg -> 12 Wasteland Theme.ogg
  • homm2_12.ogg -> 13 Desert Theme.ogg
  • homm2_13.ogg -> 14 Snow Theme.ogg
  • homm2_14.ogg -> 15 Swamp Theme.ogg
  • homm2_15.ogg -> 16 Ocean Theme.ogg
  • homm2_16.ogg -> 17 Dirt Theme.ogg
  • homm2_17.ogg -> 18 Grass Theme.ogg
  • homm2_18.ogg -> 19 Lost Game.ogg
  • homm2_19.ogg -> 20 Week (1).ogg
  • homm2_20.ogg -> 21 Week (2) Month (1).ogg
  • homm2_21.ogg -> 22.ogg
  • homm2_22.ogg -> 23 Map Puzzle.ogg
  • homm2_23.ogg -> 24 Roland's Campaign.ogg
  • homm2_24.ogg -> 25.ogg
  • homm2_25.ogg -> 26.ogg
  • homm2_26.ogg -> 27.ogg
  • homm2_27.ogg -> 28.ogg
  • homm2_28.ogg -> 29.ogg
  • homm2_29.ogg -> 30.ogg
  • homm2_30.ogg -> 31.ogg
  • homm2_31.ogg -> 32.ogg
  • homm2_32.ogg -> 33.ogg
  • homm2_33.ogg -> 34.ogg
  • homm2_34.ogg -> 35.ogg
  • homm2_35.ogg -> 36.ogg
  • homm2_36.ogg -> 37.ogg
  • homm2_37.ogg -> 38.ogg
  • homm2_38.ogg -> 39.ogg
  • homm2_39.ogg -> 40.ogg
  • homm2_40.ogg -> 41.ogg
  • homm2_41.ogg -> 42 Main Menu.ogg
  • homm2_42.ogg -> 43.ogg

Custom maps

You can download some custom map packs here: https://sourceforge.net/projects/libsdl-android/files/FreeHeroes2/

Configuration

If you want to change game options (like resolution, audio settings, movement speed or translation), copy fheroes2.cfg from ux0:app/FHOMM0002/ to the ux0:data/fheroes2 and edit it.

960x544 resolution is supported, but performance isn't that good with it (especially during combat).

Controls

  • Left analog stick - Pointer movement
  • X button - Left mouse button
  • O button - Right mouse button
  • D-Pad - Map scrolling

To change pointer movement speed edit fheroes2.cfg (copy it from ux0:app/FHOMM0002/ into the ux0:data/fheroes2/ first) file and change vita_pointer_speed variable.

Touch controls are supported. To change touch control type or speed edit vita_touchcontrol_type and vita_touchcontrol_speed variables in fheroes2.cfg file.

  • 0 - touch disabled
  • 1 - tap mode touch control (default one)
  • 2 - offset mode touch control

To divide an army unit press and hold on it and drag the cursor to the empty cell.

Original port

https://sourceforge.net/projects/fheroes2/

fheroes2-vita-old's People

Contributors

northfear avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fheroes2-vita-old's Issues

Make errors

Hi,

I have a few make errors. it goes ok for a while but after some time it gives the following errors:
undefined reference to FLAC__stream_decoder_finish' undefined reference to MikMod_InfoLoader'
undefined reference to `mpg123_format'

What do I need to install for this? I installed all the prerequisites

fullscreen touch control

currently using 640x480 resolution stretched to fullscreen breaks the touch controls (cursor shows up in wrong place). Same problem when trying to use lower 16:9 resolutions, like 480x272. From what I see there is a commit titled "fullscreen touch control fix". Any chance for releasing 1.1 version with that fix?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.