sof on 32bit mx19 [Solved]
sof on 32bit mx19
hi im trying to play soldier of fortune, yes i know its an old game but i like it and so do my grandsons so i want it back. anyway im running mx19 32bit as i couldnt figure how to run it on my 64bit system. i tried sh setup.sh as it says in the sof manual but get the following errors.
$ cd sof
john@mx:~/Desktop/sof
$ sh setup.sh
setup.sh: 9: setup.sh: function: not found
x86
john@mx:~/Desktop/sof
$ setup.sh
bash: setup.sh: command not found
john@mx:~/Desktop/sof
$ sudo sh setup.sh
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for john:
setup.sh: 9: setup.sh: function: not found
x86
..
any help appreciated
$ cd sof
john@mx:~/Desktop/sof
$ sh setup.sh
setup.sh: 9: setup.sh: function: not found
x86
john@mx:~/Desktop/sof
$ setup.sh
bash: setup.sh: command not found
john@mx:~/Desktop/sof
$ sudo sh setup.sh
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for john:
setup.sh: 9: setup.sh: function: not found
x86
..
any help appreciated
win 7 pc, lubuntu 17.10 on compaq pressario, mx 17 on inspiron 1545.
samsung 700g7c mx17
registered linux user number 625675
linux is a way of life
otmapp wwwc krazies and kattle and the krew
samsung 700g7c mx17
registered linux user number 625675
linux is a way of life
otmapp wwwc krazies and kattle and the krew
-
- Posts: 3602
- Joined: Tue Jun 14, 2016 2:02 pm
Re: sof on 32bit mx19
can you try
key being ./
Also make sure the file is executable, Right-Click it ? Properties > Permissions > Allow this file to run as a program
Code: Select all
./script-name.sh
Also make sure the file is executable, Right-Click it ? Properties > Permissions > Allow this file to run as a program
NEW USERS START HERE FAQS, MX Manual, and How to Break Your System - Don't use Ubuntu PPAs! Always post your Quick System Info (QSI) when asking for help.
Re: sof on 32bit mx19
john@mx:~
$ ./script-name.sh
bash: ./script-name.sh: No such file or directory
john@mx:~
$ ./script-sof.sh
bash: ./script-sof.sh: No such file or directory
john@mx:~
wasnt sure if you meant name or name of game etc.
all permissions granted
$ ./script-name.sh
bash: ./script-name.sh: No such file or directory
john@mx:~
$ ./script-sof.sh
bash: ./script-sof.sh: No such file or directory
john@mx:~
wasnt sure if you meant name or name of game etc.
all permissions granted
Last edited by in2media on Fri Oct 08, 2021 4:09 pm, edited 1 time in total.
win 7 pc, lubuntu 17.10 on compaq pressario, mx 17 on inspiron 1545.
samsung 700g7c mx17
registered linux user number 625675
linux is a way of life
otmapp wwwc krazies and kattle and the krew
samsung 700g7c mx17
registered linux user number 625675
linux is a way of life
otmapp wwwc krazies and kattle and the krew
Re: sof on 32bit mx19
Just try bash
Meanwhile, with script-name.sh @SwampRabbit meant that setup.sh :
Don't forget that you need to be in that directory, like you did before:
john@mx:~/Desktop/sof
Otherwise it won't be able to find it normally "No such file or directory" ... (Or you need to type the full path ...)
Code: Select all
bash setup.sh
Code: Select all
./setup.sh
john@mx:~/Desktop/sof
Otherwise it won't be able to find it normally "No such file or directory" ... (Or you need to type the full path ...)
Re: sof on 32bit mx19
Huckleberry Finn wrote: Fri Oct 08, 2021 4:04 pm Just try bash
gives no permission to write to user/local/gamesCode: Select all
bash setup.sh
checked permissions but cant change them, says owned by root
Meanwhile, with script-name.sh @SwampRabbit meant that setup.sh :
Code: Select all
./setup.sh
gives function not found
win 7 pc, lubuntu 17.10 on compaq pressario, mx 17 on inspiron 1545.
samsung 700g7c mx17
registered linux user number 625675
linux is a way of life
otmapp wwwc krazies and kattle and the krew
samsung 700g7c mx17
registered linux user number 625675
linux is a way of life
otmapp wwwc krazies and kattle and the krew
Re: sof on 32bit mx19
First
(or sudo su )
then bash setup.sh
(Again, when you're within that folder in terminal: ~/Desktop/sof )
Code: Select all
su
then bash setup.sh
(Again, when you're within that folder in terminal: ~/Desktop/sof )
Re: sof on 32bit mx19
i forgot bout the su command, sorry bout that.
says unable to find bin/x86/sof but it is in the sof folder.
but its installed the base install
says unable to find bin/x86/sof but it is in the sof folder.
but its installed the base install
win 7 pc, lubuntu 17.10 on compaq pressario, mx 17 on inspiron 1545.
samsung 700g7c mx17
registered linux user number 625675
linux is a way of life
otmapp wwwc krazies and kattle and the krew
samsung 700g7c mx17
registered linux user number 625675
linux is a way of life
otmapp wwwc krazies and kattle and the krew
Re: sof on 32bit mx19
No, nothing to be sorry, we first tried as normal user, then after it refused to do it (for permissions) we tried as root (you didn't forget or skip that ) :)
Re: sof on 32bit mx19
yea i forgot permissions il admit. ive only spent 2 weeks on this game for kiddies.
i just couldnt get my head around it
i just couldnt get my head around it
win 7 pc, lubuntu 17.10 on compaq pressario, mx 17 on inspiron 1545.
samsung 700g7c mx17
registered linux user number 625675
linux is a way of life
otmapp wwwc krazies and kattle and the krew
samsung 700g7c mx17
registered linux user number 625675
linux is a way of life
otmapp wwwc krazies and kattle and the krew
Re: sof on 32bit mx19
If it's exactly : "unable to find bin/x86/sof " then it's true, cause it needs to be /bin/sof (it really can't find "bin" within that directory or anywhere else) (if there's not a specific folder in sof, like this: ~/Desktop/sof/bin/x86/sof )
So, just open the script with text editor, search (generally Ctrl + F ) for bin/sof then correct them putting a / in front, save, close (maybe re-install)
If the main issue is solved, you can mark the thread like this:
So, just open the script with text editor, search (generally Ctrl + F ) for bin/sof then correct them putting a / in front, save, close (maybe re-install)
If the main issue is solved, you can mark the thread like this:
You do not have the required permissions to view the files attached to this post.