KeenGraph 2.2
- CommanderSpleen
- Posts: 1017
- Joined: Sun Aug 31, 2003 12:11 pm
- Location: The Land of Sparkly Things
- Contact:
Well I was working on this, but I have been informed that Mindbelt will be made compatible, so I don't have to. Unless I am informed otherwise then, I shall not be working on this as yet.
I personally just have some old Keen 1 graphics in the graphics folder and alter the ep.dat file to use them, so I can see my sprites. It's a tiny bit of extra effort, but it does for me.
I personally just have some old Keen 1 graphics in the graphics folder and alter the ep.dat file to use them, so I can see my sprites. It's a tiny bit of extra effort, but it does for me.
- CommanderSpleen
- Posts: 1017
- Joined: Sun Aug 31, 2003 12:11 pm
- Location: The Land of Sparkly Things
- Contact:
- CommanderSpleen
- Posts: 1017
- Joined: Sun Aug 31, 2003 12:11 pm
- Location: The Land of Sparkly Things
- Contact:
- CommanderSpleen
- Posts: 1017
- Joined: Sun Aug 31, 2003 12:11 pm
- Location: The Land of Sparkly Things
- Contact:
- CommanderSpleen
- Posts: 1017
- Joined: Sun Aug 31, 2003 12:11 pm
- Location: The Land of Sparkly Things
- Contact:
Two things in this FreeBASIC version that have been really screwing me around.
It doesn't seem to check the height on the 1BMPxxxx.BMP files. I can get away with accidentally making one 6 pixels high, corrupting the tileset.
1BMP files (not sure about 2 and 3, but I would assume the same thing) need to be multiples of 16 wide, not just 8. At least some of them, anyway. Think I got away with 8 on a few. No pattern has emerged thus far.
Also... I don't know if this is a KeenGraph issue or not, but I've found putting an image larger than 88x88 in 1BMP0011.BMP will similarly corrupt the tileset, but putting the same image in 1BMP0009.BMP won't.
It doesn't seem to check the height on the 1BMPxxxx.BMP files. I can get away with accidentally making one 6 pixels high, corrupting the tileset.
1BMP files (not sure about 2 and 3, but I would assume the same thing) need to be multiples of 16 wide, not just 8. At least some of them, anyway. Think I got away with 8 on a few. No pattern has emerged thus far.
Also... I don't know if this is a KeenGraph issue or not, but I've found putting an image larger than 88x88 in 1BMP0011.BMP will similarly corrupt the tileset, but putting the same image in 1BMP0009.BMP won't.
Tell me about it, same thing's been happening with me and modkeen (It gives an error, but doesn't actually STOP.)
SIX pixels wide? It most definitely shouldn't let you make one SIX pixels wide. Did you mean 8? It should check that graphic width is divisible by 8.It doesn't seem to check the height on the 1BMPxxxx.BMP files. I can get away with accidentally making one 6 pixels high, corrupting the tileset.
I have been running on the assumption, gleaned from game code, that all graphics must divide into bytes of EGA data, meaning that images must divide by 8 (Sprite images thus dividing by 16 in KG and 24 in MK) This *should* be correct. If there is an error, it is likely something in my code (Such as when it didn't handle 'exotic' bitmap types.) I suggest you send me some graphics that are corrupt where you have something divisible by 8 (Or six, so long as you can successfully import it.) It could also be an issue with the LATCH plan size (Must divide by 16, and I have a check for this.)1BMP files (not sure about 2 and 3, but I would assume the same thing) need to be multiples of 16 wide, not just 8. At least some of them, anyway. Think I got away with 8 on a few. No pattern has emerged thus far.
Starting to sound like a code issue, I most definitely think you should send me examples of such graphics. I can then iron out the bugs in a day or two.Also... I don't know if this is a KeenGraph issue or not, but I've found putting an image larger than 88x88 in 1BMP0011.BMP will similarly corrupt the tileset, but putting the same image in 1BMP0009.BMP won't.
- CommanderSpleen
- Posts: 1017
- Joined: Sun Aug 31, 2003 12:11 pm
- Location: The Land of Sparkly Things
- Contact:
Just thought I'd post a minor update. Keengraph can now extract\import the DOS screens form Keen 1-7 (including dreams.) These are not the ones in EGAGRAPH (which can be exported\imported easily enough) but the ones in the Keen executable which need patching. It also has an option for just extracting 4-6 'headers' (the first few rows of the DOS screen giving the episode title) as used by KScreen.
In fact it will extract the executable DOS screen from any game using the EGAGRAPH format (So say, Biomenace.) and comes with KScreen and THEDRAW to edit screens with.
Link: http://dl.dropbox.com/u/3940020/KEENGRAPH.zip
In fact it will extract the executable DOS screen from any game using the EGAGRAPH format (So say, Biomenace.) and comes with KScreen and THEDRAW to edit screens with.
Link: http://dl.dropbox.com/u/3940020/KEENGRAPH.zip