Sound Bug
- strikerbcb
- Novice
- Posts: 155
- Joined: 15 Apr 2005, 06:42
- Location: Brasil
- Contact:
Sound Bug
I´m compiling the latest SVN, but i have no sound or music, this is an error i give :
[18:46:46.89] Loaded data/sfx/maggot-dying1.ogg
[18:46:46.89] Error, failed to load sound effect: Unrecognized sound file type
[18:47:08.93] Sound::startMusic() Playing "data/music/vilarejo.ogg" -1 times
[18:47:08.93] Sound::startMusic() Warning: error loading file.
The sounds and musics are in data directory of tmw :
music
/data/music
sfx
/data/sfw
It´s some problem of the codec or with the dlls ?
EDIT : When i update tmw svn, i give now one compiler error :
E:\MDD 2D\src\sound.cpp: In member function `void Sound::playMusic(const std::string&, int)':
E:\MDD 2D\src\sound.cpp:138: error: 'class ResourceManager' has no member named 'getPath'
Thanks
[18:46:46.89] Loaded data/sfx/maggot-dying1.ogg
[18:46:46.89] Error, failed to load sound effect: Unrecognized sound file type
[18:47:08.93] Sound::startMusic() Playing "data/music/vilarejo.ogg" -1 times
[18:47:08.93] Sound::startMusic() Warning: error loading file.
The sounds and musics are in data directory of tmw :
music
/data/music
sfx
/data/sfw
It´s some problem of the codec or with the dlls ?
EDIT : When i update tmw svn, i give now one compiler error :
E:\MDD 2D\src\sound.cpp: In member function `void Sound::playMusic(const std::string&, int)':
E:\MDD 2D\src\sound.cpp:138: error: 'class ResourceManager' has no member named 'getPath'
Thanks
<<Striker>> - Evolving Ever
Project World of Dragons - Brazilian Total Rework Fork of the TMW and a newer 3D Client/Server
Mundo dos Dragões - http://www.mundodosdragoes.org
Project World of Dragons - Brazilian Total Rework Fork of the TMW and a newer 3D Client/Server
Mundo dos Dragões - http://www.mundodosdragoes.org
- strikerbcb
- Novice
- Posts: 155
- Joined: 15 Apr 2005, 06:42
- Location: Brasil
- Contact:
Any ideas on how i fix this problem ?, if i revert the file sound.cpp in the svn the tmw compile fine, but without any sound or music. And if i use the latest sound.cpp of svn i can't compile anymore, give a getPath indefined.
Thanks for the attention.
Thanks for the attention.
<<Striker>> - Evolving Ever
Project World of Dragons - Brazilian Total Rework Fork of the TMW and a newer 3D Client/Server
Mundo dos Dragões - http://www.mundodosdragoes.org
Project World of Dragons - Brazilian Total Rework Fork of the TMW and a newer 3D Client/Server
Mundo dos Dragões - http://www.mundodosdragoes.org
- ElvenProgrammer
- Founder
- Posts: 2526
- Joined: 13 Apr 2004, 19:11
- Location: Italy
- Contact:
Re: Sound Bug
Weird, did you compile libogg, libvorbis and SDL-mixer yourself or did you use the one shipped in the DevPak.strikerbcb wrote: [18:46:46.89] Loaded data/sfx/maggot-dying1.ogg
[18:46:46.89] Error, failed to load sound effect: Unrecognized sound file type
I've never seen this file, is it an official TMW music file?strikerbcb wrote: [18:47:08.93] Sound::startMusic() Playing "data/music/vilarejo.ogg" -1 times
[18:47:08.93] Sound::startMusic() Warning: error loading file.
Latest SVN compiles just fine here, I think Crush committed a fix about this some time ago, did you update lately?strikerbcb wrote:When i update tmw svn, i give now one compiler error :
E:\MDD 2D\src\sound.cpp: In member function `void Sound::playMusic(const std::string&, int)':
E:\MDD 2D\src\sound.cpp:138: error: 'class ResourceManager' has no member named 'getPath'
Thanks
- strikerbcb
- Novice
- Posts: 155
- Joined: 15 Apr 2005, 06:42
- Location: Brasil
- Contact:
No, i'm not compile, i use the devpack in codeblocks.Weird, did you compile libogg, libvorbis and SDL-mixer yourself or did you use the one shipped in the DevPak
No, it's a music i have here. But its works fine in players, and the oficial musics ( and all sounds like SFX ) don't work too.I've never seen this file, is it an official TMW music file?
Yes, it's the latest SVN and with the Crush alteration ...Latest SVN compiles just fine here, I think Crush committed a fix about this some time ago, did you update lately?
obs. : With the previous version of SVN, it's compiles, but without any kind of sound. With the Latest version, it's not compiles and i give the error with getPath.
Please help me ...
I'm using Windows XP SP2, latest Codeblocks and Mingw, and the latest tmw.devpack.
Thanks
<<Striker>> - Evolving Ever
Project World of Dragons - Brazilian Total Rework Fork of the TMW and a newer 3D Client/Server
Mundo dos Dragões - http://www.mundodosdragoes.org
Project World of Dragons - Brazilian Total Rework Fork of the TMW and a newer 3D Client/Server
Mundo dos Dragões - http://www.mundodosdragoes.org
- strikerbcb
- Novice
- Posts: 155
- Joined: 15 Apr 2005, 06:42
- Location: Brasil
- Contact:
any updates about this ?
<<Striker>> - Evolving Ever
Project World of Dragons - Brazilian Total Rework Fork of the TMW and a newer 3D Client/Server
Mundo dos Dragões - http://www.mundodosdragoes.org
Project World of Dragons - Brazilian Total Rework Fork of the TMW and a newer 3D Client/Server
Mundo dos Dragões - http://www.mundodosdragoes.org
- ElvenProgrammer
- Founder
- Posts: 2526
- Joined: 13 Apr 2004, 19:11
- Location: Italy
- Contact:
I should check if I'm able to play official sound files, usually I keep sound disabled so it could be I didn't notice their malfunctioning.
About compilig latest svn I double checked the files resourcemanager.* contain the required function. Are you sure you didn't leave those files outside the update process?
Try to download them from:
http://themanaworld.svn.sourceforge.net ... emanager.h
http://themanaworld.svn.sourceforge.net ... anager.cpp
About compilig latest svn I double checked the files resourcemanager.* contain the required function. Are you sure you didn't leave those files outside the update process?
Try to download them from:
http://themanaworld.svn.sourceforge.net ... emanager.h
http://themanaworld.svn.sourceforge.net ... anager.cpp
- strikerbcb
- Novice
- Posts: 155
- Joined: 15 Apr 2005, 06:42
- Location: Brasil
- Contact:
well, i make the update of the svn the same way ever, but only now i give one problem like this ... i will delete all svn content and re-download all, to see if the problem persist or not. Please turn on the sound and effects and test if works. You use windows or linux ?
<<Striker>> - Evolving Ever
Project World of Dragons - Brazilian Total Rework Fork of the TMW and a newer 3D Client/Server
Mundo dos Dragões - http://www.mundodosdragoes.org
Project World of Dragons - Brazilian Total Rework Fork of the TMW and a newer 3D Client/Server
Mundo dos Dragões - http://www.mundodosdragoes.org
- ElvenProgrammer
- Founder
- Posts: 2526
- Joined: 13 Apr 2004, 19:11
- Location: Italy
- Contact:
I just tryed and everything seems fine. Can you please post this part of your log:
[17:51:21.68] Sound::init() Initializing sound...
[17:51:22.54] Sound::info() SDL_mixer: 1.2.8 (compiled)
[17:51:22.54] Sound::info() SDL_mixer: 1.2.8 (linked)
[17:51:22.54] Sound::info() Driver: dsound
[17:51:22.54] Sound::info() Format: S16LSB
[17:51:22.54] Sound::info() Rate: 22050
[17:51:22.54] Sound::info() Channels: 2
- strikerbcb
- Novice
- Posts: 155
- Joined: 15 Apr 2005, 06:42
- Location: Brasil
- Contact:
Here :
Code: Select all
[22:04:40.15] Sound::init() Initializing sound...
[22:04:41.21] Sound::info() SDL_mixer: 1.2.8 (compiled)
[22:04:41.21] Sound::info() SDL_mixer: 1.2.8 (linked)
[22:04:41.21] Sound::info() Driver: waveout
[22:04:41.21] Sound::info() Format: S16LSB
[22:04:41.21] Sound::info() Rate: 22050
[22:04:41.21] Sound::info() Channels: 2
[22:04:41.21] Sound::startMusic() Playing "data/music/Magick - Real.ogg" -1 times
[22:04:41.21] Sound::startMusic() Warning: error loading file.
<<Striker>> - Evolving Ever
Project World of Dragons - Brazilian Total Rework Fork of the TMW and a newer 3D Client/Server
Mundo dos Dragões - http://www.mundodosdragoes.org
Project World of Dragons - Brazilian Total Rework Fork of the TMW and a newer 3D Client/Server
Mundo dos Dragões - http://www.mundodosdragoes.org
- strikerbcb
- Novice
- Posts: 155
- Joined: 15 Apr 2005, 06:42
- Location: Brasil
- Contact:
well, i delete my svn directory and re-download all svn of 0.0 and i give the same errors :
Don´t play any sounds or musics ... it gives a error of Unrecognized sound file, but the file itself it´s works in all players ...
i see that path is wrong or no ? Settings\Administrador\/.tmw/updates/sounds-3795.zip/sfx/maggot-hit1.ogg - It´s not to take the path of the tmw\sfx ?
PLEASE, any help with this !!!
Code: Select all
Settings\Administrador\/.tmw/updates/sounds-3795.zip/sfx/maggot-hit1.ogg
[02:18:14.06] Error, failed to load sound effect: Unrecognized sound file type
i see that path is wrong or no ? Settings\Administrador\/.tmw/updates/sounds-3795.zip/sfx/maggot-hit1.ogg - It´s not to take the path of the tmw\sfx ?
PLEASE, any help with this !!!
<<Striker>> - Evolving Ever
Project World of Dragons - Brazilian Total Rework Fork of the TMW and a newer 3D Client/Server
Mundo dos Dragões - http://www.mundodosdragoes.org
Project World of Dragons - Brazilian Total Rework Fork of the TMW and a newer 3D Client/Server
Mundo dos Dragões - http://www.mundodosdragoes.org
No, updates override the contents of your tmw folder. When you don't want this start TMW with the command line parameter "-u" - this will skip the update process and ignore the updates that are already downloaded.
- former Manasource Programmer
- former TMW Pixel artist
- NOT a game master
Please do not send me any inquiries regarding player accounts on TMW.
You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
- ElvenProgrammer
- Founder
- Posts: 2526
- Joined: 13 Apr 2004, 19:11
- Location: Italy
- Contact:
- strikerbcb
- Novice
- Posts: 155
- Joined: 15 Apr 2005, 06:42
- Location: Brasil
- Contact:
i delete all packages in updates folder, and run with -u ... now he takes the right place but nothing change, the audio not plays ... i not have the .dll´s in the windows directory, only in the tmw folder.
My Log :
ElvenProgrammer Log :
It´s makes diference ? or not ?
my problem persist hehehe
Thanks
I see one diference in my log and the log of ElvenProgrammer here :[19:54:35.32] Loaded data/sfx/fire-goblin-hit2.ogg
[19:54:35.32] Error, failed to load sound effect: Unrecognized sound file type
My Log :
Code: Select all
[22:04:41.21] Sound::info() Driver: waveout
Code: Select all
[17:51:22.54] Sound::info() Driver: dsound
my problem persist hehehe
Thanks
<<Striker>> - Evolving Ever
Project World of Dragons - Brazilian Total Rework Fork of the TMW and a newer 3D Client/Server
Mundo dos Dragões - http://www.mundodosdragoes.org
Project World of Dragons - Brazilian Total Rework Fork of the TMW and a newer 3D Client/Server
Mundo dos Dragões - http://www.mundodosdragoes.org
- ElvenProgrammer
- Founder
- Posts: 2526
- Joined: 13 Apr 2004, 19:11
- Location: Italy
- Contact:
- strikerbcb
- Novice
- Posts: 155
- Joined: 15 Apr 2005, 06:42
- Location: Brasil
- Contact:
well ... i solved putting the dll of version 1.2.6 of SDL Mixer ... i think the version of the devpack it´s not have support to ogg vorbis in this, the vorbis support it´s now added dinamically and not more static. Please, if possible, update the devpack whith a version of SDL Mixer with support a Ogg Vorbis.
Thanks.
Thanks.
<<Striker>> - Evolving Ever
Project World of Dragons - Brazilian Total Rework Fork of the TMW and a newer 3D Client/Server
Mundo dos Dragões - http://www.mundodosdragoes.org
Project World of Dragons - Brazilian Total Rework Fork of the TMW and a newer 3D Client/Server
Mundo dos Dragões - http://www.mundodosdragoes.org