Hello! I’m currently preparing to release my game on the Steam store, and I’m struggling with my Mac build. I have a functioning build of the game, but I’m not sure exactly how to implement it into my Mac Depot.
For reference, here’s my game contents depot (I’m not quite sure how private certain info is, so I’m blocking out build and depot IDs:
"DepotBuildConfig"
{
// Set your assigned depot ID here
"DepotID" "#######"
// Set a root for all content.
// All relative paths specified below (LocalPath in FileMapping entries, and FileExclusion paths)
// will be resolved relative to this root.
// If you don't define ContentRoot, then it will be assumed to be
// the location of this script file, which probably isn't what you want
"ContentRoot" "D:\steamworks_sdk_150\sdk\tools\ContentBuilder\content"
// include all files recursivley
"FileMapping"
{
// This can be a full path, or a path relative to ContentRoot
"LocalPath" ".\Game Folder\*"
// This is a path relative to the install folder of your game
"DepotPath" "."
// If LocalPath contains wildcards, setting this means that all
// matching files within subdirectories of LocalPath will also
// be included.
"recursive" "1"
}
// but exclude all symbol files
// This can be a full path, or a path relative to ContentRoot
"FileExclusion" "*.pdb"
"FileExclusion" "*.exe"
"FileExclusion" "*.app"
"FileExclusion" "*.dll"
}
And here’s my Windows depot script:
"DepotBuildConfig"
{
// Set your assigned depot ID here
"DepotID" "#######"
// Set a root for all content.
// All relative paths specified below (LocalPath in FileMapping entries, and FileExclusion paths)
// will be resolved relative to this root.
// If you don't define ContentRoot, then it will be assumed to be
// the location of this script file, which probably isn't what you want
"ContentRoot" "D:\steamworks_sdk_150\sdk\tools\ContentBuilder\content"
// include all files recursivley
"FileMapping"
{
// This can be a full path, or a path relative to ContentRoot
"LocalPath" ".\Game Folder\*.exe"
// This is a path relative to the install folder of your game
"DepotPath" "."
// If LocalPath contains wildcards, setting this means that all
// matching files within subdirectories of LocalPath will also
// be included.
"recursive" "1"
}
"FileMapping"
{
// This can be a full path, or a path relative to ContentRoot
"LocalPath" ".\Game Folder\*.dll"
// This is a path relative to the install folder of your game
"DepotPath" "."
// If LocalPath contains wildcards, setting this means that all
// matching files within subdirectories of LocalPath will also
// be included.
"recursive" "1"
}
// but exclude all symbol files
// This can be a full path, or a path relative to ContentRoot
"FileExclusion" "*.pdb"
"FileExclusion" "*.app"
}
I’m not very familiar with how Mac builds are structured, so I’m not really sure what to files need included / excluded. Please let me know if you’re able to help! Thank you!