Bug found with OpenMSX perhaps. Input required.

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

User avatar
Tinytimrob
Engineer
Engineer
Posts: 29
Joined: 05 Sep 2009 15:03
Location: Wolverhampton, UK
Contact:

Bug found with OpenMSX perhaps. Input required.

Post by Tinytimrob »

Hello,

I was wondering if anyone could help me. I have recently compiled OpenTTD r19669 on Windows 7 and downloaded the latest nightlies for OpenGFX/SFX/MSX.

Specifically since this bug concerns OpenMSX I have nightly r49.

If I play the regular game using original_windows music selection for the entire time then the sound is fine (other than a long pause at the end of track 9, "Can't get there from here" which I presume everyone already knows about because it's been there for several years now at least). HOWEVER if I play the game using OpenMSX, after a few tracks the music starts to sound odd. If I switch back to original_windows after using OpenMSX I get the same problem (odd sounding music). It's quite hard to describe so I did an in-game mic recording of a few tracks and uploaded it to my site. Apologies for the poor quality and the sound effects present in the recording.

http://media.thegineverblock.com/opentt ... td-bug.mp3

As you can hear if you listen to the MP3, the music sounds a little odd (a few instruments not sounding right, and pitch bends screwed up). If you don't really want to listen to the whole thing then the problem is most noticeable in the track which I believe is called 'Goss Groove' about 4:25 into the recording.

Since this recording includes a portion of the original windows soundtrack which is copyrighted I will remove it from my server once the problem is resolved :) I would avoid uploading it but it's a little difficult to hear what's going on without a recording...

I would like to know if anyone can reproduce this bug and perhaps suggest a potential solution.

Thanks in advance.
Kogut
Tycoon
Tycoon
Posts: 2493
Joined: 26 Aug 2009 06:33
Location: Poland

Re: Bug found with OpenMSX perhaps. Input required.

Post by Kogut »

Tinytimrob wrote:Specifically since this bug concerns OpenMSX I have nightly r49.
49? It is rather ancient. //Sorry, I thought about openttd nightly.
Last edited by Kogut on 18 Apr 2010 16:27, edited 1 time in total.
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
User avatar
Tinytimrob
Engineer
Engineer
Posts: 29
Joined: 05 Sep 2009 15:03
Location: Wolverhampton, UK
Contact:

Re: Bug found with OpenMSX perhaps. Input required.

Post by Tinytimrob »

As far as I can see OpenMSX r49 is the latest revision dated 08-04-2010 21:14
http://dev.openttdcoop.org:81/projects/ ... repository
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Bug found with OpenMSX perhaps. Input required.

Post by planetmaker »

Tinytimrob wrote: Specifically since this bug concerns OpenMSX I have nightly r49.

http://media.thegineverblock.com/opentt ... td-bug.mp3
don't really want to listen to the whole thing then the problem is most noticeable in the track which I believe is called 'Goss Groove' about 4:25 into the recording.
Thanks for the report. Could you maybe look up again which song(s) is / are causing the problem? I don't have a song called "Goss Groove"... and I haven't yet identified the song by listening :-)
User avatar
Tinytimrob
Engineer
Engineer
Posts: 29
Joined: 05 Sep 2009 15:03
Location: Wolverhampton, UK
Contact:

Re: Bug found with OpenMSX perhaps. Input required.

Post by Tinytimrob »

Goss Groove is an original TTD song, not from OpenMSX :)

It is just one of many tracks that glitch up after listening to OpenMSX for a while. Tracks from both the original_windows and OpenMSX music sets become glitched up. The problem is most noticeable on Goss Groove but it is not the only track which mucks up (most of them do)
User avatar
Doorslammer
Tycoon
Tycoon
Posts: 1037
Joined: 16 Oct 2007 11:08
Location: Perth, Western Australia
Contact:

Re: Bug found with OpenMSX perhaps. Input required.

Post by Doorslammer »

Wow, odd remix. :P
Image
User avatar
Tinytimrob
Engineer
Engineer
Posts: 29
Joined: 05 Sep 2009 15:03
Location: Wolverhampton, UK
Contact:

Re: Bug found with OpenMSX perhaps. Input required.

Post by Tinytimrob »

Indeed, it is most peculiar. I have had to resort to using Windows Media Player in order to listen to the tracks from OpenMSX so hopefully there will be a fix soon.
Samu
Traffic Manager
Traffic Manager
Posts: 236
Joined: 17 Apr 2007 14:28

Re: Bug found with OpenMSX perhaps. Input required.

Post by Samu »

ahhhh..... I seee. Same problem, but the track is named Smooth Groove.
User avatar
Tinytimrob
Engineer
Engineer
Posts: 29
Joined: 05 Sep 2009 15:03
Location: Wolverhampton, UK
Contact:

Re: Bug found with OpenMSX perhaps. Input required.

Post by Tinytimrob »

Indeed this problem is still not fixed!
Samu
Traffic Manager
Traffic Manager
Posts: 236
Joined: 17 Apr 2007 14:28

Re: Bug found with OpenMSX perhaps. Input required.

Post by Samu »

Please check this topic to make sure it's the same problem.
(sorry for cross-posting)
http://www.tt-forums.net/viewtopic.php?f=32&t=48896
User avatar
Tinytimrob
Engineer
Engineer
Posts: 29
Joined: 05 Sep 2009 15:03
Location: Wolverhampton, UK
Contact:

Re: Bug found with OpenMSX perhaps. Input required.

Post by Tinytimrob »

