# InfraSpace Modding Tutorial: How to decompile Infraspace

**URL:** <https://forum.dionicsoftware.com/t/infraspace-modding-tutorial-how-to-decompile-infraspace/3131>\
**Category:** IS Mods\
**Created:** [July 11, 2022, 8:51am UTC](https://forum.dionicsoftware.com/t/infraspace-modding-tutorial-how-to-decompile-infraspace/3131 "2022-07-11T08:51:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Null3rror](https://forum.dionicsoftware.com/user_avatar/forum.dionicsoftware.com/null3rror/32/2143_2.png) [@Null3rror](https://forum.dionicsoftware.com/u/Null3rror)\
**Post date:** [July 11, 2022, 8:52am UTC](https://forum.dionicsoftware.com/t/infraspace-modding-tutorial-how-to-decompile-infraspace/3131/1 "2022-07-11T08:52:00Z")

</div>

The InfraSpace license allows decompiling the InfraSpace source code for the purpose of creating mods and for education. This is how you do it.

## 1. Download and execute [dnSpy](https://github.com/0xd4d/dnSpy)

Other programs will work just as well, but dnSpy is a good starting point.

## 2. Open the InfraSpace code

Using the open dialog in dnSpy, navigate to your InfraSpace install directory, go to `InfraSpace_Data\Managed\` and open `Assembly-CSharp.dll`

You should now be able to see and search through all of InfraSpace’s code.

 ![image](https://forum.dionicsoftware.com/uploads/default/original/2X/a/a55e6bbaeec0001788959d80070a2e71bed545fc.png)

## 3. Get to know the code

This is a short description of the most important parts of the code. Tell me if you notice that parts of it are out of date. Most things written like `this` are class name you can search for in dnSpy.

- `WorldScripts` gives you access to lots of managing classes handling all kinds of things in the world. For example `WorldScripts.Inst.simulator`

Make sure you also use the [in-game object inspector](https://forum.dionicsoftware.com/t/infraspace-modding-tutorial-in-game-developer-tools/3132/2) to traverse the data structures live while playing the game!

## 4. Ask away!

There is no documentation that will tell you all the things that could be relevant to making your mod. So, after investigating yourself, feel free to ask other community members and us devs for help on how to solve your problem 🙂
