diff --git a/IOS_KTX_TO_PNG/ios_ktx2png.linux b/IOS_KTX_TO_PNG/ios_ktx2png.linux new file mode 100755 index 0000000..273577c Binary files /dev/null and b/IOS_KTX_TO_PNG/ios_ktx2png.linux differ diff --git a/IOS_KTX_TO_PNG/ios_ktx2png.py b/IOS_KTX_TO_PNG/ios_ktx2png.py index 6b41d70..db2de91 100644 --- a/IOS_KTX_TO_PNG/ios_ktx2png.py +++ b/IOS_KTX_TO_PNG/ios_ktx2png.py @@ -1,4 +1,4 @@ -""" +r""" (c) Yogesh Khatri 2020, MIT License This library converts ios created KTX files to PNG. These are @@ -14,15 +14,24 @@ ship with KTX files that are not of the same type and can't be parsed with this code. - Dependencies + Installing Dependencies (up to Python 3.12) ------------ - pillow, pyliblzfse, astc_decomp - - Install deps via pip: - pip3 install pyliblzfse astc_decomp pillow + Create virtual environment: + python3 -m venv ios_ktx2png + + Enter virtual environment: + *nix: source ios_ktx2png/bin/activate + Windows: ios_ktx2png\Scripts\activate + + Install package deps (pillow, pyliblzfse, astc_decomp_faster) via pip: + pip3 install pyliblzfse pillow astc_decomp_faster + - Usage + Usage (up to Python 3.12) ----- + Enter virtual environment (if not done already): + *nix: source ios_ktx2png/bin/activate + Windows: ios_ktx2png\Scripts\activate python3 ios_ktx2png.py SAMPLE.KTX @@ -31,7 +40,7 @@ See main """ -import astc_decomp +import astc_decomp_faster as astc_decomp import liblzfse import os import struct @@ -244,4 +253,5 @@ def main(): print(f'Had an exception - {str(ex)}') if __name__ == "__main__": - main() \ No newline at end of file + main() + diff --git a/README.md b/README.md index 5d26f48..3ed7dc8 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,6 @@ Darwin folders | darwin_path_generator.py | DARWIN_USER_ folders name generation Deserialize NSKeyedArchive plists | Deserializer/deserializer.py
Deserializer/deserializer.exe | Converts NSKeyedArchive plists to normal (human-readable) plists (Code + compiled exe for windows) Domain (Active Directory) | Domain_Info/Read_ConfigProfiles.py | Reads user profile information for AD domain users from the ConfigProfiles.binary file DotUnderscore ._ files | DotUnderscore_macos.bt | An 010 template for parsing extended attribute files that begin with ._ -Ktx to Png convertor | IOS_KTX_TO_PNG/ios_ktx2png.py
IOS_KTX_TO_PNG/ios_ktx2png.exe | Convert ios created KTX texture images (like app snapshots) to PNG (Code + compiled exe for windows) +Ktx to Png convertor | IOS_KTX_TO_PNG/ios_ktx2png.py
IOS_KTX_TO_PNG/ios_ktx2png.exe
IOS_KTX_TO_PNG/ios_ktx2png.linux | Convert ios created KTX texture images (like app snapshots) to PNG. Python (up to 3.12) code, compiled exe for Windows, compiled binary for Linux Notifications | macNotifications.py | Parse Mac Notifications db Office reg file | Read_OfficeRegDB.py | Parse MS Office created sqlite db (microsoftRegistrationDB.reg)