Skip to content

Commit

Permalink
v0.7 release
Browse files Browse the repository at this point in the history
  • Loading branch information
realworld666 committed Aug 30, 2017
1 parent 08edf7c commit b6a7720
Show file tree
Hide file tree
Showing 24 changed files with 196 additions and 32 deletions.
Binary file modified .vs/MMSaveEditor/v14/.suo
Binary file not shown.
Binary file modified .vs/MMSaveEditor/v15/.suo
Binary file not shown.
6 changes: 5 additions & 1 deletion Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
v0.6
v0.7
- Loads of bug fixes to improve compatability with save games from 1.4
- Improved internal error reporting

v0.6
- Support for 1.4 version of Motorsport Manager
- Tapping the team name on any person entry will take you to that team on the teams tab
- BUGFIX: A number of reported crashes have been resolved
Expand Down
Binary file modified Installer/Setup Files/installer.msi
Binary file not shown.
42 changes: 21 additions & 21 deletions Installer/installer.aip
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
<ROW Property="ARPURLINFOABOUT" Value="http://www.rwscripts.com"/>
<ROW Property="CTRLS" Value="3"/>
<ROW Property="Manufacturer" Value="RWSoftware"/>
<ROW Property="ProductCode" Value="2057:{EC0E9C4C-EE4A-42C5-AD9F-3E3D1EC2C53A} " Type="16"/>
<ROW Property="ProductCode" Value="2057:{92270AEB-1E70-48B1-A720-155EF3D54D79} " Type="16"/>
<ROW Property="ProductLanguage" Value="2057"/>
<ROW Property="ProductName" Value="Motorsport Manager Save Game Editor"/>
<ROW Property="ProductVersion" Value="0.6.6446.23468" Type="32"/>
<ROW Property="ProductVersion" Value="0.7.6451.25698" Type="32"/>
<ROW Property="RUNAPPLICATION" Value="1" Type="4"/>
<ROW Property="SecureCustomProperties" Value="OLDPRODUCTS;AI_NEWERPRODUCTFOUND"/>
<ROW Property="UpgradeCode" Value="{8BDE8362-B429-4ACF-A03F-574CC3DC49CA}"/>
Expand All @@ -38,25 +38,25 @@
<ROW Directory="TARGETDIR" DefaultDir="SourceDir"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiCompsComponent">
<ROW Component="CsvHelper.dll" ComponentId="{44E22B5D-F0D8-4736-92EC-CBC0918297C4}" Directory_="APPDIR" Attributes="0" KeyPath="CsvHelper.dll"/>
<ROW Component="GalaSoft.MvvmLight.Extras.dll" ComponentId="{3A6AE558-533B-448E-B92F-8ADF571FBB53}" Directory_="APPDIR" Attributes="0" KeyPath="GalaSoft.MvvmLight.Extras.dll"/>
<ROW Component="GalaSoft.MvvmLight.Platform.dll" ComponentId="{0FF49575-EA5D-46CE-B180-DF9497147464}" Directory_="APPDIR" Attributes="0" KeyPath="GalaSoft.MvvmLight.Platform.dll"/>
<ROW Component="GalaSoft.MvvmLight.dll" ComponentId="{FF220F54-6EDE-48FE-98E9-C99599CDA9B9}" Directory_="APPDIR" Attributes="0" KeyPath="GalaSoft.MvvmLight.dll"/>
<ROW Component="LZ4.dll" ComponentId="{F86D6EB8-CD0A-40D7-BEAF-76106AA34B90}" Directory_="APPDIR" Attributes="0" KeyPath="LZ4.dll"/>
<ROW Component="MMSaveEditor.exe" ComponentId="{0E173443-4286-4A0A-9A1C-3DFF6BAFF4CF}" Directory_="APPDIR" Attributes="0" KeyPath="MMSaveEditor.exe"/>
<ROW Component="MMSaveEditor.exe.config" ComponentId="{41ADF6E7-4704-4406-B97E-B0B11B96F293}" Directory_="APPDIR" Attributes="0" KeyPath="MMSaveEditor.exe.config" Type="0"/>
<ROW Component="Microsoft.Practices.ServiceLocation.dll" ComponentId="{D71DF902-1FB7-4271-B4AF-53E5C31D387B}" Directory_="APPDIR" Attributes="0" KeyPath="Microsoft.Practices.ServiceLocation.dll"/>
<ROW Component="NBug.dll" ComponentId="{C588AF28-8849-442C-A759-A103B6013F91}" Directory_="APPDIR" Attributes="0" KeyPath="NBug.dll"/>
<ROW Component="Newtonsoft.Json.dll" ComponentId="{341D4C83-219E-4749-A361-89A0987A64B3}" Directory_="APPDIR" Attributes="0" KeyPath="Newtonsoft.Json.dll"/>
<ROW Component="ProductInformation" ComponentId="{FFAEA5C6-1177-41F5-85CA-07F53EB6FBC1}" Directory_="APPDIR" Attributes="4" KeyPath="Version"/>
<ROW Component="SHORTCUTDIR" ComponentId="{540DC33D-46AF-4E46-8ACE-6F106DA26DE8}" Directory_="SHORTCUTDIR" Attributes="0"/>
<ROW Component="System.Windows.Interactivity.dll" ComponentId="{1543F283-9082-4154-A961-1AE495A66ECF}" Directory_="APPDIR" Attributes="0" KeyPath="System.Windows.Interactivity.dll"/>
<ROW Component="Xceed.Wpf.AvalonDock.Themes.Aero.dll" ComponentId="{7EE6252E-540F-40AC-8BF0-2279DB01429E}" Directory_="APPDIR" Attributes="0" KeyPath="Xceed.Wpf.AvalonDock.Themes.Aero.dll"/>
<ROW Component="Xceed.Wpf.AvalonDock.Themes.Metro.dll" ComponentId="{3FCEDCFD-DE03-4930-843B-95F4E10320A2}" Directory_="APPDIR" Attributes="0" KeyPath="Xceed.Wpf.AvalonDock.Themes.Metro.dll"/>
<ROW Component="Xceed.Wpf.AvalonDock.Themes.VS2010.dll" ComponentId="{76F20E70-F322-45DE-A789-55D48DBB626B}" Directory_="APPDIR" Attributes="0" KeyPath="Xceed.Wpf.AvalonDock.Themes.VS2010.dll"/>
<ROW Component="Xceed.Wpf.AvalonDock.dll" ComponentId="{FA4C61F8-311E-4C6C-8AC5-B1574E4CA9B2}" Directory_="APPDIR" Attributes="0" KeyPath="Xceed.Wpf.AvalonDock.dll"/>
<ROW Component="Xceed.Wpf.DataGrid.dll" ComponentId="{94FD2E37-E320-4EE9-9CA7-63BC82721387}" Directory_="APPDIR" Attributes="0" KeyPath="Xceed.Wpf.DataGrid.dll"/>
<ROW Component="Xceed.Wpf.Toolkit.dll" ComponentId="{1E66447F-F207-49F2-AE09-FD9A04ED7571}" Directory_="APPDIR" Attributes="0" KeyPath="Xceed.Wpf.Toolkit.dll"/>
<ROW Component="CsvHelper.dll" ComponentId="{64ED23ED-F26A-4069-81E9-1E3F836D0E97}" Directory_="APPDIR" Attributes="0" KeyPath="CsvHelper.dll"/>
<ROW Component="GalaSoft.MvvmLight.Extras.dll" ComponentId="{2B5AB0A7-C613-4AE6-ADC5-729E73D32900}" Directory_="APPDIR" Attributes="0" KeyPath="GalaSoft.MvvmLight.Extras.dll"/>
<ROW Component="GalaSoft.MvvmLight.Platform.dll" ComponentId="{B2E6373E-92EF-43BE-B6AC-38765E1FAF6C}" Directory_="APPDIR" Attributes="0" KeyPath="GalaSoft.MvvmLight.Platform.dll"/>
<ROW Component="GalaSoft.MvvmLight.dll" ComponentId="{D63D70B8-87D7-4333-8EA4-9ED758626439}" Directory_="APPDIR" Attributes="0" KeyPath="GalaSoft.MvvmLight.dll"/>
<ROW Component="LZ4.dll" ComponentId="{A6F2E873-EF76-4731-9835-D2A0571E7AF3}" Directory_="APPDIR" Attributes="0" KeyPath="LZ4.dll"/>
<ROW Component="MMSaveEditor.exe" ComponentId="{4CC5CD1A-A23B-4882-8B94-5346305AE35F}" Directory_="APPDIR" Attributes="0" KeyPath="MMSaveEditor.exe"/>
<ROW Component="MMSaveEditor.exe.config" ComponentId="{9F6D207E-ECAB-4EF3-A2CC-E29494EF3E27}" Directory_="APPDIR" Attributes="0" KeyPath="MMSaveEditor.exe.config" Type="0"/>
<ROW Component="Microsoft.Practices.ServiceLocation.dll" ComponentId="{AD4DB842-7723-4EB7-8789-74012F34BB20}" Directory_="APPDIR" Attributes="0" KeyPath="Microsoft.Practices.ServiceLocation.dll"/>
<ROW Component="NBug.dll" ComponentId="{D7E825E7-5E94-467F-A8C1-3E2164B10796}" Directory_="APPDIR" Attributes="0" KeyPath="NBug.dll"/>
<ROW Component="Newtonsoft.Json.dll" ComponentId="{2A19A03A-EBB9-4B59-82FA-6AD721C56A25}" Directory_="APPDIR" Attributes="0" KeyPath="Newtonsoft.Json.dll"/>
<ROW Component="ProductInformation" ComponentId="{1DB3CEF5-C3CD-4911-AEB6-7CCD56765DE9}" Directory_="APPDIR" Attributes="4" KeyPath="Version"/>
<ROW Component="SHORTCUTDIR" ComponentId="{356039FB-1CBF-4AD1-9BE9-73265DE213D1}" Directory_="SHORTCUTDIR" Attributes="0"/>
<ROW Component="System.Windows.Interactivity.dll" ComponentId="{81F592E4-82F3-4161-A9F9-8F3F2577BF3C}" Directory_="APPDIR" Attributes="0" KeyPath="System.Windows.Interactivity.dll"/>
<ROW Component="Xceed.Wpf.AvalonDock.Themes.Aero.dll" ComponentId="{A337ED5F-D984-4EEA-8571-A4F552F52BB8}" Directory_="APPDIR" Attributes="0" KeyPath="Xceed.Wpf.AvalonDock.Themes.Aero.dll"/>
<ROW Component="Xceed.Wpf.AvalonDock.Themes.Metro.dll" ComponentId="{68D20CC1-013D-4CFA-9B88-DD626D71EEAC}" Directory_="APPDIR" Attributes="0" KeyPath="Xceed.Wpf.AvalonDock.Themes.Metro.dll"/>
<ROW Component="Xceed.Wpf.AvalonDock.Themes.VS2010.dll" ComponentId="{7ECCBF55-454A-4722-A3FA-EEC0DB608715}" Directory_="APPDIR" Attributes="0" KeyPath="Xceed.Wpf.AvalonDock.Themes.VS2010.dll"/>
<ROW Component="Xceed.Wpf.AvalonDock.dll" ComponentId="{0E0462CC-1184-4C98-ADEF-C65670B7176E}" Directory_="APPDIR" Attributes="0" KeyPath="Xceed.Wpf.AvalonDock.dll"/>
<ROW Component="Xceed.Wpf.DataGrid.dll" ComponentId="{DF70D96A-366A-494C-9F84-3AF8B97C9A77}" Directory_="APPDIR" Attributes="0" KeyPath="Xceed.Wpf.DataGrid.dll"/>
<ROW Component="Xceed.Wpf.Toolkit.dll" ComponentId="{437E52F8-0714-4DDD-8C67-75B3F4583FB5}" Directory_="APPDIR" Attributes="0" KeyPath="Xceed.Wpf.Toolkit.dll"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiFeatsComponent">
<ROW Feature="MainFeature" Title="MainFeature" Description="Description" Display="1" Level="1" Directory_="APPDIR" Attributes="0" Components="CsvHelper.dll GalaSoft.MvvmLight.Extras.dll GalaSoft.MvvmLight.Platform.dll GalaSoft.MvvmLight.dll LZ4.dll MMSaveEditor.exe MMSaveEditor.exe.config Microsoft.Practices.ServiceLocation.dll NBug.dll Newtonsoft.Json.dll ProductInformation SHORTCUTDIR System.Windows.Interactivity.dll Xceed.Wpf.AvalonDock.Themes.Aero.dll Xceed.Wpf.AvalonDock.Themes.Metro.dll Xceed.Wpf.AvalonDock.Themes.VS2010.dll Xceed.Wpf.AvalonDock.dll Xceed.Wpf.DataGrid.dll Xceed.Wpf.Toolkit.dll"/>
Expand Down
11 changes: 11 additions & 0 deletions MMSaveEditor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@
<Compile Include="Model\ChairmanUltimatum.cs" />
<Compile Include="Model\Challenge.cs" />
<Compile Include="Model\ChallengeDuration.cs" />
<Compile Include="Model\ChallengeDurationEndRace.cs" />
<Compile Include="Model\ChallengeDurationEndSeason.cs" />
<Compile Include="Model\ChallengeDurationInfinite.cs" />
<Compile Include="Model\ChallengeGameData.cs" />
<Compile Include="Model\ChallengeManager.cs" />
<Compile Include="Model\ChallengeObjective.cs" />
Expand All @@ -274,7 +277,13 @@
<Compile Include="Model\ChallengeObjectives.cs" />
<Compile Include="Model\ChallengeObjectiveStaffQuality.cs" />
<Compile Include="Model\ChallengeObjectiveWinTopTier.cs" />
<Compile Include="Model\ChallengeRestriction.cs" />
<Compile Include="Model\ChallengeRestrictionBuildCarParts.cs" />
<Compile Include="Model\ChallengeRestrictionDriverLeaveTeam.cs" />
<Compile Include="Model\ChallengeRestrictionLeaveTeam.cs" />
<Compile Include="Model\ChallengeRestrictions.cs" />
<Compile Include="Model\ChallengeRestrictions_v1.cs" />
<Compile Include="Model\ChallengeRestrictionTeam.cs" />
<Compile Include="Model\ChallengeReward.cs" />
<Compile Include="Model\ChallengeRewards.cs" />
<Compile Include="Model\Championship.cs" />
Expand Down Expand Up @@ -543,12 +552,14 @@
<Compile Include="Model\RadioMessageCarPart.cs" />
<Compile Include="Model\RadioMessageCollision.cs" />
<Compile Include="Model\RadioMessageCrash.cs" />
<Compile Include="Model\RadioMessageCutCorner.cs" />
<Compile Include="Model\RadioMessageEndSession.cs" />
<Compile Include="Model\RadioMessageFuelStrategy.cs" />
<Compile Include="Model\RadioMessageLockUp.cs" />
<Compile Include="Model\RadioMessageOvertakes.cs" />
<Compile Include="Model\RadioMessagePitStop.cs" />
<Compile Include="Model\RadioMessageQualifying.cs" />
<Compile Include="Model\RadioMessageRunWide.cs" />
<Compile Include="Model\RadioMessageSafetyCar.cs" />
<Compile Include="Model\RadioMessageSetupFeedback.cs" />
<Compile Include="Model\RadioMessageSpinOut.cs" />
Expand Down
9 changes: 9 additions & 0 deletions Model/ChallengeDurationEndRace.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using FullSerializer;
using UnityEngine;

