Skip to main content

Unity global-metadata.dat stringliteral editor with Go backend and Python bindings

Project description

Meta String Editor

A simple editor for Unity IL2CPP global-metadata.dat files, allowing you to inspect and modify string literals.

Available as both a Go library/CLI and Python binding package, making it easy to cross platform and integrate with Python scripts.

Quick Start

Use CLI

You can download the pre-built executable in GitHub Release, or use the wrapped library distributed along with Python package.

pip install metastringedit

Usage

> ./metastringedit
Usage:
  metastringedit <file_path> [flags]

Flags:
  -d, --dump               Dump all strings to JSON
  -e, --edit stringArray   Edit strings (format: nth=value, can input multiple pairs)
  -h, --help               help for metastringedit
  -i, --info               Show metadata file information (default)
  -l, --list string        List strings:
                           - [page:num] for pagination, e.g. 0:20
                           - [nth] for single string, e.g. 3
                           - [start-end] for range, e.g. 1-20
  -o, --output string      Output file path
  -r, --regex string       Search for strings using regex
  -s, --search string      Search for strings (case-insensitive substring)

As Library

See examples.

Development

Requirements:

  • Python 3.9+
  • Go 1.17+

Building

Go CLI

cd cli && go build .

Python wheel

uv build

Running Tests

Go

go test -v

Python

# Build shared library first. Here is Linux example
cd binding && go build -o metastringedit.so -buildmode=c-shared . && cd ..

uv sync --extra dev --no-install-project
pytest

Acknowledgments

https://github.com/Perfare/Il2CppDumper
https://github.com/JeremieCHN/MetaDataStringEditor
GitHub Copilot

License

MIT

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

metastringedit-0.1.2.tar.gz (15.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

metastringedit-0.1.2-py3-none-win_amd64.whl (2.3 MB view details)

Uploaded Python 3Windows x86-64

metastringedit-0.1.2-py3-none-manylinux_2_17_x86_64.whl (2.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

metastringedit-0.1.2-py3-none-manylinux_2_17_aarch64.whl (2.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

metastringedit-0.1.2-py3-none-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

metastringedit-0.1.2-py3-none-macosx_10_9_x86_64.whl (1.2 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file metastringedit-0.1.2.tar.gz.

File metadata

  • Download URL: metastringedit-0.1.2.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for metastringedit-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c81a8c2afef59170fc848de3833bb3d1e39284d132c93f6293c52ff0e5dcdada
MD5 c0f05cb01e889ec108d2d38a083c1035
BLAKE2b-256 9d5053b03dc491d38dd75ddfb3859a9bcc9811a0a2e9d4cf74844fc01d240f78

See more details on using hashes here.

Provenance

The following attestation bundles were made for metastringedit-0.1.2.tar.gz:

Publisher: py-publish.yml on MiddleRed/meta-string-edit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file metastringedit-0.1.2-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for metastringedit-0.1.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8068d64bee3c3c6cdcf80859014af59d7f618814c7fc2bc972d7814897d2cfe2
MD5 413cd373ad603edb9879b11cea6a7896
BLAKE2b-256 6ab011a59aee3c2e151833c039e88f2a919f9350ebee71b5c6eef2388f36e14e

See more details on using hashes here.

Provenance

The following attestation bundles were made for metastringedit-0.1.2-py3-none-win_amd64.whl:

Publisher: py-publish.yml on MiddleRed/meta-string-edit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file metastringedit-0.1.2-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for metastringedit-0.1.2-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 e54cd4326537577091212bc4acdcb6ed7c26adb42deac403befd8909dbafbc00
MD5 eaf3a9ea38830944596e27cf3a610f84
BLAKE2b-256 92a2e805b347b593d4e674edadc71e9fef810ef5f8e0bb79281396b28217ca78

See more details on using hashes here.

Provenance

The following attestation bundles were made for metastringedit-0.1.2-py3-none-manylinux_2_17_x86_64.whl:

Publisher: py-publish.yml on MiddleRed/meta-string-edit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file metastringedit-0.1.2-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for metastringedit-0.1.2-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 1f77c19e71f3ad5d302639118c6fd2c508812b0f69ad03e5291afeaeb2d6ffb9
MD5 03a6f2fc937e5070205e8f734dce081b
BLAKE2b-256 aec5260cd3f822e7817227fda5791e05249bcf5eedb1dec9195e79555ab094ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for metastringedit-0.1.2-py3-none-manylinux_2_17_aarch64.whl:

Publisher: py-publish.yml on MiddleRed/meta-string-edit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file metastringedit-0.1.2-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for metastringedit-0.1.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 43a73b39e9e5bd0d7dcb043e61ea2b6c16d62c9591d4bac2ac08f1a6db7cce94
MD5 aa8626c783d5e2f5fde1588e54adb94c
BLAKE2b-256 211b164a72cc90d68beec1553bd40dc00e78ff87a762fd73f74deb0a209bd423

See more details on using hashes here.

Provenance

The following attestation bundles were made for metastringedit-0.1.2-py3-none-macosx_11_0_arm64.whl:

Publisher: py-publish.yml on MiddleRed/meta-string-edit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file metastringedit-0.1.2-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for metastringedit-0.1.2-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7e15ec45b1a53d2d637a7c684cf9fec1ae1ee51193e56ed76746d6cc9cfca5c4
MD5 39ccb446bccef9230aaf2bb97696df52
BLAKE2b-256 3961eeacee5e0eddaa53757c459c0b04cc9ab93dbbbdd2bdda17007414ed1a17

See more details on using hashes here.

Provenance

The following attestation bundles were made for metastringedit-0.1.2-py3-none-macosx_10_9_x86_64.whl:

Publisher: py-publish.yml on MiddleRed/meta-string-edit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page