[RF] Move some patches to visual
Build AquaMai / build (push) Has been cancelled Details

pull/78/head
Clansty 2024-10-28 06:09:42 +08:00
parent 6945032077
commit 7933d49bb2
No known key found for this signature in database
GPG Key ID: 3A6BE8BAF2EDE134
16 changed files with 127 additions and 126 deletions

View File

@ -37,6 +37,11 @@ public class Config
zh: "节省一些不知道有用没用的时间,跳过一些不必要的界面")]
public TimeSaving.Config TimeSaving { get; set; } = new();
[ConfigComment(
en: "Visual effects of notes and judgment display and some other textures",
zh: "音符和判定表示以及一些其他贴图的视觉效果调整")]
public Visual.Config Visual { get; set; } = new();
[ConfigComment(
zh: "窗口相关设置")]
public WindowState.Config WindowState { get; set; } = new();

View File

@ -55,28 +55,6 @@ public class Config
""")]
public bool FontFix { get; set; }
[ConfigComment(
en: """
Make the judgment display of Wifi Slide different in up and down (originally all Wifi judgment displays are towards the center), just like in majdata
The reason for this bug is that SEGA forgot to assign EndButtonId to Wifi
""",
zh: """
Patch Wifi Slide ( Wifi ), majdata
bug SBGA Wifi EndButtonId
""")]
public bool FanJudgeFlip { get; set; }
[ConfigComment(
en: """
This Patch makes the Critical judgment of BreakSlide also flicker like BreakTap
Recommended to use with custom skins (otherwise the visual effect may not be good)
""",
zh: """
Patch BreakSlide Critical BreakTap
使 ()
""")]
public bool BreakSlideJudgeBlink { get; set; }
[ConfigComment(
en: """
Make the AutoPlay random judgment mode really randomize all judgments (down to sub-judgments)

View File

@ -9,6 +9,7 @@ using AquaMai.Helpers;
using AquaMai.Resources;
using AquaMai.Utils;
using AquaMai.UX;
using AquaMai.Visual;
using MelonLoader;
using Tomlet;
using UnityEngine;
@ -166,22 +167,19 @@ namespace AquaMai
Patch(typeof(FixCheckAuth));
Patch(typeof(DebugFeature));
Patch(typeof(FixConnSlide));
// Visual
Patch(typeof(FixSlideAutoPlay)); // Rename: SlideAutoPlayTweak -> FixSlideAutoPlay, 不过这个应该无副作用所以不需要改配置文件
Patch(typeof(FixCircleSlideJudge)); // 这个我觉得算无副作用, 可以常开
Patch(typeof(FixLevelDisplay));
Patch(typeof(CustomLogo));
// UX
Patch(typeof(CustomVersionString));
Patch(typeof(CustomPlaceName));
Patch(typeof(RunCommandOnEvents));
Patch(typeof(CustomLogo));
// Utils
Patch(typeof(JudgeAdjust));
Patch(typeof(TouchPanelBaudRate));
# if DEBUG
Patch(typeof(LogNetworkErrors));
# endif
// Apply patches based on the settings
ApplyPatches();

View File

@ -117,70 +117,11 @@ public class Config
""")]
public bool CustomFont { get; set; }
[ConfigComment(
en: """
Provide the ability to use custom skins (advanced feature)
Load skin textures from LocalAssets\Skins
""",
zh: """
LocalAssets\Skins
""")]
public bool CustomSkins { get; set; }
[ConfigComment(
en: """
More detailed judgment display
Requires CustomSkins to be enabled and the resource file to be downloaded
https://github.com/hykilpikonna/AquaDX/releases/download/nightly/JudgeDisplay4B.7z
""",
zh: """
CustomSkins
https://github.com/hykilpikonna/AquaDX/releases/download/nightly/JudgeDisplay4B.7z
""")]
public bool JudgeDisplay4B { get; set; }
[ConfigComment(
en: """
Custom track start difficulty image (not really custom difficulty)
Requires CustomSkins to be enabled
Will load four image resources through custom skins: musicBase, musicTab, musicLvBase, musicLvText
""",
zh: """
()
: musicBase, musicTab, musicLvBase, musicLvText
""")]
public bool CustomTrackStartDiff { get; set; }
[ConfigComment(
en: "Map touch actions to buttons",
zh: "映射触摸操作至实体按键")]
public bool TouchToButtonInput { get; set; }
[ConfigComment(
en: """
Delayed the animation of the song start screen
For recording chart confirmation
""",
zh: """
""")]
public bool TrackStartProcessTweak { get; set; }
[ConfigComment(
en: """
Disable the TRACK X text, DX/Standard display box, and the derakkuma at the bottom of the screen in the song start screen
For recording chart confirmation
""",
zh: """
, TRACK X , DX/,
""")]
public bool DisableTrackStartTabs { get; set; }
[ConfigComment(
en: "Cannot be used together with HanabiFix",
zh: """

