Notices


Reply
Thread Tools
chenliangchen's Avatar
Posts: 1,478 | Thanked: 9,871 times | Joined on Dec 2008 @ Shanghai / London
#1
The fheroes2 is almost working on N9(50)

I installed the fheroes2 0.5 from fremantle, and manually copied the data file in /opt/fheroes2

When I run from terminal, the screen is completey black. But the music is playing. Occationaly I can see the "fheroes2 setting", but the rest ae black...

I tried to mod the cfg. file but it was still black with music.

Anyone have any ideas?

Here is my cfg file.

Code:
# Default config fheroes2.cfg options:
#
# path to directory data
data = /opt/fheroes2/files/data
#
# path to directory maps, you can set few maps
# maps = maps
maps = /opt/fheroes2/files/maps
#
# use alternative resource
# alt resource = off
#
# sound: on off
sound = on
#
# music: on,midi,cd,ext,off
music = ext
#
# sound volume: 0 - 10
# sound volume = 6
#
# music volume: 0 - 10
# music volume = 6
#
# external play music command:
# playmus command = ""
#
# video mode (640x480, 800x576, 1024x768, 1280x1024 or other divisible 32)
videomode = 854x480
#
# current animation speed: 0 - 10
# animation = 6
#
# fullscreen: on off (F4 switch)
fullscreen = on
#
# debug
debug = 0
#
# 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
#
# fonts render engine: (blended/solid) (only with unicode = on)
# fonts render = solid
#
# network port:
# port = 5154
#
# pocket pc emulation (set auto on for videomode < 640x480)
pocket pc = off
#
# pocket pc options:
# tap delay = 1050
# pointer offset x = 0
# pointer offset y = 0
#
# virtual key mapping:
# key_273 = '.'
# key_275 = '/'
Thanks...
 

The Following 5 Users Say Thank You to chenliangchen For This Useful Post:
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#2
Hi! Did you also manage to copy all the needed dependencies? I don't have any n9 so can't help you but base on your explanation seems like sdl dependencies aren't installed. Could you by chance run fheroes from terminal so error outputs are shown?

BTW dependencies are here:
Depends:
libsdl1.2, libsdl-mixer1.2, libsdl-image1.2, libsdl-net1.2, libsdl-ttf2.0-0, libogg0

Make sure all of them are on n9 too before running fheroes.
 
HtheB's Avatar
Moderator | Posts: 3,715 | Thanked: 7,419 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#3
Originally Posted by chenliangchen View Post
When I run from terminal, the screen is completey black. But the music is playing.
That's all I need in this game... The music (especially the "Grass theme" ) is just damn awesome!

(They remixed the Grass theme in the newest HOMM6 )
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
 
chenliangchen's Avatar
Posts: 1,478 | Thanked: 9,871 times | Joined on Dec 2008 @ Shanghai / London
#4
Originally Posted by Radicalz38 View Post
Hi! Did you also manage to copy all the needed dependencies? I don't have any n9 so can't help you but base on your explanation seems like sdl dependencies aren't installed. Could you by chance run fheroes from terminal so error outputs are shown?

BTW dependencies are here:
Depends:
libsdl1.2, libsdl-mixer1.2, libsdl-image1.2, libsdl-net1.2, libsdl-ttf2.0-0, libogg0

Make sure all of them are on n9 too before running fheroes.
Hi! I can confirm that all the dependencies are installed. I checked with aptget.

I'll capture the terminal info later...

Update: Can't find any image server for the screenshot...

Last edited by chenliangchen; 2011-11-15 at 14:46.
 
chenliangchen's Avatar
Posts: 1,478 | Thanked: 9,871 times | Joined on Dec 2008 @ Shanghai / London
#5
Originally Posted by HtheB View Post
That's all I need in this game... The music (especially the "Grass theme" ) is just damn awesome!

(They remixed the Grass theme in the newest HOMM6 )
Yes the grass theme is my favourite. And HOMM2 music is the best to me in all the series.

I bought two copies of heroes2, one for game and one was for music in CD player.

BTW, the remixed grass theme was not included in the sound track CD comes with the limited edition of HOMM6...
 
shallimus's Avatar
Posts: 568 | Thanked: 969 times | Joined on Dec 2009 @ Toronto
#6
I'd love to have Heroes 2 on my N9. I wonder if it drains the battery like it did on the N900 (just my observation, but it seemed like it kept chewing up CPU cycles even when minimised).

I'm going to have a go at getting this working too. This was one of the few things I did on the N900 where the stylus really came into its own; I wonder how easy (or otherwise)

OT: After the big pile of isometric 3D meh that was HoMM 4 I sorta lost interest in the series. HoMM 2 was the greatest in terms of look and feel, and 3 was the best gameplay (for me, anyway). I'll have to check out 5 and 6 just in case they stopped adding stupid 3D stuff and went back to the gameplay which made the series great in the first place. Anyone have any thoughts on this?

Even more OT: anyone else keep hearing HoMM sound effects in cartoons, movies, radio ads etc. etc. (like the treasure sound, the dragon sound, the victory sound and so on?) I realise they might be from some licensed/free sound effects library, but to me they'll always be "the sounds from Heroes".
__________________
tinfoilhat.dll: Trojan horse detected
Sailfish want list: calendar bugfixes, glanceable agenda, Swype or similar
Evolution continues (but we're still pre-Cambrian)


Last edited by shallimus; 2011-11-15 at 14:45.
 
shallimus's Avatar
Posts: 568 | Thanked: 969 times | Joined on Dec 2009 @ Toronto
#7
One thing I notice while reading the cfg you posted:
Code:
# video mode (640x480, 800x576, 1024x768, 1280x1024 or other divisible 32)
videomode = 854x480
854 is not divisible by 32 - perhaps this is important for the way the game handles scaling.

Perhaps you should try changing 854 to 832 (which is 26*32)?
__________________
tinfoilhat.dll: Trojan horse detected
Sailfish want list: calendar bugfixes, glanceable agenda, Swype or similar
Evolution continues (but we're still pre-Cambrian)

 
chenliangchen's Avatar
Posts: 1,478 | Thanked: 9,871 times | Joined on Dec 2008 @ Shanghai / London
#8
Originally Posted by shallimus View Post
One thing I notice while reading the cfg you posted:
Code:
# video mode (640x480, 800x576, 1024x768, 1280x1024 or other divisible 32)
videomode = 854x480
854 is not divisible by 32 - perhaps this is important for the way the game handles scaling.

Perhaps you should try changing 854 to 832 (which is 26*32)?
I tried both 800x480 and 640x480 before, still black...
 

The Following User Says Thank You to chenliangchen For This Useful Post:
chenliangchen's Avatar
Posts: 1,478 | Thanked: 9,871 times | Joined on Dec 2008 @ Shanghai / London
#9
This free engine should be written in opengl? So we have to make it into opengles in order to see the video output. But mece should already done it in this package. I can't understand why still black...
 
chenliangchen's Avatar
Posts: 1,478 | Thanked: 9,871 times | Joined on Dec 2008 @ Shanghai / London
#10
Totay I changed data file (I was using heroes2 gold data file before) and now I swapped with the demo file it was still black. Later I'll try with full screen off......
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:03.