For Mac: steam_appid goes in the gamename.app > contents folder. Then navigate to Resources folder, rename app.nw to app.zip and past the libs into their. After you've finished rename back to app.nw
Linux: steam_appid into the first folder with that has .pak files, .dat and a few folders. For libs, same as win64, rename package.nw to .zip and add the libs in their