[fsObject(MemberSerialization = fsMemberSerialization.OptOut)]
public class ChallengeDurationEndRace : ChallengeDuration
{
private int mRacesLeft;

}
13 changes: 13 additions & 0 deletions Model/ChallengeDurationEndSeason.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

using FullSerializer;
using UnityEngine;

[fsObject(MemberSerialization = fsMemberSerialization.OptOut)]
public class ChallengeDurationEndSeason : ChallengeDuration
{
private int mChampionshipID = -1;
private int mEventNumber = -1;
private int mEventCount = -1;
private int mSeasonsLeft;

}
8 changes: 8 additions & 0 deletions Model/ChallengeDurationInfinite.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

using FullSerializer;
using UnityEngine;

[fsObject(MemberSerialization = fsMemberSerialization.OptOut)]
public class ChallengeDurationInfinite : ChallengeDuration
{
}
18 changes: 18 additions & 0 deletions Model/ChallengeRestriction.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

using FullSerializer;

[fsObject(MemberSerialization = fsMemberSerialization.OptOut)]
public class ChallengeRestriction
{
private bool mHasFailed;


public enum RestrictionType
{
TeamsAllowed,
LeaveTeam,
DriverLeaveTeam,
BuildCarParts,
Count,
}
}
9 changes: 9 additions & 0 deletions Model/ChallengeRestrictionBuildCarParts.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

