mikeb26 / ONIMods

Mods for Klei's Oxygen Not Included
MIT License
0 stars 0 forks source link

ONI Mods

Mods for Klei's Oxygen Not Included

Reading materials

  1. Cairath's ONI Modding Guide: https://github.com/Cairath/Oxygen-Not-Included-Modding/wiki
  2. Klei Modding guidelines: https://forums.kleientertainment.com/forums/topic/116697-modding-guidelines/
  3. Peter Han's PLib library: https://github.com/peterhaneve/ONIMods/tree/main/PLib

Dev environment setup for Ubuntu 20.04 LTS

Install the dotnet sdk & cli

  1. wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
  2. sudo dpkg -i packages-microsoft-prod.deb
  3. rm packages-microsoft-prod.deb
  4. sudo apt-get update
  5. sudo apt-get install dotnet-sdk-6.0

Test the dotnet sdk by building a test app

  1. dotnet new console -o testapp -f net6.0
  2. cd testapp
  3. dotnet run
  4. cd ..
  5. rm -rf testapp

(Optional) Install .net decompiler

  1. Visit https://github.com/codemerx/CodemerxDecompile/releases & install the latest release

Building this project

  1. cd IdleNotificationTweaks; make

Testing this project

  1. make test
  2. Start Oxygen Not Included
  3. Click Mods and make sure this mod is enabled
  4. Restart ONI
  5. play the game
  6. make Player.log & review it