Closed Newbytee closed 3 years ago
Hi, Your issue is, provided that the steam version doesn't use a vastly different directory structure (I am using the gog version), that the path shouldn't point to the root directory, but rather to the data directory, the directory where the rmdp files reside. I realize now that this is not clearly explained somewhere. I can add a section in the readme for that, when I have some time. In the case of Alan Wake, it shouldn't work at the moment without some modifications of the source code.
Your issue is, provided that the steam version doesn't use a vastly different directory structure (I am using the gog version), that the path shouldn't point to the root directory, but rather to the data directory, the directory where the rmdp files reside. I realize now that this is not clearly explained somewhere. I can add a section in the readme for that, when I have some time.
Correct, that was my issue. I think making the engine tell the user that this isn't the data directory would be an okay solution as well, but documenting how this is used would definitely be good too.
However, it's now complaining that it does not find some file (presumably the configuration?): log.txt
I have fixed this issue in the last commit, it should work now. About the data directory, yes this is definitely something I had also in mind. If you want to add code for this, feel free.
A pull fixed that :+1:
Next issue - GLFW tries to use Wayland!
[2021-07-06 16:20:53.818] [info] Reading Alan Wakes American Nightmare configuration
[2021-07-06 16:20:53.818] [info] GLFW Info: 3.3.4 Wayland EGL OSMesa clock_gettime evdev shared
[2021-07-06 16:20:53.818] [error] GLFW Error 65544: Wayland: Failed to connect to display
[2021-07-06 16:20:53.819] [critical] Failed to initialize glfw
I like Wayland but unfortunately I have an NVIDIA card so I'm using X11 :(. I don't think I've something unusual set so I'm not sure what this is about. Do you think this is a distribution issue or a OpenAWE bug?
Actually, is this something I should be specifying in that configuration file I don't have?
I like Wayland but unfortunately I have an NVIDIA card so I'm using X11 :(. I don't think I've something unusual set so I'm not sure what this is about. Do you think this is a distribution issue or a OpenAWE bug?
Me too :smile: . I have also fedora 34 and an nvidia card and ran into the exact same problem. This is definitely a problem of fedora, since they ported everything to use wayland by default. You have to compile glfw against x11 and use this version. From what I know, the glfw devs have it on their roadmap to switch between wayland and x11 here. The config file contains only alan wake engine related information, for example, which manuscript pages you already collected.
Maybe we should close this issue? It's not clear to me what would be necessary to consider this fixed. The crash issue was fixed, and the Wayland issue is a GLFW issue, not OpenAWE issue.
Ok, I will close here, just wanted to see, if other errors emerge when you fixed glfw.
Oh, I can give you a followup: I ended up switching to Wayland following the release of the 470.xx.xx NVIDIA driver and it just works now. :+1:
I built OpenAWE like this on Fedora 34:
I got the various dependencies from the Fedora repositories. When I launch OpenAWE, it segfaults. It does print some messages, but nothing that helped me diagnose the issue:
It also happens if I don't specify a path:
Or if I try to launch the original Alan Wake instead of Alan Wake's American Nightmare:
It does not segfault if I issue the
--help
command. I might try to debug this later. Suggestions what to try are welcome.