Skip to main content

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

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

Source distribution (sdist)

Source distribution for tfbpseudo 0.1.3
File Size Uploaded Provenance Actions
tfbpseudo-0.1.3.tar.gz 82.9 kB Without provenance Details for tfbpseudo-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 177.7 kB

Release files / tfbpseudo-0.1.3.tar.gz

Download URL tfbpseudo-0.1.3.tar.gz
Size 82.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9cb2a40763226e2f6e94e334a8033c409ec2d1c32b3f470f836ef46d4bf3a7f8
BLAKE2b-256 checksum
How to use checksums
0dce6e0d8db61ab1a591ac7bc6369de7ae7a0764026c7cf8f57d670b6567801c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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.3-py3-none-any.whl

Download URL tfbpseudo-0.1.3-py3-none-any.whl
Size 94.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e85fd11aa051fdfd9f4cb62a4a536b7dd679e7e9d9da408820e308bb36f59c7b
BLAKE2b-256 checksum
How to use checksums
d10936db2f997365717cd2ccff4077e05e7ed99eda40e599b47599f873cda334
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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.3

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.

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