Don't Starve

Don't Starve

51 ratings
Fullscreen fix and Cheats
By Ov3RT4K3R
Fix to play with fullscreen and Cheats for Don't Starve
   
Award
Favorite
Favorited
Unfavorite
Fix Fullscreen
If you have problems to play in fullscreen open the the settings.ini located in:

<Documents>\Klei\DoNotstarve\settings.ini

Under the section graphics you can change the resolution and more

[graphics]
window_x = 4
window_y = 23
windowed_width = 1008
windowed_height = 567
fullscreen = true
fullscreen_width = 1920
fullscreen_height = 1080
display_id = 0
refresh_rate = 60
bloom = true
distortion = false
HUDSize = 5
Enable Console
To enable console open the settings.ini file at the following location:

Windows, Mac: <Documents>\Klei\DoNotstarve\settings.ini
Linux: ~/.klei/DoNotStarve/settings.ini

Opening settings.ini, players should make the following changes:

[MISC]
ENABLECONSOLE = true

Open the console with ~, ^, ø or ö. Depending on which keyboard layout you have. It can be changed by pressing shift + alt. You can hide the console menu by pressing Ctrl + L.
Cheats
The following lists of cheats are from dont-starve-game.wikia [dont-starve-game.wikia.com]
--Simple commands--
To enable simple commands, declared in data\scripts\consolecommands.lua, but disabled by default, do:

RunS​cript("consolecommands")

Cheat
Effect
c_spawn("prefab", amount)
Improved DebugSpawn("prefab"), spawns amount of selected "prefab"
c_doscenario(scenario)
Apply a scenario script to the selection and run it
c_sethea​lth(0.percent)
Sets your health to selected percentage. Note: Use fractional numbers 0.90 = 90%
c_setsanit​y(0.percent)
Sets your sanity to selected percentage. Note: Use fractional numbers 0.90 = 90%
c_sethunger(0.pe​rcent)
Sets your hunger to selected percentage. Note: Use fractional numbers 0.90 = 90%
c_give("prefab", am​ount)
Creates selected item at given amount directly into your inventory
c_godmode()
It won't drain Sanity, Hunger or Health when attacked anymore
--Player commands--
Cheat
Effect
GetPlayer().components.locomotor.runspeed = 6
Standard runspeed is 6. 10 makes you a bit faster and with 40 you can walk through walls and "over" water
GetPlayer().components.health:SetInvincible(true)​
It won't drain Sanity, Hunger or Health when attacked anymore
GetPlayer().components.builder:GiveAllRecipes()​
You can craft everything
GetPlayer().components.health:SetMaxHealth(value)​
Change the Maximum Health of your Characters
GetPlayer().components.sanity:SetMax(value)​​
Change the Maximum Sanity of your Characters
GetPlayer().components.hunger:SetMax(value)​
Change the Maximum Hunger of your Characters
GetPlayer().components.beavernessSetPercent(1)​
turns you into werebeaver
--World commands--
Cheat
Effect
DebugSpawn("prefab name")​​
After pressing enter, it spawns the object at the position of you cursor
c_gonext("prefab name")​​
After pressing enter, it teleports you to the first numerical instance of the named prefab
TheInput:GetWorldEntityUnderMouse():Remove()​​
After pressing enter, it deletes the item under your mouse
minimap = TheSim:FindFirstEntityWithTag("minimap")​
​minimap.MiniMap:ShowArea(0,0,0,10000)​​
First enter the upper code, then the second one. This will show the whole map
minimap = TheSim:FindFirstEntityWithTag("minimap").MiniMap:ShowArea(0,0,0,10000)​​
This will show the whole map
​GetClock():MakeNextDay()​
Skips the current day
​for x = 1, 50 do GetClock():MakeNextDay() end​​
Skips 50 days in this example. Replace 50 with the amount of days you want
​LongUpdate(X)​​
Skips X time units and performs the "LongUpdate" function on world objects
​GetClock():SetSegs(day,dusk,night)​
Sets amount of segments. Errors if adds up to over 16
​GetClock():NextPhase()​​
Skips the current phase
​GetSeasonManager():StartSummer()​​
Start summer
​GetSeasonManager():StartWinter()​
Start winter
​GetSeasonManager():StartPrecip()​​
Start rain
​GetSeasonManager():StopPrecip()​​
Stop rain
​print(math.sqrt(GetPlayer():GetDistanceSqToInst(TheInput:GetWorldEntityUnderMouse())))​​
Prints the distance between player and object under mouse to the console log (displayed with Ctrl + L by default)
​GetSeasonManager():StopPrecip()​​
Stop rain
​GetSeasonManager():StopPrecip()​​
Stop rain
​GetSeasonManager():StopPrecip()​​
Stop rain
​GetSeasonManager():StopPrecip()​​
Stop rain
​GetSeasonManager():StopPrecip()​​
Stop rain
​GetSeasonManager():StopPrecip()​​
Stop rain
[/table]
--Profile Commands--
Cheat
Effect
GetPlayer().profile:UnlockCharacter("willow")
GetPlayer().profile:Save()
Unlocks Wolfgang
GetPlayer().profile:UnlockCharacter("wendy")
GetPlayer().profile:Save()
Unlocks Wendy
GetPlayer().profile:UnlockCharacter("wx78")
GetPlayer().profile:Save()
Unlocks WX-78
GetPlayer().profile:UnlockCharacter("wickerbottom")
GetPlayer().profile:Save()
Unlocks Wickerbottom
GetPlayer().profile:UnlockCharacter("woodie")
GetPlayer().profile:Save()
Unlocks Woodie
GetPlayer().profile:UnlockCharacter("wes")
GetPlayer().profile:Save()
Unlock Wes
GetPlayer().profile:UnlockCharacter("waxwell")
GetPlayer().profile:Save()
Unlocks Maxwell
GetPlayer().profile:UnlockEverything()
Unlock all characters
Reviews, more Guides and YouTube Channel
To see my reviews, please feel free to follow me and/or my curator group:
http://steamproxy.net/id/Ov3RT4K3R/myworkshopfiles/?section=guides
http://steamproxy.net/groups/orcollective#curation

Also feel free to check out my YouTube Channel:
https://www.youtube.com/channel/UC83DYCmrWfl9ttrhX54jmWA
10 Comments
Buddershroom 26 May, 2016 @ 12:52pm 
is there a command that teaches you recipes but won't let you craft em without materials?
Duke Feariarch 2 Jan, 2015 @ 1:05pm 
the unlock character cheat doesnt work 10/10 im typing it perfectly
HockeyGirl62 5 May, 2014 @ 2:59pm 
And I thaught Customize World Was Cheating.
michaelwic 16 Mar, 2014 @ 12:52pm 
Boy, I sure do love cheating, I tell you what.
asdfgh 26 Dec, 2013 @ 7:13pm 
that's really useful, thanks
MP | Grimsson 4 Nov, 2013 @ 3:58pm 
Nice one!
jurrejelle 3 Nov, 2013 @ 3:40am 
This. Is. AWESOME!!!!!!!!!!
Mr. Highway 1 Nov, 2013 @ 5:08pm 
there probaly wont be that much comments for a month.
SwagLag 1 Nov, 2013 @ 8:52am 
... not much comments as well for now...
Mr.Mustard Jam 31 Oct, 2013 @ 11:46pm 
good