Skip to content

Commit

Permalink
initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
Zyian committed Feb 21, 2024
1 parent 76b206b commit 1992aa9
Show file tree
Hide file tree
Showing 5 changed files with 255 additions and 27 deletions.
138 changes: 137 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ name = "nexus_config_backup"
[dependencies]
arcdps-imgui = "0.8.0"
bitmask-enum = "2.2.3"
once_cell = { version = "1.18.0", features = [] }
serde = { version = "1.0.193", features = ["derive"] }
walkdir = "2.4.0"
zip = "0.6.6"
dirs-next = "2.0.0"
chrono = "0.4.34"

[dependencies.nexus-rs]
git = "https://github.com/belst/raidcore_bindings-rs"
Expand Down
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Nexus Config Backup

A [Nexus addon](https://raidcore.gg/Nexus) to provide backup config files used by various GW2 addons

Currently, all files in `<GW2 Install>\addons` except for `.dll` files are compressed into a zip file
and stored under `%USER%\Documents\nexus-configs` folder with the time of each file timestamped in the format
`backup-YEAR-MONTH-DAY-HOUR-MINUTE.zip`

## Installation

> Install directly from the Nexus Addons Library or if it's not available, install locally below
1. Download the latest `.dll` from the Releases page
2. Drop the `.dll` into your `<Guild Wars 2>/addons/` folder
1. Make sure the `.dll` is unblocked on your machine, by right-clicking the `.dll` file and clicking Properties
2. If it's blocked at the bottom of the page if you see a "Unblock" checkbox, you must check this and save.

## Usage

Once installed, right-click on the Nexus icon in your Quick Access bar and select "Run Backup"

> Note: Currently running the backup will freeze your game for a second file your files are being compressed and saved,
> try not to run the backup during important gameplay
![img.png](img.png)

## TODO

* [ ] Add functionality to configure location of the backup
* [ ] Run backup code in a background thread to prevent the game from locking up during backup
* [ ] Add functionality to restore configs from directory
* [ ] Add functionality to configure number of backups to keep
* [ ] Add configurable cron schedule to automatically backup configs
Binary file added img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1992aa9

Please sign in to comment.