View Single Post
mece's Avatar
Posts: 1,111 | Thanked: 1,985 times | Joined on Aug 2009 @ Åbo, Finland
#50
Please note that the information here is a outdated. Download the game from extras-devel instead

Screenshot 800x480 settings:



This is how you can get free heroes 2 running a demo version:

fetch these files:
The game engine: (link)
Code:
http://hedwerks.net/stuff/fheroes2_maemo1.tar.gz
The demo for windows: (link)
Code:
http://downloads.pcworld.com/pub/new/fun_and_games/adventure_strategy/h2demo.zip
with browser or wget.

In my example I will put these in a folder called downloads under MyDocs.

launch xterm and run the following:
Code:
root
apt-get install unzip 
exit
tar -xzvf MyDocs/downloads/fheroes2_maemo1.tar.gz
cd MyDocs/downloads
unzip h2demo.zip -d temp
mv temp/DATA/HEROES2.AGG /home/user/fheroes2/data/
mv temp/MAPS/BROKENA.MP2 /home/user/fheroes2/maps/
cd
EDIT: Was a typo in the previous bit. Fixed it.

If you want you could skip the step where you mv the data and map files and leave them under MyDocs to save space in /home.

you need to modify /home/user/fheroes2/fheroes2.cfg
uncomment the # data = data and the # maps = maps lines and change it to
Code:
data = /home/user/MyDocs/downloads/temp/DATA
maps = /home/user/MyDocs/downloads/temp/MAPS

Then launch the game like this:

Code:
cd fheroes2
./fheroes2
ctrl-click is rightclick.


if it doesn't work, try installing these packages: libsdl1.2 libsdl-mixer1.2 libsdl-image1.2 libsdl-net1.2 libsdl-ttf2.0-0 libogg0

like this:
Code:
root
apt-get install libsdl1.2 libsdl-mixer1.2 libsdl-image1.2 libsdl-net1.2 libsdl-ttf2.0-0 libogg0
Hope it works.
EDIT: Not sure where those packages are. Some of the might be in extras-devel still.

EDIT2: If you have the complete game, copy all the .agg files from DATA folder to /home/user/fheroes2/data/ and all the .mp2 files from the MAPS folder to /home/user/fheroes2/maps/ to get everything loaded. Haven't tried it since I don't have the game, but there are some instructions earlier in the thread.

EDIT3: If you want you can leave the maps and data files in MyDocs and just modify the fheroes2.cfg file so that maps = /home/user/Mydocs/<wherever you put your map files>/
and the same for data. Saves some space in /home

EDIT4: Modify fheroes2/fheroes2.cfg and uncomment "# videomode 640x480" and change it to "videomode = 800x480" to get fullscreen in the game. Main menu will not change though.
__________________
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 23:48.
 

The Following 6 Users Say Thank You to mece For This Useful Post: