https://github.com/Gcenx/homebrew-wine

(Wine 6.0 compiled from open-sourced CrossOver code, with 32-bit support on macOS 10.15+)

# use en_US.UTF-8 to avoid tofu chars
# init wine prefix
WINEPREFIX="/path/to/prefix" LANG="en_US.UTF-8" winecfg
# use winetricks to install steam (with some workarounds configured)
WINEPREFIX="/path/to/prefix" LANG="en_US.UTF-8" winetricks -q steam

steam.sh:

WINEPREFIX="/path/to/prefix" LANG="en_US.UTF-8" wine prefix/drive_c/Program\\ Files\\ \\(x86\\)/Steam/steam.exe -cef-force-32bit -no-cef-sandbox -udpforce -allosarches -no-browser +open steam://open/minigameslist