GithubHelp home page GithubHelp logo

tridentmc / tridevmodkit Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 445 KB

A dead simple patcher, loader, and API for Risk of Rain 2 by Hopoo Games

C# 100.00%
risk-of-rain monomod mono unity modding game

tridevmodkit's Introduction

Tridev Modkit

A dead simple patcher, loader, and API for Risk of Rain 2 by Hopoo Games

For Users

Download the latest version of the modkit from the releases page and extract the archive in your game folder, install mods by adding them to the mods folder inside the game installation. That's it, you're done!

For Developers

To create a development workspace you must already own a copy of Risk of Rain 2, you'll need to create a new project in your IDE of choice, preferably an IDE with support for the Unity Engine. First, download the latest version of the modkit from the releases page and extract it into your game installation. Then run the patcher to generate the patched game assembly, the patched assembly will be stored in assemblies/modded, add any assemblies in that folder as a reference on your project. If you need any other assemblies besides the patched ones they can be found in the Risk of Rain 2_Data/Managed folder.

Great, now you have a project to work on your mod from, the TridevLoader will scan any DLLs placed in the mods folder inside the game installation for a class with the Mod attribute. Once it finds one it will instantiate an instance of that class with the info provided from the Mod attribute. Use your constructor to prepare any variables you may need, instantiate any persistent game objects, as well as register with the event bus.

If your mod uses any references that aren't provided by the vanilla game then they must be placed in the mods/libraries folder in the game installation. The TridevLoader will load any assemblies placed in that directory without scanning for mod classes.

For more information on how to use the various APIs provided by the Tridev Modkit please visit the wiki

tridevmodkit's People

Contributors

darkevilmac avatar

Watchers

 avatar  avatar  avatar

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.