Home › Engine Lua tables › Path

Engine executable. Settings and tools of the game program (CivilizationVI.exe), usable without a mod. Mostly undocumented debug and configuration functionality; descriptions come from analysis of the executable and have not all been tried in the running game.

Path

Static table with 6 methods. exe library of path helpers (GetDirectoryName, GetExtension, NormalizePath, ...); no call sites found in the game scripts. Registering function 0x4d4ae0.

Methods are called with a dot (Path.Method(...)).

Method Returns In game scripts Example Status
Path.GetDirectoryName(arg1: string, …) -> 1 value 1 value not called — inferred
Path.GetExtension(arg1: string, …) -> 1 value 1 value not called — inferred
Path.GetFileName(arg1: string, …) -> 1 value 1 value not called — inferred
Path.GetFileNameWithoutExtension(arg1: string, …) -> 1 value 1 value not called — inferred
Path.NormalizePath(arg1: string, …) -> 1 value 1 value not called — inferred
Path.UsesExtension(arg1: string, arg2: string) -> boolean boolean not called — inferred