atom0s / Steamless

Steamless is a DRM remover of the SteamStub variants. The goal of Steamless is to make a single solution for unpacking all Steam DRM-packed files. Steamless aims to support as many games as possible.
Other
3.08k stars 195 forks source link

Steamless.API.dll is still required to be in the same folder as the CLI executable after c2719b776d77ed2855443067d9c1c127a4fdc935 #75

Closed layercak3 closed 2 years ago

layercak3 commented 2 years ago

CLI: Fix issues where Steamless.API.dll was required to be in the same folder as the CLI executable. in c2719b776d77ed2855443067d9c1c127a4fdc935 doesn't appear to work (Steamless.CLI.exe crashes on launch if it's not in the same folder because of CLI: Fix Steamless.API.dll reference being copied to main output folder.). Steamless.API.dll is still required to be in the same folder as the CLI executable.

Reversing https://github.com/atom0s/Steamless/commit/c2719b776d77ed2855443067d9c1c127a4fdc935#diff-b66edfaa8d3321a09881f2d18e8fee1502c56012cdc6753fdc507e0eabcf72e3R59 or manually copying the API dll from Plugins to the main output folder allows the program to launch again.

atom0s commented 2 years ago

If you're compiling from source yourself and running within a debugger, be sure that you have set the proper working path for your environment. The current release (3.1.0.0) is working fine with the API files and plugins within the Plugins folder as expected.

I am not able to reproduce any issues/errors on multiple test machines either with the latest release package, and with the direct source with a proper environment setup.

layercak3 commented 2 years ago

Ok, I'm building the source (latest commit in master) using mono msbuild for Linux (patches irrelevant to the issue were needed to get it to build) in a clean environment (so not caused by cache etc.). Could be an issue with mono/msbuild then.

Tuupertunut commented 1 year ago

My workaround for this issue on Linux is to set MONO_PATH=Plugins before running the program.