Skip to content

Loader: Use separate Game DLL#154

Draft
tmp64 wants to merge 2 commits intomainfrom
feature/chair-prey-dll
Draft

Loader: Use separate Game DLL#154
tmp64 wants to merge 2 commits intomainfrom
feature/chair-prey-dll

Conversation

@tmp64
Copy link
Collaborator

@tmp64 tmp64 commented Jan 28, 2025

Resolves #126

@sjp761
Copy link

sjp761 commented Jan 31, 2025

Does the basic feature work right now or does more need to be implemented? I want to test this

@tmp64
Copy link
Collaborator Author

tmp64 commented Feb 1, 2025

Does the basic feature work right now or does more need to be implemented? I want to test this

The basic feature (using PreyDll.Chairloader.dll instead of patched PreyDll.dll) works. But ChairManager is not aware of this feature and will try to patch the DLL anyway.

If you want to test it, download the latest build from here and manually install Chairloader.dll and mswsock.dll. Then rename patched PreyDll.dll into PreyDll.Chairloader.dll and restore original PreyDll.dll

When launching Prey.exe normally, PreyDll.Chairloader.dll will be used with Chairloader. When launching Prey.exe -nochair, original PreyDll.dll will be used and Chairloader won't be loaded.

@sjp761
Copy link

sjp761 commented Feb 1, 2025

Is PRIC supported with the DLL changes (or will be in the future)?

@tmp64
Copy link
Collaborator Author

tmp64 commented Feb 9, 2025

Is PRIC supported with the DLL changes (or will be in the future)?

Yes, but with limitations.

This PR will allow you to disable DLL modding in Chairloader. The game will use the original PreyDll, which is supported by PRIC. But some mods (like Hackerman) won't work.

@sjp761
Copy link

sjp761 commented Feb 9, 2025 via email

@tmp64
Copy link
Collaborator Author

tmp64 commented Feb 9, 2025

Yes. Either Full Chairloader or XML-only Chairloader + PRIC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chairloader.Loader should replace PreyDll.dll

2 participants