Skip to content

Commit c10aab7

Browse files
committed
2 parents cdcbccc + 27c3d64 commit c10aab7

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,26 @@
22
Utility plugin for Space Engineers, allowing direct debugging of Programmable Block scripts via Space Engineers. Designed for MDK projects.
33

44
**This plugin owes its existence to Inflex, who created the first version of it. By his permission I have rewritten and adapted it for use with MDK projects, but his basic methodology survives.**
5+
6+
## Remarks
7+
This plugin is currently a prototype. It should _work_ but it's technically not in a "releasable" state yet and I haven't really decided how much I should truly integrate it with MDK. Most likely the assembly selection method will remain
8+
for people who don't want to use MDK, and we'll see if I integrate it more completely with MDK.
9+
10+
11+
## Usage
12+
* Installation:
13+
Create a shortcut on your desktop, or start menu or whereever you want it.
14+
Set it up to point to your Steam.exe file (you'll probably find it in `"C:\Program Files (x86)\Steam"`).
15+
Configure its arguments so they look like this: `Steam.exe -applaunch 244850 -plugin "path\to\MDK-Debug.dll"
16+
* Debugging:
17+
* Start the debugging shortcut
18+
* It is **highly recommended** that you set your Space Engineers up to run in a borderless window or windowed mode, not fullscreen. Otherwise you'll likely get Space Engineers on top, unresponsive, with Visual Studio on a breakpoint behind it, being difficult to get at.
19+
* Open the MDK project you wish to debug
20+
* Compile it
21+
* Make sure SE has completely started, then - in Visual Studio - press the `Debug` menu, `Attach to Process`, and select Space Engineers in the process list.
22+
* In Space Engineers, Create or load a world where you have a programmable block you wish to test in
23+
* Open the programmable block in question, select "MDK-SE: Bind DLL"
24+
* Select the `.exe` file generated for your MDK project. You'll find it in the `bin` folder of your MDK project
25+
* The program will be immediately loaded and started, so you might want to have placed breakpoints already.
26+
27+

0 commit comments

Comments
 (0)