Coder Social home page Coder Social logo

l3tum / besiege-modloader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spaar/besiege-modloader

0.0 2.0 1.0 1.48 MB

spaar's Mod Loader for Besiege

Home Page: http://forum.spiderlinggames.co.uk/forum/main-forum/besiege-early-access/modding/8432-spaar-s-mod-loader-0-1-3-besiege-v0-08

License: MIT License

C# 100.00%

besiege-modloader's Introduction

Project Structure

The mod loader currently consists of three projects:

  • ModLoader: The core mod loader, outputs SpaarModLoader.dll
  • InternalModLoader: Currently not used in any releases, contains the code for the internal mod loader to be injected into Assembly-UnityScript.dll
  • ModLoader Injector: Currently not used in any releases, the plan is to make this able to inject the internal mod loader into any Assembly-UnityScript.dll, so that the mod loader can be used in conjunction with one stand-alone mod.

The file Patchset.txt contains all the modifications to Assembly-UnityScript.dll that have been made.

Building

A patched version of Assembly-UnityScript.dll, which is required for building is provided, as Besiege's modding conditions allow distribution of this file. However, UnityEngine.dll is also required for building. As I'm not sure about its license terms, it is not included. Before building, you will need to copy it out of Besiege_Data/Managed and place it in the root folder of your project once. Visual Studio will also try to install the mod loader after building, which makes developing much faster as it eliminates the step of copying the final dll around. For this to work, the environment variable %BESIEGE_LOCATION% needs to be set to the root of the Besiege installation you want to use (The directory with Besiege.exe in it, also include the backslash at the end). If you do not do this, the build will throw an error.

How to install

Windows & Linux

Locate your Besiege installation. If you installed Besiege via Steam, this will usually be in C:\Program Files (x86)\Steam\steamapps\common\Besiege. I will from now on refer to this directory as simply Besiege in any paths. Copy the file Assembly-UnityScript.dll into Besiege/Besiege_Data/Managed. When asked, choose to replace the original file. You may also want to make a backup of the original file before doing this. Then create the folder Besiege/Besiege_Data/Mods. Copy SpaarModLoader.dll into it. You will also place any mods you install into this folder.

Mac OS X

Locate your Besiege installation (Besiege.app, right-click on Besiege and choose Show Package Content). I will from now on refer to this directory as simply Besiege in any paths. Copy the file Assembly-UnityScript.dll into Besiege/Contents/Data/Managed. When asked, choose to replace the original file. You may also want to make a backup of the original file before doing this. Then create the folder Besiege/Contents/Mods. Copy SpaarModLoader.dll into it. You will also place any mods you install into this folder.

That's it, the mod loader should now be installed. If you have any problems or questions, just ask on the forum and I will do my best to help.

besiege-modloader's People

Contributors

l3tum avatar spaar avatar zimmy avatar

Watchers

 avatar  avatar

Forkers

mikeschis

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.