Skip to content
This repository has been archived by the owner on Apr 2, 2023. It is now read-only.

A simple inventory editor for Sons Of The Forest game

License

Notifications You must be signed in to change notification settings

jacklul/Sons-Of-The-Forest-Inventory-Editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sons Of The Forest Inventory Editor

Warning: This project is a spaghetti code, made for personal usage but shared to the public!

This tool lets you edit your inventory inside your save file.
The game is currently in early access and there are multiple bugs that make you lose stuff, this tool gives you easy way of restoring it.

Backup your saves before editing.

Installation/Usage

Download release zip from Releases tab and extract it to directory of your choice, run the tool using phpdesktop-chrome.exe executable.

Script should automatically find your saves if they are in the default path (C:\Users\%USERNAME%\AppData\LocalLow\Endnight\SonsOfTheForest\Saves), otherwise you will be asked to paste the path to this directory manually.

If everything went well you will see a select dropdown with all your saves sorted by the last modified time.

To modify count of specified item you have to either enter +1 to add or -1 to remove one unit of that item (you can specify any number to add/remove more) then click MODIFY. You can quickly fill item to max capacity by using FILL button.

Notes

  • You cannot modify equipped items, make sure you unequip everything before saving the game.
  • You can exceed capacity limits by setting allowExceedMaxCapacity to true in data/config.json, be cautious when doing so.
  • You can create a text file called label.txt (inside SonsOfTheForest\Saves\[NUMBERS]\[MODE]\[SAVEID]) in your save directory (and put a text inside it) to easily identify it on saves list.
  • You can revive or teleport Kelvin/Virginia through EXTRAS menu.

config.json reference:

Variable Default Value Description
savesPath Path to saves directory
allowExceedMaxCapacity false Allow exceeding capacity limits
protectEssential true Prevent removing essential items
addItemData false Add entry to UniqueItems array for some items (this doesn't seem to be necessary at all)

About

A simple inventory editor for Sons Of The Forest game

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages