Coder Social home page Coder Social logo

Comments (10)

Xenoshell avatar Xenoshell commented on September 3, 2024 1

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 ^^

from opengothic.

Try avatar Try commented on September 3, 2024

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 system
  • as consequence, you wasn't able to install vulkan-sdk, that is needed for the engine
  • game doesn't build because vulkan headers, which are part of vulkan-sdk were not found/installed.

from opengothic.

Xenoshell avatar Xenoshell commented on September 3, 2024

Hello @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 :)

from opengothic.

Nindaleth avatar Nindaleth commented on September 3, 2024

@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 process
  • W: 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 ignored
  • libjsoncpp1 ... 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)

from opengothic.

Xenoshell avatar Xenoshell commented on September 3, 2024

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

from opengothic.

Nindaleth avatar Nindaleth commented on September 3, 2024

I don't know, can you share the command line you use to run OpenGothic and what's the path you run it from?

from opengothic.

Xenoshell avatar Xenoshell commented on September 3, 2024

./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

from opengothic.

Nindaleth avatar Nindaleth commented on September 3, 2024

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.

from opengothic.

Xenoshell avatar Xenoshell commented on September 3, 2024

@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?

from opengothic.

Nindaleth avatar Nindaleth commented on September 3, 2024

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.

from opengothic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.