K5SPLODE is a tool that lets you edit the galaxy explosion pattern in the game over screen in Keen 5. The ending screen (5MSC0004.BIN as recognized by modkeen 2) consists of 4000 points that can occupy any starting point on the screen and possess a constant velocity. Literally, there are four sections in 5MSC0004.BIN , each arrays of 4000 words (8000 bytes), corresponding to the 4000 pixels.
Section 1 (Byte 0 = $0) : Starting X coord, unsigned word
Section 2 (Byte 8000 = $1F40) : X velocity per frame, signed word
Section 3 (Byte 16000 = $3E80) : Starting Y Coord, unsigned word
Section 4 (Byte 24000 = $5DC0) : Y velocity per frame, signed word
The units for all four sections are 128/ths of a pixel, so giving a pixel an X velocity of 128 ($80) will make it move right one pixel per frame.
My program accepts input as a series of 320x200 bitmaps and functions that describe the starting coordinate and velocities of the points, repsectively. You specify how many points you want to use from one bitmap, the filename of the bitmap, and two component functions <X(x,y);Y(x,y)> that describe the initial X and Y velocities as a function of the starting x and y coords of the point.
Update: Program is basically done now, unless anyone wants more stuff...
Download (Sep. 28, 2010): http://files.commanderkeen.org/users/omp/k5splode.zip