Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.18 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.18 KB

SWTOR NPC Paths Converter

A simple program that retrieves the paths of an NPC from Jedipedia and saves them in the standardized paths.json format. This currently has some bugs.

ONLY WORKS ON EN JEDIPEDIA

Features

  • Fetch NPC paths from Jedipedia
  • Save paths in a standardized paths.json file

To-Do

  • Refactor the code
  • Add Support for skin/haircolor
  • Add error handling

Usage

  1. Download
    Download the executable from the Releases section or build it yourself (see Build).

  2. Initial Setup
    Run the program for the first time to generate a config.toml file.
    Edit the resources_path in the config.toml file to point to your resource directory.

  3. Run the Program
    You have two options:

    • Provide the URL of the NPC as a command-line argument.
    • Run the program without arguments and paste the URL when prompted.
  4. Output
    After processing, the program will create a folder containing the paths.json file.

Build

To build the program, use Cargo:

cargo build --release

The compiled executable will be located in the target/release/ directory.