Coder Social home page Coder Social logo

oxide-2-patcher's Introduction

Oxide 2 Patcher Build Status

Oxide 2 is a complete rewrite of the original popular Oxide mod for the game Rust. Oxide 2 has a focus on modularity and extensibility. The patcher is responsible for hooking Oxide into the target game's binaries, allowing the mod to work. The patcher will work on any game made using .Net. Oxide 2 will be bundled with patched DLLs for Rust already, so this is only needed for those who want to experiment with adding new hooks or modding other games.

Usage for Rust Server Users

  1. Clone the git repository locally.
  2. Open the solution in Visual Studio (2013 is recommended, but it should work on earlier versions).
  3. Build the project.
  4. Navigate to your installation of Oxide 2 and locate Oxide.Core.dll. Copy it and paste it next to the freshly compiled OxidePatcher.exe.
  5. Navigate to RustExperimental.opj and open it in a plain text editor. It is formatted as a json file.
  6. Find the "TargetDirectory" field in the json text and change the value to be the "RustDedicated_Data/Managed" folder of your Rust server installation.
  7. Launch the patcher. Go to File -> Open Project, and open RustExperimental.opj.
  8. If all goes well, the hooks and assembly list should appear on the tree view to the left.
  9. To patch, click the wand icon on the toolbar.
  10. To add a hook, navigate to the desired method from the desired assembly and click the "Hook this Method" button.
  11. To include more assemblies, right click on any red-cross assembly and select "Add to Project".

Notes

You should work on a vanilla version of the target game. It's probably worth installing the rust server in a different directory to your working one and pointing your patcher at that instead. If you run the patcher on already patched DLLs, Oxide is going to try and load twice and bad things will happen. The patcher will make copies of the original DLLs and append "_Original" to them, and it will use them as the input when patching. This means it's safe to make a few changes and patch over and over again.

oxide-2-patcher's People

Contributors

strykes avatar thomasfn avatar ryanskidmore avatar

Watchers

James Cloos 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.