Developer Mode

From Cosmoteer Wiki
Jump to navigation Jump to search

Developer mode ("devmode") is a special way to launch the game. It provides extra features that can help you develop or debug the game, and that implies your mods.

The devmode can be activated either by selecting Developer Mode when starting the game or via the --devmode launch argument. If you have ticked the "Always use this option" box before, you may need to disable that first so you can access the menu (see screenshot on the right).

Enabling developer mode by selecting "Developer Mode" option on game's startup.


You can tell that devmode is activated if the loading screen displays things like "Widgets", "Ships", and "Generating planets" above the loading bar.

Developer Panel

Developer panel contains various debug-related menus, buttons, and other features, like part debugger, as well as Developer Console.

It can only be opened via a shortcut.

CalloutIconNote.pngInfo
There is also a short delay before the devmode tabs appear, so give it a couple seconds after trying a shortcut.

The shortcut can differ based on your keyboard's language. If in doubt, you could try all of them until one works :

Devmode shortcuts (non-exhaustive)
shortcut keyboard language
Ctrl + ~ USA
Ctrl + ù FR
Strg + ö ??
Ctrl + Ё RU
Ctrl + Ö SWE

If the shortcut for your country is not listed and you find it, please add it here!

If you don't find it, consider going to your computer's settings and adding a keyboard language for which the shortcut is listed.

You can then quickly switch by pressing Alt + Maj from anywhere or clicking the language button in the bottom right of your taskbar, allowing you to activate devmode with a known shortcut.

Features

There are many, including some that overlap with functionality found normally in Settings.

Only the most useful are listed below. (Feel free to add more!)

CalloutIconWarning.pngWork in Progress
This list is currently work-in-progress. Some things may be missing.

Feel free to contribute to make it better!

Feature Function In tab In submenu
Part Debugger Select a part in-game to see its coordinates, the state of its components, and variables.

Incredibly useful for modding. Also useful to see the strength of an ion beam.

Sim -
Planet Generator Make planets. Editors -
Add money Pretty self-explanatory. Cheat -
Profiler ??

Can cause crashes.

App -

Developer Console

CalloutIconWarning.pngWork in Progress
This section is currently work-in-progress. Some things may be missing.

Feel free to contribute to make it better!

Developer console contains the console output that the game generated, and allows you to enter commands that can potentially allow you to interact with the game, and even it own engine. It can be opened by dragging down the bottom of the developer panel.

Available commands can be listed by running dir() command. IronPython seems to be the environment in which the console is run.