Skip to content

Commit

Permalink
Fix file reading to handle new SetSkillPointsPerLevelManager type
Browse files Browse the repository at this point in the history
  • Loading branch information
reubengann committed Sep 28, 2023
1 parent 00f42c8 commit fb674db
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions SaveTools/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
[Verb("parse", HelpText = "Parse a save file")]
class ParseOptions
{
[Value(0)]
public string verb { get; set; }
//[Value(0)]
//public string verb { get; set; }

[Value(0)]
public string filename { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion SaveTools/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"profiles": {
"SaveTools": {
"commandName": "Project",
"commandLineArgs": "compare ManualSave_1266d8_7e716c00_5048320.sav ManualSave_11b6cd_7e716c00_505e1b1.sav"
"commandLineArgs": "parse C:\\Users\\reube\\Downloads\\ManualSave_55607_7e746800_10bd9aa.sav"
}
}
}
4 changes: 4 additions & 0 deletions SaveTools/SaveTools.args.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"Id": "1b0ea989-bf34-480e-9404-eef2f00c835d",
"Command": "parse"
},
{
"Id": "6c365559-1071-45b0-8ad7-cf84bd22ca33",
"Command": "C:\\Users\\reube\\Downloads\\ManualSave_55607_7e746800_10bd9aa.sav"
},
{
"Id": "eb16f64f-b0b5-4b8c-8bec-d56a55aa381f",
"Command": "C:\\Users\\reube\\Desktop\\badsave1.sav"
Expand Down
2 changes: 1 addition & 1 deletion Witcher3SaveFile/Witcher3SaveFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class Witcher3SaveFile
List<string> SimplePorpHandleTypes = new List<string> {"W3LevelManager", "W3EffectManager", "CEncounterDataManager",
"CCharacterStats", "W3AbilityManager", "CBaseGameplayEffect",
"CPlayerInput", "WeaponHolster", "W3FactionReputationPoints",
"W3Reputation", "ISpawnTreeSpawnMonitorInitializer", "CSSPPL", "CInGameConfigWrapper" };
"W3Reputation", "ISpawnTreeSpawnMonitorInitializer", "CSSPPL", "CInGameConfigWrapper", "SetSkillPointsPerLevelManager"};
List<string> SimpleSetTypes = new List<string> { "STutorialHighlight", "SUITutorial", "STutorialMessage" };
List<string> SimpleSetsWithSizes = new List<string> { "ErrandDetailsList", "GameTime", "SMonsterNestUpdateDefinition",
"SAbilityAttributeValue", "SBuffImmunity", "SItemUniqueId", "SGlossaryImageOverride",
Expand Down

0 comments on commit fb674db

Please sign in to comment.