A Node.js application that converts HereSphere hsp files to json and back, to allow the user to view and edit the content of the file in plain text
- Clone the repository:
git clone https://github.com/Conkuist/hsp2json.git
cd hsp2json
- Install dependencies
npm install
node convert.js <option> <input file path> <output file path>
<option> "hsp2json" to convert from hsp to json
"json2hsp" to convert from json to hsp
<input file path> path to the input file (e.g. ./input/input.hsp)
<output file path> path to the output file (e.g. ./output/output.json)
node convert.js hsp2json ./input/input.hsp ./output/output.json
node convert.js json2hsp ./input/input.json ./output/output.hsp
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to the developer of HereSphere for providing the necessary documentation and Noah from the HereSphere Discord for providing an old hsp to json conversion script to make this project possible.