jilleb / mib2-toolbox

The ultimate MIB2-HIGH toolbox.
MIT License
621 stars 145 forks source link

[BUG] extract-canim.py not handling Audi file correctly #269

Open mrfixpl opened 7 months ago

mrfixpl commented 7 months ago

Describe the bug When running the extract-canim.py on a RS3_5_Tuerer_quattro_NavigationPlus.canim file, output file img_0.png seams to be incorrect. Script output reports file size 1536000 bytes, when output file img_0.png is actually 11159 bytes and visually exactly the same as file img_1.png.

To Reproduce Steps to reproduce the behavior:

  1. Run python3 ~/extract-canim.py RS3_5_Tuerer_quattro_NavigationPlus.canim ~/output
  2. Check output files img_0.png and img_1.png.

Expected behavior img_0.png file should be the largest one, should containt color car image instead of black mask.

Screenshots Zrzut ekranu 2024-04-5 o 22 13 19

Firmware(please complete the following information):

Mich795 commented 2 months ago

Hello, check this: https://github.com/Mich795/CANIM-Mod-Tool

mrfixpl commented 2 months ago

Extract works all right. But compress doesn’t do a thing for me. No error, just nothing when I press the „compress images” button.