Hacking VitaBackup [WIP]

  • Thread starter Thread starter Joel16
  • Start date Start date
  • Views Views 8,164
  • Replies Replies 18
  • Likes Likes 13

Joel16

Ils ne passeront pas
Member
Joined
May 8, 2011
Messages
943
Reaction score
2,533
Trophies
3
Age
29
Location
Doesn't concern you.
XP
5,948
Country
United States
VitaBackup is a minimal, user friendly backup tool for the PlayStation VITA. VitaBackup gives the user 100% flexibility on what they want to back up on their device. (Please look at editing backup config below). Currently the way it works is that it packs all the contents of a folder, or file to a single .tar file. After this is done, it adds the .tar file into a .zip file and compresses it if the user selects a level of compression.

UucIDpc.jpg

Current Features:
Planned features:
  • Select a custom backup location instead of u*0:/data/VitaBackup/bacups/
  • Back up to FTP/USB.
SBImIEe.jpg


xZItFDD.jpg


nlAH8jb.jpg


diftRyg.jpg


ACpGyzn.jpg

Credits:

Downloads:
https://github.com/joel16/VitaBackup/releases

Source code:
https://github.com/joel16/VitaBackup
 
Last edited by Joel16,
Backup process has been completed (at least the basic functionality). It backs up the entire path along with it as well, for example:

Say a person wants to backup their license, the app creates a tar file called license.tar in ux0:/data/VitaBackup/backups/
Inside the tar file, the entire path would be created ->
ux0:/license/ (all your license files)

So when a person would have to restore it, it basically extracts the contents into ux0:/ -> which overwrites any existing changes. The restore process has yet to be written however, but I might start releasing a beta at some point to make sure things are in good shape before an actual release.
 
Nice app. I like the idea of an open backup utility. Great addition to the available tools thank you
 
  • Like
Reactions: Joel16
Initial beta release is up!

Remember this is the first beta release, so bugs may exist and many things are subject to change in future releases. Also, do feel free to give some feedback as long as it's not anything crazy.

QEAb2Yr.jpg


LZTBa29.jpg


0RLlEpk.jpg


i8AV1ye.jpg

Known issues:
  • Progress bars (especially when restoring) is not accurate.
  • No touch controls as of yet.

Controls:
  • Cross - to select item.
  • Start - to begin backup/restore process.

Download:
https://github.com/joel16/VitaBackup/releases
 
Last edited by Joel16,
v1.00 is working great, at least at restoring the app.db which is what I wanted, haven't had the chance to test out the others yet.
 
  • Like
Reactions: Joel16
Version 1.10 is up!

NMCqG5P.jpg


SFYDQgV.jpg


22DjKvP.jpg

Change-log:
  • Completely re-structured the backup process:
This gives the user 100% flexibility on what they want to back up.
The user can decide on a name and path like so:
Modify the path.txt file in ur0:/data/VitaBackup/path.txt and add entries in the following format:

[name]~[path]

Example:
Trophies~ux0:/user/00/trophy
Licenses~ux0:/license


Do not put a forward slash at the end if it's a folder.

  • Prevent home button and auto-suspend during backup/restore process.
  • Only display scroll bar if we have more than 5 files.
  • Use the proper enter/cancel buttons depending on your device's region. (JP uses the "Cross" button to cancel items)
  • Backup archives have their timestamps separated by a '-'. (Example: some_file-2018-02-08.tar)
  • Added a light theme in options. (Thanks to Berion for the design)
  • Added minor touch controls in options and main menu.

Download: https://github.com/joel16/VitaBackup/releases/tag/1.10
 
Last edited by Joel16,
The home button block was still active for me after completing a backup. Had to reboot the system since exiting the application wasn't possible. Nice work otherwise.
 
The home button block was still active for me after completing a backup. Had to reboot the system since exiting the application wasn't possible. Nice work otherwise.

Just tested by backing up everything that was on the default path.txt, didn't happen here. This happens if it fails to backup one of them. Did you modify your path.txt to add anything to it?

Edit: Fixed it. It now unlocks the home button even if the backup process fails to properly read an incorrect entry in path.txt.
 
Last edited by Joel16,
Version 1.10 has been re-uploaded. Please re-download if you haven't. I just needed to make two quick fixes:

- Reset touch positions after using the touch screen (Will not interfere with the buttons anymore)
- Home button will no longer be blocked (even if the backup/restore process fails to read an entry properly)

NMCqG5P.jpg

SFYDQgV.jpg

22DjKvP.jpg

Change-log and Download: https://github.com/joel16/VitaBackup/releases/tag/1.10
 
Last edited by Joel16,
I didn't change anything, but I just set everything to backup. However, ux0:/data/savegames didn't exist. I guess that's what triggered it. Thanks for the quick fix!
 
  • Like
Reactions: Joel16
Version 2.0.0 Released.

Change-log:
  • Fixed bug with app.db not being backed up properly.
  • Use sceIo instead of stdio for i/o handling.
  • Display instructions in backup/restore screens.
  • Removed light theme because it didn't fit well, and just took up a lot of space. (There is no longer a theme mode, because this is just a backup tool, we don't need that here.)
  • Support files larger than 4GB.
  • Add options to delete backup files from the restore menu. (Press cross to select files, then square to delete.)
  • Add 11 levels of compression using miniz. (0 being no compression, which is generally recommended)
  • Add more valuable data to initial backup list. (ur0:/data/VitaBackup/path.txt)

SBImIEe.jpg


xZItFDD.jpg


nlAH8jb.jpg


diftRyg.jpg


ACpGyzn.jpg

https://github.com/joel16/VitaBackup/releases/tag/2.00
 
Last edited by Joel16,
  • Like
Reactions: cvskid

Site & Scene News

Popular threads in this forum