From ccc94446df2288b8b009e35f759444b7b774c38a Mon Sep 17 00:00:00 2001 From: Rebecca Palmer Date: Wed, 10 Sep 2014 20:13:24 +0100 Subject: [PATCH] fgdata_checkers: don't convert ocean_depth_1 to dds (fix for black water near shore at effects>=4) --- fgdata_checkers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fgdata_checkers.py b/fgdata_checkers.py index 9de597c..fc5942b 100644 --- a/fgdata_checkers.py +++ b/fgdata_checkers.py @@ -463,7 +463,7 @@ unknown.rgb (probably Textures/ or Textures/Terrain/, neither exists) Aircraft/Instruments/Textures/nd-symbols.png (doesn't actually exist),Aircraft/Instruments/Textures/compass-ribbon.rgb,Aircraft/Instruments/Textures/od_wxradar.rgb,Aircraft/Instruments/Textures/od_wxradar.rgb,Aircraft/Instruments/Textures/wxecho.rgb,Aircraft/Instruments/Textures/od_groundradar.rgb (doesn't actually exist) also, Aircraft/{Instruments,Instruments-3d,Generic} may be used by downloaded aircraft, and Docs images are used in .html Nasal (Canvas map) probably wouldn't break anything, but guessing it's a bad idea visually""" - no_compress_pattern=re.compile(r'mask|light|relief|nmap|nm\.|normal|dudv|^Splash[0-9].png$|^buildings.png$|^buildings-lightmap.png$|^world.topo.bathy.200407.3x4096x2048.png$')#edge blurring from lossy compression may break masks, and this script doesn't know how to create DDS normal maps + no_compress_pattern=re.compile(r'mask|light|relief|nmap|nm\.|normal|dudv|^Splash[0-9].png$|^buildings.png$|^buildings-lightmap.png$|^world.topo.bathy.200407.3x4096x2048.png$|^ocean_depth_1.png$')#edge blurring from lossy compression may break masks (converting ocean_depth_1.png is known to give black water near shore at effects>=4), and this script doesn't know how to create DDS normal maps no_compress_dirs=("gui","Docs","webgui","Nasal","Textures/Sky","Aircraft/Instruments","Aircraft/Instruments-3d","Aircraft/Generic") exclude_dirs=[".git","Textures/Unused"] exclude_unnamed_subdirs=["Aircraft"]#these are a separate mechanism from subtree_class/exclude_parts mostly to save time (subtree_class still fully scans excluded directories because the class may change again further down the tree, e.g. AI/Aircraft ai -> performancedb.xml base; these don't)