Skip to content

Commit 5eddf3f

Browse files
committed
add spawn feature, misc improvements and fixes
- add tools to spawn an army of Kelvins and Virginias (at "Followers") - improvements for reviving (e.g. they will now get the items and outfits that you have selected) - add feature in menu to restore from oldest/newest backup - check for update will now notify only once until the next version is released - improve loading performance - some code beautification, cleanups and refactorings - fix deletion of backups
1 parent 06e2f07 commit 5eddf3f

99 files changed

Lines changed: 7098 additions & 6338 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.idea/.idea.SOTFEdit/.idea/.gitignore

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.idea.SOTFEdit/.idea/codeStyles/codeStyleConfig.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.idea.SOTFEdit/.idea/encodings.xml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.idea.SOTFEdit/.idea/indexLayout.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.idea.SOTFEdit/.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,34 @@
11
# Changelog
22

3+
## v0.6.0
4+
5+
### New Features
6+
7+
- added tools to spawn an army of Kelvins and Virginias (at "Followers")
8+
- improvements for reviving (e.g. they will now get the items and outfits that you have selected)
9+
- added feature in menu to restore from oldest/newest backup
10+
11+
### Improvements
12+
13+
- check for update will now notify only once until the next version is released
14+
- improved loading performance
15+
- some code beautification, cleanups and refactorings
16+
17+
### Fixes
18+
19+
- fixed deletion of backups
20+
321
## v0.5.2
22+
423
- reviving a follower should now also work when the body is completely gone
524
- small improvements to followers inventory editing
625

726
## v0.5.1
8-
- add tool at "Game State" to reset containers, crates and pickups in caves and open world
27+
28+
- added tool at "Game State" to reset containers, crates and pickups in caves and open world
929

1030
## v0.5.0
31+
1132
- add storage editing (unlimited logs, sticks etc.)
1233
- add selection of Kelvin's and Virginia's outfit
1334
- add editing of Virginias equipped items
@@ -33,25 +54,30 @@
3354
- Downgrade MVVM Toolkit to 8.0.0 due to compilation issues
3455

3556
## v0.4.0
57+
3658
- add player tab, allowing editing of player stats as well as positioning
3759
- move armor tab to player tab
3860
- improve performance of savegame loading, also reducing memory consumption
3961

4062
## v0.3.1
63+
4164
- fix logging of exceptions during savegame loading
4265
- fix non-uniqueness of savegame parent directories
4366

4467
## v0.3.0
68+
4569
- replace displaying of save-time instead of last-write-time, resolves #2
4670
- the currently selected savegame now stays selected after saving
4771
- add follower tab
48-
- allows changing Kelvin and Virginias stats
49-
- allows moving Kelvin and Virginia to the player or each other
72+
- allows changing Kelvin and Virginias stats
73+
- allows moving Kelvin and Virginia to the player or each other
5074

5175
## v0.2.1
76+
5277
- add detailed options to regrow trees instead of reviving all, resolves
5378

5479
## v0.2.0
80+
5581
- misc fixes
5682
- add markers for non-inventory items
5783
- better rendering for numeric columns

README.md

