forum

osu! auto backup - Backup db files when osu starts.

posted
Total Posts
1
Topic Starter
Primula_old
I made this application by request from a friend because lately osu! has been crashing a bit more than usual which in turn sometimes causes the db files to corrupt.
This simple application just backs up the osu/collection database files and then starts osu!
Whenever osu crashes, start the osu! process itself to check whether it caused any db files to corrupt, you can then overwrite the db files with the backups.

This works with osu!test, but the functionality is a bit different.
All you need to do is make a copy of the app and name it osu!test.nyaa.exe
(Note: You can change 'nyaa' to whatever >w<)

Be sure to check out my other projects.
  • osu!np - Output data of the currently playing map in various ways + Beatmap Downloader
    osu!db - Read data from osu!.db/collection.db/score.db (Source Included)
    osu!mp3 - Play/export songs in playlists created from your collections.
Download Latest [v1.0 - 01.05.14 - 45kb]: [Mediafire]

How to use:
  • ★ Put osu.nyaa.exe/osu!test.nyaa.exe into your osu! root directory (same directory as osu!.exe)
    ★ Run osu.nyaa.exe/osu!test.nyaa.exe (You could create desktop shortcuts of these and rename to osu/osu!test)
For osu.nyaa.exe, the following happens:
  • ★ Backup collection.db to collection.db.bak
    ★ Backup osu!.db to osu!.db.bak
    ★ Start osu!.exe
For osu!test.nyaa.exe, the following happens:
  • ★ Overwrite osu!test_collection.db with collection.db
    ★ Overwrite osu!test.db with osu!.db
    ★ Start osu!test.exe
In future, I'll add support for a config file which will allow for:
  • ★ Toggle whether to start a process. (In case you just want to backup without starting osu)
    ★ Specifying the process to start (in cases whereby you have a different application that starts osu! that you would like to run instead)
    ★ Specifying which files to backup/overwrite.
    ★ Specifying the names of the backups.
    ★ Support for multiple backups named by timestamp instead of overwriting previous backup (for whatever reason).
Please sign in to reply.

New reply