GithubHelp home page GithubHelp logo

Installing mods about ror2-server HOT 7 CLOSED

avivace avatar avivace commented on June 3, 2024
Installing mods

from ror2-server.

Comments (7)

dubvulture avatar dubvulture commented on June 3, 2024 3

I tried fiddling with wine by modifying the command used to start the server.

  • WINEDLLOVERRIDES="winhttp=n,b" xvfb-run /opt/wine-stable/bin/wine "${STEAMAPPDIR}/Risk of Rain 2.exe"
    • prefer native libraries, wine builtin after
    • nothing different happens
    • WINEDEBUG=+loaddlls shows both native and builtin winhttp.dll being loaded in said order
  • WINEDLLOVERRIDES="winhttp=n" xvfb-run /opt/wine-stable/bin/wine "${STEAMAPPDIR}/Risk of Rain 2.exe"
    • prefer native libraries, ignore wine builtin
    • stuck after "Starting server...", nothing happens after that
    • WINEDEBUG=+loaddlls shows that it is indeed trying to do something, but instead of loading UnityPlayer.dll + jsproxy.dll + winhttp.dll (builtin) it is instead loading UnityPlayer + winex11.drv + usp10.dll and then getting stuck
  • WINEDLLOVERRIDES="winhttp=" xvfb-run /opt/wine-stable/bin/wine "${STEAMAPPDIR}/Risk of Rain 2.exe"
    • Disables both native libraries and wine builtin
    • Fails to load winhttp.dll (as expected, but I tested anyway)

In the end, I am left with more questions than answers:

  • nb-mode - why is it loading winhttp.dll both times, and if it is intended, why is Doorstop not being executed?
  • n-mode - why is it loading usp10.dll which is never loaded in nb-mode, and why is it getting stuck?

from ror2-server.

avivace avatar avivace commented on June 3, 2024 3

@dubvulture Rad! You rock!

from ror2-server.

Coolfeather2 avatar Coolfeather2 commented on June 3, 2024 1

Just include the volume in your run command or docker-compose
eg. docker run avivace/ror2server:0.1 -p 27015:27015/udp -v $HOST_DIR:/home/steam/ror2-dedicated/BepInEx

from ror2-server.

dubvulture avatar dubvulture commented on June 3, 2024 1

PR #10 should have fixed mods support.
Checkout the new README for instructions and let me know if there are any problems or questions.

from ror2-server.

jwilling avatar jwilling commented on June 3, 2024 1

@dubvulture You're awesome, thank you!

from ror2-server.

jwilling avatar jwilling commented on June 3, 2024

You’re right, that totally should work. Thanks!

from ror2-server.

dubvulture avatar dubvulture commented on June 3, 2024

Reopening this issue since mods are not working.

The problem seems to arise from wine DLL override behaviour.
Here's the recommended fix, but it requires using the winecfg gui.

I am currently trying to understand how to translate all that into bash commands.

from ror2-server.

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.