FS#1849 - No music with long path

Attached to Project: OpenTTD
Opened by kaan (kaan) - Friday, 14 March 2008, 17:40 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System Windows
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


There is a problem with playing music when the path is very long.
I compiled trunk r12365 and put the needed files in this dir:
Like this the music plays just fine, but if you add a zero to the end of the directory name, like this:
No music will play.

If further info is needed ill be happy to provide :)
This task depends upon

Closed by  Loïc GUILLOUX (glx)
Saturday, 15 March 2008, 21:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r12373.
Comment by Zdeněk Sojka (SmatZ) - Saturday, 15 March 2008, 14:06 GMT
What Windows and filesystem (FAT, NTFS) are you using?
Does this happen with pre-compiled win9x, win32 (or win64) builds? You can get them at
Comment by kaan (kaan) - Saturday, 15 March 2008, 16:37 GMT
WinXP sp3 32bit with NTFS.

Strangely it seems to be no problem with the crosscompiled nightly.
Maybe its because they are compiled with directX headers (last time I heard of it anyway).
Comment by Loïc GUILLOUX (glx) - Saturday, 15 March 2008, 16:40 GMT
Try a nightly with "-m dmusic" and -m "win32"
Comment by kaan (kaan) - Saturday, 15 March 2008, 17:00 GMT
dmusic works
win32 doesn't work