Skip to main content

Wacky

Wacca DataTable files loading + dumping lib

Specifically geared towards files :

  • created by / for UE 4.19
  • split in .uasset + .uexp pairs
  • only containing DataTable exports

Installing

pip install wacky

Command Line Usage

Unpacking

$ wacky unpack [OPTIONS] UASSET UEXP

This converts the useful data inside UASSET and UEXP to a yaml (or json) file you can edit and then use to repack

Options:

  • --json : Output json instead of yaml
  • -o FILENAME, --output FILENAME : Output to a specific file (instead of to stdout)
  • --help: Show a help message and exit.

Modifying

Just use a text editor to change the file you've created with the previous command

Repacking

$ wacky repack [OPTIONS] SRC_UASSET SRC_UEXP NEW_DATA DST_UASSET DST_UEXP

This creates new modified .uasset and .uexp files by using SRC_UASSET and SRC_UEXP as templates and applying the changes specified by NEW_DATA

Options:

  • --help: Show a help message and exit.

Python API

>>> from wacky import load, dump
>>> package = load(uasset=open(..., "rb"), uexp=open(..., "rb"))
>>> ... # Do stuff with `package`
>>> dump(package, uasset=open(..., "wb"), uexp=open(..., "wb"))

Folder Contents

File / Folder Description
src/ Sources
tests/ unit tests, with example .uasset and .uexp files
utils/ Things worth keeping around
.flake8 Flake8 config
.gitignore list of file patterns git ignores
CHANGELOG.md Changelog
poetry.lock Precise info about every dependency or sub-dependency, generated by poetry, don't modify yourself
pyproject.toml Projet description file, mostly managed by poetry
README.md The file you are reading right now
UE4.ksy  Definition of the .uasset + .uexp file structure using Kaitai Struct, for documentation and preservation purposes

Release files for wacky 1.0.2

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

Source distribution (sdist)

Source distribution for wacky 1.0.2
File Size Uploaded
wacky-1.0.2.tar.gz 21.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wacky 1.0.2
File Interpreter ABI Platform
wacky-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 45.6 kB

Release files / wacky-1.0.2.tar.gz

Download URL wacky-1.0.2.tar.gz
Size 21.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ce16aa361548de82acc31f316f8ed20b5260101305ff5f6653658d8c6f7c1f2e
BLAKE2b-256 checksum
How to use checksums
f5c6d5b19f58bb478090dddd4f1ae3ad7f29c32b92fc34543cb4222d1494e20a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.6 Linux/5.15.0-83-generic

Release files / wacky-1.0.2-py3-none-any.whl

Download URL wacky-1.0.2-py3-none-any.whl
Size 24.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2edaf481ddc59338d0badf0d0c61bcd25481efca76a0872e59aec8eaf742c94
BLAKE2b-256 checksum
How to use checksums
f64f474912c36475ebd92ce0a5b7f582e2d5a7a18c5d52bf6923a21353745afd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.6 Linux/5.15.0-83-generic

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.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