Skip to main content

ff-unity-sprite

Decode Unity UI sprite data from Free Fire asset files into clean Python objects. Simple, fast, no drama.

Install

Install straight from GitHub:

pip install git+https://github.com/0xMe/ff-unity-sprite.git

Usage

from ff_unity_sprite import extract

sprites = extract("example.bin")

for sprite in sprites:
    print(sprite)

Save as JSON

import json
from dataclasses import asdict

from ff_unity_sprite import extract

sprites = extract("example.bin")

with open("sprites_output.json", "w", encoding="utf-8") as f:
    json.dump(
        [asdict(sprite) for sprite in sprites],
        f,
        indent=4,
        ensure_ascii=False,
    )

Example Output

Want to see what the output looks like?

View the example JSON

Requirements

  • Python 3.10+
  • UnityPy

Metadata

Release files for ff-unity-sprite 1.0.0

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

Source distribution (sdist)

Source distribution for ff-unity-sprite 1.0.0
File Size Uploaded
ff_unity_sprite-1.0.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ff-unity-sprite 1.0.0
File Interpreter ABI Platform
ff_unity_sprite-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.6 kB

Release files / ff_unity_sprite-1.0.0.tar.gz

Download URL ff_unity_sprite-1.0.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9c08c8ad44e8b7dbab7005ba4bedaaf3c1d73870ade89d8a34d57f4afbf8ff0a
BLAKE2b-256 checksum
How to use checksums
b85b4372c2585d96dee65ed6934c5f50b48bf39fa5964a800f3fac5cc626a864
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / ff_unity_sprite-1.0.0-py3-none-any.whl

Download URL ff_unity_sprite-1.0.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3db899418a763a69ad8c41df10d7fce899aed5698b73139f8c5e6d62adbee4e2
BLAKE2b-256 checksum
How to use checksums
a00116e16d6ddbf8bdfacd5c850415a90cd1c6aa3fcc9d619de3bb0e0f02db59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.0 This release

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