Recreated Keen 4-6 Source Code

Here is where to post about the latest Commander Keen fangame or modification you've finished, a new website you've made, or another Keen-related creation.
User avatar
K1n9_Duk3
Vorticon Elite
Posts: 749
Joined: Mon Aug 25, 2008 9:30
Location: Germany
Contact:

Re: Recreated Keen 4-6 Source Code

Post by K1n9_Duk3 »

The updated version with CGA support is now online (same download link as before, it might take a while before the server caches clear and you get the new file instead of the old one).

This is what has been changed:
  • can recreate 100% identical copies of the original CGA executables for Keen 4-6 v1.4/v1.5
  • added a cleanup.bat file that deletes all the *.OBJ files from the OBJ directories -- might be useful if you want to build all the different versions yourself
  • added a few more comments in the source, pointing out bugs and strange behavior
... and as I'm typing this, I realize that, once again, I forgot to mention the -ID_VW_AE.ASM file in the included documentation. :o

As some of you might have noticed, this code has quite a few bugs, same as the origial Keen 4-6 executables. Most of the bugs should be mentioned in the comments in the source code by now. If you are going to make a mod based on this source code, you should consider fixing these bugs. You should definitely use the code from -ID_VW_AE.ASM instead of ID_VW_AE.ASM (just rename the files) for anything you want to release to the public.
Hail to the K1n9, baby!
http://k1n9duk3.shikadi.net
Calvero
Vortininja
Posts: 96
Joined: Tue Jan 29, 2008 15:31

Re: Recreated Keen 4-6 Source Code

Post by Calvero »

Searching through the source code, I guess the Keen-looking-at-his-watch-sprite really isn't used in Keen 4 v1.4.
Image
User avatar
ckguy
Bipship Engineer
Posts: 1167
Joined: Thu Nov 01, 2007 17:56
Location: Wakefield, RI, US
Contact:

Re: Recreated Keen 4-6 Source Code

Post by ckguy »

Is there anything you can say about the format of the external files when you disable the MAPHEADERLINKED/GRHEADERLINKED/AUDIOHEADERLINKED defines? I was poking around at this some days ago, and the game was just hanging, although I didn't spend a lot of time on it.

Should the MAPHEAD.CKx and MAPTEMP.CKx files loaded when MAPHEADERLINKED is disabled be in the same format as TED5 outputs by default for those files? Should MAPHEAD include the Tile Info stuff? How do the external files compare to what goes in the versions of the files that get linked into the executable when those flags are enabled?

Thanks!
User avatar
Pandakeen
Grunt
Posts: 11
Joined: Tue Aug 03, 2021 9:54
Location: pckf,

Re: Recreated Keen 4-6 Source Code

Post by Pandakeen »

There should be recreations of patched mods using this.
It would make the mods more stable, and it could bring back ideas that were scrapped only due to the limitations of patching. For example, Keen 6 mods could have internal help added.
User avatar
Nisaba
Vorticon Elite
Posts: 1344
Joined: Fri Jan 01, 2016 23:34
Location: The Outpost
Contact:

Re: Recreated Keen 4-6 Source Code

Post by Nisaba »

Pandakeen wrote: Tue Aug 03, 2021 14:46 There should be recreations of patched mods using this.
It would make the mods more stable, and it could bring back ideas that were scrapped only due to the limitations of patching. For example, Keen 6 mods could have internal help added.
that's a great idea and definitely doable. BUT this would require a whole lot of work one needs to be wiling to spend. time and patience is needed to put together a recreation which stays true to the details of its origins. This of course can be accomplished if expertise get combined. The community definitely needs to come together to realize such an attempt. And what's more is that we would need to have the original mod creators aboard as well to upgrade things in the right and intended direction.
and again, with possibility comes complexity. Mods like Operation Ocflore where planned with a considerably more extensive story arch and alternate endings so that the player can decide between two different objectives / two main settings. This alone would require additional creative power, meaning we need someone (in that case Bubbatom) who's directing according to a bigger plan plus a team of people who are familiar with working with the source code and some additional tools and so on.
I think things will become way more accessible for the novice modder the moment we have a source-code modding step by step tutorial. and yeah, such thing is already in the making...
Foray in the Forest progress:
92% Programming || 95% GFX || 92% Levels || 98% Creatures || 90% Story || 94% Music || 95% SFX || 96% Extras

Other projects:
- Play Commander Keen on a GameBoy
- The Lynx Nyx
Post Reply