https://github.com/SamVanheer/HL_Tools/releases/tag/v2.5People asked about the PS2 .dol format again, so i implemented support for it.
When loading a model you can change the filter to PS2 or All Files, then open a dol file. HLMV will convert the format and load it as usual.
You can then save the model as .mdl using the File->Save Model As... option.
The only difference between .mdl and .dol is the texture data storage.
.mdl stores it as an array of palette indices for each pixel, then an RGB palette.
.dol stores it as a 32 byte texture name (filename without extension), an RGBA palette, and then an array of palette indices for each pixel.
Conversion is automatic but does leave a trace, namely the leftover memory that comes after the palette. 256 bytes are left for each texture because the palette is converted from RGBA to RGB. It's a minor thing that you probably won't ever notice, but i can't fix that easily. It won't cause any problems though.
The SharpLife version of model viewer won't have this problem.