Explain what path the DLSS files should be in.#136
Open
Iemand005 wants to merge 1 commit intoMinecraft-Radiance:mainfrom
Open
Explain what path the DLSS files should be in.#136Iemand005 wants to merge 1 commit intoMinecraft-Radiance:mainfrom
Iemand005 wants to merge 1 commit intoMinecraft-Radiance:mainfrom
Conversation
|
Making PRs for this is just you trying to be relevant and "make a contribution" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Radiance is throwing an error when the DLSS libraries are missing.
I noticed the error is very vague. Mutiple people got this error after installing on Modrinth, even after putting the dll files in what seems like the right spot.
I don't think missing DLSS should cause an error that crashes the game though, at worst it should disable DLSS functionality. Ideally I would also replace radianceDir.resolve with a new function like resolveAndCheck(radianceDir, "nvngx_dlssd.dll") which then throws an error or just writes to the console which exact location every missing file is so the user can directly check that location. You can also make a function resolveAndCheck("nvngx_dlssd.dll") that doesn't need the path as param.
radianceDir should not be a static Path, it should be a property. I see that it's only referenced outside the class at 3 other places (Options.java and ModuleEntry.java). These can be provided the path via dependency injection or just from the RadianceClient instance.
It would also be pretty easy to auto download the dll files if that's allowed, or you can just add a link to where to download the dll files that gets logged in console or shown in a pop-up.
Let me know if you'd want me to implement anything.
Here's the stack trace for anyone facing this problem: