AssetProcessorPlatformConfig.setreg 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497
  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,null"
  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. "usd.assetinfo": "usd"
  99. },
  100. // ---- add any folders to scan here. The priority order is the order they appear here
  101. // available macros are
  102. // @ROOT@ - the location of asset root
  103. // @PROJECTROOT@ - the location of the project root, for example 'Q:\MyProjects\RPGSample'
  104. // note that they are sorted by their 'order' value, and the lower the order the more important an asset is
  105. // lower order numbers override higher ones.
  106. // If specified, output will be prepended to every path found in that recognizer's watch folder.
  107. // Note that you can also make the scan folder platform specific by using the keywords include and exclude.
  108. // Both include and exclude can contain either platform tags, platform identifiers or both.
  109. // if no include is specified, all currently enabled platforms are included by default.
  110. // If includes ARE specified, it will be filtered down by the list of currently enabled platforms.
  111. // "ScanFolder (unique identifier)": {
  112. // "include": "(comma seperated platform tags or identifiers)",
  113. // "exclude": "(comma seperated platform tags or identifiers)"
  114. // }
  115. // For example if you want to include a scan folder only for platforms that have the platform tags tools and renderer
  116. // but omit it for platform mac, you will have a scanfolder rule like
  117. // "ScanFolder (unique identifier)": {
  118. // "watch": "@ROOT@/foo",
  119. // "include": "tools, renderer",
  120. // "exclude": "mac"
  121. // }
  122. "ScanFolder Project/Assets": {
  123. "watch": "@PROJECTROOT@",
  124. "display": "@PROJECTNAME@",
  125. "recursive": 1,
  126. "order": 0
  127. },
  128. "ScanFolder Root": {
  129. "watch": "@ROOT@",
  130. "recursive": 0,
  131. "order": 10000
  132. },
  133. "ScanFolder Assets/Runtime": {
  134. "watch": "@ENGINEROOT@/Assets/Engine",
  135. "recursive": 1,
  136. "order": 20000
  137. },
  138. "ScanFolder Assets/Tools": {
  139. "watch": "@ENGINEROOT@/Assets/Editor",
  140. "recursive": 1,
  141. "order": 30000,
  142. "include": "tools,renderer"
  143. },
  144. "ScanFolder Engine/Registry": {
  145. "watch": "@ENGINEROOT@/Registry",
  146. "recursive": 1,
  147. "order": 40000
  148. },
  149. // Configurable starting priority for all Gem scan folders to use.
  150. // Each Gem scan folder added will increment this.
  151. // NOTE: Each successive gem priority will be lower than the last.
  152. "GemScanFolderStartingPriorityOrder": 100,
  153. // Control how project-relative Gem scan folders are prioritized against the project's main scan folder (key: "Project/Assets", alias: @PROJECTROOT@).
  154. // "none" - any project Gem scan folder priority will be incremented from the "GemScanFolderStartingPriorityOrder" value (default behavior).
  155. // "lower" - each project Gem scan folder will be set to lower priority (higher numeric value) than the project scan folder.
  156. // "higher" - each project Gem scan folder will be set to higher priority (lower numeric value) than the project scan folder.
  157. "ProjectRelativeGemsScanFolderPriority": "none",
  158. // Excludes files that match the pattern or glob.
  159. // the input string will be the relative path from the scan folder the file was found in.
  160. // patterns are case sensitive regular expressions, while globs are simple wildcard matches (non-case-sensitive)
  161. // if you use a pattern, remember to escape your backslashes (\\)
  162. "Exclude _LevelBackups": {
  163. "glob": "*/_savebackup/*"
  164. },
  165. "Exclude _LevelAutoBackups": {
  166. "glob": "*/_autobackup/*"
  167. },
  168. // note that $ has meaning to regex, so we escape it.
  169. "Exclude TempFiles": {
  170. "pattern": "(^|.+/)\\\\$tmp[0-9]*_.*"
  171. },
  172. "Exclude EventLog": {
  173. "glob": "*eventlog.xml"
  174. },
  175. "Exclude GameGemsCode": {
  176. "glob": "Gem/Code/*"
  177. },
  178. "Exclude GameGemsResources": {
  179. "glob": "Gem/Resources/*"
  180. },
  181. "Exclude Private Certs": {
  182. "glob": "*DynamicContent/Certificates/Private*"
  183. },
  184. "Exclude CMakeLists": {
  185. "glob": "*CMakeLists.txt"
  186. },
  187. "Exclude CMakeFiles": {
  188. "glob": "*.cmake"
  189. },
  190. "Exclude User": {
  191. "glob": "user/*"
  192. },
  193. "Exclude Build": {
  194. "glob": "build/*"
  195. },
  196. "Exclude Install": {
  197. "glob": "install/*"
  198. },
  199. "Exclude ProjectPackages": {
  200. "glob": "ProjectPackages/*"
  201. },
  202. // Exclude Gems inside Projects, their Assets folders will still be included
  203. "Exclude Gems": {
  204. "glob": "Gems/*"
  205. },
  206. // Exclude the .git folder which is commonly found in projects
  207. "Exclude Git": {
  208. "glob": ".git/*"
  209. },
  210. //------------------------------------------------------------------------------
  211. // Copying Files Automatically Into the Cache
  212. //------------------------------------------------------------------------------
  213. // The below section is used to register patterns (*.something) to copy into the cache
  214. // the "params" block must either be "copy" (copy the file) or "skip" (used for per-platfrom skipping)
  215. // note that productAssetType is a means of setting the output asset Type (as in AZ::Data::AssetType) of a simple job
  216. // and is the recommended way to specify that a certain kind of file (such as '*.myextension') becomes registered as the
  217. // actual UUID of that type in the engine itself.
  218. // globs ("*.txt") are usually faster to match (CPU wise) and easier for humans to understand than patterns.
  219. // Use a regex for matching files, same params for all platforms
  220. // "RC TGAs": {
  221. // "pattern": ".+\\\\.tga$",
  222. // "params": "copy"
  223. //}
  224. // Example Use a glob instead of a regex, skip the copy for the "server" platform
  225. // "RC TIFFs": {
  226. // "glob": "*.tif",
  227. // "params": "copy",
  228. // "server": "skip"
  229. //}
  230. // You can also modify a version to compile all matching files again
  231. // By default the version is empty
  232. // "RC tif": {
  233. // "glob": "*.tif",
  234. // "params": "copy",
  235. // "version": 1.0
  236. //}
  237. // This will make the AssetProcessor compile all the .tif files again if version changes.
  238. // you can also optionally supply a priority.
  239. // this is used to sort jobs when no other external circumstance sorts them (higher wins, default is 0)
  240. // note that the FULL PATH to the file will be used as the match, not the relative path
  241. // so ensure start your patterns with .* or as appropriate.
  242. // Also, any rules which match will apply - so if you have two rules which both apply to PNG files for example
  243. // but you only want one, you might want to use exclusion patterns:
  244. //Example: copy everything EXCEPT the ones in the libs/ui
  245. // "RC png-normal": {
  246. // "pattern": "(?!.*libs\\\\/ui\\\\/).*\\.png",
  247. // "params": "copy"
  248. //}
  249. //Example: Process everything in the libs/ui folder
  250. // "RC png-ui": {
  251. // "pattern": "(.*libs\\\\/ui\\\\/).*\\.png",
  252. // "params": "copy"
  253. //}
  254. // More example Regexes:
  255. // "pattern": "(?!(.*libs\\\\/ui\\\\/)|(.*editor\\\\/).*\\\\.png"
  256. // This pattern will not match anything with editor/ or libs/ui/ in it
  257. // "pattern": "((.*libs\\\\/ui\\\\/)|(.*editor\\\\/).*\\\\.png"
  258. // This pattern will only match anything with editor/ or libs/ui/ in it
  259. // This is a JSON object - every entry must start with "RC" but make sure
  260. // to give every entry its own unique Name or else they will overwrite each other:
  261. "RC mp4": {
  262. "glob": "*.mp4",
  263. "params": "copy",
  264. "productAssetType": "{DDFEE0B2-9E5A-412C-8C77-AB100E24C1DF}"
  265. },
  266. "RC mkv": {
  267. "glob": "*.mkv",
  268. "params": "copy",
  269. "productAssetType": "{DDFEE0B2-9E5A-412C-8C77-AB100E24C1DF}"
  270. },
  271. "RC webm": {
  272. "glob": "*.webm",
  273. "params": "copy",
  274. "productAssetType": "{DDFEE0B2-9E5A-412C-8C77-AB100E24C1DF}"
  275. },
  276. "RC mov": {
  277. "glob": "*.mov",
  278. "params": "copy",
  279. "productAssetType": "{DDFEE0B2-9E5A-412C-8C77-AB100E24C1DF}"
  280. },
  281. "RC bk2": {
  282. "glob": "*.bk2",
  283. "params": "copy",
  284. "productAssetType": "{BF4879B9-B893-41D2-80E9-24A7BDCD2B50}"
  285. },
  286. "RC img": {
  287. "glob": "*.img",
  288. "params": "copy"
  289. },
  290. "RC surfaceTagNameList": {
  291. "glob": "*.surfaceTagNameList",
  292. "params": "copy",
  293. "productAssetType": "{A471B2A9-85FC-4993-842D-1881CBC03A2B}"
  294. },
  295. "RC gradImageSettings": {
  296. "glob": "*.gradimagesettings",
  297. "params": "copy",
  298. "productAssetType": "{B36FEB5C-41B6-4B58-A212-21EF5AEF523C}"
  299. },
  300. "RC png-entityicon": {
  301. "pattern": "(.*EntityIcons\\\\/).*\\\\.png",
  302. "productAssetType": "{3436C30E-E2C5-4C3B-A7B9-66C94A28701B}",
  303. "params": "skip",
  304. "tools": "copy"
  305. },
  306. "RC usm": {
  307. "glob": "*.usm",
  308. "params": "copy",
  309. "server": "skip"
  310. },
  311. "RC animevents": {
  312. "glob": "*.animevents",
  313. "params": "copy",
  314. "productAssetType": "{C1D209C1-F81A-4586-A34E-1615995F9F3F}",
  315. "version": 2
  316. },
  317. "RC bspace": {
  318. "glob": "*.bspace",
  319. "params": "copy"
  320. },
  321. "RC comb": {
  322. "glob": "*.comb",
  323. "params": "copy"
  324. },
  325. "RC dlg": {
  326. "glob": "*.dlg",
  327. "params": "copy"
  328. },
  329. "RC csv": {
  330. "glob": "*.csv",
  331. "params": "copy"
  332. },
  333. "RC json": {
  334. "glob": "*.json",
  335. "params": "copy"
  336. },
  337. "RC lmg": {
  338. "glob": "*.lmg",
  339. "params": "copy"
  340. },
  341. "RC smtl": {
  342. "glob": "*.smtl",
  343. "params": "copy"
  344. },
  345. "RC sub": {
  346. "glob": "*.sub",
  347. "params": "copy",
  348. "productAssetType": "{71F9D30E-13F7-40D6-A3C9-E5358004B31F}",
  349. "version": 2
  350. },
  351. "RC sbsar": {
  352. "glob": "*.sbsar",
  353. "params": "copy"
  354. },
  355. "RC loc.agsxml": {
  356. "glob": "*.loc.agsxml",
  357. "params": "copy",
  358. "version": 1
  359. },
  360. "RC node": {
  361. "glob": "*.node",
  362. "params": "copy"
  363. },
  364. "RC veg": {
  365. "glob": "*.veg",
  366. "params": "copy"
  367. },
  368. "RC dat": {
  369. "glob": "*.dat",
  370. "params": "copy"
  371. },
  372. "RC lut": {
  373. "glob": "*.lut",
  374. "params": "copy"
  375. },
  376. "RC txt": {
  377. "pattern": "^(?!.*PreloadLibs.txt).*\\\\.txt",
  378. "params": "copy"
  379. },
  380. "RC cal": {
  381. "glob": "*.cal",
  382. "params": "copy"
  383. },
  384. "RC grp": {
  385. "glob": "*.grp",
  386. "params": "copy",
  387. "productAssetType": "{7629EDD3-A361-49A2-B271-252127097D81}",
  388. "version": 2
  389. },
  390. "RC xls": {
  391. "glob": "*.xls",
  392. "params": "copy"
  393. },
  394. "RC ini": {
  395. "glob": "*.ini",
  396. "params": "copy"
  397. },
  398. "RC ttf": {
  399. "glob": "*.ttf",
  400. "params": "copy"
  401. },
  402. "RC otf": {
  403. "glob": "*.otf",
  404. "params": "copy"
  405. },
  406. "RC ext": {
  407. "glob": "*.ext",
  408. "params": "copy"
  409. },
  410. // Copy all pak files except level.pak, level.pak has its own builder.
  411. "RC pak": {
  412. "pattern": "^((?!\\\\/level\\\\.pak).)*\\\\.pak$",
  413. "params": "copy"
  414. },
  415. "RC ctc": {
  416. "glob": "*.ctc",
  417. "params": "copy"
  418. },
  419. "RC uiprefab": {
  420. "glob": "*.uiprefab",
  421. "params": "copy",
  422. "server": "skip"
  423. },
  424. "RC sprite": {
  425. "glob": "*.sprite",
  426. "params": "copy",
  427. "server": "skip"
  428. },
  429. "RC bin": {
  430. "glob": "*.bin",
  431. "params": "copy"
  432. },
  433. "RC inputbindings": {
  434. "glob": "*.inputbindings",
  435. "params": "copy",
  436. "productAssetType": "{25971C7A-26E2-4D08-A146-2EFCC1C36B0C}"
  437. },
  438. "RC ocm": {
  439. "glob": "*.ocm",
  440. "params": "copy"
  441. },
  442. // Feature tests use the raw .tif files for the golden image comparison
  443. "RC goldenimages": {
  444. "pattern": ".*GoldenImages\\\\/.*\\\\.tif",
  445. "params": "copy",
  446. "server": "skip"
  447. },
  448. // Copy over certificates for use with FileDataSource
  449. "RC CertificatePEM": {
  450. "glob": "*.pem",
  451. "params": "copy"
  452. },
  453. // Copy over certificates for use with Dynamic Content
  454. "RC CertificateDER": {
  455. "glob": "*.der",
  456. "params": "copy"
  457. },
  458. "RC filetag": {
  459. "glob": "*.filetag",
  460. "params": "copy",
  461. "productAssetType": "{F3BE5CAB-85B7-44B7-9495-863863F6B267}"
  462. },
  463. // Precompiled shader variant
  464. "RC azshadervariant": {
  465. "glob": "*.azshadervariant",
  466. "params": "copy",
  467. "productAssetType": "{51BED815-36D8-410E-90F0-1FA9FF765FBA}"
  468. }
  469. }
  470. }
  471. }
  472. }