Patch:Sounds

From KeenWiki
(Redirected from Patch:KDREAMS.AUD)
Jump to navigation Jump to search

This page contains patches that relate to sounds. While specific sounds may be mentioned on various pages to which they relate. (Say the sound items get when acquired.) This page contains patches that affect all sounds, as well as general lists of sounds. See also Patch:Music.


Sounds files

The sounds file contains the sound (and in Galaxy music) chunks used by the game. In Keen 1 this is an external file, in Keen 2 and Keen 3 it is internal and in Keen galaxy and Dreams it is external.

The Galaxy\Dreams AUDIO.CKx file holds all the PC, Adlib and music chunks the game uses. In this it is similar to the EGAGRAPH.CKx file. There are two other related files, AUDIOHEAD.CKx and AUDIODICT.CKx In order to use altered sounds or music, one or both of these files must be patched.


Location\names of Keen 2 and 3 SOUNDS files

In Keen 2 and Keen 3 the SOUNDS.CKx file is kept in the executable at a specific location. It is possible to alter the location of this file and thus give it more or less space. The name used for the file here can be anything but the default is SOUNDS.CKx

In Keen 1 the file is already external and only its name can be changed. See also Patch:Files and filenames.

Keen 1

#Sounds file name
%patch $1558  [$201EW]
%patch $1506E "SOUNDS." $00

Keen 3

#Sound file location
%patch $14D3 $13A7RW
%patchfile $13A70 "SOUNDS.CK3"


Names of Keen Galaxy\Dreams files

The AUDIOHEAD.CKx and AUDIODICT.CKx files are internal, created when patching, and thus can be anything. The AUDIO.CKx file's name must be patched in the executable. The first set of patches relates to patching the external audio file.

The second set of patches are required to use new sounds and music. The first patches the audio header (Where in the audio file the new sounds and music are.) and the second patches the audio Huffman dictionary. (That decrypts the AUDIO file.)

Keen AUDIO file names

#Keen 4 :
%patch $13393  [$3B08W] #Text called from
%patch $32978 "AUDIO.CK4" $00

#Keen 5 :
%patch $14330  [$325EW] #Text called from
%patch $3359E "AUDIO.CK5" $00

#Keen 6 :
%patch $12EC4  [$3508W] #Text called from
%patch $34238 "AUDIO.CK6" $00

Use new sounds\music

#Patch the sound files: - Keen 4
%patchfile $20DF0 AUDIOHED.CK4	#Audio header
%patchfile $354F6 AUDIODCT.CK4	#Audio dictionary

#Patch the sound files: - Keen 5
%patchfile $21C80 AUDIOHED.CK5	#Audio header
%patchfile $35EC4 AUDIODCT.CK5	#Audio dictionary

#Patch the sound files: - Keen 6
%patchfile $20C50 AUDIOHED.CK6  #Audio header
%patchfile $36EEE AUDIODCT.CK6  #Audio dictionary

#Patch the sound files: - Keen Dreams
%patchfile $22880 AUDIOHED.AUD	#Audio header
%patchfile $2A042 AUDIODCT.AUD  #Audio dictionary


Location of Galaxy\Dreams files

While the main audio file is external in Dreams and Galaxy, the dictionary and header are both internal files whose location is specified in the game code and can be altered. The header is its own segment but the dictionary is stored in the data segment.

Location of Galaxy\Dreams files

#Location of Keen 4 audio files
%patch $13377 [$6686W] #AUDIODICT - $354F6

#Location of Keen 5 audio files
%patch $14314 [$5B84W] #AUDIODICT - $35EC4

#Location of Keen 6 audio files
%patch $12EA8 [$61BEW] #AUDIODICT - $36EEE


Don't scramble audio dictionary

This patch prevents the audio dictionary being 'scrambled' which occurs when the game runs. This patch can only be used if the audio file is not compressed , otherwise the game will crash. This is useful since it frees up 1Kb of data segment space for patches and text.

This patch can be combined with an identical one for the EGADICT; this will increase the freed space to 2KB and also free up code space. ($12CE3-$12D2B in Keen 4, $13C80-$13CC8 in Keen 5 and $12814-$1285C in Keen 6).

Don't scramble AUDIODCT

#Don't scramble AUDIODCT -Keen 4
%patch $1337D $90 $90 $90 $90

#Don't scramble AUDIODCT -Keen 5
%patch $1431A $90 $90 $90 $90

#Don't scramble AUDIODCT -Keen 6
%patch $12EAE $90 $90 $90 $90


Number of possible sounds

While the number of sounds in Keen Vorticons is controlled by the sound file itself, in Keen Galaxy and Dreams the number of sounds is controlled by the game's code. When a sound is requested data will be obtained from different sound chunks depending on whether PC or adlib sound mode is enabled.

In Keen 4 for example the number of sounds is set at $34 (52.) So when requesting sound 3 the game will use data from chunk 3 in PC mode or chunk 52 + 3 in adlib mode. All three values must be the same; the first two involve playing sounds in the two modes and the third involves caching sounds when the game starts. In Keen Dreams the PC and adlib maximum limits are set as well as a cache for 'quiet' adlib sounds.

When using these patches to 'change the number of sounds the sound files must be altered; especially if the number of sounds is being increased. Reorganizing the files can be difficult; inserting a new sound in Keen 4 for example requires shifting chunks 52 to 103 'up' one, overwriting chunk 104. (The total number of sound file chunks does not need to be increased as the files contain 'blank' chunks as a buffer.) Decreasing the number of sounds is a simple matter of not using the 'extra' sounds.

Number of possible sounds

#Number of sounds -Keen 4
%patch $135A7 [$0034W]
%patch $135EF [$0034W]
%patch $18ED2 [$0034W]

#Number of sounds -Keen 5
%patch $14544 [$0040W]
%patch $1458C [$0040W]
%patch $19E70 [$0040W]

#Number of sounds -Keen 6
%patch $130D8 [$003CW]
%patch $13120 [$003CW]
%patch $18B42 [$003CW]

#Number of sounds -Keen Dreams
%patch $BB53  [$001CW] #PC
%patch $BB58  [$0038W] #Adlib
%patch $BB99  [$001CW] #PC
%patch $BB9E  [$0038W] #Adlib
%patch $11B2D [$001CW] #PC cache
%patch $11B42 [$0038W] #Adlib cache
%patch $11B50 [$0038W] #Quiet adlib cache


Disable all sounds

These patches will completely and permanently disable all sounds in the game. See also Sound (Y/N) Window. For Dreams and Galaxy this includes all PC and adlib sounds, but music is not affected.

Disable all sounds in-game

#Keen 1:
%patch $BEFD $90 $90

#Keen 2:
%patch $B615 $90 $90

#Keen 3:
%patch $C973 $90 $90

#Keen Dreams:
%patch $11E32 $CB

#Keen 4:
%patch $19131 $CB

#Keen 5:
%patch $1A0CF $CB

#Keen 6:
%patch $18DA1 $CB


Change\disable specific sounds

This is a list of all known sounds in the Keen games. Some sound designations are marked with a '?', they are likely inaccurate and in need of correcting. Some sounds are still of unknown function. Following each sound is a patch to disable that specific sound.


Keen 1

Keen 1

#Sounds
%patch $0D7D $1C     #Extra keen sound
%patch $0D7C $EB $07 #Extra keen sound disabled

%patch $1A9C $22     #Yorp death sound
%patch $1A9B $EB $07 #Yorp death sound disabled

%patch $1C02 $23     #Garg death sound
%patch $1C01 $EB $07 #Garg death sound disabled

%patch $1D8E $27     #Vorticon death sound
%patch $1D8D $EB $07 #Vorticon death sound disabled

%patch $1FDC $26     #Tankbot fire sound
%patch $1FDB $EB $07 #Tankbot fire sound disabled

%patch $209B $17     #Ice cannon fire sound
%patch $209A $EB $07 #Ice cannon fire sound disabled

%patch $229A $13     #Icecube smash sound
%patch $2299 $EB $07 #Icecube smash sound disabled

%patch $2344 $27     #Chain shot sound
%patch $2343 $EB $07 #Chain shot sound disabled

%patch $2801 $21     #Open door sound
%patch $2800 $EB $07 #Open door sound disabled

%patch $3408 $1B     #Keen fall out of level sound
%patch $3407 $EB $07 #Fall out of level sound disabled

