Code Monkey home page Code Monkey logo

Comments (4)

Slaynash avatar Slaynash commented on June 21, 2024

I just gave a check, and it seems that IPA.exe is unable to patch the game (or it isn't natively) and stops with an error:
Capture d’écran de 2019-04-13 23-19-45

from beatsaber-ipa-reloaded.

ColonelPanic-42 avatar ColonelPanic-42 commented on June 21, 2024

In my case it did "patch" as expected (although I ran it with Wine, against the same prefix Steam uses for the game, I presume in your attempt it may have tried to run with mono instead?). But no dice.

As mentioned in the original post as well, I even tried copying the entire game folder over from a working Windows install - while IPA injects as expected when run on that machine, it doesn't when run on mine. I also have a Windows VM that I use for the purpose of modding when modding tools refuse to run under Wine, so I clone the game files across to it, install the mods, then sync it back onto my Linux host. This worked the first time when I installed it months ago under 0.12.2, but now refuses to work whether I try for 0.12.2 or 0.13.2.

The only other change is when I did it months ago, I used the original mod tool from modsaber, which no longer works as everyone knows. But even so, I tried to get an older version of IPA and install manually, it still won't inject :(.

from beatsaber-ipa-reloaded.

nike4613 avatar nike4613 commented on June 21, 2024

For @Slaynash the problem is that it tries to use GetKeyState to check for uninstalls. (I should probably make that error catch properly) You should be able to manually copy everything out of IPA/ and merge the Data folder with Beat Saber_Data and it should work fine.

@ColonelPanic-42 Does Wine use the same DLL resolution rules as Windows? The new injector works by placing a winhttp.dll proxy in the game main directory, so that it can be found and run first. It also does some hooking into calls to Mono from UnityEngine by looking up the module and replacing the jump address. You may also need to update Wine. If that doesn't work, let me know, and I'll send you a version that logs a bunch of info for me to try to help you.

That being said, I'm not sure if I want to spend the energy supporting Linux. If this is too wierd, there's a good likelihood of me just giving up. I am more than willing to integrate any fixes if you send a PR though.

from beatsaber-ipa-reloaded.

ColonelPanic-42 avatar ColonelPanic-42 commented on June 21, 2024

@nike4613 I understand not wanting to spend the effort supporting Linux. You're writing a mod in your own time, unpaid, for a game designed to run on Windows, you're at least one step removed from where to push for support needs to be. At least you're happy to try :) and for that I'm grateful.

But this time you might have lucked out (as have I). Thank you for pointing me in the right direction. Apparently winhttp was the missing piece. I installed it via protontricks, and suddenly it's working! Either the builtin winhttp in Wine isn't good enough, or it needed the "Native, builtin" DLL override before it would pick it up.

from beatsaber-ipa-reloaded.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.