using FullSerializer;
using UnityEngine;

[fsObject(MemberSerialization = fsMemberSerialization.OptOut)]
public class ChallengeRestrictionBuildCarParts : ChallengeRestriction
{

}
15 changes: 15 additions & 0 deletions Model/ChallengeRestrictionDriverLeaveTeam.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

using FullSerializer;
using System;
using System.Collections.Generic;
using UnityEngine;

[fsObject(MemberSerialization = fsMemberSerialization.OptOut)]
public class ChallengeRestrictionDriverLeaveTeam : ChallengeRestriction
{
private string mDriverName = string.Empty;
[NonSerialized]
private Driver mTargetDriver;
private int mDriverIndex;

}
9 changes: 9 additions & 0 deletions Model/ChallengeRestrictionLeaveTeam.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

using FullSerializer;
using UnityEngine;

[fsObject(MemberSerialization = fsMemberSerialization.OptOut)]
public class ChallengeRestrictionLeaveTeam : ChallengeRestriction
{

}
15 changes: 15 additions & 0 deletions Model/ChallengeRestrictionTeam.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using FullSerializer;
using System;
using System.Collections.Generic;
using UnityEngine;

[fsObject(MemberSerialization = fsMemberSerialization.OptOut)]
public class ChallengeRestrictionTeam : ChallengeRestriction
{
private int[] mAllowedTeamsID;
public ChallengeRestrictionTeam(params int[] inAllowedTeamsID)
{
this.mAllowedTeamsID = inAllowedTeamsID;
}

}
36 changes: 36 additions & 0 deletions Model/ChallengeRestrictions_v1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
using FullSerializer;
using System.Collections.Generic;

