<game>
	<name>[hexaprs] HEXA PRESIDENT (YM2610 set)</name>
	<driver type="hexaprs">yubis</driver>
	<driveralias type="Arcade">YUBiS</driveralias>
	<options>
		<option name="opnb_mix" value="0x180"/>
		<option name="ssg_mix" value="0x40"/>
	</options>
	<romlist archive="hexapres">
		<rom type="code" offset="0x00000">ghp_snd.bin</rom>
		<rom type="adpcma" offset="0x00000">ghp_voia.bin</rom>
		<rom type="adpcma" offset="0x80000">ghp_voib.bin</rom>
	</romlist>
	<titlelist>
		<title code="0x01">01 - music</title>
		<title code="0x02">02 - music</title>
		<title code="0x03">03 - music</title>
		<title code="0x04">04 - music</title>
		<title code="0x40">40 - se</title>
		<title code="0x41">41 - se</title>
		<title code="0x44">44 - se</title>
	</titlelist>
</game>
<game>
	<name>[hexaprs] HEXA PRESIDENT (YM2610 adpcm swapped set)</name>
	<driver type="hexaprs">yubis</driver>
	<driveralias type="Arcade">YUBiS</driveralias>
	<options>
		<option name="opnb_mix" value="0x180"/>
		<option name="ssg_mix" value="0x40"/>
	</options>
	<romlist archive="hexapres,hexapres_adpcm_swap">
		<rom type="code" offset="0x00000">ghp_snd.bin</rom>
		<rom type="code" offset="0x00895">hexapres_adpcm_swap.bin</rom>
		<!--
			at now, hoot's hexaprs driver seems not to access the 2nd adpcm rom which mapped from 0x80000. consequently, when the music 0x02 is requested, it sounds no sound, though the register indicates that the 2nd rom's addresses to be played.
			in this xml, the addresses of the two adpcm roms are swapped each other, and the patch below adjusts the adpcm addresses in the sound sequences.
				               7A 0D 9A 0D 00 00 00 00 00 C9 00
				00 0D 79 0D 00 00 00 00 00 CC 00 20 05 68 05 00
				00 00 00 00 D4 00 40 05 79 05 00 00 00 00 00 D4
				00 F6 0E 30 0F F6 0E 30 0F FF D8 00 00 08 65 09
				00 00 00 00 00 DF 00 66 09 74 0A 00 00 00 00 00
				DF 00 75 0A E1 0B 00 00 00 00 00 DF 00 E2 0B EF
				0C 00 00 00 00 00 DF 00 00 00 C3 01 00 00 00 00
				00 DF 00 C4 01 66 03 00 00 00 00 00 DF 00 67 03
				D5 04 00 00 00 00 00 DF 00 9B 0D 5D 0E 00 00 00
				00 00 DF 00 60 0E F5 0E
			as a result, the music 0x02 will be played, but all the other sounds will not. if the 2nd rom address will be enabled in the future, maybe all the sounds can be played by both the normal xml and this xml.
			by the way, in the music 0x01 and 0x02, the timing of adpcm stream block advancing seems weird at some points, isn't it?
		-->
		<rom type="adpcma" offset="0x00000">ghp_voib.bin</rom>
		<rom type="adpcma" offset="0x80000">ghp_voia.bin</rom>
	</romlist>
	<titlelist>
		<title code="0x01">01 - music</title>
		<title code="0x02">02 - music</title>
		<title code="0x03">03 - music</title>
		<title code="0x04">04 - music</title>
		<title code="0x40">40 - se</title>
		<title code="0x41">41 - se</title>
		<title code="0x44">44 - se</title>
	</titlelist>
</game>

タグ:

+ タグ編集
  • タグ:
最終更新:2024年05月11日 08:07