Notices


Reply
Thread Tools
mece's Avatar
Posts: 1,111 | Thanked: 1,985 times | Joined on Aug 2009 @ Åbo, Finland
#31
Originally Posted by dbrodie View Post
@Bundyo: Yup, sorry my bad. Looks like fheroes didn't implement support for it.

@chenliangchen: Nope. I didn't work in the compile, so i commented out the code. I think that was the main change needed from a clean compile to get it to work...
Care to gz up your slightly modified code so I could take a gander? Perhaps make a devel build?
__________________
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.
 
efekt's Avatar
Posts: 422 | Thanked: 320 times | Joined on Oct 2009 @ Israel
#32
Hmmm and in the same time - I noticed that its not possible to save games - anyone knows why? maybe something in the configurations? I'll check...
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#33
@efekt: It is possible, though you would need to change the ownership of the saves folder to user

@chenliangchen: sound effects work or I'm imagining things Probably dbrodie commented out only the music support.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 

The Following User Says Thank You to Bundyo For This Useful Post:
efekt's Avatar
Posts: 422 | Thanked: 320 times | Joined on Oct 2009 @ Israel
#34
Everything works - sound effects and music included. I will try to change the ownership, thanks
 
chenliangchen's Avatar
Posts: 1,478 | Thanked: 9,871 times | Joined on Dec 2008 @ Shanghai / London
#35
Originally Posted by Bundyo View Post
@efekt: It is possible, though you would need to change the ownership of the saves folder to user

@chenliangchen: sound effects work or I'm imagining things Probably dbrodie commented out only the music support.
Thank you!! I just found the original H2 CD from the dust and the CD track is beautiful! But the midi is also very nice.
 
Posts: 22 | Thanked: 2 times | Joined on Dec 2009
#36
when im trying to move the data file i getermission denied. i tried with sudo gainroot and with just root.
 
efekt's Avatar
Posts: 422 | Thanked: 320 times | Joined on Oct 2009 @ Israel
#37
To move/copy files to /opt you got to be root - if you get this sort of error it means that you're NOT root.

Btw, changed ownership on the /files folder, and now save works! I'm gonna have so much fun
 
Posts: 163 | Thanked: 96 times | Joined on Feb 2010 @ Israel
#38
Originally Posted by mece View Post
Care to gz up your slightly modified code so I could take a gander? Perhaps make a devel build?
More then happy to,
knock yourself out!


[EDIT]
Forgot to mention that from a quick diff that I did, it seems I only commented out some music code that wasn't compiling, this was from the trunk of the project about a month ago, so I don't know what changed since then. Also the bug might be easily fixable if you play around with it (was a misdeclared struct).
Good Luck!
 

The Following User Says Thank You to dbrodie For This Useful Post:
mece's Avatar
Posts: 1,111 | Thanked: 1,985 times | Joined on Aug 2009 @ Åbo, Finland
#39
Originally Posted by dbrodie View Post
More then happy to,
knock yourself out!


[EDIT]
Forgot to mention that from a quick diff that I did, it seems I only commented out some music code that wasn't compiling, this was from the trunk of the project about a month ago, so I don't know what changed since then. Also the bug might be easily fixable if you play around with it (was a misdeclared struct).
Good Luck!
Where did you modify it? In the source or the build configs? Did you try with --enable-sound=no or something like that?
__________________
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: 163 | Thanked: 96 times | Joined on Feb 2010 @ Israel
#40
Bah, why am I doing this and not finishing my resume? I need a job!

Anyway, based on a quick diff, I changed the audio_music.cpp/.h
Commented out the Mix_Chunk definition in the .h
and in the .cpp commented out most of the body of Music::Play.
I think that if you can get the Mix_Chunk to be defined properly then it should work. Could be that the SDL_mixer for maemo is compiled differently then what they are expecting (something with USE_RWOPS?),
but except for that it compiled cleanly.

Sorry, but I don't remember the compile options (more then a month ago), except --prefix=/opt/fheroes (obviously)
 
Reply

Tags
fheroes2, homm

Thread Tools

 
Forum Jump


All times are GMT. The time now is 09:31.