It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
It shouldn't be necessary to give it execute permissions manually... are you trying to run it on a Windows filesystem?

Also it's strongly recommended to run the build scripts from the terminal so you can see their output if anything fails. Open a terminal in the directory containing the script and try to run it with the command: ./falloutnv_wine.sh
Post edited January 01, 2019 by adamhm
avatar
adamhm: It shouldn't be necessary to give it execute permissions manually... are you trying to run it on a Windows filesystem?

Also it's strongly recommended to run the build scripts from the terminal so you can see their output if anything fails. Open a terminal in the directory containing the script and try to run it with the command: ./falloutnv_wine.sh
I am former Windows user turned Ubuntu user. I am running Zorin right now.

You mentioned opening the terminal in the directory containing the script. Funny thing is Zorin lately is giving me the error "Terminal emulator not set" when trying open the terminal in the directory.

BTW, when I mean "execute" the .sh file, I mean double-clicking on it. And LXTerminal is what should be opening it.

Thanks again.

Little Update:

I moved the files to a folder in the Home directory and now I can execute the falloutnv_wine.sh file. I tell it to "execute in terminal", but it isn't opening in the usual Terminal it opens in its own very small terminal-like box: You can see the code scroll as it does its thing, but then it suddenly closes down and nothing seems to have been installed.
Post edited January 03, 2019 by BStone
I'm not familiar with Zorin so I don't know how it's set things up. It looks like there might be a configuration issue somewhere though, going by the "Terminal emulator not set" message.

Anyway don't try running the script from the GUI as even if you run it in a terminal that way it'll close once the script finishes & prevent you from reading the output. Instead open a terminal in the directory containing the script and run it like so: ./falloutnv_wine.sh (someone else asked about the Fallout 3 script a few days ago & I posted an example there: https://www.gog.com/forum/fallout_series/fallout_3_for_linux/post24 )

On Mint you can just right-click in the file manager and select "Open in Terminal" (or click the terminal button if it's configured to show that) to open a terminal in the current directory... look for something similar. Failing that, there should be a terminal option in the system's menu, although you'll need to switch to the directory containing the script using the cd command if you do it that way.
avatar
adamhm: On Mint you can just right-click in the file manager and select "Open in Terminal" (or click the terminal button if it's configured to show that) to open a terminal in the current directory... look for something similar. Failing that, there should be a terminal option in the system's menu, although you'll need to switch to the directory containing the script using the cd command if you do it that way.
Weird. Idk.

Anyway, I didn't know of the cd command (thought it would be different in Linux than DOS). I ran the .sh in the Terminal, the error is:

[i]Creating directories...
mkdir: cannot create directory ‘/Fallout New Vegas’: Permission denied[/i]

Thank you.
Post edited January 03, 2019 by BStone
It looks like it's trying to create the wrapper in the root directory for some reason, and is failing because you need root access to create/modify anything there (on that note, don't try running the scripts as root). Since it's designed to use the current directory unless otherwise specified that means it's either being run from there or has been told to use that as the destination.

I recommend creating a "Games" directory in your home directory then running the script/building the wrapper there, otherwise if you want to put it elsewhere then it'll need to be somewhere that your user owns/otherwise has write permissions for.

BTW you might find it helpful to check out the Mint beginner's guide I wrote (much of it should apply to Zorin too): https://www.gog.com/forum/general/the_try_linux_repostrewrite
avatar
adamhm: ..(on that note, don't try running the scripts as root). Since it's designed to use the current directory unless otherwise specified that means it's either being run from there or has been told to use that as the destination.
Sorry for my ignorance, but "running the script as root"? I have been trying to just follow the directions given:

I have put all files in a directory.
Use Terminal to cd to said directory.
Run the falloutnv_wine.sh file (./falloutnv_wine.sh, or chmod +x falloutnv_wine.sh)

I recommend creating a "Games" directory in your home directory then running the script/building the wrapper there, otherwise if you want to put it elsewhere then it'll need to be somewhere that your user owns/otherwise has write permissions for.
I have your files and the GOG files all in my "/home/------/NewVegas" folder right now. A am running from there. I wanted the NewVegas directory to be with all my other games on the other HDD but I could not "cd" to the location.

Also, on "permissions". This is my machine and my OSs. There shouldn't be anything here, software or hardware, that I shouldn't have utter and absolute access to.

BTW you might find it helpful to check out the Mint beginner's guide I wrote (much of it should apply to Zorin too): https://www.gog.com/forum/general/the_try_linux_repostrewrite
Thanks. I'll check that out too.
Post edited January 03, 2019 by BStone
avatar
BStone: Sorry for my ignorance, but "running the script as root"? I have been trying to just follow the directions given:

Also, on "permissions". This is my machine and my OSs. There shouldn't be anything here, software or hardware, that I shouldn't have utter and absolute access to.
Definitely check out my guide. There should be two user accounts (unless you created more), one is the "root user" (admin) and the other is a normal account (what you normally use). While your regular user account can only do things it's specifically permitted to do, the root account can do just about anything (even if it would result in wiping out the system).

By default you cannot login as the root user, but your normal account should be able to run things as root when required by using the "sudo" command (however it's a very bad idea to run anything as the root user unless it's strictly necessary).

avatar
BStone: I have put all files in a directory.
Use Terminal to cd to said directory.
Run the falloutnv_wine.sh file (./falloutnv_wine.sh, or chmod +x falloutnv_wine.sh)

I have your files and the GOG files all in my "/home/------/NewVegas" folder right now. A am running from there. I wanted the NewVegas directory to be with all my other games on the other HDD but I could not "cd" to the location.
Where are the other games/what error did it produce when you tried to switch to the other directory (note: if the path contains a space you need to either put a backslash before each space or encapsulate them in quotation marks. e.g. if Fallout: New Vegas was installed to "$HOME/Games/Fallout New Vegas":

cd $HOME/Games/Fallout New Vegas

will fail, but:

cd $HOME/Games/Fallout\ New\ Vegas

or:

cd "$HOME/Games/Fallout New Vegas"

or even:

cd $HOME/Games/"Fallout New Vegas"

will work.

Anyway since you're trying it in "$HOME/NewVegas" right now, it should work... but according to what you posted earlier it was trying to build it in the root path (/), so something is breaking before it gets to that point. It might be that Zorin is missing something important that's normally included with Ubuntu/Mint/etc... are there any other error messages before it gets to that point?

Edit: What happens if you try running "realpath --version" ?
Post edited January 03, 2019 by adamhm