ComputerElite / QuestAppVersionSwitcher

Allows you to backup and restore apps directly from withing your quest
GNU General Public License v3.0
37 stars 10 forks source link

Diff Patching with obb #56

Closed ComputerElite closed 5 months ago

ComputerElite commented 6 months ago

Beat Saber now has obbs and apks. Diff patching will need to be updated to work with both obbs and apks. Possible ways:

  1. Concat apk and obb bytes (ordered by file name alphabetically), diff that, have a list of bytes indecies where to split the apk again
  2. Have different diffs for apk and obb

I prefer the first one because it will be easier to implement most likely. However downgrading will need scroped storage access which afaik was fixed again by Oculus? Would need someone to validate that tho. So if you know lmk here.

ToDo:

ComputerElite commented 6 months ago

Doing first one. I'll probably add diffing functionality to QAVS

ComputerElite commented 5 months ago

switched to providing individual diff files per file as it was easier to implement

ComputerElite commented 5 months ago

Added in 1.15.20