View File

@ -2,7 +2,7 @@
using Monitor;
using UnityEngine;
namespace AquaMai.Fix;
namespace AquaMai.Visual;
public class BreakSlideJudgeBlink
{

View File

@ -0,0 +1,87 @@
using AquaMai.Attributes;
namespace AquaMai.Visual;
public class Config
{
[ConfigComment(
en: """
Provide the ability to use custom skins (advanced feature)
Load skin textures from LocalAssets\Skins
""",
zh: """
LocalAssets\Skins
""")]
public bool CustomSkins { get; set; }
[ConfigComment(
en: """
More detailed judgment display
Requires CustomSkins to be enabled and the resource file to be downloaded
https://github.com/hykilpikonna/AquaDX/releases/download/nightly/JudgeDisplay4B.7z
""",
zh: """
CustomSkins
https://github.com/hykilpikonna/AquaDX/releases/download/nightly/JudgeDisplay4B.7z
""")]
public bool JudgeDisplay4B { get; set; }
[ConfigComment(
en: """
Custom track start difficulty image (not really custom difficulty)
Requires CustomSkins to be enabled
Will load four image resources through custom skins: musicBase, musicTab, musicLvBase, musicLvText
""",
zh: """
()
: musicBase, musicTab, musicLvBase, musicLvText
""")]
public bool CustomTrackStartDiff { get; set; }
[ConfigComment(
en: """
Delayed the animation of the song start screen
For recording chart confirmation
""",
zh: """
""")]
public bool TrackStartProcessTweak { get; set; }
[ConfigComment(
en: """
Disable the TRACK X text, DX/Standard display box, and the derakkuma at the bottom of the screen in the song start screen
For recording chart confirmation
""",
zh: """
, TRACK X , DX/,
""")]
public bool DisableTrackStartTabs { get; set; }
[ConfigComment(
en: """
Make the judgment display of Wifi Slide different in up and down (originally all Wifi judgment displays are towards the center), just like in majdata
The reason for this bug is that SEGA forgot to assign EndButtonId to Wifi
""",
zh: """
Patch Wifi Slide ( Wifi ), majdata
bug SBGA Wifi EndButtonId
""")]
public bool FanJudgeFlip { get; set; }
[ConfigComment(
en: """
This Patch makes the Critical judgment of BreakSlide also flicker like BreakTap
Recommended to use with custom skins (otherwise the visual effect may not be good)
""",
zh: """
Patch BreakSlide Critical BreakTap
使 ()
""")]
public bool BreakSlideJudgeBlink { get; set; }
}

View File

@ -7,7 +7,7 @@ using Process;
using UnityEngine;
using UnityEngine.UI;
namespace AquaMai.UX;
namespace AquaMai.Visual;
public class CustomLogo
{

View File

@ -8,7 +8,7 @@ using Monitor.Game;
using Process;
using UnityEngine;
namespace AquaMai.UX;
namespace AquaMai.Visual;
public class CustomSkins
{

View File

@ -5,7 +5,7 @@ using UI;
using UnityEngine;
using UnityEngine.UI;
namespace AquaMai.UX;
namespace AquaMai.Visual;
public class CustomTrackStartDiff
{

View File

@ -1,11 +1,9 @@
using System.Collections.Generic;
using HarmonyLib;
using HarmonyLib;
using Monitor;
using UI;
using UnityEngine;
using UnityEngine.UI;
namespace AquaMai.UX;
namespace AquaMai.Visual;
public class DisableTrackStartTabs
{

View File

@ -1,7 +1,7 @@
using HarmonyLib;
using Monitor;
namespace AquaMai.Fix;
namespace AquaMai.Visual;
public class FanJudgeFlip
{

View File

@ -2,10 +2,9 @@
using HarmonyLib;
using Manager;
using Monitor;
using Process;
using UnityEngine;
namespace AquaMai.Fix;
namespace AquaMai.Visual;
public class FixCircleSlideJudge
{

View File

@ -3,7 +3,7 @@ using HarmonyLib;
using Manager;
using Monitor;
namespace AquaMai.Fix;
namespace AquaMai.Visual;
public class FixSlideAutoPlay
{

View File

@ -1,9 +1,8 @@
using HarmonyLib;
using Manager;
using Monitor;
using UnityEngine;
namespace AquaMai.UX;
namespace AquaMai.Visual;
public class JudgeDisplay4B
{

View File

@ -1,12 +1,8 @@
using System.Collections.Generic;
using HarmonyLib;
using Monitor;
using HarmonyLib;
using Process;
using UI;
using UnityEngine;
using UnityEngine.UI;
namespace AquaMai.UX;
namespace AquaMai.Visual;
public class TrackStartProcessTweak
{