Getting CD music to work (Heroes of Might and Magic II)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
VictorGijsbers
Newbie
Newbie
Posts: 2
Joined: Thu Feb 19, 2009 6:36 pm

Getting CD music to work (Heroes of Might and Magic II)

Post by VictorGijsbers »

I'm playing Heroes of Might and Magic II, and it's working as expected--except that music from the CD will not play (all other sounds work fine). This is an issue not experienced by other users, so I have some hope that it can be solved; I'm just not sure how to do it, though. I hope someone can give me a hint.

Heroes of Might and Magic II includes the CD music as audio CD tracks. This means that you put the CD in your audio CD player, skip track 1, and listen to the music. However, it also means that my Linux distribution (Ubuntu 8.10 Intrepid Ibex) mounts the CD as two separate parts: one for data and one for audio.

Could this be the cause of the CD music not playing? If so, is there a way around this?

Thanks in advance for any tips!
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Re: Getting CD music to work (Heroes of Might and Magic II)

Post by jeffz »

VictorGijsbers wrote:I'm playing Heroes of Might and Magic II, and it's working as expected--except that music from the CD will not play (all other sounds work fine). This is an issue not experienced by other users, so I have some hope that it can be solved; I'm just not sure how to do it, though. I hope someone can give me a hint.

Heroes of Might and Magic II includes the CD music as audio CD tracks. This means that you put the CD in your audio CD player, skip track 1, and listen to the music. However, it also means that my Linux distribution (Ubuntu 8.10 Intrepid Ibex) mounts the CD as two separate parts: one for data and one for audio.

Could this be the cause of the CD music not playing? If so, is there a way around this?

Thanks in advance for any tips!
Jedi Knight: Dark Forces II (1997), also has audio tracks along with the data tracks. Under Windows the cd audio plays fine, but under Wine, I don't think the required functionality is implemented yet.
DOS4dinner
Level 2
Level 2
Posts: 36
Joined: Thu Aug 07, 2008 3:50 pm

Post by DOS4dinner »

You may need to mount the disk as a virtual CD drive and use that. DOSBox has the same issue with mixed mode CDs, and as such you have to run it off a disk image.

Note that you can't mount an iso--It must be a bin/cue image. Mount that as a virtual drive and it may work, assuming Wine has that functionality in the first place.
Gert van den Berg

Getting CD music to work (Heroes of Might and Magic II)

Post by Gert van den Berg »

On Sat, Feb 21, 2009 at 7:33 AM, DOS4dinner <[email protected]> wrote:
You may need to mount the disk as a virtual CD drive and use that. DOSBox has the same issue with mixed mode CDs, and as such you have to run it off a disk image.

Note that you can't mount an iso--It must be a bin/cue image. Mount that as a virtual drive and it may work, assuming Wine has that functionality in the first place.
CDemu has it...
http://cdemu.sourceforge.net/ (Isntalling should be done from your
package manager of course...)

But it seems that the user is using an actual CD...
VictorGijsbers
Newbie
Newbie
Posts: 2
Joined: Thu Feb 19, 2009 6:36 pm

Post by VictorGijsbers »

The problem has been solved in Wine 1.1.16. (Two days after I completed the game! ;) ) I'm assuming that this line from the release notes has something to with it:
Support for digital CD audio playback.
Thank you, Chris Robinson! :)
Locked