These json files are used by a discord bot, but you can use them for something else if you would like to. This is not the actual bot, rather it creates the files for the bot.
This project uses the cdclient.sqlite
and locale.xml
to generate json files. You can use cdclient.fdb
instead of cdclient.sqlite
, doing so will just result in the program converting the .fdb to .sqlite then running like normal. (I am using lcdr's tool do this convert the file). This feature exists so this bot can stay up to date with servers that add new content. The LootTableIndexNames.json
is a file of shorthand names for LootTableIndexes created by Krysto and MasterTemple to make browsing much easier.
- Install Python 3.6 (other versions might work but this program runs off 3.6)
- You need in
NexusForceJsonPython/work
the following files:cdclient.fdb or cdclient.sqlite config.json locale.xml LootTableIndexNames.json
- Specify in NexusForceJsonPython/work/config.json how you would like the files to be generated. There are multiple ways.
SetstartFromFdb = true
if you want to generate the cdclient.sqlite from the cdclient.fdb
SetstartFromSqlite = true
if you want to completely regenerate the entire program. This method takes a long time, but will make sure everything is updated. You do not need to set this value = true if startFromFdb is true
SetjustUpdateGivenInfo = true
if you just want to add new items and not regenerate all the files. If you do this, make sure to add the IDs to their respective list. Set output to where you would like the files to be generated. The default path isNexusForceJsonPython/output
. You can doC:\\Users\\MasterTemple\\Bot\\json
or justjsonFiles
will createNexusForceJsonPython/jsonFiles
- Run
main.py
by typingpython main.py
in the command prompt of corresponding directory.
If you have any questions regarding use or any suggestions for features, feel free to contact me on Discord at MasterTemple#0233
(my ID is 789705048035688458
just in case my name is changed)