[fsObject("v1", new System.Type[] { typeof(ChallengeRestrictions) }, MemberSerialization = fsMemberSerialization.OptOut)]
public class ChallengeRestrictions_v1
{
private List<ChallengeRestriction> mRestrictions = new List<ChallengeRestriction>();

public ChallengeRestrictions_v1()
{
}

public ChallengeRestrictions_v1(ChallengeRestrictions v0)
{
}

public ChallengeRestrictions_v1(Challenge.ChallengeName inChallengeName)
{
switch (inChallengeName)
{
case Challenge.ChallengeName.Underdog:
this.mRestrictions.Add((ChallengeRestriction)new ChallengeRestrictionTeam(new int[1]
{
27
}));
this.mRestrictions.Add((ChallengeRestriction)new ChallengeRestrictionLeaveTeam());
break;
case Challenge.ChallengeName.TopManager:
this.mRestrictions.Add((ChallengeRestriction)new ChallengeRestrictionTeam(new int[1]
{
29
}));
break;
}
}
}
6 changes: 3 additions & 3 deletions Model/Game.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ public class Game
public List<SavedSubscribedModInfo> savedSubscribedModsInfo = new List<SavedSubscribedModInfo>();
public GameAchievementDataStorage achievementData = new GameAchievementDataStorage();
public SerializedPreferences mSerializedPreferences;
public bool IsSimulatingSeason;
public Action OnGameDataChanged;
public Action OnNewGame;
public static bool IsSimulatingSeason;
public static Action OnGameDataChanged;
public static Action OnNewGame;

