What is Diffing?¶
diffing / diffpatching is the process of making a JSON file with a set of changes between the original and a modified SZS
This can be done with Switch Theme injector
| Original SZS | Modified SZS | compare files |
|---|---|---|
the output of which may look like the example below:
| JSON file |
|---|
{
"PatchName": "Example DIFFPATCH",
"AuthorName": "SodaSoba",
"TargetName": "ORIGINAL.szs",
"ID": "123456789",
"Files": [
{
"FileName": "blyt/FlcGrpList.bflyt",
"Patches": [
{
"PaneName": "N_PosAll",
"Position": {}
},
{
"PaneName": "NH_Root",
"Position": {
"Y": -50
}
},
{
"PaneName": "N_Top",
"Position": {
"Y": 50
}
}
],
"Materials": [
{
"MaterialName": "T_00",
"ForegroundColor": "00000000"
}
]
}
]
}
this file (diffpatch) can be applied to a SZS file either with Switch Theme injector or with LayoutKit