Skip to content

Commit

Permalink
v1.1: Items are now randomised within levels.
Browse files Browse the repository at this point in the history
Custom level data with notes as to where items can be placed is now
included. See MAPINFO.TXT for info on how this works.

It's no-longer possible to exit a level without collecting its item.

A bug fix with the yorp messages, which were wrong about where levels
had moved.

The title screen's block colours have been randomised, and the main menu
has been simplified and updated with randomiser config info.

It's possible to run with the old randomiser rules with the /V1RULES
option, but it required the original LEVEL??.CK1 files, which are not
included.
  • Loading branch information
sulix committed Mar 14, 2021
1 parent 31abd85 commit fa68327
Show file tree
Hide file tree
Showing 22 changed files with 294 additions and 16 deletions.
22 changes: 22 additions & 0 deletions MAPINFO.TXT
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
A few notes on randomised maps
------------------------------

As of version 1.1 of the Keen 1 Randomiser, the LEVEL??.CK1 files have been
modified to contain additional item locations. This was suggested by
KeenRush[1], and works as follows:

- If multiple keycards of the same colour are present, these act as
different possible locations for one keycard. This means that all of them,
except for one, will be replaced with the grey sky tile.
- The first frame of the joystick (tile 221) must be present in every level.
It represents a possible location for a special item (the pogo stick or
ship parts). Only one such item will be placed in a level.
- Make sure these possible keycards and items are accessible without the
pogo stick (as it's possible that Keen won't have it), and are not
behind a door they're needed to open.
- The exit door will not function until the special item in a level has
been found, so it's safe to hide it somewhere far from the exit.
(It might be frustrating, though, if it's hidden somewhere too silly.)


[1]: https://pckf.com/viewtopic.php?f=4&t=8569#p95834
14 changes: 10 additions & 4 deletions README.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Commander Keen 1 Randomiser
===========================

Author: David Gow <[email protected]>
Version: 1.0c
Version: 1.1
Website: https://davidgow.net/keen/randomiser.html


Expand All @@ -24,10 +24,12 @@ What does it change?
- Positions of key items (spaceship parts and pogo stick) are randomised.
- Enemy positions are shuffled (within a level).
- Point items (lollies) are shuffled within a level.
- Door/Keycard colours are randomised (cosmetic only).
- Door colours and keycard placements are randomised.
- Some block colours are randomised.
- Yorp statues now hint at item locations.
- The exit door won't work until you've got the level's item.
- You can see the random number seed on the Status Screen (press Space)
- You can see other game options on the main menu.

Note that there are some things which don't change:
- Level layouts remain the same.
Expand Down Expand Up @@ -83,8 +85,9 @@ but there are a few things to be wary of.
the original game. Familiarise yourself with them.
- The Pogo Stick is much harder to get: you'll probably need to complete a
lot of levels without it!
- Ship Parts and the Pogo Stick will always be either in their original
locations, or right next to the exit. You can't miss them!
- You can't exit a level if you haven't got the item in it. If the exit door
isn't working, get looking for an item you've missed. Items (and keys), are
often hidden behind enemies or at the end of coridoors.
- Raygun Ammo is where you remember it from the original game, but because
you'll be playing levels in a different order, you'll probably find ammo
hard to find. Use it wisely (and get good at dodging!)
Expand Down Expand Up @@ -116,3 +119,6 @@ Make sure that CK1PATCH and CWSDPMI are copied to the Keen1 directory, as well
as the RNDKEEN1.BAT and RANDKEEN.EXE files. There's an included shell script
which compiles RANDKEEN.EXE and does this, though it has some hardcoded paths
in it.

Finally, look at MAPINFO.TXT for some information about how to modify item
locations in maps.
1 change: 0 additions & 1 deletion RNDKEEN1.BAT
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@ECHO OFF
COPY LEVEL81.CK1 RNDLV81.CK1
COPY LEVEL90.CK1 RNDLV90.CK1
RANDKEEN %1 %2 %3 %4 %5 %6 %7 %8 %9
CK1PATCH RNDKEEN1.PAT
3 changes: 3 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ cp RANDKEEN.EXE $OUTDIR
cp CWSDPMI.EXE $OUTDIR
cp CK1PATCH.EXE $OUTDIR
cp randkeen.c $OUTDIR
cp levels/* $OUTDIR
cp README.TXT $OUTDIR
cp MAPINFO.TXT $OUTDIR
Binary file added levels/LEVEL01.CK1
Binary file not shown.
Binary file added levels/LEVEL02.CK1
Binary file not shown.
Binary file added levels/LEVEL03.CK1
Binary file not shown.
Binary file added levels/LEVEL04.CK1
Binary file not shown.
Binary file added levels/LEVEL05.CK1
Binary file not shown.
Binary file added levels/LEVEL06.CK1
Binary file not shown.
Binary file added levels/LEVEL07.CK1
Binary file not shown.
Binary file added levels/LEVEL08.CK1
Binary file not shown.
Binary file added levels/LEVEL09.CK1
Binary file not shown.
Binary file added levels/LEVEL10.CK1
Binary file not shown.
Binary file added levels/LEVEL11.CK1
Binary file not shown.
Binary file added levels/LEVEL12.CK1
Binary file not shown.
Binary file added levels/LEVEL13.CK1
Binary file not shown.
Binary file added levels/LEVEL14.CK1
Binary file not shown.
Binary file added levels/LEVEL15.CK1
Binary file not shown.
Binary file added levels/LEVEL16.CK1
Binary file not shown.
Binary file added levels/LEVEL80.CK1
Binary file not shown.
Loading

0 comments on commit fa68327

Please sign in to comment.