Overview
Fix to play with fullscreen and Cheats for Don’t Starve
Fix Fullscreen
If you have problems to play in fullscreen open the the settings.ini located in:
<Documents>KleiDoNotstarvesettings.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>KleiDoNotstarvesettings.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 datascriptsconsolecommands.lua, but disabled by default, do:
RunScript(“consolecommands”)
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_sethealth(0.percent)
Sets your health to selected percentage. Note: Use fractional numbers 0.90 = 90%
c_setsanity(0.percent)
Sets your sanity to selected percentage. Note: Use fractional numbers 0.90 = 90%
c_sethunger(0.percent)
Sets your hunger to selected percentage. Note: Use fractional numbers 0.90 = 90%
c_give(“prefab”, amount)
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–
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–
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:
[link]
[link]
Also feel free to check out my YouTube Channel:
https://www.youtube.com/channel/UC83DYCmrWfl9ttrhX54jmWA