A few days ago, my mod started crashing to desktop and that's when I remembered that I hadn't made that file backupping application that I've been telling myself to write for months now.
So I wrote it, and I called it BMP, which, as you've already seen, stands for Back Me uP.
^ THIS is a BMP-1. BMP stands for "Boyevaya Mashina Pehoty", "Infantry Fighting Vehicle".
Don't you think that making backups of your stuff, while good to do, is quite tedious and easy to forget? I do, and BMP is designed to eliminate these problems.
BMP is easily configurable to copy whichever files you want using a simple filter system, and, more importantly, can be run in a "silent" manner, so it can back your things up without interfering with whatever you want to do.
For an example, I use it myself not only for regular backups of my ModuleSystem, but also to make sure my book, which I'm currently writing, is copied safe and sound on the other hard drive partition.
I presume that such tools may exist, but I was too lazy to search for one, plus I wasn't certain that it would work as I'd want it to. This one is small, robust and lightweight, aside from being configurable. What more could you want?
Yes, I took the picture from the program and slapped it onto this post.
(For an example, you can change the names to "ZZZ_BMP.exe" and "ZZZZZZZ.randomformat" and BMP will still work. Provided you tell it to search for that "ZZZZZZZ.randomformat". The only limitation is that the config file must be in the same directory as the .exe.)
DOWNLOAD BMP-1 (20 kB)
Requires the antique .NET Framework 2.0, which you should already have installed.
So, how to use BMP. It's quite simple, really.
First of all, BMP, when out-of-the box, comes ready to make backups of your ModuleSystem, so just drop it in there. Backups will be created in a "backups" folder, but you can change that easily fomr the config file or the BMP.exe itself.
Now, what we want to do is to make BMP create backups of your files by itself, and what better place to put this than build_module.bat which you run every time you compile your mod? To make BMP work silently, use it with the
Code:
[color=navy]-w[/color]
Just add these lines into your build_module.bat:
Code:
echo.
echo Backing files up...
BMP.exe -w
echo Backup completed.
echo.
Code:
@echo off
echo.
echo Backing files up...
BMP.exe -w
echo Backup completed.
echo.
python process_init.py
python process_global_variables.py
python process_strings.py
python process_skills.py
python process_music.py
python process_animations.py
python process_meshes.py
python process_sounds.py
python process_skins.py
python process_map_icons.py
python process_factions.py
python process_items.py
python process_scenes.py
python process_troops.py
python process_particle_sys.py
python process_scene_props.py
python process_tableau_materials.py
python process_presentations.py
python process_party_tmps.py
python process_parties.py
python process_quests.py
python process_info_pages.py
python process_scripts.py
python process_mission_tmps.py
python process_game_menus.py
python process_simple_triggers.py
python process_dialogs.py
python process_global_variables_unused.py
python process_postfx.py
@del *.pyc
echo All Finished ...
echo ______________________________
echo.
echo Script processing has ended.
echo Press any key to exit. . .
pause>nul
Code:
BMP -w
I created this in a short time and a lower-than-average mood, so don't play "Make the new app CTD" games with it on purpose.