Modkeen overwriting my PAT file

ModKeen mods Tiles and Sprites in all episodes of Commander Keen.
Post Reply
Carsten
Posts: 10
Joined: Sun Feb 06, 2011 7:01 am

Modkeen overwriting my PAT file

Post by Carsten » Wed Mar 02, 2011 7:17 pm

After importing graphics with Modkeen, it actually overwrote my patch file with

Code: Select all

%ext ck5
%version 1.4
# Load the modified graphics
%egahead EGAHEAD.CK5
%end
Well, I lost all my patches, why thank you Oo Did I do something wrong or is this a misbehaviour? As a precaution measure, I am going to rename my patch file from KEEN5.PAT to somethingelse.PAT; no matter, this should be fixed I guess...

User avatar
Gridlock
Posts: 70
Joined: Sat Feb 05, 2011 7:04 am

Post by Gridlock » Thu Mar 03, 2011 1:59 am

Yep, just change the patch file name and you shouldn't have any more problems. Modkeen produces a (I think) new Keen5.pat every time you run it. I suggest just renaming it to Patch5.pat. That should prevent Modkeen from overwriting it.

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

Post by levellass » Thu Mar 03, 2011 8:40 am

This is why I asked about Keengraph and what it should do when looking at patch files. It's current strategy is to only write a patch file when told to and to add patches if the file already exists and doesn't have them.

Carsten
Posts: 10
Joined: Sun Feb 06, 2011 7:01 am

Post by Carsten » Sat Mar 05, 2011 11:16 pm

I guess the most convenient behaviour would be if the tool asked if one wishes to automatically have the patch file modified (have the necessary patches ADDED to the CURRENT ones, making this also default option), or if the user wishes to do that manually. And if the tools modifies the patch file, it should also create a backup.

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

Post by levellass » Sun Mar 06, 2011 9:27 am

That sounds very sensible. I think I shall make it Keengraph's default option.

Post Reply