-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New UE4SS working directory location #506
Conversation
If running the game directly from the shipping exe, there is an issue where DRG doesn't load properly as shown: If running the game from steam, it doesn't load up at all. I'm sure both of these issues are related to the proxy dll, but I wouldn't even know where to begin with debugging as there is nothing obvious when breakingpoint debugging the proxy code. |
As far as Steam not working, that's because you're using As far as DRG not loading properly when using the shipping exe, what do you mean ? |
To debug the proxy, open |
Packaging is failing: https://github.com/UE4SS-RE/RE-UE4SS/actions/runs/9106272884/job/25033211418 |
That's what I was doing, I just didn't see anything wrong, so I thought it was some weird thing I didn't understand. |
Your fix works, thanks. For debugging my exe path is the shipping exe. When it loads, it:
Actually, without ue4ss installed, the exact same thing happens when loading directly from shipping exe. So steam must be initialised from the bootstrapper one. But if I load from the bootstrapper one by debugger isn't attached to the right process... |
77f1997
to
7ae56f3
Compare
There shouldn't be a message box when ue4ss loads should there? That's just kinda annoying if you have to close out of it |
It's only if it fails to load. |
"I put in two; one for when proxy fails to load for whatever reason, and one for when UE4SS.dll loads." |
That's a typo, they meant if UE4SS.dll fails to load. |
The second half of the sentence |
Yes, |
472ad3e
to
07ad3fe
Compare
5c0990f
to
d2fe3fe
Compare
Just realised deleting API.txt broke build script. Will get on that shortly. |
d2fe3fe
to
e3d07a8
Compare
Releases build as expected now. |
Does this PR also affect the location of imgui.ini ? Not sure if the creation of that file is based on the location of UE4SS.dll or the exe. |
Forgot about that. It seems to still be put into the exe dir. Should it be kept that way? |
If possible, it should go in the ue4ss directory, but I don't know if imgui provides a way to do that and I don't think we should bend over backwards to get that to work. |
What ? Was there something that didn't work properly ? |
The object dumper directory doesn't use the new path:
|
2ec2f3e
to
b9af5c2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Tested and it's working.
proxy override target maintain legacy location update build script with ue4ss path fix bp mod loader loading of legacy watches fix wrong filters location use dll directory instead of working directory fixes fix release zips Error message boxes on proxy loading test script docs, changelog fix buildscript Remove outdated API.txt add doc link to error message box UE4SS title on error pane fix oopsie remove ref to deleted API.txt in build script Change imgui.ini location Fix paths in docs Revert moving imgui.ini location Don't ask me why, I have literally no idea. Fix object dumper directory pointing to wrong place
2b6f4db
to
75d822f
Compare
Description
As according to the discussions in #476. Install location of all files will be in /ue4ss except proxy. Legacy locations all supported, but if files are in new locations, those take priority.
Proxy tries to load UE4SS.dll from new location, but the location of the UE4SS.dll (and thus the root directory) can be overriden by placing a file called
override.txt
next to the proxy and can contain either an absolute or relative path to the UE4SS.dll. Still supports legacy UE4SS.dll location.Also changes the build script as all files need to be zipped inside of a
ue4ss/
folder that will still be unzipped inside of the game exe directory due to the proxy also being there.Type of change
How Has This Been Tested?
Tested files in legacy, new, and overriden file locations, seperately and in a mix of two or three at once.
Checklist