CLI for Dofus asset downloading and unpacking
Download the latest Dofus 3 data from Ankama and convert the interesting parts to a developer friendly json format:
# Install
curl -s https://get.dofusdu.de/doduda | sh
# Run
doduda && doduda mapSee doduda --help for all parameters.
Tip
You don't need to run the tool yourself for most cases - just look at the automatically updated outputs of all Dofus 3 versions here.
Dofus 3 unpacking just works without installing any additional software.
There may be cases though where you need Docker to be installed and running:
- want to force the legacy Dofus 3 Docker backend (
export DODUDA_UNITY_BACKEND=docker) because of some missed bugs in the native unpacking backend. - want to use the
rendercommand to generate images for Dofus 2.
If you use the Docker backend and have Docker socket problems, the solution is often to find your docker.sock path and link it to the missing path or export your path as DOCKER_HOST environment variable export DOCKER_HOST=unix://<your docker.sock path> before running doduda.
Get the latest doduda binary from the release page.
Go install (needs Go >= 1.21)
You need to have $GOPATH/bin in your $PATH for this to work, so export PATH=$PATH:$(go env GOPATH)/bin if you haven't already.
go install github.com/dofusdude/doduda@latest- Run
dodudawith--headlessin a server environment or automations to avoid "no tty" errors.
To unpack Dofus 2 data, doduda ships a port of the PyDofus project. Thanks to balciseri for the work on PyDofus!
The terminal visualizations are made with vhs.
Many thanks to Ankama for developing and updating Dofus! All data belongs to them. I just make it more accessible for the developer community.
