Skip to content
EvilEngine.Mounts

CaseRule enum

public enum CaseRule

Whether two paths that differ only in case name the same file. Every IFileSource has one, a MountPlan gives the whole mount one, and a Platform carries the one its games’ files follow. VirtualPath turns a rule into the comparer or comparison to use, so code compares paths through it rather than by their text.

Host folders a game is probed from are read case-insensitively, and every adapter here plans its mount under its platform’s rule: insensitive for pc, sensitive for ps3.

Assembly
EvilEngine.Mounts
Commit
4ff877b1

Members

Sensitive value

Sensitive = 0

maps/E1M1.bsp and maps/e1m1.bsp are two files. Paths compare ordinally. A Plugin’s own content folder and an adapter’s in-memory content are read this way, and so is a PS3 game.

Insensitive value

Insensitive = 1

maps/E1M1.bsp and maps/e1m1.bsp are the same file. Paths compare ordinally, ignoring case. Every pc game reads this way, whatever the host’s own filesystem does.