Skip to content

This is an simple programm that gets the paths of a NPC from jedipedia and saves it as the standardized paths.json.

Notifications You must be signed in to change notification settings

Alleexxi/SWTOR-NPC-PATHS-CONVERTER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

This is an simple programm that gets the paths of a NPC from jedipedia and saves it as the standardized paths.json.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages