Problem with patching Keen 2

Request patches for Keens 1-3.
Post Reply
User avatar
The Shifted One
Posts: 71
Joined: Sun Nov 11, 2007 11:32 pm
Location: Utopia

Problem with patching Keen 2

Post by The Shifted One »

Im making a keen 2 mod right now (amongst other things) but I just cant get those patches to work.
I spose it has to do with the version I use but Im not sure.

When my Keen 2 was still version 1.00 at least the .tli file patch worked but others I used (like the keen jump height and machine gun thing) didnt so I decided to update my Keen 2 to version 1.31.
However now none of the patches work, not even the .tli thing while I did use a different patch then the one I have used in version 1.0.

So right now I really dont know what Im doing wrong and I hope someone is able to help me out here.

Thanks in advance.
User avatar
Tulip
Posts: 394
Joined: Mon Jun 16, 2008 2:40 pm
Location: Heidelberg, Germany
Contact:

Post by Tulip »

That's strange. You may be right about the version I think, because Tileinfo places both a patch for 1.0 and 1.31 in your pat file.
As always I can recommend using a fresh copy of Keen 2 1.31. Try using the copy on bipship.
If that doesn't help make sure you don't have a spelling mistake in your bat file.
Other than that I can only suggest you post your pat file for others to take a closer look.
User avatar
The Shifted One
Posts: 71
Joined: Sun Nov 11, 2007 11:32 pm
Location: Utopia

Post by The Shifted One »

Well my batch file works fine cause it did before, I never changed that one.
ITs not a real batch anyway. its an autoexecute line for DosBox :P
Getting a clean copy didnt help much either.

Anyway heres the file.

Code: Select all

#Tile info patching script for Keen 2
%ext ck2

%version 1.31
%patchfile 0x17828 Keen25.tli

#Keen has a machine gun!
%patch $6C66 $90 $90

#Keens jump height
%patch $69EE $07 $00

#Keens high pogo jump height
%patch $6D82 $C9 $00 

%end
You tell me what wrong with that :P
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

Possibly your file became corrupted on update, if you can post a dump of your executable I can check just what version it is and what may or may not have gone wrong. (Command %dump DUMP.BEH, then post the file.)

If this is the case, I know someone who could get you a copy of 1.31.
User avatar
The Shifted One
Posts: 71
Joined: Sun Nov 11, 2007 11:32 pm
Location: Utopia

Post by The Shifted One »

Well I used the version on bipship and an updated one from 1.00 and both didnt work.
I cant dump my version right now acuse Im at work, that will have to wait till Im home.

But the patchfile is allright?
User avatar
Tulip
Posts: 394
Joined: Mon Jun 16, 2008 2:40 pm
Location: Heidelberg, Germany
Contact:

Post by Tulip »

Well I'm pretty sure about the tileinfo patch. That's bound to work. It look exactly the same in other keen2 mods.
User avatar
The Shifted One
Posts: 71
Joined: Sun Nov 11, 2007 11:32 pm
Location: Utopia

Post by The Shifted One »

Thats what I thought, at least its the same in KeenQ (which is my favorite Keen 2 mod by a margin).
Perhaps the problem is DosBox related?
I know alot about DosBox but I dont know a whole lot about the utils used in modding Keen :P
User avatar
Tulip
Posts: 394
Joined: Mon Jun 16, 2008 2:40 pm
Location: Heidelberg, Germany
Contact:

Post by Tulip »

I have no problems with running mods in dosbox. Maybe you should try making a batch file instead of your dosbox command, just to be on the safe side. (Although I think it won't change much).

Then are you sure your tli file isn't working? Maybe you saved something wrong, or it is broken, try making a new one. (If its a lot of work just try making a new one with a few needed test tiles).
User avatar
The Shifted One
Posts: 71
Joined: Sun Nov 11, 2007 11:32 pm
Location: Utopia

Post by The Shifted One »

The tli file is fine, I also tried remaking it yes.
I also found out by making a normal batch that its not a DosBOx problem.

And I really dunno how to dump my exe.

I placed to command in the patchfile and it doesnt do dick.
Maybe its something else?

EDIT

I also just tried using the same exe with PM2 and it worked flawless so its not the exe either...
It must be something else I dunno.

EDIT AGAIN

Ok it works now, apearently I had to remove the %version 1.31 line...
Now it works flawless...
Post Reply