/Rogue-Legacy-Save-Editor

A save editor for both Rogue Legacy 1 and 2.

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

Rogue Legacy Save Editor

A clean save editor for the Rogue Legacy games, powered by TypeScript, Svelte, and Tauri. The app offers a variety of features for editing, encoding and decoding saves for the game.

Features

  • Save file decoding - Decodes a save file into a valid, editable .json file
  • Json to save file encoding - Encodes a json file to a valid game save.
  • Backups - A robust system to ensure that your saves are preserved in the case that that app or you breaks a save.

This app aims to provide a nice UI for these tasks, as well as provide a command line interface (CLI) option for those who wish to automate the tasks or who are just power users.

Installing

If you want to download the app and get started, grab the newest release here. If you would like to build the app yourself, keep reading to learn how.

Building the app

Please note: you may edit and distrubute this program as you see fit but you must retain the license and the copyright notice I included (feel free to mark your contributions as I have)

Setting Up the Enviroment

I used the Tauri framework for the program, so you will need to to setup your enviroment as specified here. Additionally, you need a Node.js installation, as well as npm, which should be included with the node install.

Cloning the Program

The next step is to get a local copy of the repository. This can be done many ways, I recommend forking this repository and cloning that.
IMPORTANT:
If you make changes you are not allowed to redistribute the application with me labeled as the developer. Please remember to change the author information in the package.json and the related copyright information in src-tauri/tauri.config.json file. You should also change the copyright notice in src/App.svelte.

Installing Dependencies

Once you have cloned the repository and opened it in your preffered Editor/IDE (I recommend VSCode), you will need to install the program's dependencies. To do this, you will need to run two commands:
First:

npm i

Next:

cd src-tauri
cargo install

Running the Application

Now you are finally ready to get the app up and running! Assuming everything is set up correctly, all you need to do is run:

npm run tauri dev

Building With Your Changes

Once you have made your edits and are ready to share it with the world, run the following command:

npm run tauri build

This will generate a .msi file in src-tauri/target/release/bundle/msi/app_name.msi. And there you go, you've got a distributeable installer!

Acknowledgements



Licensing

This program is licensed under the GNU General Public License Version 3

Copyright Travis Lane (Tormak) 2023