-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using udifrez instead flatten/rez/unflatten
#109 Based on a thread from dawn2dusk & peterguy https://developer.apple.com/forums/thread/668084
- Loading branch information
Showing
2 changed files
with
132 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>LPic</key> | ||
<array> | ||
<dict> | ||
<key>Attributes</key> | ||
<string>0x0000</string> | ||
<key>Data</key> | ||
<data> | ||
AAAAAgAAAAAAAAAAAAQAAA== | ||
</data> | ||
<key>ID</key> | ||
<string>5000</string> | ||
<key>Name</key> | ||
<string></string> | ||
</dict> | ||
</array> | ||
<key>STR#</key> | ||
<array> | ||
<dict> | ||
<key>Attributes</key> | ||
<string>0x0000</string> | ||
<key>Data</key> | ||
<data> | ||
AAYNRW5nbGlzaCB0ZXN0MQVBZ3JlZQhEaXNhZ3JlZQVQcmludAdT | ||
YXZlLi4ueklmIHlvdSBhZ3JlZSB3aXRoIHRoZSB0ZXJtcyBvZiB0 | ||
aGlzIGxpY2Vuc2UsIGNsaWNrICJBZ3JlZSIgdG8gYWNjZXNzIHRo | ||
ZSBzb2Z0d2FyZS4gIElmIHlvdSBkbyBub3QgYWdyZWUsIHByZXNz | ||
ICJEaXNhZ3JlZS4i | ||
</data> | ||
<key>ID</key> | ||
<string>5000</string> | ||
<key>Name</key> | ||
<string>English buttons</string> | ||
</dict> | ||
<dict> | ||
<key>Attributes</key> | ||
<string>0x0000</string> | ||
<key>Data</key> | ||
<data> | ||
AAYHRW5nbGlzaAVBZ3JlZQhEaXNhZ3JlZQVQcmludAdTYXZlLi4u | ||
e0lmIHlvdSBhZ3JlZSB3aXRoIHRoZSB0ZXJtcyBvZiB0aGlzIGxp | ||
Y2Vuc2UsIHByZXNzICJBZ3JlZSIgdG8gaW5zdGFsbCB0aGUgc29m | ||
dHdhcmUuICBJZiB5b3UgZG8gbm90IGFncmVlLCBwcmVzcyAiRGlz | ||
YWdyZWUiLg== | ||
</data> | ||
<key>ID</key> | ||
<string>5002</string> | ||
<key>Name</key> | ||
<string>English</string> | ||
</dict> | ||
</array> | ||
<key>${EULA_FORMAT}</key> | ||
<array> | ||
<dict> | ||
<key>Attributes</key> | ||
<string>0x0000</string> | ||
<key>Data</key> | ||
<data> | ||
${EULA_DATA} | ||
</data> | ||
<key>ID</key> | ||
<string>5000</string> | ||
<key>Name</key> | ||
<string>English</string> | ||
</dict> | ||
</array> | ||
<key>TMPL</key> | ||
<array> | ||
<dict> | ||
<key>Attributes</key> | ||
<string>0x0000</string> | ||
<key>Data</key> | ||
<data> | ||
E0RlZmF1bHQgTGFuZ3VhZ2UgSUREV1JEBUNvdW50T0NOVAQqKioq | ||
TFNUQwtzeXMgbGFuZyBJRERXUkQebG9jYWwgcmVzIElEIChvZmZz | ||
ZXQgZnJvbSA1MDAwRFdSRBAyLWJ5dGUgbGFuZ3VhZ2U/RFdSRAQq | ||
KioqTFNURQ== | ||
</data> | ||
<key>ID</key> | ||
<string>128</string> | ||
<key>Name</key> | ||
<string>LPic</string> | ||
</dict> | ||
</array> | ||
<key>styl</key> | ||
<array> | ||
<dict> | ||
<key>Attributes</key> | ||
<string>0x0000</string> | ||
<key>Data</key> | ||
<data> | ||
AAMAAAAAAAwACQAUAAAAAAAAAAAAAAAAACcADAAJABQBAAAAAAAA | ||
AAAAAAAAKgAMAAkAFAAAAAAAAAAAAAA= | ||
</data> | ||
<key>ID</key> | ||
<string>5000</string> | ||
<key>Name</key> | ||
<string>English</string> | ||
</dict> | ||
</array> | ||
</dict> | ||
</plist> |
f75cc03
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sidney #62 and #64 were removed when updating the python script in 5eff2ce. I'm now replacing that script with bash code. I'm seeing there's no need to scape/break anything, just letting you know in case you can check the files that were breaking the process are working with the new code.
This new method is more consistent in my tests. The python script crashed with some special characters like
“
.Tested in Mac OS X 10.6, 10.10 and macOS 10.15.7.