
Posts: 3822
Joined: 16 Sep 2007, 22:00
KaM Skill Level: Skilled
ICQ: 269127056
Website: http://lewin.hodgman.id.au
Yahoo Messenger: lewinlewinhodgman
Location: Australia
Lewin's KaM Text Editor (LIB files)
I have decided to put my editor on hold for a while and make a program for editing LIB files. (I am not finished with the mission editor, I will continue developing it later) I was talking to The Dark Lord and he said he wanted to make custom in game messages for his campaign but he couldn't as there is no full LIB file editor.
The basic idea is a tree of all the text strings, probably sorted into categories to make it easier. You can change them then save the file. Hopefully it will edit both the setup.lib and text.lib.
The current status is not so good. I spent a few hours on it and managed to make it load the first 19 strings (by looking them up from the index at the start) but from string 20 onwards something is wrong with the index. Hopefully I'll be able to fix this but if you know anything about the structure of these files then I would love some help. I am using this documentation but it is not very helpful in some areas.

for a while, it seems to change later somehow but maybe you'll figure that out yourself
So no screenshot yet, I'll let you know how it goes.
Lewin.
P.S. Is there some editor already out there that The Knight/The Barbarian are hiding from us? After all, the English language pack MUST have been made with some kind of editor. (doing it by hand would be almost impossible) @The Knight: If you've got an editor then please share it with us, even if you don't I'll still make my one but maybe you can save me some time...... (meaning I'll have more time to do the mission editor)