Patch:New Game

From KeenWiki
(Redirected from Patch:Game start)
Jump to: navigation, search

This page covers patches relating to starting a new game, mostly what the player has when they start, before they have played any levels. related patches include Patch:Levels and Patch:Level exit. For patches that relate to the game executable itself starting up see Patch:Game initialization, Patch:One Moment Screen (Vorticons) and Patch:Start sequence.


Items player has at game start

These are the items the player has when they appear on the map, just after selecting anew game from the main menu. You can change what and how much of an item Keen gets; values in brown alter what is affected, values in blue are how much of that item is given. This allows you a great deal of freedom as you can give Keen all sorts of things, such as points or valuable items. For what the brown bytes mean see Patch:Game stats.

Note that these patches ordinarily act to 'clear' data from old games in Keen 1-3. For example, if you change the ammo value to give Keen points instead, a player starting a new game may find themselves with the ammunition from their old game if they haven't exited to DOS. This could be a useful bonus, or an annoyance to the patcher. (Notice Keen 2 and 3 reset the ship parts values even though the game does not use these. These are thus 'spare' and can be patched with no adverse effects.)

All values in the patches below are the default values used by the game.

Patch: Keen 1
#Stuff Keen has at game start
%patch $8FFA $AA8EW $0000W
#0 ???
%patch $9006 $AAC8W $0000W
#0 ammo
%patch $900C $AA9AW $0000W
#0 pogo
%patch $9000 $AAC6W $0004W
#4 lives
%patch $9045 $AA9EW $0000W
#0 Yellow keycards
%patch $904B $AAA0W $0000W
#0 Blue keycards
%patch $9051 $AAA2W $0000W
#0 Green keycards
%patch $9057 $AAA4W $0000W
#0 Red keycards
%patch $9012 $AA94W $0000W
#0 Joystick
%patch $9018 $AA9CW $0000W
#0 Battery
%patch $901E $AA96W $0000W
#0 Vacuum
%patch $9024 $AA98W $0000W
#0 Whiskey

Patch: Keen 2
#Stuff Keen has at game start
%patch $8A8E $9ADCW $0004W
#4 lives
%patch $8A94 $9ADEW $0000W
#0 ammo (This line is thus redundant)
%patch $8A9A $9AB0W $0001W
#1 pogo
%patch $8AA0 $9ADEW $0003W
#3 ammo
%patch $8AA6 $9AAAW $0000W
#0 Joystick
%patch $8AAC $9AB2W $0000W
#0 Whiskey
%patch $8AB2 $9AACW $0000W
#0 Vacuum
%patch $8AB8 $9AAEW $0000W
#0 Battery
%patch $8AD9 $9AB4W $0000W
#0 Yellow keycards
%patch $8ADF $9AB6W $0000W
#0 Blue keycards
%patch $8AE5 $9AB8W $0000W
#0 Green keycards
%patch $8AEB $9ABAW $0000W
#0 Red keycards

Patch: Keen 3
#Stuff Keen has at game start
%patch $8A10 $9D4AW $0000W
#No points 1
%patch $8A16 $9D4CW $0000W
#No points 2
%patch $98E4 $9D46W $0004W
#4 Lives
%patch $98F0 $9D1AW $0001W
#1 Pogo
%patch $98F6 $9D48W $0005W
#5 Shots
%patch $98FC $9D14W $0000W
#No joystick
%patch $9902 $9D1CW $0000W
#No battery
%patch $9908 $9D16W $0000W
#No Vacuum
%patch $990E $9D18W $0000W
#No whiskey
%patch $992A $9D1EW $0000W
#0 Yellow keycards
%patch $9930 $9D20W $0000W
#0 Red keycards
%patch $9936 $9D22W $0000W
#0 Green keycards
%patch $993C $9D24W $0000W
#0 Blue keycards

Patch: Keen 4
#Stuff Keen has at game start (Defaults)
%patch $5CBB $7A56W $0000W
#Extra Keen at score (High word)
%patch $5CC1 $7A54W $4E20W
#Extra Keen at score (Low word)
%patch $5CC7 $7A6AW $0003W
#Lives (3)
%patch $5CCD $7A58W $0005W
#Ammo (5)

Patch: Keen 5
#Stuff Keen has at game start (Defaults)
%patch $5C8F $6F54W $0000W
#Extra Keen at score (High word)
%patch $5C95 $6F52W $4E20W
#Extra Keen at score (Low word)
%patch $5C9B $6F6AW $0003W
#Lives (3)
%patch $5CA1 $6F56W $0005W
#Ammo (5)

