-
-
Save jase-perf/3f6328fb66427802090f458775e481df to your computer and use it in GitHub Desktop.
| # Perforce File Type Mapping Specifications. | |
| # | |
| # TypeMap: a list of filetype mappings; one per line. | |
| # Each line has two elements: | |
| # | |
| # Filetype: The filetype to use on 'p4 add'. | |
| # | |
| # Path: File pattern which will use this filetype. | |
| # | |
| # See 'p4 help typemap' for more information. | |
| TypeMap: | |
| text+l //....giparams ## Unity3D files that should be locked | |
| text+l //....md5anim ## Unity3D files that should be locked | |
| text+l //....md5mesh ## Unity3D files that should be locked | |
| text+l //....meta ## Unity3D files that should be locked | |
| text+l //....shadergraph ## Unity3D files that should be locked | |
| text+l //....shadersubgraph ## Unity3D files that should be locked | |
| text+l //....vfx ## Unity3D files that should be locked | |
| text+w //....config ## Auto-updated files - reconcile offline work carefully | |
| text+w //....csproj.props ## Auto-updated files - reconcile offline work carefully | |
| text+w //....deps.json ## Auto-updated files - reconcile offline work carefully | |
| text+w //....DotSettings ## Auto-updated files - reconcile offline work carefully | |
| text+w //....ini ## Auto-updated files - reconcile offline work carefully | |
| text+w //....json ## Auto-updated files - reconcile offline work carefully | |
| text+w //....log ## Auto-updated files - reconcile offline work carefully | |
| text+w //....modules ## Auto-updated files - reconcile offline work carefully | |
| text+w //....pdm ## Auto-updated files - reconcile offline work carefully | |
| text+w //....runtimeconfig.json ## Auto-updated files - reconcile offline work carefully | |
| text+w //....target ## Auto-updated files - reconcile offline work carefully | |
| text+w //....uatbuildrecord ## Auto-updated files - reconcile offline work carefully | |
| text+w //....uproject ## Auto-updated files - reconcile offline work carefully | |
| text+w //....version ## Auto-updated files - reconcile offline work carefully | |
| text+w //....xml ## Auto-updated files - reconcile offline work carefully | |
| text+w //.../Engine/Binaries/.../Info.plist ## Unreal needs these to stay writeable for Setup.bat | |
| text+w //.../Engine/Source/ThirdParty/.../Info.plist ## Unreal needs these to stay writeable for Setup.bat | |
| text+w //...ProjectSettings/ProjectVersion.txt ## Unity needs to write to this file. Be sure to reconcile when changed. | |
| binary+Fl //....avi ## Already compressed - store uncompressed and lock | |
| binary+Fl //....bz2 ## Already compressed - store uncompressed and lock | |
| binary+Fl //....gif ## Already compressed - store uncompressed and lock | |
| binary+Fl //....gz ## Already compressed - store uncompressed and lock | |
| binary+Fl //....jar ## Already compressed - store uncompressed and lock | |
| binary+Fl //....jpeg ## Already compressed - store uncompressed and lock | |
| binary+Fl //....jpg ## Already compressed - store uncompressed and lock | |
| binary+Fl //....mov ## Already compressed - store uncompressed and lock | |
| binary+Fl //....mpg ## Already compressed - store uncompressed and lock | |
| binary+Fl //....rar ## Already compressed - store uncompressed and lock | |
| binary+Fl //....tif ## Already compressed - store uncompressed and lock | |
| binary+Fl //....tiff ## Already compressed - store uncompressed and lock | |
| binary+Fl //....zip ## Already compressed - store uncompressed and lock | |
| binary+l //....3ds ## Standard binary - store compressed and lock | |
| binary+l //....a ## Standard binary - store compressed and lock | |
| binary+l //....aac ## Standard binary - store compressed and lock | |
| binary+l //....aar ## Standard binary - store compressed and lock | |
| binary+l //....aas ## Standard binary - store compressed and lock | |
| binary+l //....ae ## Standard binary - store compressed and lock | |
| binary+l //....ai ## Standard binary - store compressed and lock | |
| binary+l //....aiff ## Standard binary - store compressed and lock | |
| binary+l //....anim ## Standard binary - store compressed and lock | |
| binary+l //....apk ## Standard binary - store compressed and lock | |
| binary+l //....asset ## Standard binary - store compressed and lock | |
| binary+l //....bank ## Standard binary - store compressed and lock | |
| binary+l //....bik ## Standard binary - store compressed and lock | |
| binary+l //....bin ## Standard binary - store compressed and lock | |
| binary+l //....blend ## Standard binary - store compressed and lock | |
| binary+l //....bmp ## Standard binary - store compressed and lock | |
| binary+l //....bnk ## Standard binary - store compressed and lock | |
| binary+l //....btr ## Standard binary - store compressed and lock | |
| binary+l //....celtx ## Standard binary - store compressed and lock | |
| binary+l //....cfm ## Standard binary - store compressed and lock | |
| binary+l //....class ## Standard binary - store compressed and lock | |
| binary+l //....clip ## Standard binary - store compressed and lock | |
| binary+l //....controller ## Standard binary - store compressed and lock | |
| binary+l //....cubemap ## Standard binary - store compressed and lock | |
| binary+l //....dae ## Standard binary - store compressed and lock | |
| binary+l //....data ## Standard binary - store compressed and lock | |
| binary+l //....dds ## Standard binary - store compressed and lock | |
| binary+l //....demo ## Standard binary - store compressed and lock | |
| binary+l //....doc ## Standard binary - store compressed and lock | |
| binary+l //....docx ## Standard binary - store compressed and lock | |
| binary+l //....dot ## Standard binary - store compressed and lock | |
| binary+l //....ear ## Standard binary - store compressed and lock | |
| binary+l //....exr ## Standard binary - store compressed and lock | |
| binary+l //....fbx ## Standard binary - store compressed and lock | |
| binary+l //....flac ## Standard binary - store compressed and lock | |
| binary+l //....fnt ## Standard binary - store compressed and lock | |
| binary+l //....hdr ## Standard binary - store compressed and lock | |
| binary+l //....ibl ## Standard binary - store compressed and lock | |
| binary+l //....ico ## Standard binary - store compressed and lock | |
| binary+l //....ip ## Standard binary - store compressed and lock | |
| binary+l //....light ## Standard binary - store compressed and lock | |
| binary+l //....lighting ## Standard binary - store compressed and lock | |
| binary+l //....lwo ## Standard binary - store compressed and lock | |
| binary+l //....m4a ## Standard binary - store compressed and lock | |
| binary+l //....ma ## Standard binary - store compressed and lock | |
| binary+l //....mask ## Standard binary - store compressed and lock | |
| binary+l //....mat ## Standard binary - store compressed and lock | |
| binary+l //....max ## Standard binary - store compressed and lock | |
| binary+l //....mb ## Standard binary - store compressed and lock | |
| binary+l //....mp3 ## Standard binary - store compressed and lock | |
| binary+l //....mp4 ## Standard binary - store compressed and lock | |
| binary+l //....navmesh ## Standard binary - store compressed and lock | |
| binary+l //....obj ## Standard binary - store compressed and lock | |
| binary+l //....odg ## Standard binary - store compressed and lock | |
| binary+l //....odp ## Standard binary - store compressed and lock | |
| binary+l //....ods ## Standard binary - store compressed and lock | |
| binary+l //....odt ## Standard binary - store compressed and lock | |
| binary+l //....ogg ## Standard binary - store compressed and lock | |
| binary+l //....otf ## Standard binary - store compressed and lock | |
| binary+l //....otg ## Standard binary - store compressed and lock | |
| binary+l //....ots ## Standard binary - store compressed and lock | |
| binary+l //....ott ## Standard binary - store compressed and lock | |
| binary+l //....overrideController ## Standard binary - store compressed and lock | |
| binary+l //....pac ## Standard binary - store compressed and lock | |
| binary+l //....pdf ## Standard binary - store compressed and lock | |
| binary+l //....physicMaterial ## Standard binary - store compressed and lock | |
| binary+l //....png ## Standard binary - store compressed and lock | |
| binary+l //....ppt ## Standard binary - store compressed and lock | |
| binary+l //....pptx ## Standard binary - store compressed and lock | |
| binary+l //....prefab ## Standard binary - store compressed and lock | |
| binary+l //....prefab.unity ## Standard binary - store compressed and lock | |
| binary+l //....psb ## Standard binary - store compressed and lock | |
| binary+l //....psd ## Standard binary - store compressed and lock | |
| binary+l //....raw ## Standard binary - store compressed and lock | |
| binary+l //....res ## Standard binary - store compressed and lock | |
| binary+l //....renderTexture ## Standard binary - store compressed and lock | |
| binary+l //....response ## Standard binary - store compressed and lock | |
| binary+l //....roq ## Standard binary - store compressed and lock | |
| binary+l //....rpt ## Standard binary - store compressed and lock | |
| binary+l //....shadow ## Standard binary - store compressed and lock | |
| binary+l //....skp ## Standard binary - store compressed and lock | |
| binary+l //....so ## Standard binary - store compressed and lock | |
| binary+l //....sxw ## Standard binary - store compressed and lock | |
| binary+l //....tar ## Standard binary - store compressed and lock | |
| binary+l //....terrain ## Standard binary - store compressed and lock | |
| binary+l //....tga ## Standard binary - store compressed and lock | |
| binary+l //....tres ## Standard binary - store compressed and lock | |
| binary+l //....ttf ## Standard binary - store compressed and lock | |
| binary+l //....u ## Standard binary - store compressed and lock | |
| binary+l //....uasset ## Standard binary - store compressed and lock | |
| binary+l //....udk ## Standard binary - store compressed and lock | |
| binary+l //....umap ## Standard binary - store compressed and lock | |
| binary+l //....unity ## Standard binary - store compressed and lock | |
| binary+l //....unitypackage ## Standard binary - store compressed and lock | |
| binary+l //....upk ## Standard binary - store compressed and lock | |
| binary+l //....war ## Standard binary - store compressed and lock | |
| binary+l //....wav ## Standard binary - store compressed and lock | |
| binary+l //....webm ## Standard binary - store compressed and lock | |
| binary+l //....wma ## Standard binary - store compressed and lock | |
| binary+l //....wmv ## Standard binary - store compressed and lock | |
| binary+l //....xls ## Standard binary - store compressed and lock | |
| binary+l //....xlsx ## Standard binary - store compressed and lock | |
| binary+w //....a ## Build output - stays writable, be sure to reconcile offline work | |
| binary+w //....app ## Build output - stays writable, be sure to reconcile offline work | |
| binary+w //....dll ## Build output - stays writable, be sure to reconcile offline work | |
| binary+w //....dylib ## Build output - stays writable, be sure to reconcile offline work | |
| binary+w //....exe ## Build output - stays writable, be sure to reconcile offline work | |
| binary+w //....exp ## Build output - stays writable, be sure to reconcile offline work | |
| binary+w //....ipa ## Build output - stays writable, be sure to reconcile offline work | |
| binary+w //....lib ## Build output - stays writable, be sure to reconcile offline work | |
| binary+w //....pdb ## Build output - stays writable, be sure to reconcile offline work | |
| binary+w //....rc ## Build output - stays writable, be sure to reconcile offline work | |
| binary+w //....res ## Build output - stays writable, be sure to reconcile offline work | |
| binary+w //....so ## Build output - stays writable, be sure to reconcile offline work | |
| binary+w //....stub ## Build output - stays writable, be sure to reconcile offline work | |
| binary+w //....ubulk ## Build output - stays writable, be sure to reconcile offline work | |
| binary+w //....uexp ## Build output - stays writable, be sure to reconcile offline work | |
| binary+w //.../Binaries/....a ## Build output - stays writable, be sure to reconcile offline work | |
| binary+w //.../Binaries/....obj ## Build output - stays writable, be sure to reconcile offline work | |
| binary+w //.../Binaries/....res ## Build output - stays writable, be sure to reconcile offline work | |
| binary+w //.../Binaries/....so ## Build output - stays writable, be sure to reconcile offline work | |
| text+x //....sh ## Make executable for mac and linux | |
| text+x //....command ## Make executable for mac | |
| binary+wS2 //..._BuiltData.uasset ## Large regenerable files - keep 2 versions, be sure to reconcile offline work |
Hey @jase-perf it should be _BuiltData.uasset not _BuildData.uasset
Hey @jase-perf it should be
_BuiltData.uassetnot_BuildData.uasset
So true!! Just updated. Thanks for catching that!
Hey all, I was recently messing around Unreal Game Sync and every time was syncing was complaining about 3 files with .so.9 extension it couldn't access. I'd to add binary+w //....so.9
There are also few files without extension that by default are goind to be added as text but should be binary+w.
Is it any way to add binary+w if file has no extension?
The only solution I found was to add binary+w //... and text //....* to technically give binary+w to all the files but text if they have any extension.
This works except that now, for example a .txt file, will be added as text+C and not text, so it can't really be used.
Thanks for that @CitizenZultron ! I finally took the time to incorporate your changes and update the typemap. I made a few changes like removing +S from a couple file types, since I try to avoid recommending that without caveats since it could result in someone losing a version they needed and that can't be regenerated from the other files. Let me know if you think that was incorrect, though!