Patch:Title screen

From KeenWiki
Jump to: navigation, search

This page covers patches relating to the title screen. The title screen in Keen Vorticons is where the main menu appears. In Keen Dreams it is the image that appears before the main menu as well as including the High Scores table. In Keen Galaxy it is again a simple image leading to the main menu. Associated patches are Patch:Main menu and Patch:Start sequence.

In Keen Vorticons a level is displayed that can be edited in a level editor. The level used is a screen from LEVEL90.CKx. In Dreams, the title screen image can be edited with Keengraph. In Galaxy, the title screen image can be edited with ModKeen along with most other Galaxy graphics.

Due to the different natures of the title screens, this page will be divided into three sections, Vorticons, Dreams and Galaxy. Patches for relevant episodes and outcomes will be listed under these sections.

Vorticons title

At present, it is possible to patch the location and bitmaps used for the title and the "F1 for help" graphics. (Note that the title graphic cannot be changed easily, as it is not given a value in the code, because it uses bitmap 0.) All values are the default values. For help with graphic location patches, see Patch:Images.

Patch: Title screen in Keen 1
%patch $97C0 $0002W
%patch $97B2 $0001W
#Title V
%patch $97B6 $0008W
#Title H
%patch $97C4 $00B6W
#F1 V
%patch $97C8 $0010W
#F1 H
#Don't show...
%patch $97CB $90 $90 $90
%patch $97B9 $90 $90 $90
%patch $97AB $C3
#F1 AND title
%patch $97E4 $90
#F1 AND title when menu is open (Has side effects!)

Patch: Title screen in Keen 2
%patch $9241 $0002W
%patch $9233 $0001W
#Title V
%patch $9237 $0008W
#Title H
%patch $9245 $00B6W
#F1 V
%patch $9249 $0010W
#F1 H
#Don't show...
%patch $924C $90 $90 $90
%patch $923A $90 $90 $90

Patch: Title screen in Keen 3
%patch $A09A $0002W
%patch $A08C $0001W
#Title V
%patch $A090 $0008W
#Title H
%patch $A09E $00B6W
#F1 V
%patch $A0A2 $0013W
#F1 H
#Don't show...
%patch $A0A5 $90 $90 $90
%patch $A093 $90 $90 $90

Dreams title

The Dreams title consists of a 'demo loop' that displays the title screen and the High scores in a constant cycle. Though loading level 20 this is never shown in the game. (In the patchable version at least.)

Screen image file and errors

The screen image is loaded and decompressed form a separate file archive in which it is the only chunk. See also Patch:Files and filenames.

There are three possible errors. The first occurs when the titlescreen archive file cannot be found. The second occurs if the file itself is corrupt and doesn't fit the expected parameters. The third occurs if the title chunk inside the file is corrupt.

Patch: Title screen in Dreams
#Dreams titlescreen archive
%patch $435C $038DW
#Look for this file
%patch $438A $038DW
#Load this file
%patch $23DFD "KDREAMS.CMP" $00
#Title screen file
%patch $23E23 "TITLESCR.LBM" $00
#No titlescreen archive
%patch $436D $0399W %patch $23E09 "Couldn't find KDREAMS.CMP" $00
#Can't read titlescreen error
%patch $439D $03C0W %patch $23E30 "Can't load TITLE SCREEN" $00
#Can't read title chunk error
%patch $9C61 $25EDW %patch $2605D "Error Loading Compressed lib shape!" $00

Time titlescreen is visible for

By default the 'title sequence' loops between the titlescreen and the high score table. The first appearance of the title, when the game first loads, is especially long, while later appearances are shorter.

As such there are two times involved, the first for the special initial appearance and the second for the 'looping appearances'. Note that the first, longer, time is the sum of both times rather than a standalone value.

Patch: Titlescreen display time
#Titlescreen display time
%patch $43FA $0118W
#First appearance extra time
%patch $4447 $00D2W
#Loop appearances

Skip titlescreen, go straight to menu

The first patch causes the game to go straight to the menu instead of displaying the titlescreen. In fact there is no way to view the titlescreen (Or High score table that goes with it.), it is completely disabled.

The second patch is related, except the titlescreen appears, the player is sent to the menu after a time instead of seeing the High Scores.

Patch: Go straight to menu
#Skip titlescreen go straight to Main Menu
%patch $4395 $E9 $00FFW
#Go to menu after titlescreen
%patch $4408 $90 $90

Skip titlescreen, go straight to game

This patch causes the game to go straight to a new game instead of displaying the titlescreen. In fact there is no way to view the titlescreen (Or High score table that goes with it.), it is completely disabled and pressing 'esc' in-game will cause the entire game to 'reset'.

There are two variables that can be altered, thedifficulty level of the game and the first level entered. In this patch they are 'easy' and level 0 (the map).

Patch: Go straight to game
#Skip titlescreen go straight to game
%patch $4395 $E9 $00FFW %patch $28B32 $4AB8W %patch $5D01 $C7 $06 $7128W $0001W
%patch $3C0C $7124W $0000W
#Level to start in

High scores table

The High Score table appears after the title screen then, after a period of time, returns to the title screen again.

No High Scores in title sequence

This patch removes the High Score table in the title sequence only. While the palyer can enter a new high score and see the table at a Game Over they will not see the table when first starting the game and waiting.

Patch: No High Scores in title sequence
#No High scores in title sequence
%patch $4475 $EB $09

Time score table is visible

These patches control how long the High Scores table is visible before the title screen appears. There are two different situations, Game Over and title sequence, with different times.

Patch: High Score display time
#High Scores display time
%patch $4484 $01A4W

Go to main menu after Title\High Scores

These patches cause the game to go to the main menu after the titlescreen or high scores are displayed, even if the player doesn't press a key.

Patch: Go to main menu even if no key is pressed
#Go to main menu after title displays
%patch $4455 $EB
#Go to main menu after High Score table displays
%patch $4492 $EB

Galaxy title

The Galaxy title screen is much less involved than the Vorticons one. All that can really be done is to change what image is used for it. A related patch in regards to what is displayed is Patch:Terminator text

Like all bitmaps, the title screen must be cached before it can be displayed. The number given here is the chunk number (Properly labelled by Keengraph; ModKeen will label the bitmap with a different number.)

Patch: Keen Galaxy Title screens
#Keen 4 titlescreen chunk
%patch $4CF4 $006BW
#Cache title
%patch $4EDC $006BW
#Display title
#Keen 5 titlescreen chunk
%patch $4CEE $0058W
#Cache title
%patch $4ED6 $0058W
#Display title
#Keen 6 titlescreen chunk
%patch $4B0F $0032W
#Cache title
%patch $4CF7 $0032W
#Display title