Skip to main content

Library for handling 3ds exheader files

Project description

exheader

This is a simple python library allowing to load, modify and save 3ds exheader files. Not all settings are supported (those will throw an exception on load) or easily modifyable yet.

Installation

Run the following to install:

pip install exheader

Usage

from exheader import Exheader

exh = Exheader()

# Load exheader from file
f_in = open('exheader.bin', 'rb')
exh.unpack_from(f_in.read())
f_in.close()

# Print the application tite
print(exh.sci.app_title)

# Change the application title
exh.sci.app_title = 'MyApp'

# Print allowed SVCs
print(exh.aci.arm11_kernel_caps.svcs)

# Add SVC 0x70
exh.aci.arm11_kernel_caps.svcs.add(0x70)

# Write modified exheader to file
f_out = open('exheader_out.bin', 'wb')
f_out.write(exh.pack())
f_out.close()

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

exheader-0.0.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

exheader-0.0.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file exheader-0.0.1.tar.gz.

File metadata

  • Download URL: exheader-0.0.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for exheader-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ded8ac6766afbcf0ceb9c44473ff9d95facb423fe638d69508f25e77a1598644
MD5 29b780da30ba22552ce365363da20d4c
BLAKE2b-256 4e313e699c47512bc7092dc22ee0dce4cea4b17f627416e8f0060e52c28187c8

See more details on using hashes here.

File details

Details for the file exheader-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: exheader-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for exheader-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fde4fee0f6f3f9d01abe3c3caafe2d99d07c5644d72b1fa1f86624cb8bc8cc9a
MD5 9dd5d8ac8adce4d8448d2f5f4d4201ff
BLAKE2b-256 7139ac0e97506844f88806ec01eeda1093ea29d8f80e2c1bb2a7a069784eca19

See more details on using hashes here.

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