Code Monkey home page Code Monkey logo

Comments (6)

mbround18 avatar mbround18 commented on May 18, 2024 1

@kachunkachunk done. See #148

from valheim-docker.

rosudrag avatar rosudrag commented on May 18, 2024

I've tried adding BepInEx myself but I'm beat... The loader startup scripts just sets up some env variables which can be done in docker-compose with:

  • DOORSTOP_ENABLE=TRUE
  • DOORSTOP_INVOKE_DLL_PATH=/home/steam/valheim/BepInEx/core/BepInEx.Preloader.dll
  • LD_LIBRARY_PATH=/home/steam/valheim/doorstop_libs
  • LD_PRELOAD=libdoorstop_x64.so
  • DYLD_LIBRARY_PATH=/home/steam/valheim/doorstop_libs
  • DYLD_INSERT_LIBRARIES=/home/steam/valheim/doorstop_libs/libdoorstop_x64.so

The library download is at https://builds.bepis.io/projects/bepinex_be and needs copying to the right volume location.

They also mention needing gcc 10+ so a modified image is required with that installed:
RUN echo 'deb http://deb.debian.org/debian testing main' >> /etc/apt/sources.list
&& apt-get update && apt-get install -y --no-install-recommends -o APT::Immediate-Configure=false gcc g++

It's just crashing with undefined symbol errors:
ln: symbol lookup error: /home/steam/valheim/doorstop_libs/libdoorstop_x64.so: undefined symbol: dlopen

from valheim-docker.

mbround18 avatar mbround18 commented on May 18, 2024

Adding belpix support wouldn't be too hard <3

from valheim-docker.

mbround18 avatar mbround18 commented on May 18, 2024

Before I write any code, is BepInEx the only framework used for modding Valheim?

from valheim-docker.

rosudrag avatar rosudrag commented on May 18, 2024

Before I write any code, is BepInEx the only framework used for modding Valheim?

Looks to be this way only. Maybe one day the devs will add in official support but why would they even bother when HarmonyX does the job

from valheim-docker.

kachunkachunk avatar kachunkachunk commented on May 18, 2024

Just to throw it out there, ValheimPlus also incorporates BePinEx and this seems to load the server component. I'm not certain what the most elegant approach is for handling it, but maybe take a look at their newest 0.8 release for Linux/Unix servers and you can see how it loads/runs, too.

from valheim-docker.

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.