Git Product home page Git Product logo

pakdump's Introduction

V8 Pak Dump

Build Status Documentation Status Python Version Code style: black

Dump the data from .pak files for GFDM V8

Usage

I decided not to push this to PyPI for now, so if you want to use it you can just install it into a virtualenv like so:

cd pakdump
python -m venv venv
. venv/bin/activate

pip install --upgrade pip
pip install -e .

Then you can use the two commands: pakdump and mdbdump. Please see the documentation for more information.

pakdump

Extract files from the GFDM V8 data files.

mdbdump

Decrypt and extract the data out of the mbde.bin data file which can be extracted from the data files with pakdump.

mdbcreate

Read in JSON encoded MusicDB data, encrypt it and dump it into the binary mdbe.bin format.

MusicDB Modification

First you want to decrypt your mdbe.bin file with mdbdump:

$ mdbdump -i mdbe.bin -o . -f -t JSON -p
Writing: /Users/573dev/Documents/pakdump/mdb.json

Then you can open up mdb.json and modify it to your hearts content. When you are done, and want to convert it back into mdbe.bin you can use mdbcreate:

$ mdbcreate -i mdb.json -o mdbe_new.bin -f
Writing: /Users/573dev/Documents/pakdump/mdbe_new.bin

Now just replace the original mdbe.bin with the new mdbe_new.bin (remember to rename it to mdbe.bin) and you should be good to go.

License

pakdump is provided under an MIT License.

pakdump's People

Contributors

haste avatar 573dev avatar

Watchers

 avatar

Forkers

haste

pakdump's Issues

Windows path separator breaks a few things

I don't really expect a fix here, but if you want to I won't complain ๐Ÿ˜

Usage of Path objects means that on windows, joining with a / 'b' actually results in a\b, which breaks two things: the crc calculation (resulting in "missing file" for every file), and output folder selection (it doesn't detect and strip the root slash).

My kludgey hotfixes...

dumper.py:169:

filepath = self.entries[key].filename.replace('\\','/')

dumper.py:245:

filebytes = bytearray(str(filename).replace('\\','/'), "ASCII")

dumper.py:254:

filestr = str(filename).replace('\\','/')

A more elegant solution would probably use PurePosixPath instead of the os-dependant Path.

For unknown request in v8 server

Hi 573dev,

i have finally edited a lot of code to make it works.

first , i see you should hardcoded all skills point and card profile.

so it not works anymore.

why i still working on it because it was a good memories in drummania v8.

but it doesnt work anymore...

anyway thanks for your help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.