Game Mounting
Pragma can automatically import assets that can't be found in its native formats from one of the mounted games. The default list of mounted games includes all Valve Source Engine games, as well as a few popular mods, but in some cases you may want to add custom entries. This is currently only possible by editing the list of mounted games in a text-editor manually.
To do so, go to "Pragma/cfg" and open "mounted_games.udm" in a text-editor. Scroll to the end of the file and add the following entry:
"<identifier>"
{
$bool enabled 1
$string localization_name "mount_game_<identifier>"
"steam"
{
$uint32 app_id <appId>
$string game_path "<gamePath>"
$bool mount_workshop <mountWs>
}
"engine"
{
$string name "source_engine"
}
}
Replace the following attributes:
<identifier>:
A unique identifier for this game. Make sure the name is lowercase, has no spaces and no special characters, and isn't already used for any other entries.<appId>:
The Steam App Id of the game. You can find it by entering the game's name on SteamDB.<gamePath>:
The path to the game's assets, relative to "steamapps/". This path should contain a "models", "materials" and "maps" directory. For example, if the full path is "E:/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/csgo", the<gamePath>
should be "common/Counter-Strike Global Offensive/csgo/". Make sure to use this exact format (forward slashes; not starting with a slash; ending with a slash).<mountWs>:
Set to1
if you want to mount the workshop for the specified game, otherwise0
.
You can use the other entries as a reference. If you've made a syntax error, it should appear in the console the next time you start Pragma. You can also run the console command "command udm_validate cfg/mounted_games.
to ensure the file is syntactically correct.udm"udm
If your new entry doesn't seem to have any effect, you can start Pragma with the -verbose -console terminal
launch parameters, and it should print out a bunch of information about the mounted games.