Wacca DataTable files loading + dumping
Project description
Wacky
Wacca DataTable files loading + dumping lib
Specifically geared towards files :
- created by / for UE 4.19
- split in
.uasset+.uexppairs - 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 |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wacky-1.0.2.tar.gz.
File metadata
- Download URL: wacky-1.0.2.tar.gz
- Upload date:
- Size: 21.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.15.0-83-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce16aa361548de82acc31f316f8ed20b5260101305ff5f6653658d8c6f7c1f2e
|
|
| MD5 |
0d4cdc1f0bdb18e6e177a86181162306
|
|
| BLAKE2b-256 |
f5c6d5b19f58bb478090dddd4f1ae3ad7f29c32b92fc34543cb4222d1494e20a
|
File details
Details for the file wacky-1.0.2-py3-none-any.whl.
File metadata
- Download URL: wacky-1.0.2-py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.15.0-83-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2edaf481ddc59338d0badf0d0c61bcd25481efca76a0872e59aec8eaf742c94
|
|
| MD5 |
a43962eba44e304366fc3ccdae340734
|
|
| BLAKE2b-256 |
f64f474912c36475ebd92ce0a5b7f582e2d5a7a18c5d52bf6923a21353745afd
|