Page 1 of 1

KDRPATCH

Posted: Sat Aug 21, 2004 10:14 am
by MultiMania
Here is ckpatch for keen dreams with source.

It supports version 1.13 level.name, egahead, egadict, maphead, patch & patchfile.

Version 1.10: patch & patchfile.


Run KDRPATCH.EXE PATHFILE.PAT /detour to run keen dreams.

Download:
http://www.spatang.com/multimania/kdrpatch.zip

Posted: Sat Aug 21, 2004 12:50 pm
by levellord
*Whoooo!*

Not bad, not bad at all. I'm almost tempted to start work on something, but...nah.

Posted: Sat Aug 21, 2004 2:26 pm
by KeenRush
Woooh, sounds good! :)

Posted: Sat Aug 21, 2004 9:56 pm
by adurdin
Excellent work, Multimania! Now I suppose you want me to update ModKeen2 to work with Dreams? ;-)

I've uploaded kdrpatch to keen:modding also: http://files.keenmodding.org/kdrpatch.zip

Life, the Universe and Everything Else

Posted: Mon Aug 23, 2004 9:33 am
by MultiMania
*Argggg this is the second time i've had to type this*
Well, no-one would want to mod Keen Dreams so... :D

So, does anyone know the offset for mapdict?

Posted: Wed Aug 25, 2004 10:05 pm
by adurdin
Mapdict??

Posted: Thu Aug 26, 2004 12:43 pm
by KeenRush
Now I suppose you want me to update ModKeen2 to work with Dreams? ;-)
Yes please.

Mapdict

Posted: Thu Aug 26, 2004 1:54 pm
by MultiMania
Mapdict is the huffman compression dictionary for the keen dreams maps. Unlike the Keen4-6 maps, which are carmack compressed, Keen dreams Maps are compressed with Huffman encoding but as Keen dreams has three different Huffman dictionaries it is hard to tell what one is what.

Posted: Fri Aug 27, 2004 8:10 am
by adurdin
Mapdict is the huffman compression dictionary for the keen dreams maps. Unlike the Keen4-6 maps, which are carmack compressed, Keen dreams Maps are compressed with Huffman encoding but as Keen dreams has three different Huffman dictionaries it is hard to tell what one is what.
Well, you learn something new every day -- I'd never paid a great deal of attention to Dreams, and hadn't noticed that.

Are the three dicts all next to each other? You can always do what I did with Keen 4-6 to work out which (of the two in those cases) is which: try decompressing with each and see whether the output is sane.

Posted: Fri Oct 01, 2004 3:54 pm
by Admiral_Bob
Well done, MultiMania, for going to the effort of implementing Keen Dreams support in CKPatch! :)

I'll probably merge your contribution into CKPatch, if I release another version (I don't have any immediate plans right now, but I will, if I get time to add some more features that I think are useful).

Apart from KDRPATCH.PAS (which you added), I noticed you made some changes to CKXPATCH.INC as well (adding some debug Writeln statements). Are you OK if I remove these extra Writeln statements?

Posted: Fri Oct 01, 2004 4:16 pm
by Admiral_Bob
MultiMania:

Another tip I might add:

If you modify and redistribute Open Source software, it's usually a good idea to add a display notice to the program & documentation that lets the end user know you've modified the source code.

Also list your own contact email address, so users will email you for bugs/questions/etc instead of the original author (myself, in the case of CKPatch); they usually don't have anything to do with your modifications (and don't like being expected to support something they didn't write).

Posted: Sat Jul 02, 2005 10:50 am
by Grandy02
It doesn't work. After my first try it said, that Ishould start START.EXE. So I hex edited the KDRPATCH:EXE a little bit. Next try. Then it said:
Image Size: 35360
Error: Unrecognised version of START.EXEImageSize: 35360

What now? :-( I used UNLZEXE.EXE for both START.EXE and KDREAMS.EXE!

Posted: Sat Jul 02, 2005 12:47 pm
by levellord
Ah, first we must make START.EXE unnedded [deletable] so we use this command in our Batfile:

KDRPATCH MYPATCH.PAT /detour /comp

You can now delete START.EXE, tidying up that folder nicely. [MM, can you add this not to your download or maybe your first post so people realize this?]

Posted: Sun Jul 10, 2005 1:43 pm
by Grandy02
Thanks, levellord! *now trying out this carrot patch*