AssetProcessorPlatformConfig.setreg 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490
  1. {
  2. // ---- Enable/Disable platforms for the entire project. AssetProcessor will automatically add the current platform by default.
  3. // PLATFORM DEFINITIONS
  4. // [Platform (unique identifier)]
  5. // tags=(comma-seperated-tags)
  6. //
  7. // note: the 'identifier' of a platform is the word(s) following the "Platform" keyword (so [Platform pc] means identifier
  8. // is 'pc' for example. This is used to name its assets folder in the cache and should be used in your bootstrap.cfg
  9. // or your main.cpp to choose what assets to load for that particular platform.
  10. // Its primary use is to enable additional non-host platforms (Ios, android...) that are not the current platform.
  11. // note: 'tags' is a comma-seperated list of tags to tag the platform with that builders can inspect to decide what to do.
  12. // while builders can accept any tags you add in order to make decisions, common tags are
  13. // tools - this platform can host the tools and editor and such
  14. // renderer - this platform runs the client engine and renders on a GPU. If missing we could be on a server-only platform
  15. // mobile - a mobile platform such as a set top box or phone with limited resources
  16. // console - a console platform
  17. // server - a server platform of some kind, usually headless, no renderer.
  18. "Amazon": {
  19. "AssetProcessor": {
  20. "Settings": {
  21. "Stats": {
  22. // Setting MachineReadable to true will output stats in more of a CSV-like format that is ideal for script ingestion
  23. "MachineReadable" : false,
  24. // Setting HumanReadable to true will output stats in a friendly human format that is ideal for human reading
  25. "HumanReadable" : true,
  26. // To turn off stats output entirely, set both HumanReadable and MachineReadable to false.
  27. // the maximum number of stats to show for cumulative stats like the time taken
  28. // across all jobs of a certain type, or all jobs cumulative across a whole platform
  29. "MaxCumulativeStats" : 4,
  30. // the maximum number of stats to show for individual stats like how long a specific
  31. // individual job took.
  32. "MaxIndividualStats" : 4
  33. },
  34. "BuilderManager": {
  35. // Number of seconds to wait for AssetBuilder process to start before terminating the process
  36. "StartupTimeoutSeconds" : 900
  37. },
  38. "Platform pc": {
  39. "tags": "tools,renderer,dx12,vulkan,null"
  40. },
  41. "Platform linux": {
  42. "tags": "tools,renderer,vulkan,null"
  43. },
  44. "Platform android": {
  45. "tags": "android,mobile,renderer,vulkan"
  46. },
  47. "Platform ios": {
  48. "tags": "mobile,renderer,metal"
  49. },
  50. "Platform mac": {
  51. "tags": "tools,renderer,metal,null"
  52. },
  53. // this is an example of a headless platform that has no renderer.
  54. // To use this you would still need to make sure 'assetplatform' in your startup params in your main() chooses this 'server' platform as your server 'assets' flavor
  55. "Platform server": {
  56. "tags": "server,dx12,vulkan"
  57. },
  58. // this section allows you to turn on various platforms in addition to the host platform you're running on
  59. // 'enabled' is AUTOMATICALLY TRUE for the current platform that you are running on, so it is not necessary to force it to true for that platform
  60. // To enable any additional platform, just uncomment the appropriate line below.
  61. "Platforms": {
  62. //"pc": "enabled",
  63. //"android": "enabled",
  64. //"ios": "enabled",
  65. //"mac": "enabled",
  66. //"server": "enabled"
  67. },
  68. // ---- The number of worker jobs, 0 means use the number of Logical Cores
  69. "Jobs": {
  70. "minJobs": 1,
  71. "maxJobs": 0
  72. },
  73. // cacheServerAddress is the location of the asset server cache.
  74. // Currently for a network share server this would be the absolute file path to the network share folder.
  75. "Server": {
  76. //"cacheServerAddress": ""
  77. },
  78. // ---- add any metadata file type here that needs to be monitored by the AssetProcessor.
  79. // Modifying these meta file will cause the source asset to re-compile again.
  80. // They are specified in the following format
  81. // metadata extension=original extension to replace
  82. // if the metadata extension does not replace the original, then the original can be blank
  83. // so for example if your normal file is blah.tif and your metafile for that file is blah.tif.exportsettings
  84. // then your declaration would be exportsettings= ; ie, it would be blank
  85. // however if your metafile REPLACES the extension (for example, if you have the file blah.i_caf and its metafile is blah.exportsettings)
  86. // then you specify the original extension here to narrow the scope.
  87. // If a relative path to a specific file is provided instead of an extension, a change to the file will change all files
  88. // with the associated extension (e.g. Animations/SkeletonList.xml=i_caf will cause all i_caf files to recompile when
  89. // Animations/SkeletonList.xml within the current game project changes)
  90. "MetaDataTypes": {
  91. "animsettings": "i_caf",
  92. "Animations/SkeletonList.xml": "i_caf",
  93. "cbc": "abc",
  94. "fbx.assetinfo": "fbx",
  95. "stl.assetinfo": "stl",
  96. "gltf.assetinfo": "gltf",
  97. "glb.assetinfo": "glb"
  98. },
  99. // ---- add any folders to scan here. The priority order is the order they appear here
  100. // available macros are
  101. // @ROOT@ - the location of asset root
  102. // @PROJECTROOT@ - the location of the project root, for example 'Q:\MyProjects\RPGSample'
  103. // note that they are sorted by their 'order' value, and the lower the order the more important an asset is
  104. // lower order numbers override higher ones.
  105. // If specified, output will be prepended to every path found in that recognizer's watch folder.
  106. // Note that you can also make the scan folder platform specific by using the keywords include and exclude.
  107. // Both include and exclude can contain either platform tags, platform identifiers or both.
  108. // if no include is specified, all currently enabled platforms are included by default.
  109. // If includes ARE specified, it will be filtered down by the list of currently enabled platforms.
  110. // "ScanFolder (unique identifier)": {
  111. // "include": "(comma seperated platform tags or identifiers)",
  112. // "exclude": "(comma seperated platform tags or identifiers)"
  113. // }
  114. // For example if you want to include a scan folder only for platforms that have the platform tags tools and renderer
  115. // but omit it for platform mac, you will have a scanfolder rule like
  116. // "ScanFolder (unique identifier)": {
  117. // "watch": "@ROOT@/foo",
  118. // "include": "tools, renderer",
  119. // "exclude": "mac"
  120. // }
  121. "ScanFolder Project/Assets": {
  122. "watch": "@PROJECTROOT@",
  123. "display": "@PROJECTNAME@",
  124. "recursive": 1,
  125. "order": 0
  126. },
  127. "ScanFolder Root": {
  128. "watch": "@ROOT@",
  129. "recursive": 0,
  130. "order": 10000
  131. },
  132. "ScanFolder Assets/Runtime": {
  133. "watch": "@ENGINEROOT@/Assets/Engine",
  134. "recursive": 1,
  135. "order": 20000
  136. },
  137. "ScanFolder Assets/Tools": {
  138. "watch": "@ENGINEROOT@/Assets/Editor",
  139. "recursive": 1,
  140. "order": 30000,
  141. "include": "tools,renderer"
  142. },
  143. "ScanFolder Engine/Registry": {
  144. "watch": "@ENGINEROOT@/Registry",
  145. "recursive": 1,
  146. "order": 40000
  147. },
  148. // Configurable starting priority for all Gem scan folders to use.
  149. // Each Gem scan folder added will increment this.
  150. // NOTE: Each successive gem priority will be lower than the last.
  151. "GemScanFolderStartingPriorityOrder": 100,
  152. // Control how project-relative Gem scan folders are prioritized against the project's main scan folder (key: "Project/Assets", alias: @PROJECTROOT@).
  153. // "none" - any project Gem scan folder priority will be incremented from the "GemScanFolderStartingPriorityOrder" value (default behavior).
  154. // "lower" - each project Gem scan folder will be set to lower priority (higher numeric value) than the project scan folder.
  155. // "higher" - each project Gem scan folder will be set to higher priority (lower numeric value) than the project scan folder.
  156. "ProjectRelativeGemsScanFolderPriority": "none",
  157. // Excludes files that match the pattern or glob.
  158. // the input string will be the relative path from the scan folder the file was found in.
  159. // patterns are case sensitive regular expressions, while globs are simple wildcard matches (non-case-sensitive)
  160. // if you use a pattern, remember to escape your backslashes (\\)
  161. "Exclude _LevelBackups": {
  162. "glob": "*/_savebackup/*"
  163. },
  164. "Exclude _LevelAutoBackups": {
  165. "glob": "*/_autobackup/*"
  166. },
  167. // note that $ has meaning to regex, so we escape it.
  168. "Exclude TempFiles": {
  169. "pattern": "(^|.+/)\\\\$tmp[0-9]*_.*"
  170. },
  171. "Exclude EventLog": {
  172. "glob": "*eventlog.xml"
  173. },
  174. "Exclude GameGemsCode": {
  175. "glob": "Gem/Code/*"
  176. },
  177. "Exclude GameGemsResources": {
  178. "glob": "Gem/Resources/*"
  179. },
  180. "Exclude Private Certs": {
  181. "glob": "*DynamicContent/Certificates/Private*"
  182. },
  183. "Exclude CMakeLists": {
  184. "glob": "*CMakeLists.txt"
  185. },
  186. "Exclude CMakeFiles": {
  187. "glob": "*.cmake"
  188. },
  189. "Exclude User": {
  190. "glob": "user/*"
  191. },
  192. "Exclude Build": {
  193. "glob": "build/*"
  194. },
  195. "Exclude Install": {
  196. "glob": "install/*"
  197. },
  198. //------------------------------------------------------------------------------
  199. // Copying Files Automatically Into the Cache
  200. //------------------------------------------------------------------------------
  201. // The below section is used to register patterns (*.something) to copy into the cache
  202. // the "params" block must either be "copy" (copy the file) or "skip" (used for per-platfrom skipping)
  203. // note that productAssetType is a means of setting the output asset Type (as in AZ::Data::AssetType) of a simple job
  204. // and is the recommended way to specify that a certain kind of file (such as '*.myextension') becomes registered as the
  205. // actual UUID of that type in the engine itself.
  206. // globs ("*.txt") are usually faster to match (CPU wise) and easier for humans to understand than patterns.
  207. // Use a regex for matching files, same params for all platforms
  208. // "RC TGAs": {
  209. // "pattern": ".+\\\\.tga$",
  210. // "params": "copy"
  211. //}
  212. // Example Use a glob instead of a regex, skip the copy for the "server" platform
  213. // "RC TIFFs": {
  214. // "glob": "*.tif",
  215. // "params": "copy",
  216. // "server": "skip"
  217. //}
  218. // You can also modify a version to compile all matching files again
  219. // By default the version is empty
  220. // "RC tif": {
  221. // "glob": "*.tif",
  222. // "params": "copy",
  223. // "version": 1.0
  224. //}
  225. // This will make the AssetProcessor compile all the .tif files again if version changes.
  226. // you can also optionally supply a priority.
  227. // this is used to sort jobs when no other external circumstance sorts them (higher wins, default is 0)
  228. // note that the FULL PATH to the file will be used as the match, not the relative path
  229. // so ensure start your patterns with .* or as appropriate.
  230. // Also, any rules which match will apply - so if you have two rules which both apply to PNG files for example
  231. // but you only want one, you might want to use exclusion patterns:
  232. //Example: copy everything EXCEPT the ones in the libs/ui
  233. // "RC png-normal": {
  234. // "pattern": "(?!.*libs\\\\/ui\\\\/).*\\.png",
  235. // "params": "copy"
  236. //}
  237. //Example: Process everything in the libs/ui folder
  238. // "RC png-ui": {
  239. // "pattern": "(.*libs\\\\/ui\\\\/).*\\.png",
  240. // "params": "copy"
  241. //}
  242. // More example Regexes:
  243. // "pattern": "(?!(.*libs\\\\/ui\\\\/)|(.*editor\\\\/).*\\\\.png"
  244. // This pattern will not match anything with editor/ or libs/ui/ in it
  245. // "pattern": "((.*libs\\\\/ui\\\\/)|(.*editor\\\\/).*\\\\.png"
  246. // This pattern will only match anything with editor/ or libs/ui/ in it
  247. // This is a JSON object - every entry must start with "RC" but make sure
  248. // to give every entry its own unique Name or else they will overwrite each other:
  249. "RC mp4": {
  250. "glob": "*.mp4",
  251. "params": "copy",
  252. "productAssetType": "{DDFEE0B2-9E5A-412C-8C77-AB100E24C1DF}"
  253. },
  254. "RC mkv": {
  255. "glob": "*.mkv",
  256. "params": "copy",
  257. "productAssetType": "{DDFEE0B2-9E5A-412C-8C77-AB100E24C1DF}"
  258. },
  259. "RC webm": {
  260. "glob": "*.webm",
  261. "params": "copy",
  262. "productAssetType": "{DDFEE0B2-9E5A-412C-8C77-AB100E24C1DF}"
  263. },
  264. "RC mov": {
  265. "glob": "*.mov",
  266. "params": "copy",
  267. "productAssetType": "{DDFEE0B2-9E5A-412C-8C77-AB100E24C1DF}"
  268. },
  269. "RC bk2": {
  270. "glob": "*.bk2",
  271. "params": "copy",
  272. "productAssetType": "{BF4879B9-B893-41D2-80E9-24A7BDCD2B50}"
  273. },
  274. "RC img": {
  275. "glob": "*.img",
  276. "params": "copy"
  277. },
  278. "RC surfaceTagNameList": {
  279. "glob": "*.surfaceTagNameList",
  280. "params": "copy",
  281. "productAssetType": "{A471B2A9-85FC-4993-842D-1881CBC03A2B}"
  282. },
  283. "RC gradImageSettings": {
  284. "glob": "*.gradimagesettings",
  285. "params": "copy",
  286. "productAssetType": "{B36FEB5C-41B6-4B58-A212-21EF5AEF523C}"
  287. },
  288. "RC png-entityicon": {
  289. "pattern": "(.*EntityIcons\\\\/).*\\\\.png",
  290. "productAssetType": "{3436C30E-E2C5-4C3B-A7B9-66C94A28701B}",
  291. "params": "skip",
  292. "tools": "copy"
  293. },
  294. "RC usm": {
  295. "glob": "*.usm",
  296. "params": "copy",
  297. "server": "skip"
  298. },
  299. "RC animevents": {
  300. "glob": "*.animevents",
  301. "params": "copy",
  302. "productAssetType": "{C1D209C1-F81A-4586-A34E-1615995F9F3F}",
  303. "version": 2
  304. },
  305. "RC bspace": {
  306. "glob": "*.bspace",
  307. "params": "copy"
  308. },
  309. "RC cdf": {
  310. "glob": "*.cdf",
  311. "params": "copy",
  312. "productAssetType": "{DF036C63-9AE6-4AC3-A6AC-8A1D76126C01}"
  313. },
  314. "RC comb": {
  315. "glob": "*.comb",
  316. "params": "copy"
  317. },
  318. "RC dlg": {
  319. "glob": "*.dlg",
  320. "params": "copy"
  321. },
  322. "RC csv": {
  323. "glob": "*.csv",
  324. "params": "copy"
  325. },
  326. "RC json": {
  327. "glob": "*.json",
  328. "params": "copy"
  329. },
  330. "RC lmg": {
  331. "glob": "*.lmg",
  332. "params": "copy"
  333. },
  334. "RC smtl": {
  335. "glob": "*.smtl",
  336. "params": "copy"
  337. },
  338. "RC sub": {
  339. "glob": "*.sub",
  340. "params": "copy",
  341. "productAssetType": "{71F9D30E-13F7-40D6-A3C9-E5358004B31F}",
  342. "version": 2
  343. },
  344. "RC sbsar": {
  345. "glob": "*.sbsar",
  346. "params": "copy"
  347. },
  348. "RC loc.agsxml": {
  349. "glob": "*.loc.agsxml",
  350. "params": "copy",
  351. "version": 1
  352. },
  353. "RC node": {
  354. "glob": "*.node",
  355. "params": "copy"
  356. },
  357. "RC veg": {
  358. "glob": "*.veg",
  359. "params": "copy"
  360. },
  361. "RC dat": {
  362. "glob": "*.dat",
  363. "params": "copy"
  364. },
  365. "RC lut": {
  366. "glob": "*.lut",
  367. "params": "copy"
  368. },
  369. "RC txt": {
  370. "pattern": "^(?!.*PreloadLibs.txt).*\\\\.txt",
  371. "params": "copy"
  372. },
  373. "RC cal": {
  374. "glob": "*.cal",
  375. "params": "copy"
  376. },
  377. "RC grp": {
  378. "glob": "*.grp",
  379. "params": "copy",
  380. "productAssetType": "{7629EDD3-A361-49A2-B271-252127097D81}",
  381. "version": 2
  382. },
  383. "RC xls": {
  384. "glob": "*.xls",
  385. "params": "copy"
  386. },
  387. "RC ini": {
  388. "glob": "*.ini",
  389. "params": "copy"
  390. },
  391. "RC ttf": {
  392. "glob": "*.ttf",
  393. "params": "copy"
  394. },
  395. "RC otf": {
  396. "glob": "*.otf",
  397. "params": "copy"
  398. },
  399. "RC ext": {
  400. "glob": "*.ext",
  401. "params": "copy"
  402. },
  403. // Copy all pak files except level.pak, level.pak has its own builder.
  404. "RC pak": {
  405. "pattern": "^((?!\\\\/level\\\\.pak).)*\\\\.pak$",
  406. "params": "copy"
  407. },
  408. "RC ctc": {
  409. "glob": "*.ctc",
  410. "params": "copy"
  411. },
  412. "RC uiprefab": {
  413. "glob": "*.uiprefab",
  414. "params": "copy",
  415. "server": "skip"
  416. },
  417. "RC sprite": {
  418. "glob": "*.sprite",
  419. "params": "copy",
  420. "server": "skip"
  421. },
  422. "RC bin": {
  423. "glob": "*.bin",
  424. "params": "copy"
  425. },
  426. "RC inputbindings": {
  427. "glob": "*.inputbindings",
  428. "params": "copy",
  429. "productAssetType": "{25971C7A-26E2-4D08-A146-2EFCC1C36B0C}"
  430. },
  431. "RC ocm": {
  432. "glob": "*.ocm",
  433. "params": "copy"
  434. },
  435. // Feature tests use the raw .tif files for the golden image comparison
  436. "RC goldenimages": {
  437. "pattern": ".*GoldenImages\\\\/.*\\\\.tif",
  438. "params": "copy",
  439. "server": "skip"
  440. },
  441. // Copy over certificates for use with FileDataSource
  442. "RC CertificatePEM": {
  443. "glob": "*.pem",
  444. "params": "copy"
  445. },
  446. // Copy over certificates for use with Dynamic Content
  447. "RC CertificateDER": {
  448. "glob": "*.der",
  449. "params": "copy"
  450. },
  451. "RC filetag": {
  452. "glob": "*.filetag",
  453. "params": "copy",
  454. "productAssetType": "{F3BE5CAB-85B7-44B7-9495-863863F6B267}"
  455. },
  456. // Precompiled shader variant
  457. "RC azshadervariant": {
  458. "glob": "*.azshadervariant",
  459. "params": "copy",
  460. "productAssetType": "{51BED815-36D8-410E-90F0-1FA9FF765FBA}"
  461. }
  462. }
  463. }
  464. }
  465. }