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 libdivain 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:
- fork the repo
- clone it using
git clone https://github.com/USERNAME/libdiva (REPLACE 'USERNAME' WITH YOUR OWN!) - create a new branch in the repo
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
435770291d41d3d0c0d60a4599ddd7ebe491afacca4a286169d8968a40126852
|
|
| MD5 |
231523c219fec3ac5d2dd8a9e15f54e1
|
|
| BLAKE2b-256 |
f69b3ed69d488262c42a16ee3235732324efc7ac802bfdd53c4e4e10731d055a
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8418d807f1271b2beef42203e29411b9ffe046e890f558d4853dc1dbdba6f33c
|
|
| MD5 |
be1d10697981d6195269ccab2ba4ab19
|
|
| BLAKE2b-256 |
b6bd9e86e5b9a8a910c721a850aea82690633e0a424cb4894713b64a603b97a7
|