Skip to content

Instantly share code, notes, and snippets.

@jase-perf
jase-perf / p4ignore - Unreal and DCCs
Last active November 25, 2025 05:43 — 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 and common DCC tools
## Works with both game projects and custom engine source
## Optimized pattern usage based on Perforce P4IGNORE documentation
## This p4ignore file should be named .p4ignore or p4ignore.txt and
## placed in the workspace root, which should be where the Engine and
## project folders are located.
# 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"
@jase-perf
jase-perf / P4 Game Engine Typemap Compressed
Last active December 9, 2025 00:31
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.