
S I M P L E M E D I A N B A C K U P
Latest Version: v1.1.1 | Download: https://mega.nz/file/nN5xSYga#jgMSBMMN- ... lUjU-s0TtQ
Or the last resort mirror:
► Show Spoiler
Tired of losing hundreds of hours of progress because of corrupted/disappearing/broken/etc. singleplayer or TCP/IP saves? Want the ability to make and have snapshots of all your characters, stashes, etc. before playing/updating so that you can quickly revert if something goes wrong? Then SimpleMedianBackup (a simplified derivation of my old SimpleTerrariaBackup script) might be the tool for you! Note: this IS NOT a hack/cheat tool. All it does is automate zipping up your own personal save folder.
This is a small application written in MS-DOS Batch (using command prompt, not actual DOS obviously) to backup any Windows-edition Median XL singleplayer and TCP/IP saves. Why another backup utility when others exist out there, you ask? I'm not a fan of compiled tools when it's not necessary, others came with too many unrelated features, some are reliant on a specific game version and/or didn't allow for an unlimited number of backups, and... well... Batch is super fun.
Current Features:
- Backups:
- - Instant backup as soon as the script is (successfully) launched
- Automated backups every X (default is 5) minutes while playing
- - Non-standard installs can be used with minimal manual config edits
- Works with all previous and future versions of (Windows edition) Median XL
- Works for both Singleplayer and TCP/IP
- Both 32bit and 64bit 7-Zip supported
- - No limit to the amount of backups you can make
- No auto-"old backup" deletion
- Backups use timestamps in the folder/name, for automatic organization
- Attempted automatic detection of drive/folder paths
- Micro RAM footprint
- Adjustable auto backup timer
- Configurable 7-Zip compression levels
- Configurable backups can include characters, stashes, maps, and/or misc files
- - Completely open, non-compiled code
- ANSI visuals for an appropriately retro terminal/BBS feel
Requirements:
- - Windows 7 and above (XP/Vista *might* work, but I'm not sure)
- 32/64bit 7-Zip (http://www.7-zip.org)
- Diablo II and Median XL
How to Use:
- 1. Unzip the download wherever you want (your backups will be stored here as well, so pick a convenient spot)
2. Run SimpleMedianBackup.bat (you may need admin privileges)
3. Settings will auto-generate, but if your paths aren't located you'll need to make manual changes to the generated "config.cmd" file (see "SETTINGS" in SMB.README.txt for info)
4. (Optional) Configure any options you want to change and restart
5. Let it run while you play, and you're done!
It is highly recommended that you double check the first few backups you make, just to be sure everything is working as intended. If you're on a lower end computer, you may want to adjust the 7-Zip Compression settings before use.
How to Restore:
- Unzip the backup you want to use into the appropriate folder and say "yes" to overwriting the files. The exact location will depend on your system. You should be able to get a hint as to where to unzip your files if you open "config.cmd" in a text editor and see how the paths were configured. The examples in the "SETTINGS" section in SMB.README.txt will give you a general idea of where a standard installation of Median XL will have everything located.
Typically this is at: %appdata%\MedianXL\save\
Notes:
- - READ THE README, especially if you are using any custom config options
- Backups are stored wherever the SimpleMedianBackup.bat file is located
- Feel free to edit the code all you want, aside from selling it or making it malicious in any way. It's not the greatest or most organized code out there, but should be fairly logical. Just remember that you MUST open and save the .bat file in ANSI. UTF will completely break the functionality as all ANSI characters will get corrupted, and encoding to ANSI after opening in UTF will not work properly
Future Plans:
- - Possibly re-adding some of the more complex features that my other versions of the script has
- Any bugs that pop up
- MORE AND BETTER ANSI, when the mood strikes
Changelog:
v.1.1.1 (2021-09-04)
- Script now forces itself to run in the intended directory (no more admin-mode, remote execution, etc. issues)
- Improvements to data validation for true/false configuration options (they're no longer CaSe SenSiTive)
- Added check on startup to see if another instance is running, halting if so
- Added a -debug option that will add pauses and some verbose text to various stages of the process. (not recommended to use unless I request it for troubleshooting)
v1.1.0 (2021-08-30)
- Default 7-Zip compression changed from 3 to 9 (ultra compression as default shouldn't be an issue for most)
- Added "BackupCharacters" filter to specify if .d2s files should be included
- Added "BackupStashes" filter to specify if .stash and .shared files should be included
- Added "BackupMaps" filter to specify if .map, .ma0, .ma1, .ma2, etc. files should be included
- Added "BackupMisc" filter to specify if .key and .json files should be included
- Added UI to indicate what filters are in use
- Added some basic data validation for certain configuration options
- Changed UI "ATTEMPTS" wording to "BACKUPS"
- Removed UI "Retries" counter
- Adjusted various UI text
- Fixed a few issues in SMB.README.txt
v1.0.0 (2021-08-30)
- Initial release
Older Versions:
Older versions are NOT recommended!
► Show Spoiler