How do I make a bash script an executable on Zorin OS

I hope it's okay I ask this question. There is 5000 options on google and I am struggling to find the right response.

I want to use this program for Elden Ring

It requires to mark it as an executable for bash.. I am trying to do that and it keeps telling me no directory is found

I tried to use this video as a resource https://www.youtube.com/watch?v=yBjHUehz4Qo

But I am still struggling and I can't seem to find anything on the forums about bash and executables.

If someone could tell me how I should go about this, I would be very grateful.

I know it's a nooby question but I don't know where to ask.

Usually, you can right click the bash script file and select Properties and under Permissions check the box for open as executable.

Hello and welcome to the Zorin Forums.

From what i can understand, you already have Elden Ring installed and you're just trying to get that tool installed?

Here's a basic explanation of bash scripts:

  1. I've made a file named file.bash, the contents of that file is simply echo "hello world". All that will do is the return the output of "hello world" back to you when you run it.
  2. Open a terminal and navigate to the same directory that file is located in, in my case its the desktop. So i just type cd ~/Desktop.
  3. To run the script, use the command bash file.bash and press enter. The script has been run and it should return hello world in the console.

Now, instead of doing this with a file.bash, you need to do this with elden-proton.bash. Now I'm gonna be honest, i have never heard of this tool and don't really know what it does. So i have not done this on my computer.

When you've downloaded the script, you should probably allow it to be executed. Make sure you're in the right directory as well when performing this command.

sudo chmod +x elden-proton.bash

I tried this and it didn't work, I don't know why.

Okay I will try this. Thank you.