Coder Social home page Coder Social logo

pydofus's Introduction

PyDofus Tools

Python 3 scripts to pack/unpack Dofus files

  • d2i
  • d2p
  • d2o (unpack only)
  • dlm
  • dx
  • ele (unpack only)
  • swl

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

pydofus's People

Contributors

luaxy avatar marvinroger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pydofus's Issues

Elements

O unpack do elements.ele ainda funciona ? ( versão 2.35 )

Está dando erro:
file = sys.argv[1]
IndexError: list index out of range

D2i pack

Hey LuaxY

I test one time to pack a json generated with your tool, but when I pack the file has a big size than original, and it don't work on the client, this corrupt the file (Dofus 2.33)

Error EleUnpack

Bonjour, j'ai actuellement un problème avec le ele_unpacker, il m'affiche ceci :
Traceback (most recent call last):
File "C:\Users\wilfried\Desktop\PyDofus-master\ele_unpack.py", line 7, in
file = sys.argv[1]
IndexError: list index out of range

J'ai bien le fichier ele dans le input.

AttributeError: 'CellData' object has no attribute '_map'

Hello out of 11460 .dlm files i was able to unpack into only 11393 .json files.
67 files failed with this error:
File "C:\PyDofus\test\pydofus\dlm.py", line 379, in read
self._map.topArrowCell.append(self.cellId)
AttributeError: 'CellData' object has no attribute '_map'

These are some of the failing files:108004870.dlm 108928780.dlm, 113508865.dlm. ecc.
All from the latest dofus version.

Here a screenshot: http://puu.sh/nAS86/3e3ef239ce.png

By the way can you explain me when and for what are used in dofus ? self.topArrowCell = [], self.bottomArrowCell = [], self.leftArrowCell = [], self.rightArrowCell = []
Thank you!

CompressedCell

Hello , you have a tool for creating CompressedCell?
Or how can I create them by dlm?
Thank you.

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.