Sound while running?

Request patches for Keen Dreams.
Post Reply
User avatar
szemigi
Posts: 716
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Sound while running?

Post by szemigi »

Hey, is it possible to play sound when Keen runs just like in Keen 4-6? If so, could you do it?
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: Sound while running?

Post by levellass »

This patch plays two sounds in a 1-2-1-2 pattern as Keen walks. The timing between them is $10 and $20(-$10). The sounds here are $02 and $03, though you'll probably want to change them.

Code: Select all

#Keen makes a sound when he walks
%patch $7A17 $EB $25 $83 $7C $38 $00 $75 $06 $83 $7C $3C $00 $74 $1B $C7 $44
             $1A $0000W  $C7 $44 $1E $0ED8W  $A1 $0ED8W  $83 $7C $0E $01 $75
             $03 $A1 $0EDAW  $89 $44 $20 $EB $27 $FF $06 $0368W  $B8 $0003W
             $81 $3E $0368W  $0010W  $74 $10 $81 $3E $0368W  $0020W  $7C $10
             $33 $C0 $A3 $0368W  $B8 $0002W  $50 $9A $10BB1282RL     $44 $44
             $E9 $FF45W
User avatar
szemigi
Posts: 716
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: Sound while running?

Post by szemigi »

Thanks a lot.

I also want sound when Map Keen walks. Is it also possible?
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: Sound while running?

Post by levellass »

Yes, BUT-

This patch must be placed AFTER the Keen Galaxy-style dying patch I made, since it messes with it a bit. If it is put before, it will crash the game.

Code: Select all

#New MapKeen_Walk tcol, merges with Keen_Walk =$05E805A5RL
%patch $6425 $55 $8B $EC $56 $8B $76 $06 $E9 $1611W  $90

#Change MapKeen_Walk tcol to make noise
%patch $248D0 $05E805A5RL

It also has the same sound and tempo as the in-level walk. If you want two DIFFERENT walking sounds then that is much trickier.
User avatar
szemigi
Posts: 716
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: Sound while running?

Post by szemigi »

This will be cool and proper. Thanks for the patch!
Post Reply