Lines changed: 39 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[![GitHub all releases](https://img.shields.io/github/downloads/codengine/SOTFEdit/total)](https://github.com/codengine/SOTFEdit/releases)
88
![GitHub](https://img.shields.io/github/license/codengine/SOTFEdit)
99

10-
A savegame editor for "Sons of The Forest".
10+
A savegame editor for "Sons of The Forest".
1111

1212
- [SOTFEdit - Sons of The Forest Savegame Editor](#sotfedit---sons-of-the-forest-savegame-editor)
1313
- [Disclaimer](#disclaimer)
@@ -24,11 +24,11 @@ A savegame editor for "Sons of The Forest".
2424
- [Final Words](#final-words)
2525
- [Links and Credits](#links-and-credits)
2626

27-
# Disclaimer
27+
## Disclaimer
2828

2929
This project is in no way or form associated with the developers of the game. It is just a fan project, nothing more, nothing less.
3030

31-
# Features
31+
## Features
3232

3333
- Edit Player Stats (Strength, MaxHealth, CurrentHealth, Fullness etc.)
3434
- Move Player to Virginia & Kelvin
@@ -50,35 +50,36 @@ This project is in no way or form associated with the developers of the game. It
5050
- Backup changed files automatically
5151
- ... more features are planned
5252

53-
# Download
53+
## Download
5454

5555
- You can find the newest version at the [Releases page](https://github.com/codengine/SOTFEdit/releases)
5656

57-
# Requirements
57+
## Requirements
5858

5959
- Windows 7+ (I guess...)
6060
- [.net 6.0+ Runtime](https://dotnet.microsoft.com/en-us/download/dotnet)
6161

62-
# Usage
62+
## Usage
6363

6464
- Start the application using SOTFEdit.exe
6565
- Click on "File" -> "Open Savegame"
6666
- Select your savegame
6767
- Edit
6868
- Save with "File" -> "Save"
6969

70-
If you use one of the "Tools" this will trigger a reload of the savegames, which will discard any pending changes. I'd recommend to use the tools after you're done with editing.
70+
If you use one of the "Tools" this will trigger a reload of the savegames, which will discard any pending changes. I'd recommend to use the tools after you're
71+
done with editing.
7172

72-
# Inventory
73+
## Inventory
7374

7475
- In order to add or remove items, just double click on the row
7576
- There is no sanity check on the values entered at the player's inventory. So something like "100" for backpack will most likely lead to undesired behaviors.
7677

77-
# Armor
78+
## Armor
7879

7980
Armor protects you from most hazards. However you are still going to drown and die from fall damage.
8081

81-
# Weather
82+
## Weather
8283

8384
There is one very important thing. If you only change the season, it will be reverted immediately when the game progresses.
8485
To fix that, you also have to adjust the played time at "Game State". It is calculated based on the length of the season. Here is an example:
@@ -103,37 +104,58 @@ Here is a list of number of days per season per season length setting:
103104
- Long: 10 days
104105
- Realistic: 90 days
105106

106-
# Reviving
107+
## Reviving
107108

108109
If you want to revive either or both followers, there are some things to consider:
110+
109111
- If the body is completely missing, the follower will spawn at the players location
110112
- Make sure to be outside of buildings, else you might glitch into the building sometimes
111113
- The followers will be at maximum stats and should be friendly towards players
112114
- They will not have any items, but you can easily use the other Editors to change that after reviving
113-
- Virginia is shy as a lamb when she was revived. I haven't tested it thoroughly but to me it appears that you have to regain her trust, like in the beginning of a session. I'm still trying to figure out which setting determines her trust.
115+
- Virginia is shy as a lamb when she was revived. I haven't tested it thoroughly but to me it appears that you have to regain her trust, like in the beginning
116+
of a session. I'm still trying to figure out which setting determines her trust.
117+
118+
## Spawning
119+
120+
This feature is quite experimental and allows the duplication of Kelvin and Virginia. It turns out that the game can not spawn, for some reason, more than 5
121+
Virginias. If the value is higher, they would spawn somewhere unreachable.
122+
123+
Kelvin was tested successfully with 20, so this is also the maximum now.
124+
125+
If you want to exceed this maximum, you would have to save, fire up the tool, spawn and load the game again.
114126

115-
# Troubleshooting
127+
```
128+
Be careful: This feature will most likely kill your performance and may corrupt your savegame.
129+
Make sure to enable backups!
130+
```
131+
132+
## Troubleshooting
116133

117134
One of the items in inventory is listed as "Unknown"?
135+
118136
- Please report the ItemId so that I can add it to the list of known items
119137

120138
My game does not work anymore?
139+
121140
- If you have selected to create backups before saving, you can just delete the old files and restore the files that are suffixed with ".bak*".
122141

123142
I get errors and the application does strange things
143+
124144
- Please upload any logs to https://pastebin.com and create an issue
125145

126146
I can not change "IsRobbyDead" or "IsVirginiaDead"
147+
127148
- In order to revive both there is a special button at "Followers" that does the job
128149

129-
# Contributing
150+
## Contributing
130151

131152
Feel free to report any unknown items or any feature requests. PRs are also welcome.
132153

133-
# Final Words
154+
## Final Words
134155

135-
Big thanks to [Gronkh](https://gronkh.tv) for your many years of "Influenz". Especially without your "The Forest" streams I would have never known anything about that game.
156+
Big thanks to [Gronkh](https://gronkh.tv) for your many years of "Influenz". Especially without your "The Forest" streams I would have never known anything
157+
about that game.
136158

137-
# Links and Credits
159+
## Links and Credits
138160

139161
- [Kleine Axt icon by Icons8](https://icons8.com/icon/81685/kleine-axt)

SOTFEdit/App.config

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,30 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
32
<configuration>
4-
<configSections>
5-
<sectionGroup name="userSettings"
6-
type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
7-
<section name="SOTFEdit.Settings"
8-
type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
9-
allowExeDefinition="MachineToLocalUser" requirePermission="false" />
10-
</sectionGroup>
11-
</configSections>
12-
<userSettings>
13-
<SOTFEdit.Settings>
14-
<setting name="SavegamePath" serializeAs="String">
15-
<value />
16-
</setting>
17-
<setting name="UpgradeRequired" serializeAs="String">
18-
<value>True</value>
19-
</setting>
20-
<setting name="BackupFiles" serializeAs="String">
21-
<value>True</value>
22-
</setting>
23-
<setting name="CheckForUpdates" serializeAs="String">
24-
<value>True</value>
25-
</setting>
26-
</SOTFEdit.Settings>
27-
</userSettings>
3+
<configSections>
4+
<sectionGroup name="userSettings"
5+
type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
6+
<section name="SOTFEdit.Settings"
7+
type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
8+
allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
9+
</sectionGroup>
10+
</configSections>
11+
<userSettings>
12+
<SOTFEdit.Settings>
13+
<setting name="SavegamePath" serializeAs="String">
14+
<value/>
15+
</setting>
16+
<setting name="UpgradeRequired" serializeAs="String">
17+
<value>True</value>
18+
</setting>
19+
<setting name="BackupFiles" serializeAs="String">
20+
<value>True</value>
21+
</setting>
22+
<setting name="CheckForUpdates" serializeAs="String">
23+
<value>True</value>
24+
</setting>
25+
<setting name="LastFoundVersion" serializeAs="String">
26+
<value/>
27+
</setting>
28+
</SOTFEdit.Settings>
29+
</userSettings>
2830
</configuration>

SOTFEdit/App.xaml.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ private static void ConfigureServices()
5353
services.AddSingleton(_ => BuildGameDataInstance() ?? throw new Exception("Unable to load Game Data"));
5454
services.AddSingleton<StorageFactory>();
5555
services.AddSingleton<UpdateChecker>();
56-
services.AddSingleton<LabExperiments>();
5756
services.AddTransient<SelectSavegameViewModel>();
5857
Ioc.Default.ConfigureServices(services.BuildServiceProvider());
5958
}

SOTFEdit/AssemblyInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
// app, or any theme specific resource dictionaries)
1313
)]
1414
[assembly: AssemblyCompany("codengine")]
15-
[assembly: AssemblyFileVersion("0.5.2")]
16-
[assembly: AssemblyInformationalVersion("0.5.2")]
15+
[assembly: AssemblyFileVersion("0.6.0")]
16+
[assembly: AssemblyInformationalVersion("0.6.0")]
1717
[assembly: AssemblyProduct("SOTFEdit")]
1818
[assembly: AssemblyTitle("SOTFEdit")]
19-
[assembly: AssemblyVersion("0.5.2")]
19+
[assembly: AssemblyVersion("0.6.0")]
2020
[assembly: TargetPlatform("Windows7.0")]
2121
[assembly: SupportedOSPlatform("Windows7.0")]
2222
[assembly: Guid("d59ec208-5fc6-4336-a9db-dbeb36938f78")]

0 commit comments

Comments
 (0)