VedalAI / neuro-amongus

Among Us Plugin for Neuro-sama
GNU General Public License v3.0
542 stars 49 forks source link

Enhancement: Steam Play compatibility #61

Closed mm12 closed 1 year ago

mm12 commented 1 year ago

Provide working instructions for the plugin to work when using steam play.

I have tried several methods from https://www.reddit.com/r/SteamDeck/comments/whwgkp/comment/ilv4z04/?utm_source=share&utm_medium=web2x&context=3 but none of them have worked with the pluggin yet.

ScrubN commented 1 year ago

BepInEx IL2CPP Linux: https://builds.bepinex.dev/projects/bepinex_be/668/BepInEx-Unity.IL2CPP-linux-x64-6.0.0-be.668%2B46e297f.zip

mm12 commented 1 year ago

BepInEx IL2CPP Linux: https://builds.bepinex.dev/projects/bepinex_be/668/BepInEx-Unity.IL2CPP-linux-x64-6.0.0-be.668%2B46e297f.zip

i will try this but i have heard it doesn't work (I am going to use the Github release and not this site tho)

mm12 commented 1 year ago

No it did not work.

ScrubN commented 1 year ago

I will try on Linux later today when I am free.

mm12 commented 1 year ago

Related: https://www.gamingonlinux.com/2022/07/among-us-modding-on-steam-deck-is-quite-easy-heres-a-quick-guide/

mm12 commented 1 year ago

UPDATE: I finally got something to happen: "failed to start BepInEx" - gonna try some things

mm12 commented 1 year ago

Update: the preloader error log trace is an IOException in ConsolePal all the way down into Doorstop.Entrypoint.Start - line 39

Gonna try this https://docs.bepinex.dev/master/articles/advanced/steam_interop.html#open-winecfg-for-the-target-game

mm12 commented 1 year ago

I got it to run by changing proton version - but then it crashed - the error log in BepInEx says Fatal error. Internal CLR error. (0x80131506) Unhandled exception. System.ExecutionEngineException: Exception of type 'system.ExecutionEngineException' was thrown.

without changing anything I tried again and got a fileNotFound exception for unityengine.coremodule and that it failed to generate Il2cpp after dividing by 0

mm12 commented 1 year ago

If I use the newest pre-release of BepInEx, the game starts but BepInEx doesn't load If I use the one in the ZIP, BepInEx loads but crashes

mm12 commented 1 year ago

Error logs attached ErrorLog.log LogOutput.log Edit: The version might be wrong since i have been messing with things, but result is the same

mm12 commented 1 year ago

Issue/error report opened in BepInEx since it seems to be a problem there

Alexejhero commented 1 year ago

So unfortunately there's nothing we can do on our end to add compatibility for Steam Play. Neither me nor Vedal use anything but Windows and it would be a lot of effort to try to fix this.

The issue was cross-posted in the BepInEx repo, so I hope it will be resolved there (maybe it should be in the Cpp2IL repo as well? no idea)

If you are able to fix this issue or come up with a workaround, feel free to let us know and we'll add the instructions to the readme.

mm12 commented 1 year ago

Solved: I did some stuff with removing the launch commands for first run, now it works

Alexejhero commented 1 year ago

@mm12 I'm glad to hear that you were able to solve it.