mirror of https://github.com/hykilpikonna/AquaDX
[RF] Move some patches to visual
Build AquaMai / build (push) Has been cancelled
Details
Build AquaMai / build (push) Has been cancelled
Details
parent
6945032077
commit
7933d49bb2
|
@ -37,6 +37,11 @@ public class Config
|
||||||
zh: "节省一些不知道有用没用的时间,跳过一些不必要的界面")]
|
zh: "节省一些不知道有用没用的时间,跳过一些不必要的界面")]
|
||||||
public TimeSaving.Config TimeSaving { get; set; } = new();
|
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(
|
[ConfigComment(
|
||||||
zh: "窗口相关设置")]
|
zh: "窗口相关设置")]
|
||||||
public WindowState.Config WindowState { get; set; } = new();
|
public WindowState.Config WindowState { get; set; } = new();
|
||||||
|
|
|
@ -55,28 +55,6 @@ public class Config
|
||||||
""")]
|
""")]
|
||||||
public bool FontFix { get; set; }
|
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(
|
[ConfigComment(
|
||||||
en: """
|
en: """
|
||||||
Make the AutoPlay random judgment mode really randomize all judgments (down to sub-judgments)
|
Make the AutoPlay random judgment mode really randomize all judgments (down to sub-judgments)
|
||||||
|
|
|
@ -9,6 +9,7 @@ using AquaMai.Helpers;
|
||||||
using AquaMai.Resources;
|
using AquaMai.Resources;
|
||||||
using AquaMai.Utils;
|
using AquaMai.Utils;
|
||||||
using AquaMai.UX;
|
using AquaMai.UX;
|
||||||
|
using AquaMai.Visual;
|
||||||
using MelonLoader;
|
using MelonLoader;
|
||||||
using Tomlet;
|
using Tomlet;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -166,22 +167,19 @@ namespace AquaMai
|
||||||
Patch(typeof(FixCheckAuth));
|
Patch(typeof(FixCheckAuth));
|
||||||
Patch(typeof(DebugFeature));
|
Patch(typeof(DebugFeature));
|
||||||
Patch(typeof(FixConnSlide));
|
Patch(typeof(FixConnSlide));
|
||||||
|
// Visual
|
||||||
Patch(typeof(FixSlideAutoPlay)); // Rename: SlideAutoPlayTweak -> FixSlideAutoPlay, 不过这个应该无副作用所以不需要改配置文件
|
Patch(typeof(FixSlideAutoPlay)); // Rename: SlideAutoPlayTweak -> FixSlideAutoPlay, 不过这个应该无副作用所以不需要改配置文件
|
||||||
Patch(typeof(FixCircleSlideJudge)); // 这个我觉得算无副作用, 可以常开
|
Patch(typeof(FixCircleSlideJudge)); // 这个我觉得算无副作用, 可以常开
|
||||||
Patch(typeof(FixLevelDisplay));
|
Patch(typeof(FixLevelDisplay));
|
||||||
|
Patch(typeof(CustomLogo));
|
||||||
// UX
|
// UX
|
||||||
Patch(typeof(CustomVersionString));
|
Patch(typeof(CustomVersionString));
|
||||||
Patch(typeof(CustomPlaceName));
|
Patch(typeof(CustomPlaceName));
|
||||||
Patch(typeof(RunCommandOnEvents));
|
Patch(typeof(RunCommandOnEvents));
|
||||||
Patch(typeof(CustomLogo));
|
|
||||||
// Utils
|
// Utils
|
||||||
Patch(typeof(JudgeAdjust));
|
Patch(typeof(JudgeAdjust));
|
||||||
Patch(typeof(TouchPanelBaudRate));
|
Patch(typeof(TouchPanelBaudRate));
|
||||||
|
|
||||||
# if DEBUG
|
|
||||||
Patch(typeof(LogNetworkErrors));
|
|
||||||
# endif
|
|
||||||
|
|
||||||
// Apply patches based on the settings
|
// Apply patches based on the settings
|
||||||
ApplyPatches();
|
ApplyPatches();
|
||||||
|
|
||||||
|
|
|
@ -117,70 +117,11 @@ public class Config
|
||||||
""")]
|
""")]
|
||||||
public bool CustomFont { get; set; }
|
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(
|
[ConfigComment(
|
||||||
en: "Map touch actions to buttons",
|
en: "Map touch actions to buttons",
|
||||||
zh: "映射触摸操作至实体按键")]
|
zh: "映射触摸操作至实体按键")]
|
||||||
public bool TouchToButtonInput { get; set; }
|
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(
|
[ConfigComment(
|
||||||
en: "Cannot be used together with HanabiFix",
|
en: "Cannot be used together with HanabiFix",
|
||||||
zh: """
|
zh: """
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
using Monitor;
|
using Monitor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace AquaMai.Fix;
|
namespace AquaMai.Visual;
|
||||||
|
|
||||||
public class BreakSlideJudgeBlink
|
public class BreakSlideJudgeBlink
|
||||||
{
|
{
|
|
@ -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; }
|
||||||
|
}
|
|
@ -7,7 +7,7 @@ using Process;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
|
|
||||||
namespace AquaMai.UX;
|
namespace AquaMai.Visual;
|
||||||
|
|
||||||
public class CustomLogo
|
public class CustomLogo
|
||||||
{
|
{
|
|
@ -8,7 +8,7 @@ using Monitor.Game;
|
||||||
using Process;
|
using Process;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace AquaMai.UX;
|
namespace AquaMai.Visual;
|
||||||
|
|
||||||
public class CustomSkins
|
public class CustomSkins
|
||||||
{
|
{
|
|
@ -5,7 +5,7 @@ using UI;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
|
|
||||||
namespace AquaMai.UX;
|
namespace AquaMai.Visual;
|
||||||
|
|
||||||
public class CustomTrackStartDiff
|
public class CustomTrackStartDiff
|
||||||
{
|
{
|
|
@ -1,11 +1,9 @@
|
||||||
using System.Collections.Generic;
|
using HarmonyLib;
|
||||||
using HarmonyLib;
|
|
||||||
using Monitor;
|
using Monitor;
|
||||||
using UI;
|
using UI;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
namespace AquaMai.UX;
|
namespace AquaMai.Visual;
|
||||||
|
|
||||||
public class DisableTrackStartTabs
|
public class DisableTrackStartTabs
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using HarmonyLib;
|
using HarmonyLib;
|
||||||
using Monitor;
|
using Monitor;
|
||||||
|
|
||||||
namespace AquaMai.Fix;
|
namespace AquaMai.Visual;
|
||||||
|
|
||||||
public class FanJudgeFlip
|
public class FanJudgeFlip
|
||||||
{
|
{
|
|
@ -2,10 +2,9 @@
|
||||||
using HarmonyLib;
|
using HarmonyLib;
|
||||||
using Manager;
|
using Manager;
|
||||||
using Monitor;
|
using Monitor;
|
||||||
using Process;
|
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace AquaMai.Fix;
|
namespace AquaMai.Visual;
|
||||||
|
|
||||||
public class FixCircleSlideJudge
|
public class FixCircleSlideJudge
|
||||||
{
|
{
|
|
@ -3,7 +3,7 @@ using HarmonyLib;
|
||||||
using Manager;
|
using Manager;
|
||||||
using Monitor;
|
using Monitor;
|
||||||
|
|
||||||
namespace AquaMai.Fix;
|
namespace AquaMai.Visual;
|
||||||
|
|
||||||
public class FixSlideAutoPlay
|
public class FixSlideAutoPlay
|
||||||
{
|
{
|
|
@ -1,9 +1,8 @@
|
||||||
using HarmonyLib;
|
using HarmonyLib;
|
||||||
using Manager;
|
|
||||||
using Monitor;
|
using Monitor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace AquaMai.UX;
|
namespace AquaMai.Visual;
|
||||||
|
|
||||||
public class JudgeDisplay4B
|
public class JudgeDisplay4B
|
||||||
{
|
{
|
|
@ -1,12 +1,8 @@
|
||||||
using System.Collections.Generic;
|
using HarmonyLib;
|
||||||
using HarmonyLib;
|
|
||||||
using Monitor;
|
|
||||||
using Process;
|
using Process;
|
||||||
using UI;
|
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
namespace AquaMai.UX;
|
namespace AquaMai.Visual;
|
||||||
|
|
||||||
public class TrackStartProcessTweak
|
public class TrackStartProcessTweak
|
||||||
{
|
{
|
Loading…
Reference in New Issue