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
avatar
adamhm: Edit: What happens if you try running "realpath --version" ?
realpath version 1.19

Sorry I have been away for a while. I am trying again...

----------------------:~/New Vegas$ ./falloutnv_wine.sh
Fallout: New Vegas (Wine wrapper)
realpath: invalid option -- 'm'
Usage:
realpath [-s|--strip] [-z|--zero] filename ...
realpath -h|--help
realpath -v|--version
ERROR: Intended output directory "/Fallout New Vegas" already exists. Please remove it then try again.
This is ridiculous. The "Fallout New Vegas" directory is nowhere to be found on the computer.. (ran a search)

*wait*.. I found it under the "/" directory but it will no let me do anything to it.
Post edited February 23, 2019 by BStone
avatar
BStone: realpath version 1.19
Hmm, that version is *ancient* - that would explain why it isn't working on your system; it looks like Zorin is providing a version that's so old that it doesn't support the options used by my scripts & fails. On my system with Mint 19.1 (Ubuntu 18.04 base) the version provided by the repositories is 8.28; in a VM set up with Ubuntu 16.04 the version provided there is 8.25...

avatar
BStone: This is ridiculous. The "Fallout New Vegas" directory is nowhere to be found on the computer.. (ran a search)
*wait*.. I found it under the "/" directory but it will no let me do anything to it.
It does tell you with the error message: "ERROR: Intended output directory "/Fallout New Vegas" already exists. Please remove it then try again."

As realpath failed the build path resolved as / and normally this would cause it to fail due to permissions, but you must have tried running it as root at some point (never run anything as root unless it's strictly necessary to do so). It won't let you do anything to it as the normal user account doesn't have the permissions needed. To remove it use the following command:

sudo rm -rf "/Fallout New Vegas"

Or open / in the file manager as root (there's normally a right-click option to open a directory as root) and delete it from there.

When I next update the wrappers I'll have them print a warning & refuse to run as root by default, and to abort if realpath fails.
Post edited February 23, 2019 by adamhm
avatar
BStone: realpath version 1.19
avatar
adamhm: Hmm, that version is *ancient* - that would explain why it isn't working on your system; it looks like Zorin is providing a version that's so old that it doesn't support the options used by my scripts & fails. On my system with Mint 19.1 (Ubuntu 18.04 base) the version provided by the repositories is 8.28; in a VM set up with Ubuntu 16.04 the version provided there is 8.25...

avatar
BStone: This is ridiculous. The "Fallout New Vegas" directory is nowhere to be found on the computer.. (ran a search)
*wait*.. I found it under the "/" directory but it will no let me do anything to it.
avatar
adamhm: It does tell you with the error message: "ERROR: Intended output directory "/Fallout New Vegas" already exists. Please remove it then try again."

As realpath failed the build path resolved as / and normally this would cause it to fail due to permissions, but you must have tried running it as root at some point (never run anything as root unless it's strictly necessary to do so). It won't let you do anything to it as the normal user account doesn't have the permissions needed. To remove it use the following command:

sudo rm -rf "/Fallout New Vegas"

Or open / in the file manager as root (there's normally a right-click option to open a directory as root) and delete it from there.

When I next update the wrappers I'll have them print a warning & refuse to run as root by default, and to abort if realpath fails.
Thanks.

1. Realpath: Where did you get such an updated version of realpath? Zorin receives updates every few days and I tried to use the terminal too.

2. My bad, I forgot the sudo command when trying to delete the folder. The above command worked I think (the folder is still visible in the file manager, but it is empty. I don't think it is there.).
avatar
BStone: 1. Realpath: Where did you get such an updated version of realpath? Zorin receives updates every few days and I tried to use the terminal too.
From the system repositories - it's installed by default. I'm not sure why Zorin is so outdated.

avatar
BStone: 2. My bad, I forgot the sudo command when trying to delete the folder. The above command worked I think (the folder is still visible in the file manager, but it is empty. I don't think it is there.).
The command should remove the entire "Fallout New Vegas" directory (I guess Zorin's file manager simply didn't refresh).
avatar
BStone: 1. Realpath: Where did you get such an updated version of realpath? Zorin receives updates every few days and I tried to use the terminal too.
avatar
adamhm: From the system repositories - it's installed by default. I'm not sure why Zorin is so outdated.

avatar
BStone: 2. My bad, I forgot the sudo command when trying to delete the folder. The above command worked I think (the folder is still visible in the file manager, but it is empty. I don't think it is there.).
avatar
adamhm: The command should remove the entire "Fallout New Vegas" directory (I guess Zorin's file manager simply didn't refresh).
Hmm, is there a manual way to D/L a later version of realpath (I assume I need it in order to use your file)?

Zorin is my first taste of Linux/Ubuntu. I have WinXP on the other drive but can get no sound with it on this machine.
Post edited February 24, 2019 by BStone
realpath is provided by the coreutils package so you'd need a newer version of that. There might be other outdated tools & libraries as well though; you might want to consider trying Mint.