General Emulation => Cheats => Topic started by: Gotta have it on April 23, 2020, 09:25:06 PM

Title: Mute Music in ADK games
Post by: Gotta have it on April 23, 2020, 09:25:06 PM
Would it be possible to convert this from an .xml format into .ini for FBA (FightCade 1) to utilize? I tried to really wrap my head around this to converting it over and I'm having a difficult time understanding what I need to do.

I'm looking to just mute the music in Twinkle Star Sprites; MAME doesn't run too well on my setup, and all I can use for the time being is FBA.

Code: [Select]
  <cheat desc="Mute All Music"> <comment>Fully mutes all music, including BIOS music</comment>
    <script state="on">
      <action condition="maincpu.pb@0109==03">temp0=04AC</action> <!-- moshougi -->
      <action condition="maincpu.pb@0109==05">temp0=D2A4</action> <!-- maglord, maglordh -->
      <action condition="maincpu.pb@0109==09">temp0=CEBD</action> <!-- ncombat, ncombath -->
      <action condition="maincpu.pb@0109==12">temp0=04AC</action> <!-- overtop (same as moshougi) -->
      <action condition="maincpu.pb@0109==17">temp0=04AC</action> <!-- ninjamas (same as moshougi) -->
      <action condition="maincpu.pb@0109==22">temp0=CEC0</action> <!-- bjourney, bjourneyh -->
      <action condition="maincpu.pb@0109==24">temp0=04C2</action> <!-- twinspri -->
      <action condition="maincpu.pb@0109==37">temp0=03ED</action> <!-- crsword (same as trally) -->
      <action condition="maincpu.pb@0109==38">temp0=03ED</action> <!-- trally -->
      <action condition="maincpu.pb@0109==50">temp0=03ED</action> <!-- ncommand (same as trally) -->
      <action condition="maincpu.pb@0109==53">temp0=03FE</action> <!-- wh1,wh1h,wh1ha -->
      <action condition="maincpu.pb@0109==54">temp0=03ED</action> <!-- crswd2bl (same as trally) -->
      <action condition="maincpu.pb@0109==57">temp0=040D</action> <!-- wh2, wh2h -->
      <action condition="maincpu.pb@0109==64">temp0=0408</action> <!-- wh2j -->
      <action condition="maincpu.pb@0109==74">temp0=0408</action> <!-- aodk (same as wh2j) -->
      <action condition="maincpu.pb@0109==90">temp0=04AC</action> <!-- whp (same as moshougi)-->
    <script state="run">
      <action condition="audiocpu.rb@temp0==32">audiocpu.rb@temp0=C9</action>
    <script state="off">
      <action condition="audiocpu.rb@temp0==C9">audiocpu.rb@temp0=32</action>
Title: Re: Mute Music in ADK games
Post by: dink on April 23, 2020, 10:54:10 PM
Here's for twinspri.  See attachment - put it in support/cheats