http://bugs.winehq.org/show_bug.cgi?id=10791
Summary: RPG Maker XP 10.2a: Does not play Background Music (BGM) and Background Sounds (BGS) Product: Wine Version: 0.9.50. Platform: Other OS/Version: other Status: UNCONFIRMED Severity: minor Priority: P2 Component: wine-directx-dsound AssignedTo: wine-bugs@winehq.org ReportedBy: hen.asraf@gmail.com
Background Music and Background Sounds cannot be played with Wine. It is possible to play them in your own media player and such, and then just choose to use the preferred file to be played when playing. It will play on Windows machines, only it won't under Wine. No errors occur, the sound simply does not play. Sound Effects (SE) and Music Effects (ME) do work. It might have something to do with the file type and media codec.
http://bugs.winehq.org/show_bug.cgi?id=10791
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.enterbrain.co.jp/ | |tkool/RPG_XP/eng/download.ht | |ml Keywords| |download
--- Comment #1 from Lei Zhang thestig@google.com 2007-12-20 12:37:00 --- Are there any error messages on the console? If so, please attach.
http://bugs.winehq.org/show_bug.cgi?id=10791
Kelly Miller lightsolphoenix@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lightsolphoenix@gmail.com
--- Comment #2 from Kelly Miller lightsolphoenix@gmail.com 2007-12-24 04:08:50 --- I can confirm this bug; the problem is that RPG Maker XP relies on DirectMusic's ability to play MIDI files (the old versions had a DLL for this, but IIRC this version does not).
http://bugs.winehq.org/show_bug.cgi?id=10791
Julian Rüger jr98@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jr98@gmx.net
http://bugs.winehq.org/show_bug.cgi?id=10791
--- Comment #3 from Kelly Miller lightsolphoenix@gmail.com 2008-05-09 03:57:39 --- More info from RPG Maker XP's site:
"MID MIDI files played via the DirectMusic Synthesizer. If a BGM MIDI file contains the control change value 111, that value is recognized as where the song will start repeating after it reaches the end."
It appears that the cause of the no music bug is the lack of support for the DirectMusic Synthesizer (which I believe is known, but doesn't have an official bug assigned to it). I'll create one if necessary.
BTW, the title of the bug should be changed; RMXP DOES play sounds; however, they have to be in Ogg format. I haven't tested MP3 or WMA, but I can confirm that Oggs work and MIDI's do not (due to the problem mentioned above). However, seeing as MP3 and WMA both rely on DirectMusic, there's a good chance they won't work either.
http://bugs.winehq.org/show_bug.cgi?id=10791
Alexej Dwina white-hat@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |white-hat@gmx.net
http://bugs.winehq.org/show_bug.cgi?id=10791
H. Amri husain.amri@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #4 from H. Amri husain.amri@gmail.com 2008-06-14 02:24:37 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=10791
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.enterbrain.co.jp/%7Chttp://tkool.jp/products/rpg |tkool/RPG_XP/eng/download.ht|xp/eng/download.html |ml |
--- Comment #5 from Austin English austinenglish@gmail.com 2008-12-19 12:52:28 --- Background sounds play in git, but music still doesn't.
http://bugs.winehq.org/show_bug.cgi?id=10791
--- Comment #6 from generalzarmakuizz@hotmail.fr 2009-06-15 15:56:31 --- Created an attachment (id=21815) --> (http://bugs.winehq.org/attachment.cgi?id=21815) wine errors about sound
About sound : as Hen Asraf said, I turned on the emulation. However let winecfg open doesn't do anything. Are working : ogg, mp3 (with problems), wav (well) Are not working : midi, wma, flac (not detected by rpg maker xp) I used Media Convert to obtain wma ans wav music with the mp3 file used.
When playing wma file with RPG MAKER : err:quartz:GetClassMediaFile Media class not found
When starting a mp3 file : fixme:quartz:MediaPosition_put_Rate (0x1d8060)->(1.000000) stub!
And when stopping to read mp3 file : fixme:quartz:MediaPosition_get_CurrentPosition (0x1d8060)->(0x41394f0) stub!
When trying to read a midi file : fixme:win:EnumDisplayDevicesW ((null),0,0x81d418,0x00000000), stub! err:dmloader:IDirectMusicLoaderImpl_IDirectMusicLoader_SetObject : could not attach stream to file fixme:dmime:IDirectMusicPerformance8Impl_InitAudio (0x1aaa50, (nil), 0x817f14, (nil), 0, 0, 0, 0x817f58): to check fixme:dmime:IDirectMusicPerformance8Impl_Init (iface = 0x1aaa50, dmusic = (nil), dsound = 0x140698, hwnd = (nil)) fixme:dmime:IDirectMusicPerformance8Impl_CreateStandardAudioPath (0x1aaa50)->(0, 0, 0, 0x1aac1c): semi-stub
In the log file joined, i : _started RPG MAKER XP _opened the menu to select a BGM _tried to play mp3, ogg, wma, midi, wav _undone it _played the game (who uses midi) (i have to save before playng the game) _ended the game _closed RPG MAKER XP
http://bugs.winehq.org/show_bug.cgi?id=10791
generalzarmakuizz@hotmail.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |generalzarmakuizz@hotmail.f | |r
--- Comment #7 from generalzarmakuizz@hotmail.fr 2009-06-19 07:57:42 --- This problem can be bypassed. You just have to convert the sound who have problems (midi, wma, mp3 ... ) into ogg, then remove the bad files (midi, wma, mp3). The game will select the file with the same name, so il will use the ogg file.
You can use for example timidity to convert all the music files (link in french) : http://forum.ubuntu-fr.org/viewtopic.php?id=100593
If you have a mysound.midi file, use a converter to create into the same folder a mysound.ogg, then remove mysound.midi, and start the game.
http://bugs.winehq.org/show_bug.cgi?id=10791
rave002@o2.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rave002@o2.pl
--- Comment #8 from rave002@o2.pl 2010-05-19 08:52:16 --- Problem confirmed. Although I used "magic" command 'timidity -iA' to bring MIDI to rpg 2000 and 2003 games, but in xp/vx still there is no MIDI music.
http://bugs.winehq.org/show_bug.cgi?id=10791
--- Comment #9 from Austin English austinenglish@gmail.com 2011-01-24 18:53:43 CST --- Does 'winetricks dmusic' help? If so, probably a dupe of bug 9027.
http://bugs.winehq.org/show_bug.cgi?id=10791
Mark Toman kram1024@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kram1024@hotmail.com
--- Comment #10 from Mark Toman kram1024@hotmail.com 2011-11-30 03:52:02 CST --- you need working directsound and directmusic with a gm.dls file. once we are ready to tackle that one, I am hoping with proper tools a wine based gm.dls can be made to solve this issue.
http://bugs.winehq.org/show_bug.cgi?id=10791
--- Comment #11 from rave002@o2.pl 2011-12-01 12:48:45 CST --- (In reply to comment #10)
you need working directsound and directmusic with a gm.dls file. once we are ready to tackle that one, I am hoping with proper tools a wine based gm.dls can be made to solve this issue.
Can't we just use timidity as backend? It works fine for RM2k(3) games, so I think if we would add some hooks to directmusic to fool game that timidity is gm.dls and all midi music would go through it?
http://bugs.winehq.org/show_bug.cgi?id=10791
--- Comment #12 from Mark Toman kram1024@hotmail.com 2011-12-02 12:05:00 CST --- MIDI music in RPG Maker XP and VX both require DirectMusic which depends on DirectSound. a DirectX overide and a dls soundfont step-in replacement for gm.dls is required to get music.
http://bugs.winehq.org/show_bug.cgi?id=10791
--- Comment #13 from Mark Toman kram1024@hotmail.com 2011-12-02 12:08:48 CST --- (In reply to comment #11)
(In reply to comment #10)
you need working directsound and directmusic with a gm.dls file. once we are ready to tackle that one, I am hoping with proper tools a wine based gm.dls can be made to solve this issue.
Can't we just use timidity as backend? It works fine for RM2k(3) games, so I think if we would add some hooks to directmusic to fool game that timidity is gm.dls and all midi music would go through it?
Oh, I just noticed a rather interesting idea. anyone have the most popular GUS patches used with Timidity++? I could use them to make a gm.dls file for the wine project.
http://bugs.winehq.org/show_bug.cgi?id=10791
--- Comment #14 from rave002@o2.pl 2011-12-02 14:04:51 CST --- (In reply to comment #13) (snip)
Oh, I just noticed a rather interesting idea. anyone have the most popular GUS patches used with Timidity++? I could use them to make a gm.dls file for the wine project.
Could you use NTONYX sound fonts instead? http://www.ntonyx.com/sf_f.htm . Though I dunno what with license if it allows it (you may want to mail them about it). Set is pretty complete, not like samples that are shipped with Timidity in most distros and I'm using it personally.
http://bugs.winehq.org/show_bug.cgi?id=10791
--- Comment #15 from Mark Toman kram1024@hotmail.com 2011-12-03 04:05:39 CST --- only if you can convert the .sf2 file to a .dls file and rename it to gm.dls, otherwise no. a SF2 soundfont is different from a DLS one.
http://bugs.winehq.org/show_bug.cgi?id=10791
--- Comment #16 from rave002@o2.pl 2011-12-03 05:02:06 CST --- (In reply to comment #15)
only if you can convert the .sf2 file to a .dls file and rename it to gm.dls, otherwise no. a SF2 soundfont is different from a DLS one.
Then maybe we could rewrite in wine's dsound/dmusic routines responsible for playing MIDI so it would use soundfonts instead of dls file?
After all it's all just backend - games and midi apps won't care if the API (function names and parameters) would be same
http://bugs.winehq.org/show_bug.cgi?id=10791
--- Comment #17 from Mark Toman kram1024@hotmail.com 2011-12-03 18:09:06 CST --- that sounds like a better idea than a hijack of timitiy++, though some apps may explicitly look for gm.dls and then fail due to its non-existence. If you are going to go that route, first we will need to check to see if dsound is actually being used as well as dswave and dmusic, in the case of rpg maker xp and vx, then answer is yes, it uses the microsoft ds wavetable synthesizer directly via dmusic. We can then for those apps that complain, put in a fake gm.dls and have the synth redirect to the sf2 file. There are though times when the real gm.dls is needed, i.e. OpenMPT does not use dmusic directly, though it does use part of it to load gm.dls so that it can extract samples to make tracker modules when everything is installed as it is normally and that could cause problems.
There is yet another thing we can do. Make a tool for wine that can import a sf2 and recompile it as a dls file and auto-rename as gm.dls in the drive_c/windows/system32/drivers folder where directx on normal windows expects it to be from compatibility reasons, and that would make all apps happy.
http://bugs.winehq.org/show_bug.cgi?id=10791
--- Comment #18 from Mark Toman kram1024@hotmail.com 2011-12-03 18:24:17 CST --- http://emusician.com/mag/emusic_downloadable_sounds/ - that link might be helpful for building the tool I suggested. http://freepats.zenvoid.org/sf2/sf20white.pdf - as would this be useful since it has data on how the .sf2 format works while the other link is about .dls files.
https://bugs.winehq.org/show_bug.cgi?id=10791
--- Comment #19 from Ken Sharp imwellcushtymelike@gmail.com --- Is this still an issue in Wine 1.7.45 or later?
https://bugs.winehq.org/show_bug.cgi?id=10791
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Alias|RPGXP_BGM_BGS |
https://bugs.winehq.org/show_bug.cgi?id=10791
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com
--- Comment #20 from Michael Stefaniuc mstefani@redhat.com --- Ken, I'm pretty sure that the problem still exists as there was basically now work done on dmusic except my COM cleanup.
https://bugs.winehq.org/show_bug.cgi?id=10791
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-dsound |directx-dmusic
https://bugs.winehq.org/show_bug.cgi?id=10791
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|RPG Maker XP 10.2a: Does |RPG Maker XP 1.02a: Does |not play Background Music |not play Background Music |(BGM) and Background Sounds |(BGM) and Background Sounds |(BGS) |(BGS) Hardware|Other |x86 URL|http://tkool.jp/products/rp |https://web.archive.org/web |gxp/eng/download.html |/20120606155403/http://geno | |tec.games.tucows.com/files/ | |RPG_Maker_XP.zip OS|other |Linux CC| |focht@gmx.net
--- Comment #21 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link via Internet Archive.
RPG Maker XP 1.02a
Old mirror links on original vendor site snapshot in 2007:
https://web.archive.org/web/20070202022721/http://www.enterbrain.co.jp/tkool...
As expected almost all download links are broken (even archive.org) but I digged out a working one via tucows.com.
https://web.archive.org/web/20070202022721/http://www.tucows.com/preview/421...
Download page with actual mirror links:
https://web.archive.org/web/20080212083434/http://www.tucows.com/download.ht...
One-liner to extract the original mirror links from web page and use archive.org CDX/C API to query for any existing snapshots.
--- snip --- $ wget -qO- "https://web.archive.org/web/20080212083434/http://www.tucows.com/download.ht..." | \ sed -n "s/.*dl('([^"]*)',.*/\1/p" | \ sed -e 's/.*http://(.*)/\1/' | \ xargs -I {} -exec sh -c 'echo "Checking: {}" ; \ wget http://web.archive.org/cdx/search/cdx?url=%22%7B%7D" -q -O - | \ grep application/ ; sleep 10' ;
Checking: rhnet.games.tucows.com/files/RPG_Maker_XP.zip Checking: netnitco.games.tucows.com/files/RPG_Maker_XP.zip Checking: epix.games.tucows.com/files/RPG_Maker_XP.zip Checking: theplanet.games.tucows.com/files/RPG_Maker_XP.zip Checking: blueyonder.games.tucows.com/files/RPG_Maker_XP.zip Checking: chariot.games.tucows.com/files/RPG_Maker_XP.zip Checking: filearena.games.tucows.com/files/RPG_Maker_XP.zip Checking: velocity.games.tucows.com/files/RPG_Maker_XP.zip Checking: datafast.games.tucows.com/files/RPG_Maker_XP.zip Checking: sercomtel.games.tucows.com/files/RPG_Maker_XP.zip Checking: digsys.games.tucows.com/files/RPG_Maker_XP.zip Checking: metropolis-inter.games.tucows.com/files/RPG_Maker_XP.zip Checking: cytanet.games.tucows.com/files/RPG_Maker_XP.zip Checking: ntua.games.tucows.com/files/RPG_Maker_XP.zip Checking: kapatel.games.tucows.com/files/RPG_Maker_XP.zip Checking: i-cable.games.tucows.com/files/RPG_Maker_XP.zip Checking: gamingplace.externet.hu/files/RPG_Maker_XP.zip Checking: games.012.net.il/files/RPG_Maker_XP.zip Checking: fastnet.games.tucows.com/files/RPG_Maker_XP.zip Checking: fastweb.games.tucows.com/files/RPG_Maker_XP.zip Checking: onvol.games.tucows.com/files/RPG_Maker_XP.zip Checking: namibia.games.tucows.com/files/RPG_Maker_XP.zip Checking: planet.games.tucows.com/files/RPG_Maker_XP.zip Checking: essentkabelcom.games.tucows.com/files/RPG_Maker_XP.zip Checking: easynetnl.games.tucows.com/files/RPG_Maker_XP.zip Checking: dips.games.tucows.com/files/RPG_Maker_XP.zip Checking: clix.games.tucows.com/files/RPG_Maker_XP.zip Checking: netvisao.games.tucows.com/files/RPG_Maker_XP.zip Checking: mweb.games.tucows.com/files/RPG_Maker_XP.zip Checking: mundo-r.games.tucows.com/files/RPG_Maker_XP.zip aChecking: dataphone.games.tucows.com/files/RPG_Maker_XP.zip Checking: port80.games.tucows.com/files/RPG_Maker_XP.zip Checking: genotec.games.tucows.com/files/RPG_Maker_XP.zip com,tucows,games,genotec)/files/rpg_maker_xp.zip 20120606155403 http://genotec.games.tucows.com/files/RPG_Maker_XP.zip application/zip 200 4UVNBGJEPYNQINJ6PWPEEXRE7F26ACXH 30987750 Checking: ows.games.tucows.com/files/RPG_Maker_XP.zip Checking: tulumba.games.tucows.com/files/RPG_Maker_XP.zip --- snip ---
Wohoo!
https://web.archive.org/web/20120606155403/http://genotec.games.tucows.com/f...
$ sha1sum RPG_Maker_XP.zip e52ad099247e1b04353e7d9e425e24f975e00ae7 RPG_Maker_XP.zip
$ du -sh RPG_Maker_XP.zip 30M RPG_Maker_XP.zip
--- snip --- $ 7z l RPG_Maker_XP.zip
Listing archive: RPG_Maker_XP.zip
-- Path = RPG_Maker_XP.zip Type = zip Physical Size = 31035032
Date Time Attr Size Compressed Name ------------------- ----- ------------ ------------ ------------------------ 2005-08-30 11:01:00 ....A 1707856 1668189 RPG Maker XP/RPG Maker XP/Setup1/InstMsiA.Exe 2005-08-30 11:02:00 ....A 1821008 1783150 RPG Maker XP/RPG Maker XP/Setup1/InstMsiW.Exe 2005-08-30 11:15:00 ....A 21741568 21422183 RPG Maker XP/RPG Maker XP/Setup1/RTP_Standard_102.msi 2005-08-30 11:15:00 ....A 110592 60306 RPG Maker XP/RPG Maker XP/Setup1/Setup.Exe 2005-08-30 11:15:00 ....A 47 47 RPG Maker XP/RPG Maker XP/Setup1/Setup.Ini 2005-08-30 11:16:00 ....A 1707856 1668189 RPG Maker XP/RPG Maker XP/Setup2/InstMsiA.Exe 2005-08-30 11:17:00 ....A 1821008 1783150 RPG Maker XP/RPG Maker XP/Setup2/InstMsiW.Exe 2005-09-20 13:04:00 ....A 2654208 2407618 RPG Maker XP/RPG Maker XP/Setup2/RPGXP_102a.msi 2005-08-30 11:18:00 ....A 110592 60306 RPG Maker XP/RPG Maker XP/Setup2/Setup.Exe 2005-09-20 13:04:00 ....A 41 41 RPG Maker XP/RPG Maker XP/Setup2/Setup.Ini 2005-08-30 11:00:00 ....A 323584 178723 RPG Maker XP/RPG Maker XP/SetupMenu.exe ------------------- ----- ------------ ------------ ------------------------ 2005-09-20 13:04:00 31998360 31031902 11 files
Regards
https://bugs.winehq.org/show_bug.cgi?id=10791
Neko-san nekoNexus@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=10791
Chris schM0ggi@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |schM0ggi@web.de
--- Comment #22 from Chris schM0ggi@web.de --- BG Music and Sounds (midi) do play without problems after going through these steps:
1. Install the components directx9 d3dx9_43 directmusic dsdmo via winetricks
2. As RPG Maker XP rely on Microsoft Synthesizer (hardcoded), you need the sound source file (.DLS format). The file can be extracted from the redistributable runtime package DirectX (e.g. version 8.1 or 9c). The file is not included anymore in the versions you can obtain via winetricks so you need a wayback source. Here is one:
https://web.archive.org/web/20060509081637/http://download.microsoft.com/dow...
Extract the package (e.g. with 7z) and then extract the DirectX.cab (e.g. with cabextract). In the extracted folder, you can find the gm16.dls file.
Rename this file to gm.dls and copy it to windows/system32/drivers or windows/syswow64/drivers (when using a 64 bit prefix) in your wine prefix where RPG Maker XP is installed.
After this, midi starts to play. No need for tinkering with registry, alsa, synthesizers etc.
Information found taken from the following Japanese page: https://kakurasan.ehoh.net/summary/mididev.sound.wine.html#mssynth.mididev.s...