Game freezes for 1 or 2 sec upon music track change
Moderator: TTDPatch Moderators
Game freezes for 1 or 2 sec upon music track change
Subject.
I suppose it's a genuine bug in TTD patch. Cause in open TTD there's no such thingy.
I suppose it's a genuine bug in TTD patch. Cause in open TTD there's no such thingy.
Wie zich gelukkig voelt met het geluk van anderen, bezit een rijkdom zonder grenzen. (F.Daels)
Still the best OS around
Still the best OS around
- nicfer
- Director
- Posts: 529
- Joined: 03 May 2005 20:50
- Location: Somewhere in a country called Argentina
Thanks for the help, I have the same problem (until now ).
Sorry for my english I am argentinian
TTO don't crashes in Windows XP; XP crashes TTO
Formerly known as UnderBuilder.
MyMiniCity
TTO don't crashes in Windows XP; XP crashes TTO
Formerly known as UnderBuilder.
MyMiniCity
Re: Game freezes for 1 or 2 sec upon music track change
This old problem has been irritating me for many years now. Recently I stumbled upon a post by Avery Lee / Phaeron the author of VirtualDub, who has traced down the issue in mciseq.dll driver, which is set to loop doing nothing for some kind of synchronization. The problem can be fixed by changing the sleep time from 4 to 0.
In mciseq.dll, look for these bytes
68 __ __ __ __ FF 15 __ __ __ __ 6A 04 __ __ __ __ __ __ C3
and change them to
68 __ __ __ __ FF 15 __ __ __ __ 6A 00 __ __ __ __ __ __ C3
Here I have pre-patched the file for a few operating system versions (XP SP1, XP SP2, XP SP3, Server 2003 SP2, Seven SP1). These are all 32-bit systems; I do not have a 64-bit system to test.
MCI_MIDI_Without_Pause_WinXP.rar
To replace a Windows system file, System File Protection must be defeated first, as usual.
With the patch applied, the Jazz Jukebox player now responds quickly with musicdriver = "win32", as well as in TTD/Windows. I can skip over many tracks and it will still play the song which is showing on the display.
In mciseq.dll, look for these bytes
68 __ __ __ __ FF 15 __ __ __ __ 6A 04 __ __ __ __ __ __ C3
and change them to
68 __ __ __ __ FF 15 __ __ __ __ 6A 00 __ __ __ __ __ __ C3
Here I have pre-patched the file for a few operating system versions (XP SP1, XP SP2, XP SP3, Server 2003 SP2, Seven SP1). These are all 32-bit systems; I do not have a 64-bit system to test.
MCI_MIDI_Without_Pause_WinXP.rar
To replace a Windows system file, System File Protection must be defeated first, as usual.
With the patch applied, the Jazz Jukebox player now responds quickly with musicdriver = "win32", as well as in TTD/Windows. I can skip over many tracks and it will still play the song which is showing on the display.
Re: Game freezes for 1 or 2 sec upon music track change
Is there any changes we could within TTDPatch which could achieve similar results?
~ Lakie
~ Lakie
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
Re: Game freezes for 1 or 2 sec upon music track change
Not any that I know of, apart from not using the MCI driver. My understanding of programming is very limited.
Who is online
Users browsing this forum: No registered users and 6 guests