Lethal Enforcers

Go down

Lethal Enforcers Empty Lethal Enforcers

Post by pepillopev Wed 5 Jan 2022 - 14:39

So far, a good hook to get track numbers has been found and mapped.
-- track map below --
Spoiler:
$04 ; rolling bad guy
$08 ; black boots
$0C ; fence of defense
$10 ; desperate to survive
$14 ; as long as you live
$18 ; fight for your life
$1C ; shoot into the street
$20 ; at full speed
$24 ; warning area
$28 ; dead or alive
$2C ; lucky plucky
$30 ; whoa!
$34 ; fanfare 1
$38 ; fanfare 2
$3C ; fanfare 3
$40 ; waiting for challenges
$44 ; victory or defeat
$48 ; my mission
$4C ; you are a good shooter!
$50 ; just my luck!
$54 ; so tired
$58 ; thank you, and see you again

-- The hook is at $80ac05 --
Spoiler:
80ac05 pla ; native code -> A contains track number at this point
80ac06 clc ; native code -> A contains track number at this point
80ac07 adc #$943e  ; native code
80ac0a tax ; native code
80ac0b stx $2c  ; native code
80ac0d lda $830000,x   ; native code
80ac11 sta $2a         ; native code
80ac13 inx ; native code

The track map hook took less than 30 minutes to find. The problem now is finding a good mute for this game. Traditional methods to preserve SPC fallback (ie, mute at $2140, etc) produce either game crashing or partial mute with some FX sounds compromised. This looks like it may be another hard mute game.

@Conn, @Cubear If either of you would like to take a stab at the mute portion, feel free to do so. Eventually, one of us will find it. I am grateful that now there are three of us that can tackle this problem.

pepillopev

Lethal Enforcers Image211

Since : 2017-10-17

Back to top Go down

Lethal Enforcers Empty Re: Lethal Enforcers

Post by Conn Wed 5 Jan 2022 - 15:38

Maybe this helps (hard mute):
pc 0x1c09e9: 33 20 07 -> e8 00 00
(as far I can tell ingame sfx are intact, however konami logo is distorted - let me know if it works as a base and/or you need further help)
Conn
Conn

Lethal Enforcers Image212

Since : 2013-07-01

Back to top Go down

Lethal Enforcers Empty Re: Lethal Enforcers

Post by pepillopev Wed 5 Jan 2022 - 16:13

@Conn This will work as discussed over Discord. Just have to mute Konami and Title Screen (hard mute not playing nice in these two sequences). Thanks again for the fast response.

pepillopev

Lethal Enforcers Image211

Since : 2017-10-17

Back to top Go down

Lethal Enforcers Empty Re: Lethal Enforcers

Post by Cubear Wed 5 Jan 2022 - 18:21

i've been looking at that game a little bit, something that may help off the top of my head is the game genie code for accessing the sound test.. there's a fadeout and a stop command for music that you can trigger in there, chances are that if you fadeout or stop directly after the play command is set, it should spc mute?

Enable Game Genie code FD62-1F04, then start the game. (enter top option at title screen)

i'll try to test this at some point today
Cubear
Cubear

Lethal Enforcers Image111

Since : 2021-11-17

Back to top Go down

Lethal Enforcers Empty Re: Lethal Enforcers

Post by pepillopev Wed 5 Jan 2022 - 19:53

@Cubear Yup, that is what I used to help me find the hook from my initial post. Sound test and actual game play match the already mapped tracks. Thanks for suggesting it though.
there's a fadeout and a stop command for music that you can trigger in there, chances are that if you fadeout or stop directly after the play command is set, it should spc mute?
I did go down that route but get garbled FX sounds but eventually the game settles down and plays fine, but have suspicions some FX sounds are missing.

pepillopev

Lethal Enforcers Image211

Since : 2017-10-17

Back to top Go down

Lethal Enforcers Empty Re: Lethal Enforcers

Post by pepillopev Wed 5 Jan 2022 - 21:15

@Cubear Conn found a good hard mute second time around. I think all is well; I just have to remap the tracks to match Zophar Domain's track list.

pepillopev

Lethal Enforcers Image211

Since : 2017-10-17

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum