Help making an installer to patch a Steam game

I’m trying to write an installer to automate patching the Steam version of Coming Out On Top.

The uncensor patch installers I made for England Exchange and Amorous both worked just fine, but they involved having the installer create a plain text file. COOT requires you to select the patch file, and this is where something is going wrong.

When I test the installer, I get to “Click install to continue,” I click Install, and then the Install button disappears and nothing happens, leaving only the option to Cancel.

There’s probably something really obvious that I’m missing, but I’m at a complete loss.

Try this:

files:
- patch: https://obscurasoft.files.wordpress.com/2017/10/spack.zip
game:
  appid: 642090
installer:
- extract:
    dst: $GAMEDIR/game
    file: $patch

That worked perfectly! Thank you very much!

Unfortunately I’m still not sure why the extract command works but trying to select an already extracted file and use the merge command doesn’t, so any help on that front would be much appreciated.