-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
325 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## Contributors | ||
Please follow these steps in order to merge your work: | ||
|
||
**PEP8 is generally to be followed.** | ||
1. Clone repo and create new branch. | ||
2. Update README.md and CONTRIBUTORS.md, if necessary. | ||
3. Open a Pull Request with a comprehensive description of changes. |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2024 Andrii Karandashov(AntynK) | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,57 @@ | ||
# Mc Backupper | ||
Tool for making backups of Minecraft worlds from `saves` and `versions` folders. | ||
|
||
Tool for making backups of Minecraft's world from `saves` and `versions` folders. | ||
## Basic | ||
### Creation | ||
All data that you have entered during creation are stored separately from the backup file. | ||
To change backup data, press and hold the left mouse button. | ||
|
||
> [!NOTE] | ||
> Clicking the backup name will open it in the file explorer. | ||
### Backup data | ||
`File name` - the backup file name, by default is the world name. The creation date and `.zip` extension will be added after creation. | ||
> [!NOTE] | ||
> This cannot be changed after creation. | ||
`Title` - backup title, optional field. | ||
`Pool ignore` - when checked, the backup is not included in the pool. | ||
|
||
### Backup pool | ||
The pool (queue) automatically removes outdated backups. | ||
By default, the pool is set to 4. This means if you have 4 backups (with the `Pool ignore` flag unchecked) and create a new backup, the oldest one will be deleted. | ||
> [!NOTE] | ||
> The program determines the oldest backup by the date that the user has entered. | ||
### Restoring and deleting | ||
When restoring, the world folder will be permanently deleted and replaced with the folder from the backup. | ||
> [!IMPORTANT] | ||
> The program will immediately restore the world without popup windows. | ||
When deleting, the backup file will be removed. | ||
> [!IMPORTANT] | ||
> The program will immediately delete the backup without popup windows. | ||
### Backup structure | ||
All backups from the `saves` folder are saved at `<backups>/saves/<WorldName>/backups`. From the `versions` folder at `<backups>/versions/<VersionName>/saves/<WorldName>/backups`. | ||
|
||
`<backups>` - the folder where all backups are saved (can be changed in settings). | ||
`<VersionName>` - version name. | ||
`<WorldName>` - world name. | ||
`backups` - folder where world backups are saved. | ||
|
||
> [!NOTE] | ||
> Names are taken from folder names, so they may be different from what you see in the game. | ||
> [!TIP] | ||
> To get the name of the world folder, in select world menu you can look below the world name, or you can open it when editing the world. | ||
|
||
## Features | ||
The program can automatically determine the backup creation date (if it is formatted like `YEAR-MONTH-DAY_HOUR-MINUTE-SECOND`), so you can transfer backups created with Minecraft. | ||
|
||
> [!NOTE] | ||
> Backups that have been transferred in this way will be included in the pool. | ||
## Contributors | ||
If you have ideas for improvement or want to contribute to the development of the project, please submit your contribution. See [CONTRIBUTING.md](CONTRIBUTING.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Mc Backupper | ||
Ця програма дає змогу робити резервні копії світів Minecraft з папок `saves` та `versions`. | ||
|
||
## Основне | ||
### Створення | ||
Всі налаштування, які ви вводите при створенні резервної копії, зберігаються окремо і не впливають на саму резервну копію. | ||
Для того, щоб змінити дані про резервну копію, потрібно затиснути ЛКМ на ній. | ||
|
||
> [!NOTE] | ||
> Натискання на назву резервної копії відкриє її в провіднику | ||
### Параметри резервної копії | ||
`File name` - назва файлу резервної копії, за замовчуванням береться назва світу. Після створення до неї буде додано введений час та розширення `.zip`. | ||
> [!NOTE] | ||
> Його не можна змінювати після створення. | ||
`Title` - назва резервної копії, не обов'язкове поле. | ||
`Pool ignore` - коли прапорець встановлений, резервна копія не входить до пулу. | ||
|
||
### Пул резервних копій | ||
Пул (або черга) створений для того, щоб автоматично видаляти застарілі резервні копії. | ||
За замовчуванням пул налаштовано на 4, тобто якщо при створенні нової резервної копії вже є 4 резервні копії (які не мають прапорця `Pool ignore`), то найстаріша буде видалена. | ||
> [!NOTE] | ||
> Програма визначає найстарішу копію за датою, яку ввів користувач. | ||
### Відновлення та видалення | ||
При відновленні програма з початку видалить папку світу (її не можна буде відновити) та вставить папку з резервної копії. | ||
> [!IMPORTANT] | ||
> Програма одразу відновить резервну копію, без діалогових вікон. | ||
При видаленні програма видаляє файл резервної копії. | ||
> [!IMPORTANT] | ||
> Програма одразу видалить резервну копію, без діалогових вікон. | ||
## Структура резервних копій | ||
Всі резервні копії з папки `saves` зберігаються у папці `<backups>/saves/<WorldName>/backups`, а з папки `versions` у `<backups>/versions/<VersionName>/saves/<WorldName>/backups`. | ||
|
||
`<backups>` - папка, де зберігаються всі резервні копії (її можна змінити в налаштуваннях). | ||
`<VersionName>` - назва версії. | ||
`<WorldName>` - назва світу. | ||
`backups` - папка, де зберігаються резервні копії світу. | ||
|
||
> [!NOTE] | ||
> Назви беруться з назв папок, тому вони можуть відрізнятися від того, як ви їх бачите в грі. | ||
> [!TIP] | ||
> У меню вибору світу під назвою світу є назва папки, також під час редагування світу можна відкрити його папку. | ||
## Особливість | ||
Програма може автоматично визначати дату створення резервної копії (якщо вона є в назві і має формат `РІК-МІСЯЦЬ-ДЕНЬ_ГОДИНА-ХВИЛИНА-СЕКУНДА`), тому ви можете перенести резервні копії, створені за допомогою Minecraft. | ||
> [!NOTE] | ||
> Копії, які були перенесені таким чином, входитимуть в пул. | ||
|
||
## Контриб'ютори | ||
Якщо у вас є ідеї щодо покращення чи бажання долучитися до розвитку проєкту, будь ласка, подайте свій внесок. Відкрийте [CONTRIBUTING.md](CONTRIBUTING.md) для детального ознайомлення. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.