Diablo 2 dc6 image converter using Qt framework.
Check the help message for details.
You can find palettes in d2data.mpq
under data\global\palette\*
. The default one already embedded in the application is data\global\palette\units\pal.dat
.
You will need:
- C++11 compiler.
- Qt 4 or higher.
- Optionally: CMake.
To build from GUI, simply open qdc6.pro
, qdc6.qbs
or CMakeLists.txt
in Qt Creator. The following instructions are for command line.
Standard qmake
approach. Create build directory anywhere you like and run
/path/to/qmake /path/to/qdc6.pro
If you want to build with SVG support (requires respective Qt module), also pass CONFIG+=svg
parameter:
/path/to/qmake CONFIG+=svg /path/to/qdc6.pro
After that use jom
or nmake
on Windows and make
on other OS.
Standard Qbs approach. From the repo directory run
qbs -d /path/to/build/dir
- pass
products.qdc6.svg:true
if you want to build with SVG support (requires respective Qt module) - pass other parameters like
-j
as needed
Standard CMake approach.
cmake -B /path/to/build/dir -S /path/to/source/dir
- pass
-DSVG=ON
if you want to build with SVG support (requires respective Qt module) - pass
"-DCMAKE_PREFIX_PATH=<your Qt directory>"
to find your Qt installation - pass other parameters like
-G
as needed
After that:
cmake --build /path/to/build/dir
Note: using Qt 4 with CMake requires CMake 3.17+.
Got really fed up with:
- dc6con -> pcx (who uses this format nowadays anyway?) -> ImageMagick® to obtain png
- run DC6Creator under wine and make lots of clicks to convert skill icons into separate images
Besides, none of the tools I know allow saving multi-frame dc6 into separate files from command-line.
And it's cross-platform!