KeenGraph 2.2

KeenGraph is a ModKeen alternative with extra features for Keen:Vorticons.
levellass
Posts: 2841
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

KeenGraph 2.2

Post by levellass » Tue Jun 16, 2009 10:50 am

http://levellord.toxicsheep.com/KeenGraph.zip


Re-released after some feedback, this is the beta version of my rewrite of KeenGraph. It now supports the great Keen 1 tile patch!

* Helluva faster (Comparable to Modkeen now!)
* Modkeen\tileinfo compatible bitmaps
* Only sprites are 8-bit, the other graphics are traditional 4-bit
* Runs from command line, bat file or txt file
* Works 100% with Dave 2
* Handles errors better


Old features reused are:

* 'Grouted' bitmaps; no more filling in annoying sprite masks!
* Edit Dangerous Dave II and Shadow Knights
* Custom commands to make editing easier
* Extra hitbox flexibility
* Warnings if your graphics are too large or buggy
* Reads patch files and can import\export to patched files


Things I want to hear ideas on:

* Extracting the DOS screens
* Whether I should bother with Keen 4-6
* Other ID games I should support


So download it and give me your feedback! There shouldn't be too many bugs lying about the place now, but you never know, I have a horrible habit of being told I've done very stupid and obvious things wrong, which is why I need YOU, the modders to test things! (It's foolproof, but Keen fans are such ingenious fools.)

EDIT: Fixed minor bug that made KeenGraph overlook the 2&3 finale files when exporting

And Xky, you can delete the old KeenGraph topic now, it is outdated.

levellass
Posts: 2841
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass » Sat Oct 03, 2009 10:17 am

Now supports Lemm's great Keen 1 tile patch! Also, I'm looking for suggestions for Keen 4-6 support, which I'm polishing up now. KeenGraph 3.0 should also support Biomenace (I want to do a bio mod sometime.) and hopefully Keen Dreams and Dave 3/4

See link in original post for download.

Draik
Posts: 117
Joined: Sat Jul 26, 2008 8:52 am
Contact:

Post by Draik » Sat Oct 10, 2009 3:59 am

Nice. Glad it runs from DOS (it does run from DOS, rite?), I do a lot on my linux box.

In the How To Use file, "ilegally" needs two L's at the start, not one.

Also, it's only technically illegal to distribute modded copies of the executable. But yeah.

levellass
Posts: 2841
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass » Sun Oct 11, 2009 6:49 am

What can I say? I didn't spellcheck the file.

ALL my programs are designed in a DOS environment, so they better darn well run from DOS!


I have received the suggestion that when exporting graphics and such, they should export to their own subfolder to keep things neat. What do people think of this?

lemm
Posts: 554
Joined: Sun Jul 05, 2009 12:32 pm

Post by lemm » Sun Oct 11, 2009 7:12 am

I think an option to specify the export folder for all the graphics is fine, just like modkeen.

levellass
Posts: 2841
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass » Wed Oct 14, 2009 3:56 am

Right. Well that's implemented at least.

Currently KeenGraph only exports the new extra tileset patch, should I make it fully compatible with the patch (Autodetecting the patch and building files)?

User avatar
Fleexy
Site Admin
Posts: 472
Joined: Fri Dec 12, 2008 1:33 am
Location: Blogham Tower
Contact:

Post by Fleexy » Wed Oct 14, 2009 9:18 pm

Definitely.

lemm
Posts: 554
Joined: Sun Jul 05, 2009 12:32 pm

Post by lemm » Wed Oct 14, 2009 11:14 pm

I just finished the sloped tiles... could you put this in as well?


Also What do you mean by "autodetect the patch"?

Draik
Posts: 117
Joined: Sat Jul 26, 2008 8:52 am
Contact:

Post by Draik » Thu Oct 15, 2009 1:26 am

I'm assuming it means checking the patch file for either patch and acting accordingly.

levellass
Posts: 2841
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass » Mon Oct 19, 2009 7:55 am

Yes, that's correct. It already scans patch files for renamed files and palette patches, it should be easy enough to make it look for and export the extra tilesets.

I'm not sure what you mean by adding something for sloped tiles, but when I'm certain the sloped patch isn't changing any more, I'll make KeenGraph compatible with it. The big problem as I see it is there's no utility yet that can write sloped tile data into the tileinfo files.

User avatar
CommanderSpleen
Posts: 1014
Joined: Sun Aug 31, 2003 12:11 pm
Location: The Land of Sparkly Things
Contact:

Post by CommanderSpleen » Mon Oct 19, 2009 10:52 am

Tell me how it needs to be written in and I'll consider it for TilePhile.

lemm
Posts: 554
Joined: Sun Jul 05, 2009 12:32 pm

Post by lemm » Mon Oct 19, 2009 1:39 pm

This is the format I am sticking with:

Image

The slope information, described in the pic goes in the old animation plane.

All the blocking information goes into the old blocking right plane. A slope is always going to have two "slope blocking" bits set.. for example the slope in the picture blocks from the top and from the left.

That leaves 5 bytes per tile empty. Anyways these can just be set to zero.

levellass
Posts: 2841
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass » Wed Oct 21, 2009 5:05 am

Once the new tileinfo format can be built up, I'll make an importer for it.

levellass
Posts: 2841
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass » Fri Dec 04, 2009 5:08 am

Now added, multiple tileset creation.

Things I may add if anyone wants: 24-bit bitmap support, support for any program that currently messes up a bitmap's palette. Would anyone welcome these?

lemm
Posts: 554
Joined: Sun Jul 05, 2009 12:32 pm

Post by lemm » Fri Dec 04, 2009 6:54 am

Nice!

I would never use a 24-bit bmp for any keen stuff, myself... MOST image editors out there have a save as 256 colour bmp option.

However, I think it would be handy to have a text file where you can specify colour x in your 256 colour bitmap maps to the 4 bit RGBL in the egalatch file. So I would say yes to #2.

Post Reply