henesua wrote...
Pstemarie, agreed but thats not the kind of feature that I am talking about. I want the web interface because it opens up the option to automate the creation of documentation of a custom ruleset rather than to create such a thing by hand.
Essentially if someone has the two tool I described above already made as a web application then I can also use them to generate the documentation that I want.
And it is this third thing - automation of documentation - that I really want. And the only difficult part of this for me is the TLK file. I'm not sure how to handle it as it is a binary file. If someone would share an application that converts a tTLK to text then we are cooking.
Try never launcher. Not exactly what you are describing but it can get things out of game formats into text and mysql format. ( This program started as my toolbox for all the things i built to manage my PW so have a lot of features like this )
Open a TLK file ( either open file or drag and drop the tlk onto the file ).
Option 1, "extract SQL" menu under "Compare", saves text to a mysql dump.
( portion of created file from cep.tlk, not showing all 7000+ lines )
CREATE TABLE dialog (`dl_dlid` int(11) default NULL,`LABEL` longtext default NULL,UNIQUE KEY (`dl_dlid`)) ENGINE=MyISAM DEFAULT CHARSET=latin1;
INSERT INTO `dialog` (`dl_dlid`,`LABEL`) VALUES ('16807216', 'Community Expansion Pack');INSERT INTO `dialog` (`dl_dlid`,`LABEL`) VALUES ('16807217', 'Baseitems start here');INSERT INTO `dialog` (`dl_dlid`,`LABEL`) VALUES ('16807218', 'Trident*');INSERT INTO `dialog` (`dl_dlid`,`LABEL`) VALUES ('16807219', 'This simple weapon has its origins in the humble fishing villages on the coasts and inland rivers. Not your simple frogging trident though, this is a weapon of war -- its tines widely spaced and wickedly barbed.');INSERT INTO `dialog` (`dl_dlid`,`LABEL`) VALUES ('16807220', 'Base Damage: 1d8\\rBase Critical Threat: x2\\rBase Damage Type: Piercing\\rWeapon Size: Medium\\rFeats Required: Martial');
The above can get it so it's on the website.
Option 2:
The "Save All Entries" in the tlk editor ( you see it when you open the tlk file )
Create a folder for all the entires to go. This saves a single text file for each entry.
30000.en.upt - this only supports english, but it's tlk id, language, then upt. I name it 30000.magicmissle.en.upt for example to keep track of it easier.
This file simply contains "Community Expansion Pack"
This is setup soas to merge things later on, but also works very well with svn type systems as it reduces things to plain text.
( to go the other way, go to build, select the "Merge Content" Button.
It then traverses all the folders in the source folder which contain upt files, upd files, and raw resources, then saves content to the target folder, i've used this for managing custom content on a large PW and it's well tested, merging a lot of complex content, kaedrins for example, but this new interface is not perfected yet. Make sure the Target folder has nothing in it, since i rerun it i have it delete the folders content each time it's run. It can also let you choose to use custom tlk or dialog.tlk versions, name a custom tlk file, etc. )
( 2da's are dealt with using
upd diff files, it also can extract a mysql dump but that does not deal with the problems of merging sets of 2da data )
Modifié par painofdungeoneternal, 07 septembre 2013 - 11:46 .