Confirmed. This is the same bug. The track "Smooth Groove" from OpenMSX does not appear to be what is causing the issue however. I removed the entry for Smooth Groove from the openmsx.obm file and the 'darkness' as you put it is still present.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Bug found with OpenMSX perhaps. Input required.

Post by planetmaker »

Hm, so I replaced that song for no good reason? :-(
Samu
Traffic Manager
Traffic Manager
Posts: 236
Joined: 17 Apr 2007 14:28

Re: Bug found with OpenMSX perhaps. Input required.

Post by Samu »

Tinytimrob wrote:Confirmed. This is the same bug. The track "Smooth Groove" from OpenMSX does not appear to be what is causing the issue however. I removed the entry for Smooth Groove from the openmsx.obm file and the 'darkness' as you put it is still present.
What's your sound card? Can you find out which track is doing it?
Samu
Traffic Manager
Traffic Manager
Posts: 236
Joined: 17 Apr 2007 14:28

Re: Bug found with OpenMSX perhaps. Input required.

Post by Samu »

planetmaker wrote:Hm, so I replaced that song for no good reason? :-(
I appologize... :( But this seems to be a sound card driver problem after all.


-----
EDIT: hold on. I downloaded the mp3 file, I hear the OpenMSX tycoon theme, then the original tycoon theme and then Goss Groove which is part of the original_windows pack.

You say that after listening for a bit of OpenMSX the songs become distorted afterwards, no matter which pack you listen to, and the mp3 is already what you listen after that, right?

Well, same issue for me. I was able to find out the song that was causing the problem was Smooth Groove from OpenMSX, but you say it's not Smooth Groove. So, the Goss Groove is just merely an example? I got it now!

The problem still relies on OpenMSX pack then, can you try to find out which song is causing it?
Last edited by Samu on 29 Jun 2010 18:20, edited 2 times in total.
User avatar
Tinytimrob
Engineer
Engineer
Posts: 29
Joined: 05 Sep 2009 15:03
Location: Wolverhampton, UK
Contact:

Re: Bug found with OpenMSX perhaps. Input required.

Post by Tinytimrob »

I have a Realtek ALC888 onboard audio and the issue occurs with the default Microsoft GS Wavetable SW Synth MIDI driver that ships with every version of Windows.

I'll try and work out which track is causing the problem for me, since all tracks play fine on their own if they're the only item in the playlist.

In response to your "long gap in one of the tracks" problem, it's "Can't get me out of here" aka gm_tt10.gm - the fixed MIDI file is attached, but you'll have to update your .obm file with the new MD5 to prevent the game from flagging it as corrupt afterwards.
Attachments
gm_tt10-fixed.mid
(41.7 KiB) Downloaded 2368 times
User avatar
Tinytimrob
Engineer
Engineer
Posts: 29
Joined: 05 Sep 2009 15:03
Location: Wolverhampton, UK
Contact:

Re: Bug found with OpenMSX perhaps. Input required.

Post by Tinytimrob »

Listening to all tracks one by one now, I'll try to work out the buggy track for you :)
Samu
Traffic Manager
Traffic Manager
Posts: 236
Joined: 17 Apr 2007 14:28

Re: Bug found with OpenMSX perhaps. Input required.

Post by Samu »

Tinytimrob wrote:I have a Realtek ALC888 onboard audio and the issue occurs with the default Microsoft GS Wavetable SW Synth MIDI driver that ships with every version of Windows.

I'll try and work out which track is causing the problem for me, since all tracks play fine on their own if they're the only item in the playlist.

In response to your "long gap in one of the tracks" problem, it's "Can't get me out of here" aka gm_tt10.gm - the fixed MIDI file is attached, but you'll have to update your .obm file with the new MD5 to prevent the game from flagging it as corrupt afterwards.
Yes, this was the track with a long silence I was referring to. Thanks.
User avatar
Tinytimrob
Engineer
Engineer
Posts: 29
Joined: 05 Sep 2009 15:03
Location: Wolverhampton, UK
Contact:

Re: Bug found with OpenMSX perhaps. Input required.

Post by Tinytimrob »

I have now narrowed the bug-causing track down to one of the following:

Modern Motion
Busy Schedule
The Fast Route

Edit: I think it's Modern Motion, just double checking now

Edit: Confirmed. The buggy track is Modern Motion for me.
Samu
Traffic Manager
Traffic Manager
Posts: 236
Joined: 17 Apr 2007 14:28

Re: Bug found with OpenMSX perhaps. Input required.

Post by Samu »

Busy Schedule and The Fast Route were created by the same autor, just saying.

I don't know how to put your file working. I receive an ini error when I start the game

ini: '$Id: orig_win.obm 19446 2010-03-17 22:21:03Z rubidium $' outside of group

I obtained this md5 for that file
18ad592de57e370f0503315a780a3445

EDIT... FIXED!!! The obm was 1 byte difference, I tried doing it again, now it has the same size, it works!
Attachments
gm.7z
Fix for original_windows track 9 "Can't Get There From Here"
\
\gm
\gm\gm_tt10.gm
\gm\orig_win.obm
(11 KiB) Downloaded 124 times
User avatar
Tinytimrob
Engineer
Engineer
Posts: 29
Joined: 05 Sep 2009 15:03
Location: Wolverhampton, UK
Contact:

Re: Bug found with OpenMSX perhaps. Input required.

Post by Tinytimrob »

I edited ini.cpp to get rid of that problem, so I'm glad you managed to fix it without doing that.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 18 guests