public Game()
{
Expand Down
1 change: 0 additions & 1 deletion Model/PathController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ public class Path
public PathSpline.SplinePosition centerLinePosition = new PathSpline.SplinePosition();
public PathController.PathType pathType;
public Vehicle vehicle;
public int crashPathID;
public float pathSpace;


Expand Down
8 changes: 8 additions & 0 deletions Model/RadioMessageCutCorner.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using FullSerializer;
using System;

[fsObject(MemberSerialization = fsMemberSerialization.OptOut)]
public class RadioMessageCutCorner : RadioMessage
{

}
8 changes: 8 additions & 0 deletions Model/RadioMessageRunWide.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using FullSerializer;
using System;

[fsObject(MemberSerialization = fsMemberSerialization.OptOut)]
public class RadioMessageRunWide : RadioMessage
{

}
2 changes: 1 addition & 1 deletion Model/SessionDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[fsObject(MemberSerialization = fsMemberSerialization.OptOut)]
public class SessionDetails
{
public static int sessionTypeCount = 3;
private DateTime mSessionDateTime;
private SessionWeatherDetails mSessionWeatherDetails;
private SessionDetails.SessionType mSessionType;
Expand All @@ -12,7 +13,6 @@ public class SessionDetails
private int mTVAudience;
private int mAttendence;
private int mSessionNumber = -1;
public int sessionTypeCount;

public DateTime sessionDateTime
{
Expand Down
1 change: 1 addition & 0 deletions Model/SprinklersDirector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ public class SprinklersDirector
private SessionManager mSessionManager;
private float mSprinklerChance;
private bool mSprinklersSetup;
private bool mIsSprinklerGoingToActivate;

}
3 changes: 0 additions & 3 deletions Model/TargetPointSteeringBehaviour.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ public class TargetPointSteeringBehaviour : SteeringBehaviour
{
private PathController.PathType mTargetPath = PathController.PathType.Count;
private PathController.Path mTargetPointPath;
private PathSpline.SplinePosition mTagetRacingLinePosition;
private TargetPointSteeringBehaviour.State mState;
private TargetPointSteeringBehaviour.TargetResult mTargetResult;
private float mDistance;
private float mBlendDistance;
private float mHalfBlendLength;
private float mPathSpace;
private float mPathSpaceOnBlendStart;
Expand Down
2 changes: 1 addition & 1 deletion Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.6.*")]
[assembly: AssemblyVersion("0.7.*")]
6 changes: 5 additions & 1 deletion ViewModel/PersonViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,11 @@ public DateTime PeakAge
return PersonData.peakAge;
return DateTime.Now;
}
set => PersonData.peakAge = value;
set
{
if (PersonData != null)
PersonData.peakAge = value;
}
}

public float Morale
Expand Down

0 comments on commit b6a7720

Please sign in to comment.