mwl4 / ConverterPIX

Conversion tool that is able to convert from the game binary formats (.pmx) to the middle formats (.pix) in Euro Truck Simulator 2 & American Truck Simulator.
https://truckersmp.com/
GNU Lesser General Public License v3.0
67 stars 27 forks source link

Error when trying to extract/convert DDS "format R16G16_UNORM(35) is not supported" #57

Closed dariowouters closed 4 months ago

dariowouters commented 4 months ago

Hi,

Program seems to be unable to convert DAF XF euro6 interior model with the /vehicle/truck/daf_xf_euro6/carpaint_n.dds file being the issue due to the dds file being in an unsupported format.

> ./converter_pix.exe -b ./base_vehicle.scs -e ./out -t /vehicle/truck/daf_xf_euro6/carpaint_n.tobj

 ******************************************
 **        Converter PMX to PIX          **
 **       Copyright (C) 2024 mwl4        **
 ******************************************

<error> [dds] /vehicle/truck/daf_xf_euro6/carpaint_n.dds: File cannot be converted, as format R16G16_UNORM(35) is not supported!
<error> [tobj] /vehicle/truck/daf_xf_euro6/carpaint_n.tobj: Unable to convert DDS '/vehicle/truck/daf_xf_euro6/carpaint_n.dds' to non-DXT10 format.
Unable to convert tobj to old formats: /vehicle/truck/daf_xf_euro6/carpaint_n.tobj

Would it be possible to add support for the R16G16_UNORM format? Thanks.

mwl4 commented 4 months ago

Hello, your issue has been addressed in https://github.com/mwl4/ConverterPIX/commit/258b2e06d028640dea971b38503334fe1db338ac commit. Update ConverterPIX executable please. Reopen issue if it is still an issue.