Python 3 scripts to pack/unpack Dofus files
- d2i
- d2p
- d2o (unpack only)
- dlm
- dx
- ele (unpack only)
- swl
###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
Marvin Roger (marvinroger) : based on his work
Yann Guineau (LuaxY) : automated scripts for pack/unpack dofus files
nowis13 : add d2o and ele unpack support