This repository has been archived by the owner on Sep 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.yml
69 lines (66 loc) · 2.61 KB
/
example.yml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
- game: test
app_ver: "01.03"
patch_ver: "1.0"
name: "test"
author: "test"
note: "tests"
arch: orbis
enabled: True # Todo: move this to a separate file
patch_list:
# - [ syntax ]
# - [ Generic Base : 0x0 ] # beginning of file
# - [ Cell Elf Base : 0x10000 ] # elf base
# - [ Orbis Elf Base : 0x400000 ] # disabled aslr base
# - [ Orbis only accepts disabled aslr address (i.e from PS4 Cheater, Ghidra or IDA). ]
# - [ patch_type, ElfAddr, "HexByteArray" (orbis or generic only) ]
- [ bytes, 0x400000, "90c3be00" ] # spaces doesn't matter
- [ bytes, 0x40000c, "90 c3 be 00" ] # spaces doesn't matter
- [ utf8, 0x400004, "My utf8 string!" ]
- [ utf16, 0x400014, "My utf16 string!" ]
- [ float32, 0x400018, 0.0333333333 ]
- [ float64, 0x400020, 0.5 ]
- [ bytes32, 0x400080, 0x60000000 ]
- [ bytes64, 0x400084, 0x6000000060000000 ]
# Metadata
- game: "Game Title" # Game Title
app_ver: "01.00" # Game Version
patch_ver: "1.0" # Patch Version
name: "Patch Title" # Patch Name
author: "Author1, Author2, etc.." # Patch Author(s) (optional)
note: "Patch notes." # Patch Notes (optional)
enabled: True # Must be False in database. (True, False)
arch: cell # Patch architecture (cell, orbis, generic)
patch_list:
# Patch contents:
# Supported types:
# bytes (byte array), utf8, utf16 string
# byte, bytes16, bytes32, bytes64 (hex or int)
# float32, float64
# - [ Generic Offset Base : 0x0 ] # beginning of file
# - [ Cell Elf Base : 0x10000 ] # elf base
# - [ Orbis Elf Base : 0x400000 ] # disabled aslr base
# Examples:
- [ utf8, 0x10000, "My utf8 string!" ]
- [ utf16, 0x12000, "My utf16 string!" ]
- [ bytes, 0x200c8, "60 00 00 00" ]
- [ bytes, 0x200cc, "60000000" ]
- [ byte, 0x20088, 0xFF ]
- [ bytes16, 0x20084, 0xF00D ]
- [ bytes32, 0x20080, 0x60000000 ]
- [ bytes64, 0x20080, 0x6000000060000000 ]
- [ float32, 0x1002c, 0.5 ]
- [ float64, 0x20090, 0.5 ]
- game: "Game Title3"
app_ver: "00.00"
patch_ver: "1.0"
name: "Patch Title4"
author: "having skill"
note: "issues"
enabled: True # Todo: move this to a separate file
arch: generic
patch_list:
- [ bytes, 0x20040, "60 00 55 00" ]
- [ float32, 0x20044, 0.5 ]
- [ float64, 0x20048, 0.5 ]
- [ utf8, 0x20050, "testing out the generic type text" ]
- [ utf16, 0x12000, "My utf16 string!" ]