I just tried with darksiders warmastered edition and it started fine, but i remember that some games i tried to store on my nas simply wouldn’t launch via smb…
I have checked to see if the executable flag is set, it is, but win11 just plainly refuses to execute anything without ownership (that it is aware of), or so it seems.
The answer to your question is a bit of a rabbit-hole around file systems, network file systems, protocols, performance, developer decisions in writing the game code, and Operating System complexities (such as how the kernel treats what we see as ‘drives’ - mapped drives, versus SMB paths, versus iSCSI LUNs, etc. - how the OS sees a drive, how Windows Defender features behave across these different storage types, and the list goes one)
So while I cannot answer your question in detail, I have had the same experience with SMB, and the short answer is: SMB just isn’t compatible or performant enough for some games, and Windows as an OS has also changed a lot in how SMB is user (mostly secure protocol changes, etc.).
My suggestion: create an iSCSI LUN on your TrueNAS, connect your Windows PC to this, and install the games here. Assuming you have fast enough network, it will be quick, and in the event your gaming PC dies, you simply connect a new OS to the iSCSI LUN and your games are all there.
Agreeing with ClanMudhorn3. Devs will limit the scope of the installation to “local” drives for various reasons, like anti-cheat or maximizing performance. SMB is generally not considered high performance when comparing to iSCSI or NVMe-oF where the allocated blocks are raw and latency protocol is lower. The only negative is these are pre-allocated spaces set aside for the OS to use as local storage.
As an alternative, you can use symlinks to redirect the installs, and it shouldn’t notice where the files are being stored. This will make better use of your NAS storage if you prefer not to setup iSCSI or NVMe-oF.
I wanted to follow up and give an update using SMB + symlinks for Steam games, and it works. Aside from games that have compatibility issues, open elevated command prompt:
Depending on the credentials you setup and the ACL permissions, yes you may have to elevate the permissions on the folder for execution. If ACL has full permissions, all sub-folders should inherit the permissions and if the authenticated ID has the ACL set all related folders should follow.