Metadata-Version: 2.1
Name: botw-havok
Version: 0.3.2
Summary: A library for manipulating Breath of the Wild Havok packfiles
Home-page: https://github.com/krenyy/botw_havok
Author: kreny
Author-email: kronerm9@gmail.com
License: UNKNOWN
Description: # botw_havok
        
        A library for converting Breath of the Wild Havok packfiles to JSON and back.
        
        The main purpose of this library is deserializing Havok packfiles into a universal JSON file that can be converted to both Wii U and Switch packfiles.
        
        HKX -> JSON conversion:
        ```py
        from botw_havok import Havok
        
        hk = Havok.from_file('A-1-0.hksc')
        hk.deserialize()
        hk.to_json('A-1-0.json', pretty_print=True)
        ```
        
        JSON -> HKX conversion:
        ```py
        from botw_havok import Havok
        
        hk = Havok.from_json('A-1-0.json')
        hk.to_switch() # or hk.to_wiiu()
        hk.serialize()
        hk.to_file('A-1-0.hksc')
        ```
        
        The library also comes with two commands: `hk_to_json` and `json_to_hk`
        
        You can learn how to use them by appending `--help` flag
        
        ---
        
        At the moment, only Havok Physics files (.hksc, .hkrb, .hktmrb) work. Most of them should deserialize and serialize flawlessly and should be nearly identical to the originals (except the pointer section ordering which should be irrelevant).
        
        The library is currently highly experimental, so expect bugs!
        
        It's also really messy. Forgive me.
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
