1665164526.FILE5_43-57-g39ef647c.comment-out-degas-entries-because-they-get-mixed-with-python-pickle-files.patch 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. Subject: Comment out DEGAS entries because they get mixed with python pickle files
  2. Origin: FILE5_43-57-g39ef647c <https://github.com/file/file/commit/FILE5_43-57-g39ef647c>
  3. Upstream-Author: Christos Zoulas <christos@zoulas.com>
  4. Date: Fri Oct 7 17:42:06 2022 +0000
  5. --- a/magic/Magdir/images
  6. +++ b/magic/Magdir/images
  7. @@ -1528,17 +1528,19 @@
  8. >>>>>>0 use degas-bitmap
  9. # last character of Adobe PhotoShop Brush UTF16-LE note
  10. #>>>>>&-4 ubelong&0x00FF0000 >0x001F0000 \b, THAT IS ABR
  11. +
  12. +# Commented out because they are weak
  13. # DEGAS low-res compressed bitmap *.pc1 like: BATTLSHP.PC1 GNUCHESS.PC1 MEDUSABL.PC1 MOONLORD.PC1 WILDROSE.PC1
  14. -0 beshort 0x8000
  15. +#0 beshort 0x8000
  16. # skip lif files handled via ./lif by test for unused bits of 1st palette entry
  17. ->2 ubeshort&0xF000 0
  18. ->>0 use degas-bitmap
  19. +#>2 ubeshort&0xF000 0
  20. +#>>0 use degas-bitmap
  21. # DEGAS mid-res compressed bitmap *.pc2 like: abydos.pc2 ARTIS3.PC2 SMTHDRAW.PC2 STAR_2K.PC2 TX2_DEMO.PC2
  22. -0 beshort 0x8001
  23. ->0 use degas-bitmap
  24. +#0 beshort 0x8001
  25. +#>0 use degas-bitmap
  26. # DEGAS high-res compressed bitmap *.pc3 like: abydos.pc3 COYOTE.PC3 ELEPHANT.PC3 TX2_DEMO.PC3 SMTHDRAW.PC3
  27. -0 beshort 0x8002
  28. ->0 use degas-bitmap
  29. +#0 beshort 0x8002
  30. +#>0 use degas-bitmap
  31. # display information of Atari DEGAS and DEGAS Elite bitmap images
  32. 0 name degas-bitmap
  33. >0 ubyte x Atari DEGAS