tfbpseudo
Compiler and decompiler for TfbPseudo, a readable text form of the AI scripts (.ai files) in Madagascar (2005, PC).
Decompile a script to text, edit it, and compile it back to a byte-compatible .ai file. The binary format itself is handled by tfbscript.
pip install tfbpseudo # compiler + decompiler
pip install "tfbpseudo[editor]" # plus the Qt editor (tfbeditor)
from tfbscript import ScriptFile
from tfbpseudo import compile_source, decompile_script
source = decompile_script(ScriptFile.from_path("DG_Coin_Collectable.ai"))
# ... edit source ...
script = compile_source(source)
with open("DG_Coin_Collectable.ai", "wb") as f:
script.write(f)
With the editor extra installed, tfbeditor [FILE] opens a TfbPseudo editor with syntax highlighting and completion.
Part of the madagascar-game-asset-tools monorepo.
Metadata
Release files for tfbpseudo 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| tfbpseudo-0.1.2.tar.gz | 82.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tfbpseudo-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 177.7 kB
Release files / tfbpseudo-0.1.2.tar.gz
| Download URL | tfbpseudo-0.1.2.tar.gz |
|---|---|
| Size | 82.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
91f9d1a1895ee80863cf2ad9bb848c6a94b28c06ffb238d350881f8f4d0eb23b
|
|
BLAKE2b-256 checksum How to use checksums |
b5439d8f303d2c040637d28b0e8545fb482d5da0edef5fa6d87187a24b62e298
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / tfbpseudo-0.1.2-py3-none-any.whl
| Download URL | tfbpseudo-0.1.2-py3-none-any.whl |
|---|---|
| Size | 94.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c8374f04aeb6d20647509fe42f5414de585f4ff699ceeb699e78b1ab5b223818
|
|
BLAKE2b-256 checksum How to use checksums |
5e48f10511dd72d5c1aeee7f3b87806c2b74dca925d3e269669c20d650b777dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for tfbpseudo 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.