Skip to main content

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.

Here's an example of HKX -> JSON conversion:

from botw_havok import Havok

hk = Havok.from_file('A-1-0.hksc')
hk.to_json('A-1-0.json')

Here's an example of JSON -> HKX conversion:

from botw_havok import Havok

hk = Havok.from_json('A-1-0.json')
hk.to_switch() # or hk.to_wiiu()
hk.to_file('A-1-0.hksc')

At the moment, only Havok Physics files (.hksc, .hkrb, .hktmrb) work. All 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.

Release files for botw-havok 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for botw-havok 0.1.4
File Size Uploaded
botw_havok-0.1.4.tar.gz 35.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for botw-havok 0.1.4
File Interpreter ABI Platform
botw_havok-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 108.4 kB

Release files / botw_havok-0.1.4.tar.gz

Download URL botw_havok-0.1.4.tar.gz
Size 35.4 kB
Tags Source
SHA-256 checksum
How to use checksums
40d94477becf86ccb39a9cadbf8923e93f0239503020a7179d6a105e98b7ddff
BLAKE2b-256 checksum
How to use checksums
a2fb8a5da11d26c17ebaee8c0c54bdce87987efdd237dc04352b0c9806e67722
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

Release files / botw_havok-0.1.4-py3-none-any.whl

Download URL botw_havok-0.1.4-py3-none-any.whl
Size 73.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18ddc3700401da1d2f67dfa8feccc453226b77ecf12298c986d6fefd792d0838
BLAKE2b-256 checksum
How to use checksums
fda1eb6b0ab241ae6098ceeb22ce480792b6a016f4c547a6c28536ddf57a39eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

Release history Release notifications | RSS feed

0.3.18

2 release files

0.3.17

2 release files

0.3.16

2 release files

0.3.15

2 release files

0.3.14

2 release files

0.3.13

2 release files

0.3.11

2 release files

0.3.10

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.5

2 release files

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page