From df4d9bda98f64ac0cc39c9437d265d6bb02b5126 Mon Sep 17 00:00:00 2001 From: Bill Date: Tue, 3 Aug 2021 14:17:03 -0400 Subject: [PATCH] More updates --- README.md | 4 +++- src/Main.ts | 1 + src/configuration.json.example | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 80ddc34..0ac3c73 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ The converter currently supports the following files: - furnidata.xml +- figuredata.xml - figuremap.xml - effectmap.xml - external_texts.txt @@ -40,6 +41,7 @@ You may set any of the urls to a local path on your system or a remote url. A lo | convert.productdata | Either `0` to skip or `1` to run | | convert.externaltexts | Either `0` to skip or `1` to run | | convert.figure | Either `0` to skip or `1` to run | +| convert.figuredata | Either `0` to skip or `1` to run | | convert.effect | Either `0` to skip or `1` to run | | convert.furniture | Either `0` to skip or `1` to run | | convert.pet | Either `0` to skip or `1` to run | @@ -50,6 +52,6 @@ To run the converter open a new terminal / console window in the main converter **Make sure you run ``npm i`` before first use.** -Type `npm run start:dev` and the converter will start running, only errors will be outputted in the console. +Type `npm start` and the converter will start running, only errors will be outputted in the console. The converter will skip any assets that already exist but will always reconvert your XMLs / copy your JSONS to the ``gamedata`` folder to ensure you always have the latest copy. diff --git a/src/Main.ts b/src/Main.ts index 6ed14a6..c4aa86c 100644 --- a/src/Main.ts +++ b/src/Main.ts @@ -13,6 +13,7 @@ import { ProductDataConverter } from './converters/productdata/ProductDataConver (async () => { checkNodeVersion(); + const config = container.resolve(Configuration); await config.init(); diff --git a/src/configuration.json.example b/src/configuration.json.example index 739a6b8..cd6fd92 100644 --- a/src/configuration.json.example +++ b/src/configuration.json.example @@ -16,8 +16,8 @@ "convert.productdata": "1", "convert.externaltexts": "1", "convert.figure": "1", + "convert.figuredata": "1", "convert.effect": "1", "convert.furniture": "1", - "convert.pet": "1", - "convert.figuredata": "1" + "convert.pet": "1" }