Mod Tutorial
  • 🏠Home
  • 😀Introduction
  • 😇Player Manual
    • 📕Installation
    • 📔How to use it
    • 🐴Attention
  • 😅Make Mod
    • 😅Prepare
    • 😎Create a mod
    • 😘Common Features of NML
    • 🤔Others Common
    • 🥸BepInEx
  • 🤔Basic Concepts
    • 👌Mod Declaration
    • 🎨Mod Interface
    • 🥳Mod Configuration
    • 👍Mod Dependency
    • 🤗Multiligual
  • 😶‍🌫️Resources
    • 😣Overview
    • 😮Resources
    • 😣AssetBundle
  • 😪Other techs
    • 👌Mod Reload
    • 🫥Event Handle
    • 😫Mod Upload
  • 🫨Game Contents
    • 🥳Create Equipment Asset
  • 🤩User Interface
    • 😁Button
    • 😂Tab
    • 😄Prefab
    • 😆Common Window
    • 😋Autolayout Window
  • 😘Packed
    • 😍Basic Mod
  • 🚗NML Development and OpenMods Projects
    • Introduction
    • NML Development
    • NML Documentation
    • Example Mod
    • Unity Development Toolkit
    • Game Documentation
Powered by GitBook
On this page
  • People
  • Basic Environment
  • Code Editor
  • Game Source Code
  • Game Resources
  • Debug
  • Example Code
  1. Make Mod

Prepare

Basic development configuration

PreviousAttentionNextCreate a mod

Last updated 1 year ago

We configure development environment in the section.

People

  1. You need to be intellectually complete and have the ability to think for yourself

  2. In order To better solve The problems you will encounter, it is recommended to first read

  3. Then you need to master

  4. If you can, it is recommended to master

Basic Environment

  • Worldbox Game

  • Install NeoModLoader

Code Editor

Here are a few options, in order of recommendation:

  1. Rider. Paid, but student certification/open source project available

  2. Visual Studio Community. Free

  3. Visual Studio Code. Free, lightweight, but cumbersome for beginners to configure

  4. Notepad. Free, lightweight, no-configuration, just dumb

Game Source Code

Here, I recommend both of them

  • ILSpy gets readable code and exports symbolic files (.pdb)

  • DnSpy UI is nice, the buttons are highlighted when you hover over them (ILSpy is not), and when you look at the IL code you see the index directly

Game Resources

  • AssetRipper exports game as a Unity project

Debug

  • BepInEx Enable Logging.Console in BepInEx\config\BepInEx.cfg, console built in game is terrible.

  • UnityExplorer a BepInEx plugin. You should search for what it can do by yourself.

Example Code

There are some open NeoMod repositories:

A pure example code repository. It will include all content in the documentation

😅
😅
How To Ask Questions The Smart Way
the most basic CSharp knowledge
basic Git usage
ModExample