viktor-ferenczi

se-dev-game-code

1
1
# Install this skill:
npx skills add viktor-ferenczi/se-dev-skills --skill "se-dev-game-code"

Install specific skill from multi-skill repository

# Description

Allows reading the decompiled C# code of Space Engineers version 1.

# SKILL.md


name: se-dev-game-code
description: Allows reading the decompiled C# code of Space Engineers version 1.
license: MIT


Getting Started

If the Prepare.DONE file is missing in this folder, you MUST run the one-time preparation steps:
1. Review the requirements and instructions in Prepare.md.
2. Execute the preparation by running .\Prepare.bat from this folder.
3. IMPORTANT: You are on Windows. Use & to chain commands in cmd.exe or ; in PowerShell. Do NOT use &&.
4. DO NOT create the Prepare.DONE file yourself. It is automatically created by Prepare.bat only upon a successful run. Creating it manually is "faking" success and will lead to errors.

Code Search Documentation

Use the code search to explore Space Engineers' decompiled C# source code:

Always check the game code when:
- You're unsure about internal APIs and how to interface with them
- You want to understand existing mod, script, or plugin code
- The inner workings of a Space Engineers data type are unclear

Custom Scripting

For building your own utility scripts to work with the indexes and decompiled code:

Game Content Data

The textual part of the game's Content is copied into the Content folder for free text search:
- Language translations, including the string IDs
- Block and other entity definitions
- Default blueprints and scenarios
- See ContentTypes.md for the full list of content types

General Rules

  • In the Decompiled folder search only inside the C# source files (.cs) in general. If you work on transpiler or preloader patches, then also search in the IL code (.il) files.
  • In the Content folder search the files appropriate for the task. See ContentTypes.md for the list of types.
  • Do not search for decompiled game code outside the Decompiled folder which is at the same level as this skill file. The decompiled game source tree must be there if the preparation succeeded.
  • Do not search for game content data outside the Content folder which is at the same level as this skill file. The copied game content must be there if the preparation succeeded.

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.