Hacking VitaBackup [WIP]

Joel16

Ils ne passeront pas
OP
Member
Joined
May 8, 2011
Messages
933
Trophies
2
Age
27
Location
Doesn't concern you.
XP
5,295
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,

Joel16

Ils ne passeront pas
OP
Member
Joined
May 8, 2011
Messages
933
Trophies
2
Age
27
Location
Doesn't concern you.
XP
5,295
Country
United States
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.
 

Joel16

Ils ne passeront pas
OP
Member
Joined
May 8, 2011
Messages
933
Trophies
2
Age
27
Location
Doesn't concern you.
XP
5,295
Country
United States
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,

Joel16

Ils ne passeront pas
OP
Member
Joined
May 8, 2011
Messages
933
Trophies
2
Age
27
Location
Doesn't concern you.
XP
5,295
Country
United States
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,

sincaz

New Member
Newbie
Joined
Mar 29, 2016
Messages
4
Trophies
0
Age
47
XP
91
Country
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.
 

Joel16

Ils ne passeront pas
OP
Member
Joined
May 8, 2011
Messages
933
Trophies
2
Age
27
Location
Doesn't concern you.
XP
5,295
Country
United States
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,

Joel16

Ils ne passeront pas
OP
Member
Joined
May 8, 2011
Messages
933
Trophies
2
Age
27
Location
Doesn't concern you.
XP
5,295
Country
United States
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,

sincaz

New Member
Newbie
Joined
Mar 29, 2016
Messages
4
Trophies
0
Age
47
XP
91
Country
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

Joel16

Ils ne passeront pas
OP
Member
Joined
May 8, 2011
Messages
933
Trophies
2
Age
27
Location
Doesn't concern you.
XP
5,295
Country
United States
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

General chit-chat
Help Users
  • NinStar @ NinStar:
    there a bunch of good games missing, one of them (which makes a lot of sense for this type of game) was wario woods
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    whoever made flog cared about NES golf
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    i brung that up because i remembered it randomly and it has become my hyperfixation
  • NinStar @ NinStar:
    nes remix 1 had the bad one, nes remix 2 had the good one
  • SylverReZ @ SylverReZ:
    @genistopitauniverfrocrami, What drugs is this dude on?
    +1
  • NinStar @ NinStar:
    CRAZY HAMBURGER
  • The Real Jdbye @ The Real Jdbye:
    @NinStar both nes remix 1 and 2 had some stinkers in there
    +1
  • The Real Jdbye @ The Real Jdbye:
    but at least 2 doesn't have sports games
  • The Real Jdbye @ The Real Jdbye:
    loved nes remix, but hated having to play Baseball, Tennis and Golf in order to progress
    +1
  • The Real Jdbye @ The Real Jdbye:
    or fucking Clu Clu Land for that matter
  • Psionic Roshambo @ Psionic Roshambo:
    Not a big fan of NES kid Icarus either... I know it was popular but I didn't care for it.
  • Psionic Roshambo @ Psionic Roshambo:
    Yesterday I learned my BD Burner drive can burn CD's at 56X lol
  • cearp @ cearp:
    What stuff were you burning?
    I used to burn tons of dvds (data files) many years ago, but haven't burnt a disk in ages.
  • Psionic Roshambo @ Psionic Roshambo:
    My car actually reads MP3 CD's lol
  • Psionic Roshambo @ Psionic Roshambo:
    So mix CDs for myselt :)
  • Psionic Roshambo @ Psionic Roshambo:
    Pantera, Metallica, Hollywood Undead, Five Finger Death Punch, some others lol
  • Psionic Roshambo @ Psionic Roshambo:
    I can put like 90 songs on a CD lol
  • The Real Jdbye @ The Real Jdbye:
    if only it could read dvds then you would just need 1 disc
    +1
  • BakerMan @ BakerMan:
    i tell ya what, i could go for a fuckin gyro right about now
    +1
  • cearp @ cearp:
    I hope your brother is doing ok Mr BakerMan
    +1
  • cearp @ cearp:
    and Psi - I had a cd player / radio that played mp3 cds once, very cool
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    BakerMan yeah me too.... maybe that's gonna be dinner for me there is this place near me I have been dying to try and they have them lol
  • K3Nv2 @ K3Nv2:
    I miss usb mp3 players they were shit but at the time a go to
    K3Nv2 @ K3Nv2: I miss usb mp3 players they were shit but at the time a go to