Patch:Title screen

From KeenWiki
(Redirected from Patch:KDREAMS.CMP)
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

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: Title screen in Keen 4
#Keen 4 titlescreen chunk
%patch $4CF4 $006BW
#Cache title
%patch $4EDC $006BW
#Display title