Closed Xenoshell closed 1 month ago
Anything i could do? Every suggestion is appreciated.
Hi @Xenoshell , I'm not a linux user, but it seem like an issue on a side of your package-manager. What happen:
apt update
didn't work - idk, something off with our systemHello @Try , Ok i will try to focus on the update error and maybe i can find something. If i do, i will report back. I'm not a linux know it all so if someone else has more knowledge on what to do i would appreciate it :)
@Xenoshell I can see these issues:
E: The repository 'http://repository.spotify.com stable InRelease' is not signed.
- this error is not related to OPG build processW: https://packages.lunarg.com/vulkan/dists/focal/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
- this is related, but it's only a warning and since you can try to install the necessary package, it means the repo was parsed correctly and the warning can be ignoredlibjsoncpp1 ... qt5-default ... not installable
- these packages are not available in your distro, you can try to get them via other means or build them yourself... however, I can see one more clue in your inxi output (nice! that actually helped)Distro: Linux Mint 21.3 Virginia ... base: Ubuntu 22.04 jammy
- the README step tells you to import a Focal repo list (which is Ubuntu 20.04), but your Mint distro version is based on Jammy (Ubuntu 22.04)To fix this, I suggest removing /etc/apt/sources.list.d/lunarg-vulkan-focal.list
and doing this:
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-jammy.list http://packages.lunarg.com/vulkan/lunarg-vulkan-jammy.list
and the sudo apt update
and the sudo apt install vulkan-sdk
again; there's a higher probability it will contain (and require) the packages that your distro knows.
EDIT: We should probably update the README to support Ubuntu 22.04 (and very soon also Ubuntu 24.04)
Thank you @Nindaleth your comment helped a lot. I was able to install vulkan-sdk and then OpenGothic. I would consider this closed but now, for some reason, i have a problem with executing the .sh script.
My error is simple:
./Gothic2Notr.sh: line 8: /home/../Documents/OpenGothic/scripts/Gothic2Notr: No such file or directory
I changed the line 8 to exec "$DIR/Gothic2Notr" "$@" -g "~/.steam/debian-installation/steamapps/common/Gothic II
and obviously the directory is existing. What could i do to fix this problem?
I think i once had a similar problem like this, and i think it was an access permission issue. If you want i could open another issue for this seperate problem
I don't know, can you share the command line you use to run OpenGothic and what's the path you run it from?
./Gothic2Notr.sh
i also tried this command with sudo but it didnt change anything.
The error:
./Gothic2Notr.sh: line 8: /home/xenoshell/Documents/OpenGothic/scripts/Gothic2Notr: No such file or directory
This is the line of the script that is failing
exec "$DIR/Gothic2Notr" "$@" -g "/home/xenoshell/.steam/debian-installation/steamapps/common/Gothic II/"
Open gothic is at /home/xenoshell/Documents/OpenGothic
Are you trying to run it from ~/Documents/OpenGothic/scripts/
? The error implies that Gothic2Notr (the binary) is supposed to be present next to Gothic2Notr.sh (the Bash wrapper), which doesn't hold for the scripts
directory.
Here's how I run it, OpenGothic is in ~/src/OpenGothic
:
cd ~/src/OpenGothic
./build/opengothic/Gothic2Notr.sh -g ~/Games/gothic-ii-gold-edition/drive_c/GOG\ Games/Gothic\ 2\ Gold/
Does that work for you? In that path the binary and the bash wrapper are guaranteed to be both present as long as the build passes.
@Nindaleth Thank you very much that solved my problem. I just thought that the Gothic2Notr.sh i have to execute is in the scripts directory and didn't think that there is another one somewhere floating around. Nowhere did it state differently.
I was able to start OpenGothic and play it too. Looks pretty amazing. If i have some old save files, where can i put them so OpenGothic can load them?
Happy to help.
In the README the compilation section does state that "Executables can be located at OpenGothic/build/opengothic
."
If i have some old save files, where can i put them so OpenGothic can load them?
OpenGothic at the moment does not support loading the original saves.
Ah ok, thats sad but thanks anyway. Now that you mentioned it, i saw that line with executables can be located at OpenGothic...
but i after bulding it i only looked at the How To Play section and not at the Build section anymore.
Thanks again for all the help with my various problems, now i think i have to go do all the quests again to be a novice ^^
Installing dependencies:
an error when using sudo apt update:
and when trying to install vulkan-sdk:
This is the make error:
This is my system (i deleted some stuff to make it more readable):
Anything i could do? Every suggestion is appreciated. I read in the README that you can download a build here but tbh i dont know how.