YesNoOk
avatar

Some stuff about attempting to play/replay sounds in MAME. (Read 19751 times)

Started by N., June 12, 2017, 04:18:53 am
Share this topic:

N.

Some stuff about attempting to play/replay sounds in MAME.
New #1  June 12, 2017, 04:18:53 am
  • avatar
  • ***
I've been looking into ways to add sound players/replayers to my MAME cheats.  I found something that's used fairly consistently in a bunch of games, so I thought I'd write something up about it.

Anyways, this consists of 2 (possibly 3, but usually 2) parts to it.  Normally, they keep track of a certain amount of previous sounds that are played.  You will be using them to make something that'll either play specific sounds, or replay the logged sounds.  They're not too hard to find as long as you have a rough idea of what to look for, but it can be it bit tricky to find what you need sometimes.

Spoiler: Part 1:  The "player" (click to see content)
Spoiler: Part 1-A:  The "player" (click to see content)
Spoiler: Part 1-B: The "replayer", instead (click to see content)
Spoiler: Part 2: Modifier of a logged sound value (click to see content)
Spoiler: Examples of how it'd look as MAME cheats: (click to see content)
   
Spoiler: Other stuff: (click to see content)

Hope that helps someone.

Edit: Fixed Play Sound +1 for the dcs cheat (+1's supposed to write to 1 byte, or it conflicts with +256).
1 Last Updated: 4/19/23
2 Last Updated: 1/16/21
3 Last Updated: 04/20/23
4 Last Updated: 7/16/17
Last Edit: July 17, 2017, 01:37:38 am by N.