<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.sierrahelp.com/index.php?action=history&amp;feed=atom&amp;title=ToDo%2FGM_Mapping</id>
	<title>ToDo/GM Mapping - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.sierrahelp.com/index.php?action=history&amp;feed=atom&amp;title=ToDo%2FGM_Mapping"/>
	<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=ToDo/GM_Mapping&amp;action=history"/>
	<updated>2026-09-13T19:32:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>http://wiki.sierrahelp.com/index.php?title=ToDo/GM_Mapping&amp;diff=92935&amp;oldid=prev</id>
		<title>Andrew Branscom: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=ToDo/GM_Mapping&amp;diff=92935&amp;oldid=prev"/>
		<updated>2025-04-27T22:58:08Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:58, 27 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Andrew Branscom</name></author>
	</entry>
	<entry>
		<id>http://wiki.sierrahelp.com/index.php?title=ToDo/GM_Mapping&amp;diff=92934&amp;oldid=prev</id>
		<title>Andrew Branscom at 04:27, 17 November 2014</title>
		<link rel="alternate" type="text/html" href="http://wiki.sierrahelp.com/index.php?title=ToDo/GM_Mapping&amp;diff=92934&amp;oldid=prev"/>
		<updated>2014-11-17T04:27:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==MT-32 to GM mapping in SCI0-SCI1 games==&lt;br /&gt;
&lt;br /&gt;
SCI0 - SCI1 games didn&amp;#039;t support GM music (it wasn&amp;#039;t a standard back then),&lt;br /&gt;
apart from some late SCI1 games, for which Sierra released aftermarket GM patches.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sierra&amp;#039;s after market GM patches add GM support to the following SCI1 games:&lt;br /&gt;
* Leisure Suit Larry 1 &lt;br /&gt;
* Leisure Suit Larry 5&lt;br /&gt;
* Hoyle 3&lt;br /&gt;
* Space Quest 1 (VGA) &lt;br /&gt;
* Space Quest 4&lt;br /&gt;
* Eco Quest 1&lt;br /&gt;
* Conquests of the Longbow (Robin Hood)&lt;br /&gt;
* Mixed-Up Fairy Tales&lt;br /&gt;
The patch can be downloaded from the [[shp:Patches-Updates/Patches-Updates-Misc/UpdatedSoundCardDrivers.html#GENMIDI|Updated Audio Drivers Page on SHP]]&lt;br /&gt;
&lt;br /&gt;
There is no GM support in the following SCI1 games:&lt;br /&gt;
* Castle of Dr. Brain&lt;br /&gt;
* King&amp;#039;s Quest V&lt;br /&gt;
* Police Quest III&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are some standard MT-32 instruments, which have been mapped to GM ones.&lt;br /&gt;
All of the SCI games had custom instruments in their MT-32 music score.&lt;br /&gt;
&lt;br /&gt;
There is a mapping of MT-32 to GM instruments, including custom instruments&lt;br /&gt;
per game in the SCI engine, taken from FreeSCI. This has been mostly worked on&lt;br /&gt;
for SCI0-SCI01 in FreeSCI, but it still needs work.&lt;br /&gt;
&lt;br /&gt;
If you want to work on this, here&amp;#039;s what to do:&lt;br /&gt;
&lt;br /&gt;
* Start ScummVM like this:&lt;br /&gt;
  scummvm -d0 --debugflags=Sound,OnStartup&lt;br /&gt;
this will make ScummVM display the missing MIDI instruments when you start a&lt;br /&gt;
game, and it will also make it show the console when the game starts&lt;br /&gt;
&lt;br /&gt;
If we take the theme song from PQ3, for example, we can see that instruments&lt;br /&gt;
(patches) 68, 70, 72 and 82 are all missing, and that percussion 52 is also missing&lt;br /&gt;
&lt;br /&gt;
  * 68 = &amp;quot;B I G Bass&amp;quot;&lt;br /&gt;
  * 70 = &amp;quot;Big Orch  &amp;quot;&lt;br /&gt;
  * 72 = &amp;quot;Lefty 2   &amp;quot;&lt;br /&gt;
  * 82 = &amp;quot;Lead SqrJH&amp;quot;&lt;br /&gt;
  * 52 percussion = &amp;quot;IceBreakMS&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The command to use is &amp;quot;map_instrument&amp;quot;. It takes 3 parameters: the MT-32 instrument&lt;br /&gt;
name (with the spaces substituted by underscores, always 10 characters), the GM&lt;br /&gt;
instrument and the GM percussion (255 = &amp;quot;unmapped&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
So, for example, you can set &amp;quot;Lefty 2   &amp;quot; to GM instrument 6 (Harpsichord) with this command:&lt;br /&gt;
  map_instrument Lefty_2__ 6 255&lt;br /&gt;
&lt;br /&gt;
Or you can set &amp;quot;IceBreakMS&amp;quot; to GM &amp;quot;Crash Cymbal 1&amp;quot; with this:&lt;br /&gt;
  map_instrument IceBreakMS 255 49&lt;br /&gt;
&lt;br /&gt;
The finalized instruments can then be put inside sci/sound/drivers/map-mt32-to-gm.h&lt;br /&gt;
&lt;br /&gt;
If you want the GM instrument/percussion names, they&amp;#039;re in sci/sound/drivers/gm_names.h&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
[[Category:ToDo Pages]]&lt;/div&gt;</summary>
		<author><name>Andrew Branscom</name></author>
	</entry>
</feed>