https://github.com/shadowevil/wolcencharacterreader
A library to read the Wolcen character JSON file
https://github.com/shadowevil/wolcencharacterreader
character editor endgame json reader wolcen
Last synced: about 2 months ago
JSON representation
A library to read the Wolcen character JSON file
- Host: GitHub
- URL: https://github.com/shadowevil/wolcencharacterreader
- Owner: shadowevil
- Created: 2023-09-03T05:02:09.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-05T03:11:07.000Z (almost 3 years ago)
- Last Synced: 2025-05-24T01:42:07.126Z (about 1 year ago)
- Topics: character, editor, endgame, json, reader, wolcen
- Language: C#
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wolcen Character Data Reader/Writer for C# .NET 6
## Description
This is a C# WPF .NET 6 library that simplifies editing Wolcen character JSON files. It allows users to make changes to their character without writing any JSON script manually.
## Features
- Easy to integrate with existing C# .NET 6 projects.
- Directly read character data into a C# class.
- Backup existing character data before making changes.
- Separate Item class for easier item creation and manipulation.
## Installation
1. Clone this repository or download the zip file.
2. Add the project to your existing C# WPF .NET 6 solution.
3. Add a reference to this project in your main project.
## Usage
### Reading Character Data
```csharp
CharacterData characterData = new CharacterData("PATH TO WOLCEN CHARACTER");
```
Now you can access any field that you would normally find in the raw JSON file.
### Saving the file is simple!
```csharp
CharacterData characterData = new CharacterData("PATH TO WOLCEN CHARACTER");
characterData.Save();
```
This will create a `backups` folder in the base directory of the save file and copies the existing character file into that folder, iterating it so that no overwrites occur. Then proceeds to write the new file in place of the backedup save file we opened it with.
## Contributing
Feel free to contribute by submitting pull requests.
## License
MIT License