gitlabEdit

toolboxKernel Modifications

What are the Kernel Modifications?

Kernel modifications let you extend the kernel functionality to your liking from custom commands to custom kernel applications. It also lets you unleash your console art by letting you make your own screensaver and your own kernel splash screen.

The kernel modifications also let you call the kernel functions and userspace functions, just like what device drivers and user applications in the major operating systems would do, respectively. However, the kernel modifications aren't zero-code solutions, so make sure that you have a bit of C# skills in order to be able to make kernel mods.

circle-exclamation

Best practices

The best practices for making your own kernel mod ensure that your mod becomes friendly in how it handles the kernel and its components. You'll need to use the mod analyzers to ensure that you use APIs that Nitrocid, Terminaux, and other libraries provide to give your users the best experience. You'll need to use APIs provided by Nitrocid if you want to perform different tasks to ensure that your mod respects all kernel configurations.

circle-info

When building mods, you have to do the following:

  • Make sure that your mod has a version that is SemVer v2.0 compliant. You can learn more about how to assign that version here.

  • Make sure that your mod is strongly signed using your own strong name key. You can use sn.exearrow-up-right to generate one.

As Nitrocid unloads addon and mod assemblies, there can be several cases where unloading fails when Nitrocid shuts down. If your mod fails to unload itself while Nitrocid is shutting down, there can be several factors that might have blocked the unloading process, such as strong references. In this case, you may need to read the official Microsoft documentation about how to troubleshoot such issues.

circle-exclamation

Management

Deep explanation of the kernel modification management can be found in the below page:

wrenchManaging your Modchevron-right

Analyzers

You can use the mod analyzers by consulting the page below:

chart-mixedAnalyzing your Modchevron-right

Building

If you'd like to build your own modifications, that's great! Click on the page below to get started.

vialBuilding your Modchevron-right

Last updated