- Nov 12, 2020
- Reaction score
Download Link: Click Here
This tool is used to generate .nitro bundled assets for use with the Nitro Client
ConfigurationYou must rename configuration.json.example to configuration.json
The simplest way to set your configuration is by changing the external.variables.url option. The converter will pull all URLs from this file if the main configuration has them set to null or ""
You may set any of the URLs to a local path on your system or a remote URL. A local path is recommended as the tool will run a lot quicker for downloading.
|output.folder||The folder where converted assets will be saved to|
|flash.client.url||The base URL where figures/pets/effects are stored, eg|
|furnidata.load.url||The URL to your furnidata, can be XML or JSON, eg|
|productdata.load.url||The URL to your productdata.txt, eg|
|figuremap.load.url||The URL to your figure map can be XML or JSON, eg|
|effectmap.load.url||The URL to your effect map can be XML or JSON, eg|
|dynamic.download.pet.url||The full URL where pets are stored, eg|
|dynamic.download.figure.url||The full URL where figures are stored, eg|
|dynamic.download.effect.url||The full URL where effects are stored, eg|
|flash.dynamic.download.url||The base URL where furniture is stored, eg|
|dynamic.download.furniture.url||The full URL where furniture is stored, eg|
|external.variables.url||The URL to your external variables, eg|
|external.texts.url||The URL to your external texts, eg|
|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|
Running the converterMake sure you run yarn install && yarn build before first use.
To run the converter open a new terminal/console window in the main converter directory.
The converter has a few different start commands:
|yarn build||Will run tsc and build .js from .ts|
|yarn start||Will download and convert assets as set in the config|
|yarn start:bundle||Will bundle decompressed .nitro assets (json / png)|
|yarn start:extract||Will extract .nitro assets which can be used for editing|
|yarn start:convert-swf||Will convert inputted .swf assets to .nitro|
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.