I have this old Windows game with a .bat file which doesn't open with Wine and only opens as a text file. I have browsed through and tried several suggested ways of opening it with Wine console without any success. Many other methods are either too complex or coded for a layman like me to understand. So, can someone please provide a simple step-by-step guidance on this? Thanks in advance.
02 Answers
The solution by OP
Install Wine & configure it to relevant Windows version for game
Open Gedit (notepad of Ubuntu)>Edit>Preferences>Plugins>select 'External tools execute external commands shell scripts'>Close
Go to your .bat file>right click>Properties>Permissions>select 'allow executing file as program'>Close
Double-click the .bat file, it will open in gedit>Tools>External Tools>Run command>in the popped up box type 'wineconsole cmd' (without inverted commas)>OK. 5. A Wine console terminal will pop up, in it type 'start yourfilename.bat' and hit enter. That'll run it.
I had the same problem but I solved it with wine. When you got your .bat file you have to right click on it en go to properties. Then click on 'open with' then select wine.(if you already downloaded wine) And then click on 'set as default' and you are finished. (you can download 'configure wine' in 'ubuntu software'.
1