the bipship :: keen utilities and more :: first    


Design & Implementation
Copyright © 2008-2010
by Alan Faubert : CK Guy

· · ·

colon zero - the origin of aids :0

 

First Posts Archive

First post by: lemm
On date: 2009-07-05
In thread: Welcome to Keen: Modding!

Hi, I'm new to modding, and no real programming experience. I took a couple semesters of compsci electives (Java, lol) a few years back.

I just downloaded a pile of tools for the vorticons trilogy:

modkeen, ckpatch, mindbelt, tileinfo, unlzexe, and the giant index of patches.

For my first project I just want to make a few keen 2 levels, and maybe some new background tiles using the extra empty squares leftover in the 2til0000.bmp.

... but I have a few questions ...

1. Are those empty squares in the tileset just empty space that I can edit?

2. I was reading over the ckpatch and the behaviour readme in the patch index/keen1/sprites folder, and as I understand, it works something like this:

The %patch <offset> <bytestream> command in ckpatch overwrites the memory starting at offset with bytestream bytes.

A "behaviour" is a subroutine, and the $ABCD is the memory address the program arrives at when it gets to the end of this subroutine?

For example:
Code:

%patch $1A22 $4F $19 #Yorp walks toward Keen, turns around when hitting walls [Yorp after searching for Keen]


Offset $1A22 references the subroutine (behaviour) that will be called once the program has reached the end of the Yorp-searching (behaviour). By writing $4F $19 at this location, the program is told to go to $194F in memory, which is the start of the Yorp-walk routine.

Am I understanding this right?

3. How do you people determine what memory address does what?


Sorry if these are noobish questions =).


-lemm

First posts currently in the database: