Skip to main content

libdiva - a library for manitpulating files specific to the Project Diva series

Project description

libdiva

library with tools to manipulate file formats found in Project Diva

installation

open a terminal session and install using pip:

pip install libdiva

alternatively, clone the repo and install locally:

git clone https://github.com/Flipleerr/libdiva
cd libdiva
pip install . (add the -e flag if you'd like to contribute)

libdiva should now be installed. test by running libdiva --help.

usage

libdiva supports the following options:

  • --write: create a fresh DLT file with the contents of your choice
  • --read: print an existing DLT file
  • --encrypt: encrypt a file using DIVAFILE
  • --decrypt: decrypt a file encrypted with DIVAFILE
  • --extract: extract a FARC archive

some example of using the CLI tool:

libdiva --encrypt file.txt libdiva --extract file.farc extracted

[!TIP] you can also use libdiva like a proper library by entering import libdiva in your script.

to-do

  • FARC support (extract and repack)
  • DLT boilerplate
  • support for other Project Diva formats (.cpk, Dreamy Theater and F files, etc.)
  • proper documentation or wiki
  • a verbose option (-v or --verbose)

[!NOTE] feel free to try your hand at any of these issues - any improvements help!

contributing

all contributions to libdiva are welcome! to start:

  1. fork the repo
  2. clone it using git clone https://github.com/USERNAME/libdiva (REPLACE 'USERNAME' WITH YOUR OWN!)
  3. create a new branch in the repo
  4. make your changes

then submit a pull request!

[!IMPORTANT] keep in mind that GitHub Actions will automatically lint your code when creating a pull request. if pylint fails, you'll be asked to fix the issues before merging. you can run pylint locally to check before pushing.

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

libdiva-0.1.2.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

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

libdiva-0.1.2-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: libdiva-0.1.2.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for libdiva-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0d89e64b1e6d1588c8eb9748deaa586536693a6aeb985cceb73ccc1b9d776549
MD5 5804a98a7d6107b9a6a962d1502277bd
BLAKE2b-256 ed06add4e1521aeba0abe1b88ea90e086f8444ff966760c0b8119f1c881eed4a

See more details on using hashes here.

File details

Details for the file libdiva-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: libdiva-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for libdiva-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9d03ae46e160b87503f06ef1287266c1ce63597079b7f7ca33e512802cd70d7c
MD5 d92b44ae44ffa7806136239b75a7a5f6
BLAKE2b-256 bf0c6617152d3b7f00238d3bc6cd24af8b2b1847fa12e32b43e480b2bc7e86fd

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