Level name tool

Here is where to post about the latest Commander Keen fangame or modification you've finished, a new website you've made, or another Keen-related creation.
Post Reply
User avatar
Levellass
S-Triazine
Posts: 5261
Joined: Tue Sep 23, 2008 6:40

Level name tool

Post by Levellass » Fri Mar 11, 2016 2:34

Because someone asked.

This is just a simple tool for Keen 5 (Though Keen4 and 6 could easily enough be added.) that lets you type in level names and entry texts into a text file and generate a patch file when the program is run. It automatically optimizes the level name packing so that you can fit in as much text as possible without fancy tricks. It's just something for the new patcher who has issues with such things.

It comes with the default Keen 5 stuff all set up here: https://dl.dropboxusercontent.com/u/3940020/KNAM5.zip



That is all, proceed about your business.
What you really need, not what you think you ought to want.

User avatar
KeenRush
Android Dummy
Posts: 2553
Joined: Sat Oct 27, 2007 20:57
Location: KEEN1.EXE
Contact:

Post by KeenRush » Fri Mar 11, 2016 10:30

I think this is actually pretty useful for those not knowing or caring much about patching. Good job. I love seeing obscure modding tools like this. Of course, would be even better if it recognized the maximum available space for strings. Not that I have the energy to do things like that, either - even if it would be a very simple matter. :old
My newest mod - Planet Of Agony: https://pckf.com/viewtopic.php?t=4165 | codename H.Y.E.N.A.

User avatar
szemi
Vorticon Elite
Posts: 1622
Joined: Sun Jan 11, 2009 15:19
Location: Hungary
Contact:

Post by szemi » Fri Mar 11, 2016 11:34

This will make my Keen 5 mod easier.
Yeah, piece of cake!

User avatar
Keening_Product
Kuliwho?
Posts: 2089
Joined: Fri Jan 20, 2012 7:02
Location: Tied up in the Oracle Chamber's basement
Contact:

Post by Keening_Product » Fri Mar 11, 2016 12:44

Nice tool. Thank you for releasing it. It will be useful in 20 years when I finally get around to making a mod.
Image
"Wise words. One day I may even understand what they mean." - Levellass

User avatar
Levellass
S-Triazine
Posts: 5261
Joined: Tue Sep 23, 2008 6:40

Post by Levellass » Sat Mar 12, 2016 8:00

KeenRush wrote:I think this is actually pretty useful for those not knowing or caring much about patching. Good job. I love seeing obscure modding tools like this. Of course, would be even better if it recognized the maximum available space for strings. Not that I have the energy to do things like that, either - even if it would be a very simple matter. :old
It's surprisingly tricky. Line length depends on the width of characters you use while the total name-entry space is unlikely to be exceeded by a novice patcher. At any rate, as mentioned Keen 4 and 6 versions are waiting in the wings, as it were, if needed.
What you really need, not what you think you ought to want.

User avatar
KeenRush
Android Dummy
Posts: 2553
Joined: Sat Oct 27, 2007 20:57
Location: KEEN1.EXE
Contact:

Post by KeenRush » Sun Mar 13, 2016 13:45

Levellass wrote:It's surprisingly tricky. Line length depends on the width of characters you use while the total name-entry space is unlikely to be exceeded by a novice patcher.
I didn't know that! I only meant about keeping track of the amount of bytes the original strings use, I didn't consider any other issues. :dopekeen
My newest mod - Planet Of Agony: https://pckf.com/viewtopic.php?t=4165 | codename H.Y.E.N.A.

User avatar
Levellass
S-Triazine
Posts: 5261
Joined: Tue Sep 23, 2008 6:40

Post by Levellass » Tue Mar 15, 2016 7:35

THAT is just annoying. Level 1, you can't have more than 15 characters for that name. Level 2, 31 characters, level 3, 15 again... THAT is often exceeded by a novice patcher. That's why this tool just adds them all together in one big chunk. In theory the game will run a tiny fraction slower when loading level entry text but come on, DosBox.
What you really need, not what you think you ought to want.

User avatar
Levellass
S-Triazine
Posts: 5261
Joined: Tue Sep 23, 2008 6:40

Post by Levellass » Wed Mar 23, 2016 6:24

Updated the tool so it combines level entry and names. This lets you squeeze about 30-40% more out of the level name space. (Specifically there's no point having both 'Keen goes to name' and 'name' patched, you can use part of the entry text AS a name in most cases.)

Hope this helps with whoever is using this.
What you really need, not what you think you ought to want.

User avatar
Nisaba
Vorticon Elite
Posts: 930
Joined: Fri Jan 01, 2016 23:34
Location: The Outpost
Contact:

Post by Nisaba » Wed Mar 23, 2016 17:33

yaus!
that's what I was looking for!
neat!
"We have come to conquer you all and bring you lots of candy!" | about me | my current project: play Keen mods on a GameBoy |

User avatar
Nisaba
Vorticon Elite
Posts: 930
Joined: Fri Jan 01, 2016 23:34
Location: The Outpost
Contact:

Post by Nisaba » Sun May 08, 2016 6:38

Levellass wrote:[...] as mentioned Keen 4 and 6 versions are waiting in the wings, as it were, if needed.

so, there is actually a request for a K6-version of the tool of yours. Interest comes from Blorbatrix, posting can be found at keenmodding: Are more than 18 maps possible in Keen 6?
"We have come to conquer you all and bring you lots of candy!" | about me | my current project: play Keen mods on a GameBoy |

User avatar
Levellass
S-Triazine
Posts: 5261
Joined: Tue Sep 23, 2008 6:40

Post by Levellass » Fri May 20, 2016 6:09

All three Galaxy episodes versions can be found here: https://dl.dropboxusercontent.com/u/3940020/LNAMES.zip

It will be added to TutoriaTools when the next update of my tutorial is posted.
What you really need, not what you think you ought to want.

Post Reply