Active Topics

 



Notices


Reply
Thread Tools
mece's Avatar
Posts: 1,111 | Thanked: 1,985 times | Joined on Aug 2009 @ Åbo, Finland
#1
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.
 

The Following 41 Users Say Thank You to mece For This Useful Post:
Posts: 27 | Thanked: 0 times | Joined on Feb 2010 @ United States
#2
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?
 
mece's Avatar
Posts: 1,111 | Thanked: 1,985 times | Joined on Aug 2009 @ Åbo, Finland
#3
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.
 

The Following 3 Users Say Thank You to mece For This Useful Post:
mece's Avatar
Posts: 1,111 | Thanked: 1,985 times | Joined on Aug 2009 @ Åbo, Finland
#4
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.
 
Posts: 13 | Thanked: 4 times | Joined on Apr 2010
#5
is it normal to see whole map opened in start?
also i always start with a super hero with some dragons.
 
Posts: 10 | Thanked: 8 times | Joined on Jan 2010
#6
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.
 

The Following 6 Users Say Thank You to ang For This Useful Post:
mece's Avatar
Posts: 1,111 | Thanked: 1,985 times | Joined on Aug 2009 @ Åbo, Finland
#7
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.
 

The Following 2 Users Say Thank You to mece For This Useful Post:
Posts: 5 | Thanked: 0 times | Joined on Feb 2010
#8
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
 
mece's Avatar
Posts: 1,111 | Thanked: 1,985 times | Joined on Aug 2009 @ Åbo, Finland
#9
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.
 
Posts: 3 | Thanked: 2 times | Joined on Mar 2010 @ St.Petersburg, Russia
#10
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
 

The Following 2 Users Say Thank You to kara_bass For This Useful Post:
Reply

Tags
fheroes2, homm2


 
Forum Jump


All times are GMT. The time now is 11:33.