LuaxY / PyDofus

Python 3 scripts to pack/unpack Dofus files
6 stars 2 forks source link
d2i dlm dofus ele python swl unpack-dofus-files

PyDofus Tools

Python 3 scripts to pack/unpack Dofus files

Usage

d2i

$ python d2i_unpack.py file.d2i
# file output: file.json
$ python d2i_pack.py file.json
# file output: file.d2i

d2p

$ python d2p_unpack.py
# (all files in input folder)
# folder output: ./output/{all files}.d2p
$ python d2p_pack.py file.d2p
# require original file in input folder and unpacked file in output folder
# file output: ./output/~generated/file.d2p

d2o

$ python d2o_unpack.py
# (all files in input folder)
# folder output: ./output/{all files}.json

dlm

$ python dlm_unpack.py file.dlm
# file output: file.json
$ python dlm_pack.py file.json
# file output: file.dlm

dx

$ python dx_unpack.py file.dx
# file output: file.swf
$ python dx_pack.py file.swf
# file output: file.dx

ele

$ python ele_unpack.py elements.ele
# file output: elements.json

swl

$ python swl_unpack.py file.swl
# file output: file.swf and file.json
$ python swl_pack.py file.swf
# require file.json
# file output: file.swl

Authors

Marvin Roger (marvinroger) : based on his work
Yann Guineau (LuaxY) : automated scripts for pack/unpack dofus files
nowis13 : add d2o and ele unpack support