![]() |
[Almost there] Running fheroes2 on Harmattan
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?:D Here is my cfg file. Code:
# Default config fheroes2.cfg options: |
Re: [Almost there] Running fheroes2 on Harmattan
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. |
Re: [Almost there] Running fheroes2 on Harmattan
Quote:
(They remixed the Grass theme in the newest HOMM6 ) |
Re: [Almost there] Running fheroes2 on Harmattan
Quote:
I'll capture the terminal info later... Update: Can't find any image server for the screenshot... |
Re: [Almost there] Running fheroes2 on Harmattan
Quote:
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...:rolleyes: |
Re: [Almost there] Running fheroes2 on Harmattan
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". |
Re: [Almost there] Running fheroes2 on Harmattan
One thing I notice while reading the cfg you posted:
Code:
# video mode (640x480, 800x576, 1024x768, 1280x1024 or other divisible 32) Perhaps you should try changing 854 to 832 (which is 26*32)? |
Re: [Almost there] Running fheroes2 on Harmattan
Quote:
|
Re: [Almost there] Running fheroes2 on Harmattan
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...
|
Re: [Almost there] Running fheroes2 on Harmattan
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......
|
Re: [Almost there] Running fheroes2 on Harmattan
Tried all possibilities. While disable full screen it shows status bar and others remains black. So I guess it's not problem of config. I need someone to look at the built. Maybe it's the sdl and video coding... @mece can you give us some suggestions pls? :)
|
Re: [Almost there] Running fheroes2 on Harmattan
hm I might have misread the first post? dId you insttall the deb from fremantle? tHat will not work due to them not being binary compatible (fremantle is softfp and harmattan is hardfp) so you will need to recompile for harmattan. Where did you get the libraries?
|
Re: [Almost there] Running fheroes2 on Harmattan
Quote:
I basicly install the deb for frementle and I install all the libsdls on terminal using apt-get. Recompile is needed...:) |
Re: [Almost there] Running fheroes2 on Harmattan
I tried Ubuntu version but also got problems.
If someone can compile fheroes2 to harmattan as mece did for fremental I would donate $20 for that... Any HOMM fan interested? |
Re: [Almost there] Running fheroes2 on Harmattan
I'm interested but i'm not a devlopper :(
|
Re: [Almost there] Running fheroes2 on Harmattan
Quote:
|
Re: [Almost there] Running fheroes2 on Harmattan
Quote:
|
Re: [Almost there] Running fheroes2 on Harmattan
4 Attachment(s)
Good news, fellows!
I've tried to build fheroes2 for harmattan too and have actually managed to do it, see attached screenshots. But I have a few questions: 1) Touchscreen doesn't work properly - mouse pointer is displaced a bit and has some post touch movement effect. I haven't touched any original source code, do I need this for fix? I've played with config file but still no luck. I'm not familiar with SDL input system. 2) on the second screenshot you can see these graphic bugs right? there's something wrong with animation 3) Sometimes some sounds (like constructing a new building in town) are not played just once but looped. I had some difficulties with SDL mixer (error linking some ogg related libs, maybe you know what package I need?) and as it was an optional feature I built game without it for now. Could this cause this problem? As soon as I manage to build something pretty stable and nice I'll provide it on my meego apps page |
Re: [Almost there] Running fheroes2 on Harmattan
For some reason my previous message has not been posted.
I've managed to build fheroes2 for Harmattan! :) Though there are several issues left, the biggest one is graphics artifacts on redraw. @mece, did you have this problem on N900? The package is not available now, but I think it will be soon... This is brief description of what I have done with a couple of screenshots http://ink.ho.ua/meego.html#3 |
Re: [Almost there] Running fheroes2 on Harmattan
|
Re: [Almost there] Running fheroes2 on Harmattan
Thanks so much!
|
Re: [Almost there] Running fheroes2 on Harmattan
Quote:
If someone wants to donate please purchase Pedometer from Nokia Store (another application of mine). |
All times are GMT. The time now is 10:50. |
vBulletin® Version 3.8.8