Skip to content

Instantly share code, notes, and snippets.

@jase-perf
jase-perf / p4ignore - Unreal and DCCs
Last active January 21, 2026 01:27 — forked from ImLp/p4ignore.txt
Ignore file for Unreal Engine Projects and Source Code (with common DCC ignores added)
## Universal P4IGNORE for Unreal Engine Projects
## Works with both game projects and custom engine source
## Optimized pattern usage based on Perforce P4IGNORE documentation
# The syntax for P4IGNORE files is not the same as Perforce syntax.
# Key differences from .gitignore:
# - A / at the start means "relative to this p4ignore file"
# - A / at the end means "directories only"
# - * matches substrings but NOT path separators (like P4 wildcard)
# - ** matches substrings INCLUDING path separators (like P4 "..." wildcard)
@jase-perf
jase-perf / P4 Game Engine Typemap Compressed
Last active January 21, 2026 01:27
Engine-agnostic P4 typemap that will work with UE, Unity, Godot, etc.
# 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.