%patch $35DB $19     #Flip bridge\light switch sound
%patch $35DA $EB $07 #Flip bridge\light sound disabled

%patch $3A54 $1E     #Keen walking sound 1
%patch $3A53 $EB $0C #Keen walking sound 1 disabled

%patch $3A59 $04     #Keen walking sound 2
%patch $3A58 $EB $07 #Keen walking sound 2 disabled

%patch $3A88 $05     #Keen blocked by wall sound
%patch $3A87 $EB $07 #Keen blocked by wall sound disabled

%patch $3AA5 $1B     #Keen plummets off edges sound
%patch $3AA4 $EB $07 #Keen plummets off edges sound disabled

%patch $3C3D $06     #Keen jump sound
%patch $3C3C $EB $07 #Keen jump sound disabled

%patch $3D60 $05     #Keen jumping blocked by wall sound
%patch $3D5F $EB $07 #Keen jumping blocked by wall sound disabled

%patch $3D75 $02     #Keen lands sound
%patch $3D74 $EB $07 #Keen lands sound disabled

%patch $3D87 $15     #Keen bump head sound
%patch $3D86 $EB $07 #Keen bump head sound disabled

%patch $3E33 $0B     #Keen shoot sound
%patch $3E32 $EB $07 #Keen shoot sound disabled

%patch $3E58 $24     #Keen has no ammo sound
%patch $3E57 $EB $07 #Keen has no ammo sound disabled

%patch $3FA4 $05     #Keen pogoing blocked by wall sound
%patch $3FA3 $EB $07 #Keen pogoing blocked by wall sound disabled

%patch $3FD1 $15     #Keen pogoing bump head sound
%patch $3FD0 $EB $07 #Keen pogoing bump head sound disabled

%patch $408E $06     #Pogo sound
%patch $408D $EB $07 #Pogo sound disabled

%patch $42A2 $08     #Keen dies in-level sound
%patch $42A1 $EB $07 #Keen dies in-level sound disabled

%patch $42E0 $08     #Keen dies falling out of level sound
%patch $42DF $EB $07 #Keen dies falling out of level sound disabled

%patch $43F1 $09     #Keen get points sound
%patch $43F0 $EB $07 #Keen get points sound disabled

%patch $447A $0B     #Keen gets ship part sound
%patch $4479 $EB $07 #Keen gets ship part sound disabled

%patch $44B2 $0A     #Keen gets ammo or pogo sound
%patch $44B1 $EB $07 #Keen gets ammo or pogo sound disabled

%patch $44DE $0F     #Keen exits levels sound
%patch $44DD $EB $07 #Keen exits levels sound disabled

%patch $450B $20     #Keen gets a keycard sound
%patch $450A $EB $07 #Keen gets a keycard sound disabled

%patch $463C $1F     #Yorp stunned sound
%patch $463B $EB $07 #Yorp stunned sound disabled

%patch $4691 $28     #Keen frozen sound
%patch $4690 $EB $07 #Keen frozen sound disabled

%patch $474A $25     #Keen's shot hits left wall and Keen sound
%patch $4749 $EB $07 #Keen's shot hits left wall and Keen sound disabled

%patch $47BB $25     #Keen's shot hits right wall and Keen sound
%patch $47BA $EB $07 #Keen's shot hits right wall and Keen sound disabled

%patch $4816 $25     #Keen/Tank shots hit walls sound
%patch $4815 $EB $07 #Keen/Tank shots hit walls sound disabled

%patch $485F $25     #Keen's shots hit sprites sound
%patch $485E $EB $07 #Keen's shots hit sprites sound disabled

%patch $4967 $25     #Unknown shot hit sound
%patch $4966 $EB $07 #Unknown shot hit sound disabled

%patch $49D3 $25     #Unknown shot hit sound
%patch $49D2 $EB $07 #Unknown shot hit sound disabled

%patch $4A16 $25     #Tank shots hit sprites sound
%patch $4A15 $EB $07 #Tank shots hit sprites sound disabled

%patch $7FD4 $03     #Enter level sound
%patch $7FD3 $EB $07 #Enter level sound disabled

%patch $85A0 $19     #Light turning on sound (End sequence)
%patch $859F $EB $07 #Light turning on sound disabled

%patch $85C3 $19     #Light turning off sound (End sequence)
%patch $85C2 $EB $07 #Light turning off sound disabled

%patch $862C $19     #Light turning on sound (End sequence)
%patch $862B $EB $07 #Light turning on sound disabled

%patch $8759 $19     #Light turning off sound (End sequence)
%patch $8758 $EB $07 #Light turning off sound disabled

%patch $8792 $19     #Light turning on sound (End sequence)
%patch $8791 $EB $07 #Light turning on sound disabled

%patch $88F7 $29     #Endtext appears sound
%patch $88F6 $EB $07 #Endtext appears sound disabled

%patch $892B $12     #Arrive at secret teleporter sound
%patch $892A $EB $07 #Arrive at secret teleporter sound disabled

%patch $8BBF $10     #Game over\won sound
%patch $8BBE $EB $07 #Game over\won sound disabled

%patch $8F82 $29     #Keens left sound
%patch $8F81 $EB $07 #Keens left sound disabled

%patch $AC60 $02     #Keen blocked on map sound
%patch $AC5F $EB $0C #Keen blocked on map sound disabled

%patch $AC65 $01     #Keen walking on map sound
%patch $AC64 $EB $07 #Keen walking on map sound disabled

%patch $AF6C $12     #Teleporter sound
%patch $AF6B $EB $07 #Teleporter sound disabled


Pogo and raygun use different sounds

