mirror of https://github.com/hykilpikonna/AquaDX
[+] Allow login with higher data version
parent
222ed29b6c
commit
5772ff78e6
|
@ -288,6 +288,7 @@
|
|||
<Compile Include="UX\RunCommandOnEvents.cs" />
|
||||
<Compile Include="UX\SinglePlayer.cs" />
|
||||
<Compile Include="UX\SkipEventInfo.cs" />
|
||||
<Compile Include="UX\SkipVersionCheck.cs" />
|
||||
<Compile Include="UX\SkipWarningScreen.cs" />
|
||||
<Compile Include="UX\SkipToMusicSelection.cs" />
|
||||
</ItemGroup>
|
||||
|
|
|
@ -42,6 +42,8 @@ ExecOnEntry=""
|
|||
ExtendTimer=true
|
||||
# Save immediate after playing a song
|
||||
ImmediateSave=true
|
||||
# Allow login with higher data version
|
||||
SkipVersionCheck=true
|
||||
|
||||
[Performance]
|
||||
# Disable some useless delays to speed up the game boot process
|
||||
|
|
|
@ -30,6 +30,7 @@ namespace AquaMai
|
|||
public bool SkipEventInfo { get; set; }
|
||||
public bool ImmediateSave { get; set; }
|
||||
public bool LoadLocalBga { get; set; }
|
||||
public bool SkipVersionCheck { get; set; }
|
||||
public string CustomVersionString { get; set; }
|
||||
public string ExecOnIdle { get; set; }
|
||||
public string ExecOnEntry { get; set; }
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
using HarmonyLib;
|
||||
using Process.Entry.State;
|
||||
|
||||
namespace AquaMai.UX
|
||||
{
|
||||
public class SkipVersionCheck
|
||||
{
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(ConfirmPlay), "IsValidVersion")]
|
||||
public static bool IsValidVersion(ref bool __result)
|
||||
{
|
||||
__result = true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue