Skip to main content

Yet Another PBO Library

Yapbol is yet another pbo library to unpack and/or modify PBO files used by the game Arma 3.

Installing

pip install yapbol

Usage

Read the contents of a file in the PBO

from yapbol import PBOFile

pbo = PBOFile.read_file('filepath.pbo')

# Get metadata.hpp file, that's encoded in utf-8, from the PBO
file = pbo['metadata.hpp']
print('File contents: ', file.data.decode('utf-8'))

Print the contents of a PBO file

from yapbol import PBOFile

pbo = PBOFile.read_file('filepath.pbo')

for file in pbo:
    print('File name: ', file.filename)

Modify and save the PBO

from yapbol import PBOFile

pbo = PBOFile.read_file('filepath.pbo')

# TODO: Modify the file here

pbo.save_file('filepath.repack.pbo')

Release files for yapbol 0.2

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

Source distribution (sdist)

Source distribution for yapbol 0.2
File Size Uploaded
yapbol-0.2.tar.gz 16.8 kB Details

Built distribution (wheel)

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

Total release size: 33.7 kB

Release files / yapbol-0.2.tar.gz

Download URL yapbol-0.2.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8efddfd51180521dcd55306d431d6a4490abd12bc106255e63225221b840fdd5
BLAKE2b-256 checksum
How to use checksums
aec41570f26060a4640086e63e2bca3f6434d89847ae7db7fc4c8849ff5f627e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.3

Release files / yapbol-0.2-py3-none-any.whl

Download URL yapbol-0.2-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b3ca056a549723b63e12f30f25a03565472242605d2544a3051e21e4ca9151df
BLAKE2b-256 checksum
How to use checksums
43aa68405e134efebfc1c876c5ef04a76ea077fd38cb9882544368deba92c327
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.3

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1

1 release file

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