In Keen Vorticons the pogo and raygun use the same sound code. This patch alters things so that they now use different sounds. (In this case the pogo's sound is set to $0020W, the same as the keycard.) This allows the two items to be differentiated. This reorganizes the code however and is incompatible with the above sound patches as well as any patch that alters how many ammo\pogo the raygun and pogo tiles give.

The first brown value is the ammo variable, the blue $05 is how many are given. The second brown\blue values are for the pogo. The final blue value is the pogo got sound. The raygun got sound code is not affected.

Keen 1

#Raygun and Pogo have different sounds
%patch $45AC $449AW $44A1W

#Change code for two sounds
%patch $449A $83 $06 {$AAC8W}  [$05] $EB $10 $C7 $06 {$AA9AW}  [$01] $B8 [$0020W]  $50 $EB $09


Keen 2

Keen 2

#Sounds
%patch $0D7D $1C     #Extra keen sound
%patch $0D7C $EB $07 #Don't play sound

%patch $3FA7 $27     #Vorticon death sound
%patch $3FA6 $EB $07 #Vorticon death sound disabled

%patch $555A $29     #Endtext window appears sound
%patch $5559 $EB $07 #Endtext window appears sound disabled

%patch $5643 $21     #Open door sound
%patch $5642 $EB $07 #Open door sound disabled

%patch $624A $1B     #Keen plummets off edges sound
%patch $6249 $EB $07 #Keen plummets off edges sound disabled

%patch $641D $19     #Flip bridge\light switch sound
%patch $641C $EB $07 #Flip bridge\light switch sound disabled

%patch $6896 $1E     #Keen walking sound 1
%patch $6895 $EB $0C #Keen walking sound 1 disabled

%patch $689B $04     #Keen walking sound 2
%patch $689A $EB $07 #Keen walking sound 2 disabled

%patch $68CA $05     #Keen blocked sound
%patch $68C9 $EB $07 #Keen blocked sound disabled

%patch $68E7 $1B     #Fall out of level sound
%patch $68E6 $EB $07 #Fall out of level sound disabled

%patch $6A7F $06     #Keen jump sound
%patch $6A7E $EB $07 #Keen jump sound disabled

%patch $6BC9 $15     #Keen bump head sound
%patch $6BC8 $EB $06 #Keen bump head sound disabled

%patch $6C75 $0C     #Keen shoot sound
%patch $6C74 $EB $07 #Keen shoot sound disabled

%patch $6C9A $24     #Keen Keen has no ammo sound
%patch $6C99 $EB $07 #Keen Keen has no ammo sound disabled

%patch $70E4 $08     #Keen die in-level sound
%patch $70E3 $EB $07 #Keen die in-level sound disabled

%patch $68E7 $1B     #Fall out of level sound
%patch $68E6 $EB $07 #Fall out of level sound disabled

%patch $7122 $08     #Keen die falling out of level sound
%patch $7121 $EB $07 #Keen die falling out of level sound disabled

%patch $729A $0A     #Pogo\raygun tiles got sound
%patch $7299 $EB $07 #Pogo\raygun tiles got sound disabled

%patch $731F $20     #Keycard tiles got sound
%patch $731E $EB $07 #Keycard tiles got sound disabled

%patch $8676 $10     #Game over\won sound
%patch $8675 $EB $07 #Game over\won sound disabled

%patch $8A10 $29     #Keens left sound
%patch $8A0F $EB $07 #Keens left sound disabled

%patch $A6DB $02     #Keen blocked on map sound
%patch $A6DA $EB $0C #Keen blocked on map sound disabled

%patch $A6E0 $01     #Keen walking on map sound
%patch $A6DF $EB $07 #Keen walking on map sound disabled


Keen 3

Keen 3

#Sounds
%patch $0DF0 $1C     #Extra keen sound
%patch $0D7C $EB $06 #Don't play sound

%patch $42ED $27     #Vorticon shot sound
%patch $42EC $EB $06 #Vorticon shot sound disabled

%patch $43E9 $27     #Vortikid shot sound
%patch $43E8 $EB $06 #Vortikid shot sound disabled

%patch $44F3 $26     #Vortimom shoot sound
%patch $44F2 $EB $06 #Vortimom shoot sound disabled

%patch $45CA $25     #Vortimom shot hit right wall and Vortimom (If next to right wall and shoots)
%patch $45C9 $EB $06 #Vortimom shot hit right wall and Vortimom disabled

%patch $4640 $25     #Vortimom shot hit left wall and Vortimom (If next to left wall and shoots)
%patch $463F $EB $06 #Vortimom shot hit left wall and Vortimom disabled

%patch $4692 $25     #Vortimom shot hit tiles sound
%patch $4691 $EB $06 #Vortimom shot hit tiles sound disabled

%patch $46DE $25     #Vortimom shot hit sprites sound
%patch $46DD $EB $06 #Vortimom shot hit sprites sound disabled

%patch $4723 $27     #Vortimom shot sound
%patch $4722 $EB $06 #Vortimom shot sound disabled

%patch $480E $2B     #Meep shooting
%patch $480D $EB $06 #Meep shooting sound disabled

%patch $48AF $27     #Meep shot sound
%patch $48AE $EB $06 #Meep shot sound disabled

%patch $49E9 $27     #Vortninja shot sound
%patch $49E8 $EB $06 #Vortninja shot sound disabled

%patch $4AAB $22     #Foob scared sound
%patch $4AAA $EB $06 #Foob scared sound disabled

%patch $4B99 $22     #Foob dies sound
%patch $4B98 $EB $06 #Foob dies sound disabled

%patch $4D00 $25     #Gun fire hit blocks sound
%patch $4CFF $EB $06 #Gun fire hit blocks sound disabled

%patch $4D55 $26     #H gun shoot sound
%patch $4D54 $EB $06 #H gun shoot sound disabled

%patch $4DBC $26     #V gun shoot sound
%patch $4DBB $EB $06 #V gun shoot sound disabled

%patch $4F4A $25     #Mangling Machine explode sound
%patch $4F49 $EB $06 #Mangling Machine explode sound disabled

%patch $5425 $2D     #Foot slam sound
%patch $5424 $EB $06 #Foot slam sound disabled

%patch $570F $2C     #Enter MM level sound
%patch $570E $EB $06 #Enter MM level sound disabled

%patch $5717 $21     #Unknown, same as door open sound
%patch $5716 $EB $06 #Unknown, same as door open sound disabled

%patch $5A2D $19     #Vortirazzi snapshot sound
%patch $5A2C $EB $06 #Vortirazzi snapshot sound disabled

%patch $5D7D $29     #Show end text sound 1
%patch $5D7C $EB $06 #Show end text sound 1 disabled

%patch $5D88 $2C     #Show end text sound 2
%patch $5D87 $EB $06 #Show end text sound 2 disabled

%patch $5E6D $21     #Open door sound
%patch $5E6C $EB $06 #Open door sound disabled

%patch $6AAF $1B     #Fall out of level sound
%patch $6AAE $EB $06 #Fall out of level sound disabled

%patch $6C7E $19     #Flip bridge\light switch sound
%patch $6C7D $EB $06 #Flip bridge\light switch sound disabled

%patch $70F8 $1E     #Keen walking sound 1
%patch $70F7 $EB $10 #Keen walking sound 1 disabled

%patch $7102 $04     #Keen walking sound 2
%patch $7101 $EB $06 #Keen walking sound 2 disabled

%patch $7130 $05     #Keen blocked sound
%patch $712F $EB $06 #Keen blocked sound disabled

%patch $714C $1B     #Keen fall sound
%patch $714B $EB $06 #Keen fall sound disabled

%patch $72EA $06     #Keen jump sound
%patch $72E9 $EB $06 #Keen jump sound disabled

%patch $740B $05     #Unknown Keen blocked sound 2
%patch $740A $EB $06 #Unknown Keen sound 2 disabled

%patch $741F $07     #Keen land sound
%patch $741E $EB $06 #Keen land sound disabled

%patch $7430 $15     #Keen bump head sound
%patch $742F $EB $06 #Keen bump head sound disabled

%patch $74DD $0C     #Keen shoot sound
%patch $74DC $EB $06 #Keen shoot sound disabled

%patch $7501 $24     #Keen has no ammo sound
%patch $7500 $EB $06 #Keen has no ammo disabled

%patch $764B $05     #Keen pogoing blocked by wall sound
%patch $764A $EB $06 #Keen pogoing blocked by wall sound disabled

%patch $7677 $15     #Keen pogoing bump head sound
%patch $7676 $EB $06 #Keen pogoing bump head sound disabled

%patch $7735 $06     #Keen pogo sound
%patch $7734 $EB $06 #Keen pogo sound disabled

%patch $794D $08     #Keen die in-level sound
%patch $794C $EB $06 #Keen die in-level sound disabled

%patch $798A $08     #Keen die falling out of level sound
%patch $7989 $EB $06 #Keen die falling out of level sound disabled

%patch $7A98 $09     #Get items sound
%patch $7A97 $EB $06 #Get items sound disabled

%patch $7ADD $0A     #Get gun sound
%patch $7ADC $EB $06 #Get gun sound disabled

%patch $7B13 $0F     #Exit level sound
%patch $7B12 $EB $06 #Exit level sound disabled

%patch $7B40 $20     #Get key sound
%patch $7B3F $EB $06 #Get key sound disabled

%patch $7BA6 $2A     #Get Ankh sound
%patch $7BA5 $EB $06 #Get Ankh sound disabled

%patch $7BFA $0A     #Get ammo sound
%patch $7BF9 $EB $06 #Get ammo sound disabled

%patch $7D65 $25     #Keen's shot smash sound
%patch $7D64 $EB $06 #Keen's shot smash sound disabled

%patch $7DD7 $25     #Keen's shot smash sound 2
%patch $7DD6 $EB $06 #Keen's shot smash sound disabled 2

%patch $7E37 $25     #Keen's shot smash sound 3
%patch $7E36 $EB $06 #Keen's shot smash sound disabled 3

%patch $7E83 $25     #Keen's shot smash sound 4
%patch $7E82 $EB $06 #Keen's shot smash sound disabled 4

%patch $7F78 $25     #Keen's shot smash sound 5
%patch $7F77 $EB $06 #Keen's shot smash sound disabled 5

%patch $7FE5 $25     #Keen's shot smash sound 6
%patch $7FE4 $EB $06 #Keen's shot smash sound disabled 6

%patch $801B $25     #Keen's shot smash sound 7
%patch $801A $EB $06 #Keen's shot smash sound disabled 7

%patch $8DA4 $03     #Keen enter level sound
%patch $8DA3 $EB $06 #Keen enter level sound disabled

%patch $9547 $10     #Game over\won sound
%patch $9546 $EB $06 #Game over\won sound disabled

%patch $9865 $29     ##Keens left sound
%patch $9864 $EB $06 ##Keens left sound disabled

%patch $ACE6 $22     #Foob die sound?
%patch $ACE5 $EB $06 #Foob die sound disabled?

%patch $B5C2 $02     #Keen blocked on map sound
%patch $B5C1 $EB $06 #Keen blocked on map sound disabled

%patch $B5CC $01     #Walk on map sound
%patch $B5CB $EB $06 #Walk on map sound disabled

%patch $B800 $1A     #Get on Messie sound
%patch $B7FF $EB $06 #Get on Messie sound disabled

%patch $B988 $12     #Teleport go sound
%patch $B987 $EB $06 #Teleport go sound disabled

%patch $BAEC $12     #Teleport arrive sound
%patch $BAEB $EB $06 #Teleport arrive sound disabled


Keen 4

Keen 4

#Keen 4 sounds
%patch $6AC0 $0D     #'Exit' sound (When rescuing Council Members, not heard)
%patch $6ABF $EB $0A #Don't 'exit' play sound

%patch $6B26 $0D     #Keen  finish level sound
%patch $6B25 $EB $0A #Don't play Keen  finish level sound

%patch $70E2 $02     #First buggy pause sound
%patch $70E1 $EB $0A #Don't play First buggy pause sound

%patch $7188 $11     #Second buggy pause sound
%patch $7187 $EB $0A #Don't play Second buggy pause sound

%patch $8391 $22     #Status window goes down sound
%patch $8390 $EB $0A #Don't play Status window goes down sound

%patch $8406 $23     #Status window goes up sound
%patch $8405 $EB $0A #Don't play Status window goes up sound

%patch $86EE $14     #Keen fall out of levels sound
%patch $86ED $EB $0A #Don't play Keen fall out of levels sound

%patch $8AEE $11     #Keen gets Extra Keen At 1UP sound
%patch $8AED $EB $0A #Don't play Keen gets Extra Keen At 1UP sound

%patch $BA3B $C033W  #Keen enters doors sound 1 (Sound 0!)
%patch $BA3B $EB $09 #Don't play Keen enters doors sound 1

%patch $BA54 $01     #Keen enters doors sound 2
%patch $BA53 $EB $0A #Don't play Keen enters doors sound 2

%patch $BADD $02     #Keen jumps straight up sound
%patch $BADC $EB $0A #Don't play Keen jumps straight up sound

%patch $BB1B $02     #Keen start pogoing on ground sound (Overwritten by actual pogo sound)
%patch $BB1A $EB $0A #Don't play Keen start pogoing on ground sound

%patch $BDE6 $14     #Keen jumps down from ledges sound
%patch $BDE5 $EB $0A #Don't play Keen jumps down from ledges sound

%patch $BEF2 $02     #Keen jumps while walking sound
%patch $BEF1 $EB $0A #Don't play Keen jumps while walking sound

%patch $BF39 $02     #Keen starts pogoing while walking sound
%patch $BF38 $EB $0A #Don't play Keen starts pogoing while walking sound

%patch $BF88 $C033W  #Keen walking sound 1 (Sound 0!)
%patch $BF88 $EB $09 #Don't play Keen walking sound 1

%patch $BFAB $01     #Keen walking sound 2 sound
%patch $BFAA $EB $0A #Don't play Keen walking sound 2

%patch $C149 $15     #Keen flick switches sound
%patch $C148 $EB $0A #Don't play Keen flick switches sound

%patch $C29B $12     #Doors open sound
%patch $C29A $EB $0A #Don't play Doors open sound

%patch $C4E7 $07     #'First pogo' sound
%patch $C4E6 $EB $0A #Don't play 'First pogo' sound

%patch $C690 $02     #Keen jump off pole sound
%patch $C68F $EB $0A #Don't play Keen jump off pole sound

%patch $C76A $14     #Keen move l/r off a pole top sound
%patch $C769 $EB $0A #Don't play Keen move l/r off a pole top sound

%patch $C86B $14     #Keen moves of pole end sound
%patch $C86A $EB $0A #Don't play Keen moves of pole end sound

%patch $CC8E $17     #Keen dies sound
%patch $CC8D $EB $0A #Don't play Keen dies sound

%patch $CDAC $1F     #Keen meets a Council Member sound
%patch $CDAB $EB $0A #Don't play Keen meets a Council Member sound

%patch $D060 $0A     #Get raindrop sound
%patch $D05F $EB $0A #Don't play Get raindrop sound

%patch $D088 $11     #Get 100 raindrops 1UP sound
%patch $D087 $EB $0A #Don't play Get 100 raindrops 1UP sound

%patch $D2B0 $14     #Keen fall when standing and ground vanishes sound
%patch $D2AF $EB $0A #Don't play Keen fall when standing and ground vanishes sound

%patch $D36D $14     #Keen walks off of edges and falls sound
%patch $D36C $EB $0A #Don't play walks off of edges and falls sound

%patch $D4A0 $0F     #Keen jumping hits head sound
%patch $D49F $EB $0A #Don't play Keen jumping hits head sound

%patch $D557 $03     #Keen lands on ground sound
%patch $D556 $EB $0A #Don't play Keen lands on ground sound

%patch $D7D5 $0F     #Keen pogoing hits head sound
%patch $D7D4 $EB $0A #Don't play Keen pogoing hits head sound

%patch $D839 $07     #Keen pogo bounces off ground sound
%patch $D838 $EB $0A #Don't play Keen pogo bounces off ground sound

%patch $DF7D $0C     #Enter level sound
%patch $DF7C $EB $0A #Don't play Enter level sound

%patch $E078 $C033W  #Map Keen walking around 1 sound (Sound 0)
%patch $E078 $EB $09 #Don't play Map Keen walking around 1 sound

%patch $E08D $01     #Map Keen walking around 2 sound
%patch $E08C $EB $0A #Don't play Map Keen walking around 2 sound

%patch $E17C $1A     #Map Keen swim 1 sound
%patch $E17B $EB $0A #Don't play Map Keen swim 1 sound

%patch $E18B $1B     #Map Keen swim 2 sound
%patch $E18A $EB $0A #Don't play Map Keen swim 2 sound

%patch $E20E $0E     #Keen can't swim sound
%patch $E20D $EB $0A #Don't play Keen can't swim sound

%patch $E4C8 $2B     #Keen K flag 'launches' sound 1
%patch $E4C7 $EB $0A #Don't play Keen K flag 'launches' sound

%patch $E533 $2B     #Keen K flag 'launches' sound 2
%patch $E532 $EB $0A #Don't play Keen K flag 'lands' sound

%patch $E558 $2C     #Keen K flag 'lands' sound
%patch $E557 $EB $0A #Don't play sound

%patch $E571 $15     #Keen gunclick sound
%patch $E570 $5D $CB #Don't play Keen gunclick sound

%patch $E5AD $04     #Keen shoots sound
%patch $E5AC $EB $0A #Don't play Keen shoots sound

%patch $E64C $19     #Keen's shot smashes sound
%patch $E64B $EB $0A #Don't play Keen's shot smashes sound

%patch $EFD9 $2D     #Lindsey got sound
%patch $EFD8 $EB $0A #Don't play Lindsey got sound

%patch $F6F1 $24     #Scuba Keen blows bubbles sound
%patch $F6F0 $EB $0A #Don't play Scuba Keen blows bubbles sound

%patch $FE18 $2E     #Poison slug slimes sound
%patch $FE17 $EB $0A #Don't play Poison slug slimes sound

%patch $FF9F $10     #Mad Mushroom high bounce sound
%patch $FF9E $EB $0A #Don't play Mad Mushroom high bounce sound

%patch $FFAD $1C     #Mad Mushroom low jump sound
%patch $FFAC $EB $0A #Don't play Mad Mushroom low jump sound

%patch $1075E $16     #Skypest squished sound
%patch $1075D $EB $0A #Don't play Skypest squished sound

%patch $10947 $05     #Wormouth bites sound
%patch $10946 $EB $0A #Don't play Wormouth bites sound

%patch $10B6F $27     #Lightning from cloud sound
%patch $10B6E $EB $0A #Don't play #Lightning from cloud sound

%patch $10C93 $21     #Berkeloid flames sound
%patch $10C92 $EB $0A #Don't play Berkeloid flames sound

%patch $10D7D $28     #Berkeloid flame hits ground sound
%patch $10D7C $EB $0A #Don't play Berkeloid flame hits ground sound

%patch $10FC9 $2D     #Foot forms from inchworms sound
%patch $10FC8 $EB $0A #Don't play Foot forms from inchworms sound

%patch $111AE $10     #Bounder bounce sound
%patch $111AD $EB $0A #Don't play Bounder bounce sound

%patch $113AB $20     #Lick flaming sound
%patch $113AA $EB $0A #Don't play Lick flaming sound

%patch $11C16 $1E     #Treasure Eater teleport away sound (Not often used?)
%patch $11C15 $EB $0A #Don't play Treasure Eater teleport away sound

%patch $11CC0 $1D     #Treasure Eater teleport back sound
%patch $11CBF $EB $0A #Don't play Treasure Eater teleport back sound

%patch $11FEF $0F     #Mimrock bonk on ground sound
%patch $11FEE $EB $0A #Don't play Mimrock bonk on ground sound

%patch $1205C $0F     #Mimrock stop bouncing sound
%patch $1205B $EB $0A #Don't play Mimrock stop bouncing sound

%patch $12386 $2A     #Dopefish burp sound
%patch $12385 $EB $0A #Don't play Dopefish burp sound

%patch $12405 $17     #Dopefish eat Keen sound
%patch $12404 $EB $0A #Don't play Dopefish eat Keen sound

%patch $12690 $04     #Sprite shoots (Keenshot sound, not played) sound
%patch $1268F $EB $0A #Don't play Sprite shoots (Keenshot sound, not played) sound

%patch $126B3 $26     #Sprite shoots sound
%patch $126B2 $EB $0A #Don't play Sprite shoots sound

%patch $127C2 $25     #Mine explodes sound
%patch $127C1 $EB $0A #Don't play Mine explodes sound

%patch $129B4 $29     #Dart shooter shoot sound
%patch $129B3 $EB $0A #Don't play Dart shooter shoot sound

%patch $12A4D $2D     #Wetsuit got sound
%patch $12A4C $EB $0A #Don't play Wetsuit got sound

%patch $1C430 $30     #Ball hits sides paddle war beep
%patch $1C42F $EB $0A #Don't play Ball hits sides paddle war beep

%patch $1C465 $32     #Player lose paddle war beep
%patch $1C464 $EB $0A #Don't play Player lose paddle war beep

%patch $1C4BB $33     #Computer loses paddle war beep
%patch $1C4BA $EB $0A #Don't play Computer loses paddle war beep

%patch $1C542 $31     #Computer hit ball beep
%patch $1C541 $EB $0A #Don't play Computer hit ball beep

%patch $1C59C $2F     #Player hit ball beep
%patch $1C59B $EB $0A #Don't play Player hit ball beep

%patch $1CA62 $0E     #Menu 'can't do' sound
%patch $1CA61 $EB $0A #Don't play Menu 'can't do' sound

#Sounds items make when got:
%patch $3024C [$0013W] #Red gem
%patch $3024E [$0013W] #Yellow gem
%patch $30250 [$0013W] #Blue gem
%patch $30252 [$0013W] #Green gem
%patch $30254 [$0008W] #100 item
%patch $30256 [$0008W] #200 item
%patch $30258 [$0008W] #500 item
%patch $3025A [$0008W] #1000 item
%patch $3025C [$0008W] #2000 item
%patch $3025E [$0008W] #5000 item
%patch $30260 [$0011W] #1UP bottle
%patch $30262 [$0009W] #Raygun


Keen 5

Keen 5

#Keen 5 sounds
%patch $6A7A $0D     #Fuse smashed window appears sound
%patch $6A79 $EB $0A #Don't play Fuse smashed window appears sound

%patch $6AD6 $0D     #Keen finish level sound
%patch $6AD5 $EB $0A #Don't play Keen finish level sound

%patch $7097 $02     #First buggy pause sound
%patch $7096 $EB $0A #Don't play First buggy pause sound

%patch $713D $11     #Second buggy pause sound
%patch $713C $EB $0A #Don't play Second buggy pause sound

%patch $830D $22     #Status window goes down sound
%patch $830C $EB $0A #Don't play Status window goes down sound

%patch $8382 $23     #Status window goes up sound
%patch $8381 $EB $0A #Don't play Status window goes up sound

%patch $866A $14     #Keen fall out of levels sound
%patch $8669 $EB $0A #Don't play Keen fall out of levels sound

%patch $8A6A $11     #Keen gets Extra Keen At 1UP sound
%patch $8A69 $EB $0A #Don't play Keen gets Extra Keen At 1UP sound

%patch $AD19 $12     #Unknown sound
%patch $AD18 $EB $0A #Don't play unknown sound

%patch $AD7A $0E     #Unknown  sound
%patch $AD79 $EB $0A #Don't play unknown sound

%patch $ADF1 $C033W  #Keen enters doors sound 1 (Sound 0!)
%patch $ADF1 $EB $09 #Don't play Keen enters doors sound 1

%patch $AE0A $01     #Keen enter door sound 2
%patch $AE09 $EB $0A #Don't play Keen enter door sound 2

%patch $AEA5 $02     #Keen jumps straight up sound
%patch $AEA4 $EB $0A #Don't play Keen jumps straight up sound

%patch $AEE3 $02     #Keen start pogoing on ground sound (Overwritten by actual pogo sound)
%patch $AEE2 $EB $0A #Don't play Keen start pogoing on ground sound

%patch $B1AB $14     #Keen jumps down from ledges sound
%patch $B1AA $EB $0A #Don't play Keen jumps down from ledges sound

%patch $B2B7 $02     #Keen jumps while walking sound
%patch $B2B6 $EB $0A #Don't play Keen jumps while walking sound

%patch $B2FE $02     #Keen starts pogoing while walking sound
%patch $B2FD $EB $0A #Don't play Keen starts pogoing while walking sound

%patch $B34D $C033W  #Keen walking sound sound 1
%patch $B34D $EB $09 #Don't play Keen walking sound 1

%patch $B370 $01     #Keen walking sound 2
%patch $B36F $EB $0A #Don't play Keen walking sound 2

%patch $B53A $15     #Keen flick switches sound
%patch $B539 $EB $0A #Don't play Keen flick switches sound

%patch $B6B9 $3C     #Gem door open sound
%patch $B6B8 $EB $0A #Don't play Gem door open sound

%patch $B905 $07     #'First pogo' sound
%patch $B904 $EB $0A #Don't play 'First pogo' sound

%patch $BAAE $02     #Keen jump off pole sound
%patch $BAAD $EB $0A #Don't play Keen jump off pole sound

%patch $BB88 $14     #Keen move l/r off a pole top sound
%patch $BB87 $EB $0A #Don't play Keen move l/r off a pole top sound

%patch $BC89 $14     #Keen moves of pole end sound
%patch $BC88 $EB $0A #Don't play Keen moves of pole end sound

%patch $C06C $17     #Keen die sound
%patch $C06B $EB $0A #Don't play Keen die sound

%patch $C373 $0A     #Get Vitalin sound
%patch $C372 $EB $0A #Don't play Get Vitalin sound

%patch $C39B $11     #Get 100 Vitalin 1UP sound
%patch $C39A $EB $0A #Don't play Get 100 Vitalin 1UP sound

%patch $C5C4 $14     #Keen fall when standing and ground vanishes sound
%patch $C5C3 $EB $0A #Don't play fall when standing and ground vanishes sound

%patch $C681 $14     #Keen walks off of edges and falls sound
%patch $C680 $EB $0A #Don't play Keen walks off of edges and falls sound

%patch $C7B4 $0F     #Keen jumping hits head sound
%patch $C7B3 $EB $0A #Don't play Keen jumping hits head sound

%patch $C80A $39     #Unknown sound
%patch $C809 $EB $0A #Don't play unknown sound

%patch $C87D $03     #Keen land on ground sound
%patch $C87C $EB $0A #Don't play Keen land on ground sound

%patch $CB4F $0F     #Keen pogoing hits head sound
%patch $CB4E $EB $0A #Don't play Keen pogoing hits head sound

%patch $CBAA $39     #Unknown sound
%patch $CBA9 $EB $0A #Don't play unknown sound

%patch $CBFD $07     #Keen pogos sound
%patch $CBFC $EB $0A #Don't play Keen pogos sound

%patch $D2E2 $0C     #Keen enters level sound
%patch $D2E1 $EB $0A #Don't play Keen enters level sound

%patch $D3DD $C033W  #Map Keen walking 1 sound (Sound 0!)
%patch $D3DD $EB $09 #Don't play Map Keen walking 1 sound

%patch $D3F2 $01     #Map Keen walking 2 sound
%patch $D3F1 $EB $0A #Don't play Map Keen walking 2 sound

%patch $D40D  $29     #Teleport leave sound
%patch $D40C  $EB $0A #Don't play Teleport 1 sound

%patch $D645  $29     #Teleport arrive sound
%patch $D644  $EB $0A #Don't play Teleport 2 sound

%patch $D861  $3F     #Elevator leave sound
%patch $D860  $EB $0A #Don't play Elevator 1 sound

%patch $DA79  $3F     #Elevator arrive sound
%patch $DA78  $EB $0A #Don't play Elevator 2 sound

%patch $DCA0 $15     #Gunclick sound
%patch $DC9F $5D $CB #Don't play Gunclick sound

%patch $DCDC $04     #Keen shoot sound
%patch $DCDB $EB $0A #Don't play Keen shoot sound

%patch $DD7C $19     #Keen's shot smashes sound
%patch $DD7B $EB $0A #Don't play Keen's shot smashes sound

%patch $F6E3 $36     #Galaxy flash sound
%patch $F6E2 $EB $0A #Don't play Galaxy flash sound

%patch $F743 $35     #Galaxy explode sound
%patch $F742 $EB $0A #Don't play Galaxy explode sound

%patch $FF3B $29     #Lightening sound
%patch $FF3A $EB $0A #Don't play Lightening sound

%patch $FF8A $34     #Q.E.D.\Fuse smashed sound
%patch $FF89 $EB $0A #Don't play Q.E.D.\Fuse smashed sound

%patch $10F93 $1D     #Pink shot gun shooting sound
%patch $10F92 $EB $0A #Don't play Pink shot gun shooting sound

%patch $10FEC $1E     #Pink shot destroyed sound
%patch $10FEB $EB $0A #Don't play Pink shot destroyed sound

%patch $110F5 $3A     #Sparky see Keen left sound
%patch $110F4 $EB $0A #Don't play Sparky see Keen left sound

%patch $11142 $3A     #Sparky see Keen right sound
%patch $11141 $EB $0A #Don't play Sparky see Keen right sound

%patch $1115F $C033W  #Unknown sound (Sound 0)
%patch $1115F $EB $09 #Don't play unknown sound

%patch $1116F $C033W  #Unknown sound (Sound 0)
%patch $1116F $EB $09 #Don't play unknown sound

%patch $112DE $1F     #Little Ampton walk sound 1
%patch $112DB $EB     #Don't play Little Ampton walk sound 1

%patch $112F3 $20     #Little Ampton walk sound 2
%patch $112F0 $EB     #Don't play Little Ampton walk sound 2

%patch $1167C $21     #Little Ampton stunned sound
%patch $1167B $EB $0A #Don't play Little Ampton stunned sound

%patch $118CA $06     #Slicestar bounce off floor sound
%patch $118C9 $EB $0A #Don't play Slicestar bounce off floor sound

%patch $118E3 $06     #Slicestar bounce off ceiling sound
%patch $118E2 $EB $0A #Don't play Slicestar bounce off ceiling sound

%patch $118FA $06     #Slicestar bounce off right wall sound
%patch $118F9 $EB $0A #Don't play Slicestar bounce off right wall sound

%patch $11913 $06     #Slicestar bounce left wall sound
%patch $11912 $EB $0A #Don't play Slicestar bounce left wall sound

%patch $11AF5 $24     #Shelley explode when shot sound
%patch $11AF4 $EB $0A #Don't play Shelley explode when shot sound

%patch $11BE0 $24     #Shelley explode when hitting the ground sound
%patch $11BDF $EB $0A #Don't play Shelley explode when hitting the ground sound

%patch $11FE7 $05     #Shikadi Mine explode sound
%patch $11FE6 $EB $0A #Don't play Shikadi Mine explode sound

%patch $123CB $05     #Shikadi Mine activated to explode sound
%patch $123CA $EB $0A #Don't play Shikadi Mine activated to explode sound

%patch $12706 $1D     #Robo Red shoot
%patch $12705 $EB $0A #Don't play Robo Red shoot

%patch $12769 $1E     #Robo red shot destroyed
%patch $12768 $EB $0A #Don't play Robo red shot destroyed

%patch $127FC $3D     #Spirogrip move sound
%patch $127FB $EB $0A #Don't play Spirogrip move sound

%patch $1288F $1B     #Spirogrip slam into walls sound
%patch $1288E $EB $0A #Don't play Spirogrip slam into walls sound

%patch $129FC $25     #Spindred slam into ground from roof
%patch $129FB $EB $0A #Don't play Spindred slam into ground from roof sound

%patch $12A0A $1C     #Spindred small ceiling bounce
%patch $12A09 $EB $0A #Don't play Spindred small ceiling bounce sound

%patch $12A49 $10     #Spindred slam into ceiling from floor
%patch $12A48 $EB $0A #Don't play Spindred slam into ceiling from floor sound

%patch $12A57 $1C     #Spindred small floor bounce
%patch $12A56 $EB $0A #Don't play Spindred small floor bounce sound

%patch $12B63 $26     #Shikadi Master shoot sound
%patch $12B62 $EB $0A #Don't play Shikadi Master shoot sound

%patch $12C3A $27     #Shikadi Master teleport sound
%patch $12C39 $EB $0A #Don't play Shikadi Master teleport sound

%patch $12E1D $26     #Shikadi Master's shot hit ground sound
%patch $12E1C $EB $0A #Don't play Shikadi Master's shot hit ground sound

%patch $13032 $28     #Shikadi grab poles sound
%patch $13031 $EB $0A #Don't play Shikadi grab poles sound

%patch $13114 $28     #Shikadi zap poles sound
%patch $13113 $EB $0A #Don't play Shikadi zap poles sound

%patch $1337E $2A     #Unknown sound
%patch $1337D $EB $0A #Don't play unknown sound

%patch $135E0 $2D     #Shocksund bark sound
%patch $135DF $EB $0A #Don't play Shocksund bark sound

%patch $13724 $3B     #Sphereful hit walls
%patch $13723 $EB $0A #Don't play Sphereful hit walls

%patch $1373E $3B     #Sphereful hit ceiling
%patch $1373D $EB $0A #Don't play Sphereful hit ceiling

%patch $13784 $10     #Sphereful hit floor
%patch $13783 $EB $0A #Don't play Sphereful hit floor

%patch $1D3CE $2F     #Ball hits sides paddle war beep
%patch $1D3CD $EB $0A #Don't play Ball hits sides paddle war beep

%patch $1D403 $31     #Player lose paddle war beep
%patch $1D402 $EB $0A #Don't play Player lose paddle war beep

%patch $1D459 $32     #Computer loses paddle war beep
%patch $1D458 $EB $0A #Don't play Computer loses paddle war beep

%patch $1D4E0 $30     #Computer hit ball beep
%patch $1D4DF $EB $0A #Don't play Computer hit ball beep

%patch $1D53A $2E     #Player hit ball beep
%patch $1D539 $EB $0A #Don't play Player hit ball beep

%patch $1DA00 $0E     #Menu 'can't do that' sound
%patch $1D9FF $EB $0A #Don't play Menu 'can't do that' sound

#Item sounds
%patch $C0BB $EB $03 #Don't play item sprites got sounds
%patch $C2B2 $EB $03 #Don't play item tiles got sounds

#Sounds items make when got:
%patch $315FA [$0013W] #Red gem
%patch $315FC [$0013W] #Yellow gem
%patch $315FE [$0013W] #Blue gem
%patch $31600 [$0013W] #Green gem
%patch $31602 [$0008W] #100
%patch $31604 [$0008W] #200
%patch $31606 [$0008W] #500
%patch $31608 [$0008W] #1000
%patch $3160A [$0008W] #2000
%patch $3160C [$0008W] #5000
%patch $3160E [$0011W] #100 1UP
%patch $31610 [$0009W] #Raygun
%patch $31612 [$0037W] #V card


Keen 6

Keen 6

#Keen 6 sounds
%patch $68DC $0D     #Unknown sound
%patch $68DB $EB $0A #Don't play unknown sound

%patch $6EB1 $02     #First buggy pause sound
%patch $6EB0 $EB $0A #Don't play First buggy pause sound

%patch $6F57 $11     #Second buggy pause sound
%patch $6F56 $EB $0A #Don't play Second buggy pause sound

%patch $8138 $22     #Status window goes down sound
%patch $8137 $EB $0A #Don't play Status window goes down sound

%patch $81AD $23     #Status window goes up sound
%patch $81AC $EB $0A #Don't play Status window goes up sound

%patch $8495 $14     #Keen fall out of levels sound
%patch $8494 $EB $0A #Don't play Keen fall out of levels sound

%patch $88D2 $11     #Keen gets Extra Keen At 1UP sound
%patch $88D1 $EB $0A #Don't play Keen gets Extra Keen At 1UP sound

%patch $AC51 $C033W  #Keen enters doors sound 1 (Sound 0!)
%patch $AC51 $EB $09 #Don't play Keen enters doors sound 1

%patch $AC6A $01     #Keen enters doors sound 2
%patch $AC69 $EB $0A #Don't play Keen enters doors sound 2

%patch $ACF3 $02     #Keen jumps straight up sound
%patch $ACF2 $EB $0A #Don't play Keen jumps straight up sound

%patch $AD31 $02     #Keen start pogoing on ground sound (Overwritten by actual pogo sound)
%patch $AD30 $EB $0A #Don't play Keen start pogoing on ground sound

%patch $AFE7 $14     #Keen jumps down from ledges sound
%patch $AFE6 $EB $0A #Don't play Keen jumps down from ledges sound

%patch $B0F3 $02     #Keen jumps while walking sound
%patch $B0F2 $EB $0A #Don't play Keen jumps while walking sound

%patch $B13A $02     #Keen starts pogoing while walking sound
%patch $B139 $EB $0A #Don't play Keen starts pogoing while walking sound

%patch $B189 $C033W  #Keen walking sound 1 (Sound 0!)
%patch $B189 $EB $09 #Don't play Keen walking sound 1

%patch $B1AC $01     #Keen walking sound 2
%patch $B1AB $EB $0A #Don't play Keen walking sound 2

%patch $B34A $15     #Keen flick switches sound
%patch $B349 $EB $0A #Don't play Keen flick switches sound

%patch $B49C $12     #Doors open sound
%patch $B49B $EB $0A #Don't play Doors open sound

%patch $B6E8 $07     #'First pogo' sound
%patch $B6E7 $EB $0A #Don't play 'First pogo' sound

%patch $B891 $02     #Keen jump off pole sound
%patch $B890 $EB $0A #Don't play Keen jump off pole sound

%patch $B96B $14     #Keen move l/r off a pole top sound
%patch $B96A $EB $0A #Don't play Keen move l/r off a pole top sound

%patch $BA6C $14     #Keen moves of pole end sound
%patch $BA6B $EB $0A #Don't play Keen moves of pole end sound

%patch $BE4F $17     #Keen die sound
%patch $BE4E $EB $0A #Don't play Keen die sound

%patch $C15A $0A     #Get Viva sound
%patch $C159 $EB $0A #Don't play get Viva sound

%patch $C182 $11     #Get 100 Viva 1UP sound
%patch $C181 $EB $0A #Don't play Get 100 Viva 1UP sound

%patch $C3AA $14     #Keen fall when standing and ground vanishes sound
%patch $C3A9 $EB $0A #Don't play Keen fall when standing and ground vanishes sound

%patch $C467 $14     #Keen walks off of edges and falls sound
%patch $C466 $EB $0A #Don't play Keen walks off of edges and falls sound

%patch $C5AC $0F     #Keen jumping hits head sound
%patch $C5AB $EB $0A #Don't play Keen jumping hits head sound

%patch $C676 $03     #Keen land on ground sound
%patch $C675 $EB $0A #Don't play Keen land on ground sound

%patch $C906 $0F     #Keen pogoing hits head sound
%patch $C905 $EB $0A #Don't play Keen pogoing hits head sound

%patch $C9B0 $07     #Keen pogo sound
%patch $C9AF $EB $0A #Don't play Keen pogo sound

%patch $D041 $0C     #Enter level sound
%patch $D040 $EB $0A #Don't play Enter level sound

%patch $D13C $C033W  #Map Keen walking 1 sound (Sound 0!)
%patch $D13C $EB $09 #Don't play Map Keen walking 1 sound

%patch $D151 $01     #Map Keen walking 1 sound
%patch $D150 $EB $0A #Don't play Map Keen walking 1 sound

%patch $D16C $29     #Teleport leave sound
%patch $D16B $EB $0A #Don't play Teleport leave sound

%patch $D3A4 $29     #Teleport arrive sound
%patch $D3A3 $EB $0A #Don't play Teleport arrive sound

%patch $D720 $2B     #Keen K flag 'launches' sound 1
%patch $D71F $EB $0A #Don't play Keen K flag 'launches' sound

%patch $D78B $2B     #Keen K flag 'launches' sound 2
%patch $D78A $EB $0A #Don't play Keen K flag 'lands' sound

%patch $D7B3 $2C     #Keen K flag 'lands' sound
%patch $D7B2 $EB $0A #Don't play Keen K flag 'lands' sound

%patch $D80A $15     #Gunclick sound
%patch $D809 $5D $CB #Don't play Gunclick sound

%patch $D847 $04     #Keen shoot sound
%patch $D846 $EB $0A #Don't play Keen shoot sound

%patch $D93B $19     #Keen's shot smashes sound
%patch $D93A $EB $0A #Don't play Keen's shot smashes sound

%patch $EB41 $15     #Unknown sound
%patch $EB40 $EB $0A #Don't play unknown sound

%patch $EE25 $2D     #Got Sandwich sound
%patch $EE24 $EB $0A #Don't play got Sandwich sound

%patch $EEB3 $2D     #Get Rope sound
%patch $EEB2 $EB $0A #Don't play Get Rope sound

%patch $EF41 $2D     #Get Rocket Passcard sound
%patch $EF40 $EB $0A #Don't play Get Rocket Passcard sound

%patch $F55A $39     #Keen meets Grabbiter with Sandwich sound
%patch $F559 $EB $0A #Don't play Keen meets Grabbiter with Sandwich sound

%patch $F5B1 $0E     #Keen meets Grabbiter without Sandwich sound
%patch $F5B0 $EB $0A #Don't play Keen meets Grabbiter without Sandwich sound

%patch $F756 $0E     #Keen tries to use rocket without passcard sound
%patch $F755 $EB $0A #Don't play Keen tries to use rocket without passcard sound

%patch $F7DA $38     #Keen enter rocket sound
%patch $F7D9 $EB $0A #Don't play Keen enter rocket sound

%patch $F846 $36     #Rocket fly sound
%patch $F845 $EB $0A #Don't play Rocket fly sound

%patch $FC0A $0E     #Keen touch cliff without grappling hook sound
%patch $FC09 $EB $0A #Don't play Keen touch cliff without grappling hook sound

%patch $FC5A $35     #Keen throw rope sound
%patch $FC59 $EB $0A #Don't play Keen throw rope sound

%patch $FE51 $21     #Unknown sound
%patch $FE50 $EB $0A #Don't play unknown sound

%patch $109CD $34     #Keen stunned by Blooguard sound
%patch $109CC $EB $0A #Don't play Keen stunned by Blooguard sound

%patch $10CA1 $05     #Blooglet produce item when shot sound
%patch $10CA0 $EB $0A #Don't play Blooglet produce item when shot sound

%patch $10F79 $34     #Unknown sound
%patch $10F78 $EB $0A #Don't play unknown sound

%patch $11042 $34     #Unknown sound
%patch $11041 $EB $0A #Don't play unknown sound

%patch $111F2 $24     #Gik jump sound
%patch $111F1 $EB $0A #Don't play Gik jump sound

%patch $112F3 $25     #Unknown sound
%patch $112F2 $EB $0A #Don't play unknown sound

%patch $1144D $1D     #Enemy gun shoot sound
%patch $1144C $EB $0A #Don't play Enemy gun shoot sound

%patch $114A6 $1E     #Pink shot smash against tiles sound
%patch $114A5 $EB $0A #Don't play Pink shot smash against tiles sound

%patch $1166F $26     #Unknown sound
%patch $1166E $EB $0A #Don't play unknown sound

%patch $117A3 $16     #Unknown sound
%patch $117A2 $EB $0A #Don't play unknown sound

%patch $118FB $04     #Unknown sound
%patch $118FA $EB $0A #Don't play unknown sound

%patch $11A1A $18     #Bipship crash sound
%patch $11A19 $EB $0A #Don't play Bipship crash sound

%patch $11C47 $2A     #Flect reflect Keen's shots sound
%patch $11C46 $EB $0A #Don't play Flect reflect Keen's shots sound

%patch $11EBB $1F     #Bobba fireball appear sound
%patch $11EBA $EB $0A #Don't play Bobba fireball appear sound

%patch $11FE5 $1A     #Bobba jump sound
%patch $11FE4 $EB $0A #Don't play Bobba jump sound

%patch $12070 $1B     #Bobba land sound
%patch $1206F $EB $0A #Don't play Bobba land sound

%patch $12438 $06     #Blorb hit floors sound
%patch $12437 $EB $0A #Don't play Blorb hit floors sound

%patch $12451 $06     #Blorb hit ceilings sound
%patch $12450 $EB $0A #Don't play Blorb hit ceilings sound

%patch $12468 $06     #Blorb hit right walls sound
%patch $12467 $EB $0A #Don't play Blorb hit right walls sound

%patch $12481 $06     #Blorb hit left walls sound
%patch $12480 $EB $0A #Don't play Blorb hit left walls sound

%patch $12528 $33     #Ceilick attack sound
%patch $12527 $EB $0A #Ceilick attack sound

%patch $12540 $37     #Ceilick laugh sound
%patch $1253F $EB $0A #Don't play Ceilick laugh sound

%patch $1C0A0 $2F     #Ball hits sides paddle war beep
%patch $1C09F $EB $0A #Don't Ball hits sides paddle war beep

%patch $1C0D5 $31     #Player lose paddle war beep
%patch $1C0D4 $EB $0A #Don't play Player lose paddle war beep

%patch $1C12B $32     #Computer loses paddle war beep
%patch $1C12A $EB $0A #Don't play Computer loses paddle war beep

%patch $1C1B2 $30     #Computer hit ball beep
%patch $1C1B1 $EB $0A #Don't play Computer hit ball beep

%patch $1C20C $2E     #Player hit ball beep
%patch $1C20B $EB $0A #Don't play Player hit ball beep

%patch $1C6D2 $0E     #Menu 'can't do that' sound
%patch $1C6D1 $EB $0A #Don't play Menu 'can't do that' sound


#Item sounds
%patch $BEAB $EB $03 #Don't play item sprites got sound
%patch $C099 $EB $03 #Don't play item tiles got sound

#Sounds items make when got:
%patch $31F84 [$0013W] #Red gem
%patch $31F86 [$0013W] #Yellow gem
%patch $31F88 [$0013W] #Blue gem
%patch $31F8A [$0013W] #Green gem
%patch $31F8C [$0008W] #100
%patch $31F8E [$0008W] #200
%patch $31F90 [$0008W] #500
%patch $31F92 [$0008W] #1000
%patch $31F94 [$0008W] #2000
%patch $31F96 [$0008W] #5000
%patch $31F98 [$0011W] #100 1UP
%patch $31F9A [$0009W] #Raygun


Keen Dreams

Keen Dreams

%patch $4E03 $12     #Get Extra Keen sound
%patch $4E02 $EB $09 #Don't play Get Extra Keen sound

%patch $5E01 $0D     #Complete level sound
%patch $5E00 $EB $09 #Don't play Complete level sound

%patch $6385 $0E     #No Boobus Bombs sound
%patch $6384 $EB $09 #Don't play No Boobus Bombs sound

%patch $6393 $14     #Throw Boobus Bombs sound
%patch $6392 $EB $09 #Don't play Throw Boobus Bombs sound

%patch $63AF $0E     #No Flower Power sound
%patch $63AE $EB $09 #Don't play No Flower Power sound

%patch $63BD $04     #Throw Flower Power sound
%patch $63BC $EB $09 #Don't play Throw Flower Power sound

%patch $65A7 $15     #Boobus Bomb explode sound
%patch $65A6 $EB $09 #Don't play Boobus Bomb explode sound

%patch $6AAB $0B     #Enter level sound
%patch $6AAA $EB $09 #Don't play enter level sound

%patch $6CE0 $02     #Keen jump while standing sound
%patch $6CDF $EB $09 #Don't play Keen jump while standing sound

%patch $7007 $19     #Unknown Keen drop-down sound
%patch $7006 $EB $09 #Don't play unknown Keen drop-down sound

%patch $7067 $02     #Keen jump while walking sound
%patch $7066 $EB $09 #Don't play Keen jump while walking sound

%patch $7204 $02     #Keen jump off poles sound
%patch $7203 $EB $09 #Don't play Keen jump off poles sound

%patch $7314 $19     #Keen walk off poles sound
%patch $7313 $EB $09 #Don't play Keen walk off poles sound

%patch $73F2 $19     #Keen drop-down off poles sound
%patch $73F1 $EB $09 #Don't play Keen drop-down off poles sound

%patch $7658 $0C     #Keen die sound
%patch $7657 $EB $09 #Don't play Keen die sound

%patch $76B2 $07     #Get points sound
%patch $76B1 $EB $09 #Don't play Get points sound

%patch $76E6 $12     #1Up got sound
%patch $76E5 $EB $09 #Don't play 1Up got sound

%patch $770A $12     #Eye got sound
%patch $7709 $EB $09 #Don't play Eye got sound

%patch $773F $06     #Flower Power got sound
%patch $773E $EB $09 #Don't play Flower Power got sound

%patch $7763 $06     #Flower Pot got sound
%patch $7762 $EB $09 #Don't play Flower Pot got sound

%patch $7788 $08     #Boobus Bombs got sound
%patch $7787 $EB $09 #Don't play Boobus Bombs got sound

%patch $77B0 $17     #Key got sound
%patch $77AF $EB $09 #Don't play Key got sound

%patch $77E5 $13     #Open door sound
%patch $77E4 $EB $09 #Don't play Open door sound

%patch $7804 $0E     #Door blocking sound
%patch $7803 $EB $09 #Don't play Door blocking sound

%patch $7840 $19     #Carrot push Keen off poles sound
%patch $783F $EB $09 #Don't play Carrot push Keen off poles sound

%patch $78B0 $19     #Squasher push Keen off poles sound
%patch $78AF $EB $09 #Don't play Squasher push Keen off poles sound

%patch $7970 $19     #Keen standing drops down sound
%patch $796F $EB $09 #Don't play Keen standing drops down sound

%patch $7B30 $0F     #Unknown sound
%patch $7B2F $EB $09 #Don't play unknown sound

%patch $7B85 $03     #Keen land on ground sound
%patch $7B84 $EB $09 #Don't play Keen land on ground sound

%patch $7FD9 $09     #Enemy stunned sound
%patch $7FD8 $EB $09 #Don't play Enemy stunned sound

%patch $80BC $0A     #Wilted Flower recover sound
%patch $80BB $EB $09 #Don't play Wilted Flower recover sound

%patch $8362 $11     #Tomatooth hit floor sound
%patch $8361 $EB $09 #Don't play Tomatooth hit floor sound

%patch $839F $11     #Tomatooth hit roof sound
%patch $839E $EB $09 #Don't play Tomatooth hit roof sound

%patch $85E7 $18     #Sour Grape fall sound
%patch $85E6 $EB $09 #Don't play Sour Grape fall sound

%patch $863C $11     #Sour Grape bounce sound
%patch $863B $EB $09 #Don't play Sour Grape bounce sound

%patch $8736 $10     #Tater Trooper attack sound
%patch $8735 $EB $09 #Don't play Tater Trooper attack sound

%patch $9389 $15     #King Boobus Tuber death explosion sound
%patch $9388 $EB $09 #Don't play King Boobus Tuber death explosion sound

%patch $9405 $16     #Win game sound
%patch $9404 $EB $09 #Don't play Win game sound


Change music instead of playing sounds

In Keen Galaxy it is possible to turn any sound into a 'change music' command. This is best used for things that happen occasionally, especially things that bring up text windows. Following are some example patches of utility, but the approach, as mentioned, can be extended to all galaxy sounds.

The blue values used here are the level who's music is used. (For example a value of 0 will play the map level's music.) As a side effect the sound involved will no longer play.


Princess Lindsey

This patch causes the music to change when Lindsey is spoken to. The music will revert back to 'normal' when the last window is closed. As a side-effect no sound plays when Lindsey is spoken to.

Keen 4

#Change music when Lindsey spoken to
%patch $EFDD $06BD20C7RL
%patch $EFD9 [$0001W]      #Play this level's song


Wetsuit

This patch causes the music to change when the Wetsuit is got. As a side-effect no sound plays when the Wetsuit is got.

Keen 4

#Change music when Wetsuit got
%patch $12A51 $06BD20C7RL
%patch $12A4D [$0001W]      #Play this level's song