Sunday, 25 August 2013

diablo2 window mode using ubuntu script

diablo2 window mode using ubuntu script

I have Diablo 2 installed on one of my drives which I would like to run in
Ubuntu, but I don't want to have to go through Terminal, every time, to
start it up. I was trying to create a shell script that would just open it
for me when I wanted to play it.
This is what I came up with:
#! /bin/bash
wine /media/84964ADD964ACF7C/"Program Files (x86)"/Diablo\ II/Diablo\
II.exe -w
When I run it I get a /bin/bash^M: bad interpreter: No such file or
directory error. What am I doing wrong?
I have changed the permissions to be 755 and
I run it through the command line but it will not run
Oh, I forgot to put in my answer, that when I run the command above in the
command line it works just fine, but when I run my script it doesn't work

No comments:

Post a Comment