Skip to main content

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

Project description

libdiva

a Project Diva format library and command-line tool

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 .

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

supported formats

libdiva supports the following formats:

  • dlt: format used on the PS3 and Vita onwards, has information about files inside of DLC
  • 'DIVAFILE': encryption format used in F 2nd and X
  • 'FARC': compression format used in F 2nd and X

usage examples

libdiva dlt --write file.dlt --entries "data"

libdiva divafile --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
  • refactor codebase
  • 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.3.tar.gz (18.0 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.3-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for libdiva-0.1.3.tar.gz
Algorithm Hash digest
SHA256 435770291d41d3d0c0d60a4599ddd7ebe491afacca4a286169d8968a40126852
MD5 231523c219fec3ac5d2dd8a9e15f54e1
BLAKE2b-256 f69b3ed69d488262c42a16ee3235732324efc7ac802bfdd53c4e4e10731d055a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for libdiva-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8418d807f1271b2beef42203e29411b9ffe046e890f558d4853dc1dbdba6f33c
MD5 be1d10697981d6195269ccab2ba4ab19
BLAKE2b-256 b6bd9e86e5b9a8a910c721a850aea82690633e0a424cb4894713b64a603b97a7

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