![]() This tool could possibly be run at each nwserver start to always have up to date information for the running module. On my computer with my module file it takes less than a second to create the sqlite3 file. This can be used for Cyrillic (cp1251) for example. Use the -e:encoding parameter to use a different input encoding (default is windows-1252). If a localized string has no entry for the language the dialog.tlk is in, then next english will be tried and lastly the first language with a value The language of the provided dialog.tlk will also be used when looking up localized strings. LanguageĪ dialog.tlk file of any language should work. See the list of useful, interesting or funny example queries. To treat values as, for example, INTEGER use cast(colname as integer). All colums, except id, of tables generated via the -2da: parameter have the type TEXT.Allow it by holding ctrl right click on the file and open. The developer is unknown, macOS will complain. On macOS the tool needs to be allowed to run because of strict execution rules.Column names in queries are case insensitve.Don't forget the servers override folder.If there are any warnings it will work but it means some information will be missing in the tables!.nwn_sqlite -o:sf.sqlite3 ~/server/modules/SoulForge.mod ~/Beamdog\ Library/00785/lang/en/data/ ~/Beamdog\ Library/00785/data/ ~/server/tlk/ ~/server/hak ~/server/override ![]() Warning: Existing tables in the sqlite database file will be dropped (and recreated and filled with new data). You might want to create your own subset of data, for example only item names, resrefs, tags and base item type and drop everything else to design and maintain an own data table and just do an initial import once.Ī good start is to run the program and keep adding paths until there are no more warning messages. For instance you could implement a loot system based on that or DM navigation between areas or DM persistent placeable setup system using the tables.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |