The Following User Says Thank You to tobiasj For This Useful Post: | ||
![]() |
2009-03-24
, 14:26
|
Posts: 23 |
Thanked: 9 times |
Joined on Feb 2009
|
#12
|
![]() |
2009-03-24
, 14:42
|
Posts: 186 |
Thanked: 56 times |
Joined on Mar 2008
|
#13
|
![]() |
2009-03-24
, 15:22
|
|
Posts: 4,708 |
Thanked: 4,649 times |
Joined on Oct 2007
@ Bulgaria
|
#14
|
![]() |
2009-03-24
, 16:04
|
|
Posts: 241 |
Thanked: 74 times |
Joined on Jul 2007
|
#15
|
Wishing this didn't put anything in my home directly. I symlinked .tmw (which has settings, downloads, cache and the like) to a spot on /media/mmc1, but it would be nice to be just have it directly write there...
With regards to performance, there are some in game settings which can be tweaked to improve matters quite nicely.
![]() |
2009-03-24
, 16:09
|
|
Posts: 241 |
Thanked: 74 times |
Joined on Jul 2007
|
#16
|
About the sound - there are two routes - you can convert the sounds to mp3, or use the way linman got Widelands working with sound (if I remember correctly). r maybe there is some new way of going ogg in SDL, but I don't know about it. Didn't port anything recently.
![]() |
2009-03-24
, 16:41
|
Posts: 1,208 |
Thanked: 1,028 times |
Joined on Oct 2007
|
#17
|
![]() |
2009-03-24
, 18:51
|
|
Posts: 241 |
Thanked: 74 times |
Joined on Jul 2007
|
#18
|
![]() |
2009-03-24
, 19:30
|
|
Posts: 241 |
Thanked: 74 times |
Joined on Jul 2007
|
#20
|
I added the ogg support that you can download from maemo.org and while I can play the OGG files now in media player they still do not work in the game. I get:
[12:38:54.24] Sound::init() Initializing sound...
[12:38:54.30] Sound::info() SDL_mixer: 1.2.6 (compiled)
[12:38:54.30] Sound::info() SDL_mixer: 1.2.6 (linked)
[12:38:54.30] Sound::info() Driver: esd
[12:38:54.30] Sound::info() Format: S16LSB
[12:38:54.30] Sound::info() Rate: 22050
[12:38:54.30] Sound::info() Channels: 2
So no errors init'ng sound system
but then:
[13:38:57.57] Sound::startMusic() Playing "/media/mmc1/share/tmw/data/music/Magick - Real.ogg" -1 times
[13:38:57.58] Sound::startMusic() Warning: error loading file: Module format not recognized
Soooo it still doesn't like the ogg files, however it is trying to load them. I am trying to find the code that actually lists what files get played when and see if I can change it to MP3 or something silly like that and then convert the ogg to mp3 files.
The sound effects are much the same I assume since they are:
bat-dying1.ogg
bat-hit1.ogg
bow_shoot_1.ogg
fire-goblin-hit1.ogg
fire-goblin-hit2.ogg
fire-goblin-miss1.ogg
fist-swish.ogg
flower-hit1.ogg
flower-hit2.ogg
flower-miss1.ogg
fluffy-hit1.ogg
fluffy-hit2.ogg
fluffy-hit3.ogg
fluffy-hurt1.ogg
fluffy-miss1.ogg
knife-hit1.ogg
knife-miss1.ogg
levelup.ogg
loghead-hurt1.ogg
loghead-hurt2.ogg
loghead-hurt3.ogg
loghead-hurt4.ogg
loghead-hurt5.ogg
maggot-dying1.ogg
maggot-hit1.ogg
maggot-hit2.ogg
maggot-miss1.ogg
pinkie-hit1.ogg
pinkie-miss1.ogg
scorpion-hit1.ogg
scorpion-hit2.ogg
scorpion-hit3.ogg
scorpion-hit4.ogg
scorpion-miss1.ogg
short-sword-hit1.ogg
short-sword-miss1.ogg
shroom-hit1.ogg
slime-hit1.ogg
onward and upward...
-John
Last edited by tobiasj; 2009-03-24 at 13:58.