Moonkis

[HOWTO] Enabling debug-commands

9 posts in this topic

I haven't seen anyone post any information about this, so I thought I ought to make a post about it. For some reason the default "Backspace" doesn't enable debug-commands (is it just me?) but you can force the game to make all the commands available. This can easily be done by just creating a simple (empty) text-file inside the " OxygenNotIncluded_Data"-folder which is located at the root of the game-folder. The text-file needs to be named:

debug_enable.txt

Note: The ".txt" is the extension! The filename should be "debug_enable".

This allows you to use Debug-commands (A restart of the game is necessary). This is very useful for screen-shot purposes as you can disable all hud by pressing ALT + F1 in-game or unlock the camera so you can zoom further out. The Control-submenu is full of the commands, but please note that SOME of these commands will crash the game or just not work (Removing FogOfWar for example doesn't seem to work).

 

Edited by Moonkis
4 people like this

Share this post


Link to post
Share on other sites

I created a file debug_enable.txt on the root game-folder, but debug still doesn't work. Should this file be at the same folder with OxygenNotIncluded.exe or somewhere else?

UPD: problem solved

Edited by Gsom

Share this post


Link to post
Share on other sites

I put it to all sub-folders and it works in someone... I think it's the OxygenNotIncluded_Data, which should contain this file.

EDIT: If I will find out how to open some debug menu, then please write it down... thank you. ^.^

Edited by Mara1681

Share this post


Link to post
Share on other sites
2 hours ago, Mara1681 said:

Where do you find control-submenu? O.o

Under controls (Hit ESC in-game) and use the right-arrow at the top of the menu until Debug Controls.

1 person likes this

Share this post


Link to post
Share on other sites
2 hours ago, Mara1681 said:

I put it to all sub-folders and it works in someone... I think it's the OxygenNotIncluded_Data, which should contain this file.

EDIT: If I will find out how to open some debug menu, then please write it down... thank you. ^.^

Yes, I was hasty to write this down, but you are right, it's suppose to be placed inside " OxygenNotIncluded_Data" folder. Thanks, I updated the OP.

1 person likes this

Share this post


Link to post
Share on other sites

And if you guys find something useful, than say something. I already tried some debug things, but in 80% the game just crashed... xD

Share this post


Link to post
Share on other sites
5 hours ago, Mara1681 said:

I put it to all sub-folders and it works in someone... I think it's the OxygenNotIncluded_Data, which should contain this file.

EDIT: If I will find out how to open some debug menu, then please write it down... thank you. ^.^

Yeah, it might be possible to patch it with some IL-magic to make most of them work...maybe... I was quite bummed that removing FogOfWar didn't work :/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now