Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Python tools for working with Star Citizen data files.

Project description

scdatatools

https://img.shields.io/pypi/v/scdatatools.svg https://img.shields.io/travis/ExterraGroup/scdatatools.svg Documentation Status https://coveralls.io/repos/github/ExterraGroup/scdatatools/badge.svg?branch=devel https://img.shields.io/badge/code%20style-black-000000.svg

Python API for interactive with the data files in Star Citizen.

Warning

This toolsuite is in it’s very early stages and will change often.

Features

  • cli interface
  • TODO

CLI Examples

scdt --help
usage: scdt [-h] [--verbose] [--stderr] [--command-timeout COMMAND_TIMEOUT] [command] ...

positional arguments:
  [command]             Subcommand to run, if missing the interactive mode is started instead.
    cryxml-to-json      Convert a CryXML file to JSON
    cryxml-to-xml       Convert a CryXML file to xml
    unforge             Convert a DataForge file to a readable format
    unp4k               Extract files from a P4K file

API Examples

Read a DataForge database (.dcb)

from scdatatools.forge import DataCoreBinary
dcb = DataCoreBinary('research/Game.dcb.3.9.1-ptu.5229583')
jav_records = dcb.search_filename('*javelin.xml')
print(dcb.dump_record_json(jav_records[-1]))

History

0.1.2 (2020-05-20)

  • Initial commit

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for scdatatools, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size scdatatools-0.1.2-py3-none-any.whl (24.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size scdatatools-0.1.2.tar.gz (26.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page