music mute for many CPS2 games

This forum is the archive of arcade cheats that have already been added to the current or the next release of the cheat file.
Post Reply
bmn
Posts: 34
Joined: Fri Sep 04, 2009 3:17 am

music mute for many CPS2 games

Post by bmn »

ddsom, ddsomjr1, ddsomr3, ddsomr2, ddsomur1, ddsomb, ddsomr1, ddsoma, ddsomj, ddsomud, ddsomu

Code: Select all

cheat "background music"
0 "default"
1 "kill", 1, 0xF027, 0x00
In FBA ini form.
bmn
Posts: 34
Joined: Fri Sep 04, 2009 3:17 am

Re: music mute for many CPS2 games

Post by bmn »

It looks like only two codes are needed to mute music for all the CPS2 games.

Code: Select all

cheat "background music"
0 "default"
1 "kill", 1, 0xF027, 0x00
It works on newer games:
1944
batcir
choko
csclub
ddsom
dimahoo
gigawing
jyangoku
mpang
mshvsf
mvsc
megaman2
progear
pzloop2
qndream
sfa3
sgemf
vhunt2
vsav
vsav2
xmvsf

Code: Select all

cheat "background music"
0 "default"
1 "kill", 1, 0xF019, 0x00
It works on older games:
19xx
armwar
avsp
cybots
dstlk
ddtod
ecofghtr
hsf2
msh
mmancp2u
nwarr
ringdest
sfa
sfa2
sfz2al
ssf2
ssf2t
xmcota


There are some problems with mmatrix and spf2t but they seem to be MAME related.
User avatar
Pugsy
Posts: 3675
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 16 times
Contact:

Re: music mute for many CPS2 games

Post by Pugsy »

Nice work thanks, added - hope I haven't missed any clones. The byte writes should be word writes:-

1 "kill", 1, 0xF027, 0x00 becomes:-

Code: Select all

  <cheat desc="No Background Music">
    <script state="run">
      <action>audiocpu.pw@F026=0000</action>
    </script>
  </cheat>
1 "kill", 1, 0xF019, 0x00 becomes

Code: Select all

  <cheat desc="No Background Music">
    <script state="run">
      <action>audiocpu.pw@F018=0000</action>
    </script>
  </cheat>
For mmatrix and spf2t try these:-

Code: Select all

  <cheat desc="No Background Music">
    <script state="run">
      <action>audiocpu.pw@F020=0000</action>
    </script>
  </cheat>
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.264 XML cheat collection (3 APRIL 2024) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/SxsQUJoT#jBdz6GLm_ ... QzFGSMms2c (ZIP Archive 3.8 MB)
bmn
Posts: 34
Joined: Fri Sep 04, 2009 3:17 am

Re: music mute for many CPS2 games

Post by bmn »

Thanks, that works better now.
bmn
Posts: 34
Joined: Fri Sep 04, 2009 3:17 am

Re: music mute for many CPS2 games

Post by bmn »

Hi again.

All the mame forks are still using the old dat format.

What would these look like in that format?
User avatar
Pugsy
Posts: 3675
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 16 times
Contact:

Re: music mute for many CPS2 games

Post by Pugsy »

Code: Select all

  <cheat desc="No Background Music">
    <script state="run">
      <action>audiocpu.pw@F026=0000</action>
    </script>
  </cheat>
In old format would be:

Code: Select all

:gamename:01100000:F026:00000000:FFFFFFFF:No Background Music
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.264 XML cheat collection (3 APRIL 2024) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/SxsQUJoT#jBdz6GLm_ ... QzFGSMms2c (ZIP Archive 3.8 MB)
bmn
Posts: 34
Joined: Fri Sep 04, 2009 3:17 am

Re: music mute for many CPS2 games

Post by bmn »

Hm, I added the code and it shows up on the list, but when I turn it On it doesn't work.

Tried with sgemf in mame 0.126 and FBA.
The XML version works in 0.137 of course.

Am I doing this right?
User avatar
Pugsy
Posts: 3675
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 16 times
Contact:

Re: music mute for many CPS2 games

Post by Pugsy »

Well, I admit did't try the old type code - I guessed the cpu index would be 1 for the audio/soundcpu, maybe it's not (i'm not at my PC right now) try this:

Code: Select all

:gamename:02100000:F026:00000000:FFFFFFFF:No Background Music
If that doesn't edit the cheat in the old cheat engine and try the various CPUs and memory regions...Once you poke 16bits(2bytes) to the correct cpu/region it should work.
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.264 XML cheat collection (3 APRIL 2024) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/SxsQUJoT#jBdz6GLm_ ... QzFGSMms2c (ZIP Archive 3.8 MB)
User avatar
Pugsy
Posts: 3675
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 16 times
Contact:

Re: music mute for many CPS2 games

Post by Pugsy »

I've just tried it with my build of MAME 0.126 and 1944, and the original format cheat I posted a few posts ago works...

Code: Select all

:1944:01100000:F026:00000000:FFFFFFFF:No Background Music

it also works with my build of MAME 0.126 and sgemf...

Code: Select all

:sgemf:01100000:F026:00000000:FFFFFFFF:No Background Music
Don't know what exactly you did for it not to work.....perhaps you should try an older version of MAME than 0.126 unless you've compiled it with the cheat.c from here.

MAME 0.125uX - 0.126 should be avoided for cheats unless you build it with a different cheat.c, the reason simply is that it was completely screwed up in the 0.125 update cycle and that's why it was completely replaced.


BTW, you will find the link to the "Working cheat.c for MAME 0.125u7 - 0.126" near the bottom of http://www.mamecheat.co.uk
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.264 XML cheat collection (3 APRIL 2024) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/SxsQUJoT#jBdz6GLm_ ... QzFGSMms2c (ZIP Archive 3.8 MB)
bmn
Posts: 34
Joined: Fri Sep 04, 2009 3:17 am

Re: music mute for many CPS2 games

Post by bmn »

Thanks, it works fine in 0.125.

I think I'll just stay away from 0.126 now.
Post Reply