Patch: Keen 6
#Stuff Keen has at game start (Defaults)
%patch $5A8F $758EW $0000W
#Extra Keen at score (High word)
%patch $5A95 $758CW $4E20W
#Extra Keen at score (Low word)
%patch $5A9B $75A6W $0003W
#Lives (3)
%patch $5AA1 $7590W $0005W
#Ammo (5)

Patch: Keen Dreams
#Stuff Keen has at game start (Defaults)
%patch $3C0C $7124W $0000W
#Level (0)
%patch $3C12 $7116W $0000W
#?
%patch $3C18 $7114W $0000W
#?
%patch $3C1E $711AW $0000W
#Extra Keen at score (High word)
%patch $3C24 $7118W $4E20W
#Extra Keen at score (Low word)
%patch $3C2A $7126W $0003W
#Lives (3)


Level game starts in

This patch causes the player to start the game in a different level than the map. (Level 0) The values of the level variable given here will start the game in the default BWB level (except Keen 5 where the player will start in the High Scores level due to the game lacking a BWB level proper.)

Note that this does not change what the map level is; on exiting levels Keen will return to the map (level 0) and only the map will do such things as mark levels as done.

There is one minor side effect to this patch; the high word of the Extra Keen At score is not set to 0. What this means is that the game cannot start with an Extra Keen At score of more than 65'000 or so without a slightly more complicated patch being used.

Patch: Keen 4
#Keen starts game in the BWB
%patch $5CBB $7A68W $0012W

Patch: Keen 5
#Keen starts game in the BWB
%patch $5C8F $6F68W $000FW

Patch: Keen 6
#Keen starts game in the BWB
%patch $58AF $75A4W $0011W

Patch: Keen dreams
#Keen starts game in the boss level
%patch $3C0C $7124W $000FW


Sound on starting new game

This patch plays a sound when a new game is started. It may have unintended side-effects when starting a new game after playing an old one, but at present none are known of. In this patch the blue value is the sound played; here it is the same as the 'enter level' sound.

Patch: Keen dreams
#Sound when starting new game
%patch $3C10 $B8 $000BW $50 $9A $10BB1282RL $44 $44 $90


Clearing memory on new game

In Keen Galaxy a 'memory clear' subroutine is run when a new game is started. It has three variables, number of values to change, value to change to and game stat to start clearing at. By default this serves to clear all of the basic game variables (such as what levels are completed) when a new game starts. If this is disabled then a lot of old data from the previous game will 'carry over' into a new one.

Patch: Keen 4
#New game memory clear
%patch $5CA7 $0056W
#Values to change
%patch $5CAE $7A1AW
#Starting at

Patch: Keen 5
#New game memory clear
%patch $5C7B $0058W
#Values to change
%patch $5C82 $6F18W
#Starting at

Patch: Keen 6
#New game memory clear
%patch $5A7B $0058W
#Values to change
%patch $5A82 $7552W
#Starting at


Disable

This disables memory clearing. This means that all of the data from an old game will be carried over into a new game. This allows flagrant manipulation of new games.

Patch: Keen 4
#Disable memory clear on new game
%patch $5CA6 $EB $11

Patch: Keen 5
#Disable memory clear on new game
%patch $5C7A $EB $11

Patch: Keen 6
#Disable memory clear on new game
%patch $5A7A $EB $11


Play story text before every new game

This patch causes the story screen to appear whenever a new game is started. The player can skip the story screen by pressing a key; this causes the game to start sooner. As a side-effect the story screen will also play if the warp level cheat is used.

Two other side-effects are notable; firstly demos are no longer 'derandomized'; they will play slightly differently each time instead of in a predictable manner. This shouldn't cause any problems but can result in a demo occasionally ending unexpectedly. The second effect is that the screen turns black when Keen is moving between levels; while the level window still appears the background is black which is a slight but notable difference from the game's default.

In this patch the story screen is removed from the game demo loop as if it is not the player can press a key during it causing the screen and the following demo to load and be stopped. This is a cosmetic effect and not vital to the patch. The blue value in the patch is the demo's difficulty; all demos will have this difficulty when being recorded or played. (See demo page for details.)

The patch to stop the player going to the main menu is included since otherwise at the start of a new game the player cannot skip the story, getting stuck in the menu. An alternative patch is to use the patch on this page that stops the player from halting the story by pressing any key. This however means the story must be sat through each time a game is started, which could be a trying experience.

Patch: Keen 4
#Star wars text appears before new game
%patch $61DE $0E $C7 $06 $7A6CW $0002W $EB $17 %patch $61ED $9A $03ED18B8RL
#Pressing any key in the story screen doesn't go to main menu
%patch $5894 $90 $90 $90 $90
#Remove Story screen from demo loop
%patch $3CBD $04D1W