Write installer that download from steam and run with wine

Hi, i’m trying to write a yaml installer for a game that hasn’t one until now.

The point is that this game is downloadable from steam, but inside steam with proton or tinker i cannot find a way to make it run properly. So i downloaded this game from steam and than i use a lutris wine customized version to make it run. I did all these passages manually.

So i tried to make a yaml to be loaded on lutris.net/games to automate the installation procedure. I followed the guide to make an installer, but i cannot combine the download from steam with the run with wine. Anyway, the main problem is to download the game without the steam client; the second part, i.e. run with wine the game once this is downloaded, is currently running assuming the game is in some folder inside the system.

Thanks to anyone.