-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathYOPA.txt
45 lines (36 loc) · 1.02 KB
/
YOPA.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
.YOPA format
1. File Structure
----------------
[7zip stuff]
...
[patch information]
[actual patch package]
...
[header info]
2. Header Information
-----------------
struct YOPA_header {
uint32_t supported_archs[10];
fpos_t patch_offsets[50];
int package_version;
char package_signature;
char cracker_name[100];
char cracker_message[4096];
}
package_signature - unique signature of this package
cracker_name - self explainatory
cracker_message - message that will be presented to the user upon installation
supported_archs - supported architectures of app
3. Patch Information
--------------------
struct YOPA_patch {
char old_package_signature;
int old_package_version;
int patch_size;
}
3. download process
---------------------
downloader will first download the header and parse the plist
if an update is possible, it'll download the patch files and complete
if an update isn't possible, it'll continue to download the patch files but not save it and only save the installation portion
if the user is using