I'm trying to create a symbolic link on a PATH location that points to a program (OpenTTD), located in a folder that contains the game files. My main issue is that, when I create the symbolic link, using:
ln -s ~/full/path/to/openttd ~/bin/openttd
I ran into the following console error:
Error: No available language packs (invalid versions?)
This means that the game "link" can't find the necesary files needed to run properly, because it gets "executed" directly from the directory where the link is located (in this case "~/bin") and it searchs only there for the required files, instead of looking into ~/full/path/to/ ; The same thing happends if I "move" the executable openttd to ~/bin/ and run it through terminal (this was done for testing purposes to know if it was the lack of game files that was causing the error).
Please note that if I run the game either via a ~/full/path/to/openttd command or double clicking the file, the game runs just fine.
My question here is if there's a way to either create a symbolic link the same way that we could create a shortcut in windows, I don't really know if that's even possible.
Thanks, I couldn't find a similar question. The closest one was this: https://superuser.com/questions/511900/why-doesnt-my-symbolic-link-work And it's what I already tried.