Hey!
No, you don't need to name your text file something specific. You only need to change it's extension from .txt to .bat and then run the game by double clicking bat file and not .exe of game so it looks something like that
If the forcing of the DirectX or OpenGL doesn't work you can try to change it to:
-window-mode exclusive
so in text file or the .bat file when you edit it it should be:
LovelyCraftPistonTrap.exe -window-mode exclusive
the last thing (if you're using laptop) is to change in the Intel Control panel and switch the 'Scaling' option from "Maintain Display Scaling" to "Maintain Aspect Ratio"
Hope that helps you with the problem.
Cheers!