Music problem

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
Dragon
Engineer
Engineer
Posts: 62
Joined: 05 Aug 2006 11:13
Location: Openttd heaven

Music problem

Post by Dragon »

Hi al,
first of al i want to thank you for this great game
I've played it ages ago and i stil think this is one of the best games in history.

My problem,
Transport tycoon doesn't play any music, exept the effects. I've searched the forums about this, but i can't find anything. I've opened the openttd.cfg and changed the music playing from false into true, but everytime i open openttd it changes back into false. I've also opened the jukebox in openttd but i can press play forever but it won't start playing. The music files do play in windows media player, so that is'nt the problem.

My OS is windows xp
and i'm running openttd r7123M (quark)
but my music dind'nt worked on any openttd version i've played, every time the same problem

It's to bad i can't listen to the music, but if i can't, i can't and it won't effect this great game.

[sorry if my grammar is'nt complete correct, grammar has never bin my best thing in school, even in dutch]
User avatar
glx
OpenTTD Developer
OpenTTD Developer
Posts: 623
Joined: 02 Dec 2005 15:43
Location: Drancy(93) - France
Contact:

Post by glx »

where did you copy the gm dir?
Dragon
Engineer
Engineer
Posts: 62
Joined: 05 Aug 2006 11:13
Location: Openttd heaven

Post by Dragon »

it is in the \openttd directory

The odd thing is that openttd recognises the files. If i press the 'set playlist'-button it gives me a list of the music files that are in that directory. It just doesn't want to go on play :?
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

When you press 'play' does the music-gui actually play or does it do nothing? The 'set programme' window gives no information whether you have the files or not.

Please run openttd with the "-d driver=10" flag (or "-d 3") in general, or try the other music driver (they're listed with "-h").
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
Dragon
Engineer
Engineer
Posts: 62
Joined: 05 Aug 2006 11:13
Location: Openttd heaven

Post by Dragon »

it does nothing when i hit play
and where can i find the "-d driver=10",
i dont no anything about coding or programming, sorry. The only thing i've ever coded where extremely simple basic programmes on the commedore 64 :P
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Dragon wrote:and where can i find the "-d driver=10",
You don't find it. You type it. On the command-line, when you're starting OpenTTD. Or in the Target box of the shortcut's properties.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

/me makes some arcane movements with the hands...

http://wiki.openttd.org/index.php/Command_line
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
Dragon
Engineer
Engineer
Posts: 62
Joined: 05 Aug 2006 11:13
Location: Openttd heaven

Post by Dragon »

I did wat u asked darkvater, but wat am i supposed to see/do then?
when i use "-d driver=10" openttd sais it succesfully loaded my music driver, but nothing further happens really
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

well can you post here what the debug window says?
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
Dragon
Engineer
Engineer
Posts: 62
Joined: 05 Aug 2006 11:13
Location: Openttd heaven

Post by Dragon »

sorry,

with -d driver=10 it says:

dbg: Loading drivers...
dbg: Successfully probed sound driver "win32"
dbg: Successfully probed music driver "dmusic"
dgb: Successfully probed video driver "win32"

and with -d 3 i don't get anything interresting

hope this helps

btw, thanks for the reply's and youre time
User avatar
glx
OpenTTD Developer
OpenTTD Developer
Posts: 623
Joined: 02 Dec 2005 15:43
Location: Drancy(93) - France
Contact:

Post by glx »

You can try "openttd -m win32" and see if that helps
Dragon
Engineer
Engineer
Posts: 62
Joined: 05 Aug 2006 11:13
Location: Openttd heaven

Post by Dragon »

Nothing happens, all i got is the help screen with "openttd -m win32"
and "-m win32" doesn't work either
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

If you don't get any additional debugging messages (at level 0), then it means that DirectMusic is working.

Are you sure that ingame you have pressed the 'play' button for the music and that your volume is not muted?
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
Dragon
Engineer
Engineer
Posts: 62
Joined: 05 Aug 2006 11:13
Location: Openttd heaven

Post by Dragon »

I've pressed play for a thousend times, but nothing happens,
i also don't see something playing, if i remember correctly, you saw the current song name and number in TTO.
and about the volume, windows volume is skyhigh and openttd.cfg says:

[music]
playlist = 0
music_vol = 100
effect_vol = 80
custom_1 = 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
custom_2 = 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
playing = false
shuffle = true
extmidi = timidity

besides, effects work perfectly fine, that's what i find so strange
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

it says "playing=false"; this should be true...

But otherwise I have no idea about your problem, and I think we are missing something pretty obvious that's wrong with either your system or your setup.
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
Dragon
Engineer
Engineer
Posts: 62
Joined: 05 Aug 2006 11:13
Location: Openttd heaven

Post by Dragon »

I know, i've already tried to alter it manually, but as soon as Openttd starts, it changes back to 'false'. But anyway thanks for youre time. I can always run the music on Media Player on the background :P
Synchro
Engineer
Engineer
Posts: 1
Joined: 16 Feb 2007 18:51

Post by Synchro »

I have the same problem.
I run on Win XP SP2, sound blacter Live! value and music don't plays while the sondfx are on. ttd open 0.4.8

I've tried all the solution you give but they did not work.

How can i solve this problem?
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

Get a compiler and debug openttd. Because the music should really work and I have no other guess as to why it doesn't.
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
Hayko
Engineer
Engineer
Posts: 1
Joined: 23 Apr 2007 17:06

Re: Music problem

Post by Hayko »

Copy data/gm
copy the gm folder in ttdx main folder, then it work..
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 4 guests