Search found 61 matches

by gerstrong
Thu Aug 26, 2010 5:52 am
Forum: Coding
Topic: Keen 4-6 Action Format
Replies: 23
Views: 38824

Thanks Levellass!

What help me is a table like action.doc but for Keen5,6 and maybe Dreams.

I only need the initial directions... for every sprite. That's the only thing I will hardcode, and there aren't many of them really
by gerstrong
Mon Aug 23, 2010 6:21 am
Forum: Coding
Topic: Keen 4-6 Action Format
Replies: 23
Views: 38824

Yeah, maybe, but to be honest I'm basing all the action read stuff on the action.doc. I'm not sure how keen actions change in the other episodes, but having the base address, I think it's enough to get the sprites moved. About the other values like jump height, speeds and such I was planning to hard...
by gerstrong
Fri Aug 20, 2010 1:32 pm
Forum: Coding
Topic: Keen 4-6 Action Format
Replies: 23
Views: 38824

Yeah, something was wrong here. I really didn't get that algorithm to be honest. I tried to implement it in CG but it didn't work and I also discovered it's not very useful to bundle the actions either, because the next tile adresses needs to be calculated. It would be more code. The only I want to ...
by gerstrong
Wed Aug 18, 2010 5:54 am
Forum: Coding
Topic: FPATCH - New Patching Utility!
Replies: 13
Views: 21752

I like that idea, but it should be compatiable to ckpatch.

Is there a way to take the source code of ckpatch and make that new patch tool really a better alternative.

We have a good knowledge about Keen and the formats here, we should not reinvent the wheel.
by gerstrong
Tue Aug 17, 2010 7:55 pm
Forum: Coding
Topic: Keen 4-6 Action Format
Replies: 23
Views: 38824

Hi Levellass, maybe I can help you optimizing that algorithm, if you want, of coure. I have some questions about it. Why from 100-600? Wouldn't if be more convinient to go from 124-400? The Sprites images begin at that number 124 and end 400 (?), or did I confuse something here? well was just a thou...
by gerstrong
Tue Aug 17, 2010 7:02 pm
Forum: Coding
Topic: Read Data Segment offsets
Replies: 0
Views: 10310

Read Data Segment offsets

Hello, I have another request for you. As you helped me a lot with the action format I wanted to ask another thing. The DSeg offsets are known, they are written over here in the wiki and even hardcoded in somes programs like modkeen. I assume, that of 7 games they can be taken as constants. Now my p...
by gerstrong
Tue Aug 17, 2010 3:44 pm
Forum: Coding
Topic: Keen 4-6 Action Format
Replies: 23
Views: 38824

Thanks levellass! This is really great and if it will read all action formats we need, I will take that algorithm. The pseudo code made me understand it quite well. I also will put your name in our source code as honours. Thank you very much and also thanks to lemm for the explanation!!! I'm still n...
by gerstrong
Sat Aug 14, 2010 12:07 pm
Forum: Coding
Topic: Keen 4-6 Action Format
Replies: 23
Views: 38824

Hmm, the data segment location. Is it the same in all Episodes? Heck no, the offsets for all the Keens are here: http://www.shikadi.net/keenwiki/Patch:Text_patches (First table.) The Datasegment start is clear, there we have the data, but at this segment, what does really start of data ? Um, they h...
by gerstrong
Fri Aug 13, 2010 9:05 am
Forum: Coding
Topic: Keen 4-6 Action Format
Replies: 23
Views: 38824

Sorry, I still have some questions. The Datasegment start is clear, there we have the data, but at this segment, what does really start of data? Is it the action_format itself or also other data before? In action.doc I saw the lowest address Az.08x I think it is, which I think means, Dseg_pos + $08x...
by gerstrong
Thu Aug 12, 2010 8:13 pm
Forum: Coding
Topic: Keen 4-6 Action Format
Replies: 23
Views: 38824

Yeah, thanks, that is what I was looking for. I think for future modding it is better loading those rather than hardcoding by ourself.

Thanks again.

Hmm, the data segment location. Is it the same in all Episodes?
by gerstrong
Wed Aug 11, 2010 6:35 pm
Forum: Coding
Topic: Keen 4-6 Action Format
Replies: 23
Views: 38824

No, I really mean, how do I get that data, at what adress do I get access to that structure. Let's say, I want to know the sprite picture number of keen shooting, when triggering an action. How can I read that number of picture? All sprite images and bitmaps and so on I think are numbered somehow, I...
by gerstrong
Tue Aug 10, 2010 8:48 pm
Forum: Coding
Topic: Keen 4-6 Action Format
Replies: 23
Views: 38824

Keen 4-6 Action Format

Hello fellows, I have a question about the Action Format. How can I get to read that information? I have read the wiki article about it, but I don't get it, how they mean it with the location. What does that mean, if it's not an offset? Do I need a special formula to read to read that Action Format ...
by gerstrong
Sat Jul 31, 2010 4:23 pm
Forum: CKCM
Topic: Sprite Behaviours in C
Replies: 10
Views: 27938

This code seems to me quite similar in Commander Genius. Well it has to be... Interesting in fact
by gerstrong
Sat Jul 31, 2010 4:17 pm
Forum: Coding
Topic: Mysterious C++/SDL error
Replies: 7
Views: 17061

Re: Mysterious C++/SDL error

Right, so I'm writing a Crystal Caves level editor, and it's written in C++ using SDL (Win32 with MinGW, in case it helps). And for some reason it won't compile this perfectly reasonable line of code: screen = SDL_SetVideoMode(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_BPP, SDL_SWSURFACE) I'm using the la...
by gerstrong
Sun Jul 18, 2010 6:15 am
Forum: Galaxy Level Editors
Topic: Keen: Galaxy editor - it's here
Replies: 59
Views: 101812

As of now, it can only read external maphead files, as I don't really see any need to extract them since I included the originals (already manually extracted) in there. For one it would allow you to support more games, for two it shouldn't be too hard to extract, all you need to keep in mind is the...