The Evil Within

The Evil Within

33 ratings
Debug Console Commands
By caps
I noticed the debug commands isn't stickied in the forums or listed in a guide yet I wanted to put it up here so everyone has easy access to it in the steam overlay. This information was taken directly from Bethesda's official forum at this link http://forums.bethsoft.com/topic/1508646-debug-console-commands/
   
Award
Favorite
Favorited
Unfavorite
Debug Console Command
Again, all this info was taken from Bethesda's forum at this link: http://forums.bethsoft.com/topic/1508646-debug-console-commands/

NOTE: It seems enabling the debug will stop you from getting achievements. To circumvent this matter, you can enter the R_swapinterval and R_forceaspectratio commands into <the evil withinconfig.cfg> at
C:\Users\YOURUSERNAME\Saved Games\TangoGameworks\The Evil Within\base
Just add the lines at the end and save and you will never have to use the debug menu, however any changes you make in the options screen will revert the cfg file unless you make it read only.

To access the debug console, do the following:

1. In Steam, right click on The Evil Within and select “properties” then under the General tab, hit “set launch options.”
2. Put this in to unlock the console: +com_allowconsole 1
3. Once the game has launched, hit the Insert key to bring down the developer console.

These are the commands you can use and some notes about each:

R_swapinterval <NUMBER>
Sets the FPS lock. Note that the numbers below are negative.
-2: This is the default, set to 30 FPS. This is the officially supported frame rate.
-1: This sets the FPS limit to 60. Fully playable, although there may be quirks but noted that they're going to fix these.
0: This fully unlocks the FPS. They do not recommend playing above 60 and they will not fix any issues above 60.

God
God mode. You are effectively invincible, and certain enemy kill moves will not be used against you (Laura, for example, will not jump on you)

Noclip
Allows you to walk through walls

G_infiniteammo
Unlimited ammo (provided you have at least 1 bullet when you enable this)

G_stoptime 1
Stops time. Note there is a bug right now where using this command causes a UI element to appear on screen.
Re enable time with g_stoptime 0

Toggledebugcamera
Separates the camera from Sebastian so you can freely move around

R_forceaspectratio <NUMBER>
Sets the aspect ratio. Default is 2.5, which is our official aspect ratio.
0 is full screen, but not ideal. 1.8 or 2 is probably most comfortable for those who don’t want bars.

Com_showFPS
Turns on id’s native FPS counter

Startslowmotion2
Slows down time

Stopslowmotion
Disables slow motion
< >
24 Comments
Bayern38 Nov 17, 2014 @ 11:31am 
Not working anyone Code why
Syinea Oct 21, 2014 @ 3:31pm 
hmm
caps  [author] Oct 20, 2014 @ 6:44pm 
Not that I've found unfortunately. It just basically crops it instead of totally removing the black bars, that's why it ends up being zoomed in. You could try that trainer blackaegis mentioned to see if that works.
Taasrin Oct 20, 2014 @ 10:22am 
@caps
Thanks I really like this document! I've got the .cfg file to open the game with unlocked 60fps, improved lodBias, and intro skipping. However, I've messed with the aspect ratio and haven't been able to find an "ideal" value. Most of them, the zoom is too close to Sebastian (closer than in Skyrim). Also, all of these values have this weird line break in the screen where the black bars would typically end, whenever Sebastian is looking through binoculars or something like that in a cut-scene. My question is, is there a value that exists where the zoom isn't very different from default, and where that line break doesn't exist in the given situations I just named above?

Any insight and help into this would be great! Thanks!
Xzyro Oct 18, 2014 @ 10:35pm 
Is there another key I can press besides "insert"? Because everytime I press the button nothing happens :(
caps  [author] Oct 18, 2014 @ 5:15pm 
I just took the info from the bethesda forum when they posted
Black_Aegis Oct 18, 2014 @ 12:57pm 
There is a fix posted for the black bars posted on the official forums, but involves using a 'trainer'. Afaik the source code for it has not been released so its up to you to decide if you trust it.

In the game itself, i've already found the binary variable that controls the black bars but it seems to be forced to '1' and all my attempts to force a '0' have failed so far. I would imagine you could do it with the debug console but that was not shipped with the retail version, although i have found the switches for that as well. Someone will figure it out eventually though.

NOTE: the com_allowconsole command switches on the DEV console not the debug console. There are 2 additional commands for the 'debug' console but they are forced off with no way to switch on
caps  [author] Oct 17, 2014 @ 6:16pm 
No, not that I know of. The force aspect ratio basically just crops the screen and you're left with a zoomed in view. Try the ratio between 2 and 2.2 you get a little less black bars but still have enough view.
Benjabby Oct 17, 2014 @ 7:30am 
Is there any way to zoom out the camera a bit? In certain scenes the cameras too close to Mr.Emotionless and its pretty annoying?
caps  [author] Oct 15, 2014 @ 12:12pm 
yea enabling the console command will disable achievements until you restart the game.