Go Back   maemo.org - Talk > Software > Games
 
Register FAQ Community Calendar Today's Posts Search

Notices

Reply
 
Thread Tools
  #1  
Old 2010-04-23, 18:28
mece's Avatar
mece mece is offline
 
Join Date: Aug 2009
Location: Åbo, Finland
Posts: 1,111
Thanks!: 1,613
Thanked 1,985 Times in 481 Posts
Smile [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine

Free Heroes 2 is now in extras-devel!



We'll use this thread for bugreporting at first.

Instructions:

Install the program and copy your data and maps files (under DATA and MAPS folders in the original game) to /opt/fheroes2/files/data
and the map files under /opt/fheroes2/files/maps

You can have them elsewhere if you modify the fheroes2.cfg to point to the correct location.

Please note that Campaign mode and Kingdom view is not implemented in the upstream, so we'll have to wait until the developer implements those.

This is due to the fact that There is a demodata package coming to extras, with the demo data automagically installed.

if you don't have the game, you can download the demo data package from extras-devel, and be able to play it right away.

the config and save files are stored under ~/.fheroes2/fheroes2.cfg and ~/.fheroes2/save/
so if you have save files from playing the earlier versions, you can copy them there and they will (should) show up in the game.

Gameplay:
It seems to work very well on my device at least. Right click is mapped to ctrl-click, or you can enable longclick by changeing the line
# pocket pc = off
to
pocket pc = on
in the fheroes.cfg file mentioned above.



Big thank yous go out to MohamamdAG for the packaging assistance and Frank Banul for providing icon and desktop file.

PS: if you installed build 6 or earlier, you will have to modify your fheroes2.cfg file, or copy the new fheroes2_default.cfg file over it to get the correct data and maps paths for the demodata package. reinstalling will not automatically replace your cfg file.

The packages are optified. They will however take up 5786 bytes of data on your rootfs.


****
To install the data files from your original game you need to transfer the MAPS and DATA folders to your phone.

You then need to copy the contents from MyDocs to opt:
I have my data stored under Mydocs/Games/HOMM2/
so I would write the following to copy them to the proper place:
Code:
root
cp /home/user/MyDocs/games/HOMM2/MAPS/* /opt/fheroes2/files/maps/
cp /home/user/MyDocs/games/HOMM2/DATA/* /opt/fheroes2/files/data/
__________________
Class .. : Meddler, Thread watcher, Developer, Helper
Humor .. : [********--] Alignment: Pacifist
Patience : [*****-----] Weapon(s): N900, N950, Metal music
Agro ... : [----------] Relic(s) : N95, NGage, Tamyia Wild One

Try Tweed Suit for your hardcore twittering needs
http://twitter.com/mece66
I like my coffee black, like my metal.

Last edited by mece; 2010-08-02 at 11:54.
Reply With Quote
  #2  
Old 2010-04-23, 19:45
drums4life687 drums4life687 is offline
 
Join Date: Feb 2010
Location: United States
Posts: 27
Thanks!: 11
Thanked 0 Times in 0 Posts
Default Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine

So i followed these instructions however whenever I try to start the game a few windows open then close right away. No game data appears to load and the windows are black for the short time they are open.

I tried uninstalling and reinstalling but still have the same problem. Using version, 0.5-maemo-7. Any insight?
Reply With Quote
  #3  
Old 2010-04-23, 19:58
mece's Avatar
mece mece is offline
 
Join Date: Aug 2009
Location: Åbo, Finland
Posts: 1,111
Thanks!: 1,613
Thanked 1,985 Times in 481 Posts
Default Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine

There is now a new package in extras-devel which is called fheroes2-demodata, which contains demodata for fheroes2. It contains one map for the game.

You can just install the demodata package if you want to play the game right away, the actual game will be installed with it.

if you have the original files, then just install the fheroes2 package and copy the data and maps files to /opt/fheroes2/files/data and /opt/fheroes2/files/maps.

You can also move the data files to MyDocs if you want, but then you have to modify the fheroes2.cfg file in ~/.fheroes2/ to point to the new location.

Here's a screenshot from the demo:
__________________
Class .. : Meddler, Thread watcher, Developer, Helper
Humor .. : [********--] Alignment: Pacifist
Patience : [*****-----] Weapon(s): N900, N950, Metal music
Agro ... : [----------] Relic(s) : N95, NGage, Tamyia Wild One

Try Tweed Suit for your hardcore twittering needs
http://twitter.com/mece66
I like my coffee black, like my metal.
Reply With Quote
The Following 3 Users Say Thank You to mece For This Useful Post:
  #4  
Old 2010-04-23, 20:00
mece's Avatar
mece mece is offline
 
Join Date: Aug 2009
Location: Åbo, Finland
Posts: 1,111
Thanks!: 1,613
Thanked 1,985 Times in 481 Posts
Default Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine

Quote:
Originally Posted by drums4life687 View Post
So i followed these instructions however whenever I try to start the game a few windows open then close right away. No game data appears to load and the windows are black for the short time they are open.

I tried uninstalling and reinstalling but still have the same problem. Using version, 0.5-maemo-7. Any insight?
uninstall and delete the config file, and then reinstall. That should do it. Do you have the data files? Those are required. If you don't have them, download the demodata package.

EDIT the config file is /home/user/.fheroes2/fheroes2.cfg
__________________
Class .. : Meddler, Thread watcher, Developer, Helper
Humor .. : [********--] Alignment: Pacifist
Patience : [*****-----] Weapon(s): N900, N950, Metal music
Agro ... : [----------] Relic(s) : N95, NGage, Tamyia Wild One

Try Tweed Suit for your hardcore twittering needs
http://twitter.com/mece66
I like my coffee black, like my metal.

Last edited by mece; 2010-04-23 at 20:06.
Reply With Quote
  #5  
Old 2010-04-23, 21:06
usar usar is offline
 
Join Date: Apr 2010
Posts: 13
Thanks!: 5
Thanked 4 Times in 3 Posts
Default Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine

is it normal to see whole map opened in start?
also i always start with a super hero with some dragons.
Reply With Quote
  #6  
Old 2010-04-23, 22:34
ang ang is offline
 
Join Date: Jan 2010
Posts: 10
Thanks!: 1
Thanked 8 Times in 2 Posts
Default Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine

got music working. i uploaded the ogg files onto 4shared:

http://www.4shared.com/file/n4lWYGOi/homm2music.html

unzip these into your /fheroes2/files/music directory

edit your fheroes2.cfg file so that the line

music = on

says music = ext

you may also want to uncomment the music volume line and change it to 8, i found that to be about the right loudness.
Reply With Quote
The Following 6 Users Say Thank You to ang For This Useful Post:
  #7  
Old 2010-04-23, 22:37
mece's Avatar
mece mece is offline
 
Join Date: Aug 2009
Location: Åbo, Finland
Posts: 1,111
Thanks!: 1,613
Thanked 1,985 Times in 481 Posts
Default Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine

Quote:
Originally Posted by usar View Post
is it normal to see whole map opened in start?
also i always start with a super hero with some dragons.
No, it's not normal.. The
maps files need to be owned by user.
this will fix the problem:
I will patch the packages. Thanks for reporting.

[code]root
chown user /opt/fheroes2/files/maps
chown user /opt/fheroes2/files/maps/*

EDIT: New version (build #8) fixes this issue
__________________
Class .. : Meddler, Thread watcher, Developer, Helper
Humor .. : [********--] Alignment: Pacifist
Patience : [*****-----] Weapon(s): N900, N950, Metal music
Agro ... : [----------] Relic(s) : N95, NGage, Tamyia Wild One

Try Tweed Suit for your hardcore twittering needs
http://twitter.com/mece66
I like my coffee black, like my metal.

Last edited by mece; 2010-04-24 at 00:14.
Reply With Quote
The Following 2 Users Say Thank You to mece For This Useful Post:
  #8  
Old 2010-04-23, 22:39
Maalak Maalak is offline
 
Join Date: Feb 2010
Posts: 5
Thanks!: 0
Thanked 0 Times in 0 Posts
Default Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine

Thank you very much

I had a crash with the demo map while I was moving the hero on the map, but after a new trial with the true game maps, everything seemed ok.

Except that texts are damn small. I fear what it would have been if both screen and games were 800x600 instead of the "small" 640x480
Reply With Quote
  #9  
Old 2010-04-24, 00:11
mece's Avatar
mece mece is offline
 
Join Date: Aug 2009
Location: Åbo, Finland
Posts: 1,111
Thanks!: 1,613
Thanked 1,985 Times in 481 Posts
Default Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine

Quote:
Originally Posted by Maalak View Post
Thank you very much

I had a crash with the demo map while I was moving the hero on the map, but after a new trial with the true game maps, everything seemed ok.

Except that texts are damn small. I fear what it would have been if both screen and games were 800x600 instead of the "small" 640x480
you can change the size of the fonts if you modify the fheroes2.cfg file like this:
Code:
# use ttf fonts
# unicode = off
#
# force lang
# lang = en
#
# font name (only with unicode = on)
# fonts normal = dejavusans.ttf
# fonts small = dejavusans.ttf
# fonts normal size = 15
# fonts small size = 10
to
Code:
# use ttf fonts
unicode = on
#
# force lang
# lang = en
#
# font name (only with unicode = on)
fonts normal = dejavusans.ttf
fonts small = dejavusans.ttf
fonts normal size = 18
fonts small size = 12
Not as pretty, but easier to read.
__________________
Class .. : Meddler, Thread watcher, Developer, Helper
Humor .. : [********--] Alignment: Pacifist
Patience : [*****-----] Weapon(s): N900, N950, Metal music
Agro ... : [----------] Relic(s) : N95, NGage, Tamyia Wild One

Try Tweed Suit for your hardcore twittering needs
http://twitter.com/mece66
I like my coffee black, like my metal.
Reply With Quote
  #10  
Old 2010-04-24, 06:32
kara_bass kara_bass is offline
 
Join Date: Mar 2010
Location: St.Petersburg, Russia
Posts: 3
Thanks!: 0
Thanked 2 Times in 1 Post
Default Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine

You can do right click a lot easier )

in .cfg file
tap mode = on

then, long tap does right click :-)

p.s.: sorry for my english
Reply With Quote
The Following 2 Users Say Thank You to kara_bass For This Useful Post:
Reply

Tags
fheroes2, homm2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 21:04.