diff --git a/Osu2Saber/Model/Algorithm/ConvertAlgorithm.cs b/Osu2Saber/Model/Algorithm/ConvertAlgorithm.cs
index 8dd0492..a6e553c 100644
--- a/Osu2Saber/Model/Algorithm/ConvertAlgorithm.cs
+++ b/Osu2Saber/Model/Algorithm/ConvertAlgorithm.cs
@@ -9,6 +9,7 @@ namespace Osu2Saber.Model.Algorithm
class ConvertAlgorithm
{
public static bool HandleHitSlider = false;
+ public static bool NoDirectionAndPlacement = false;
protected const float OsuScreenXMax = 512, OsuScreenYMax = 384;
@@ -126,10 +127,19 @@ void AddNote(int timeMs, float posx, float posy)
// just map notes position to BS screen
var line = (int)Math.Floor(x / (OsuScreenXMax + 1) * (double)Line.MaxNum);
var layer = (int)Math.Floor(y / (OsuScreenYMax + 1) * (double)Layer.MaxNum);
+
+ if (NoDirectionAndPlacement)
+ {
+ if (!isMania) return (0, 0);
+ layer = DetermineLayerMania(line);
+ return (line, layer);
+ }
+
if (isMania) layer = DetermineLayerMania(line);
layer = SlideLayer(line, layer, y);
- return (line: line, layer: layer);
+
+ return (line, layer);
}
int beforeLayerLeft = 0, beforeLayerRight = 0;
@@ -270,6 +280,7 @@ protected int ConvertBeat(double timeBeat)
#region Process for cut direction
void SetCutDirection()
{
+ if (NoDirectionAndPlacement) return;
var n = Notes.Count;
if (n == 0) return;
var rightNotes = Notes.Where(note => note._type == (int)(NoteType.Blue)).ToList();
diff --git a/Osu2Saber/View/ConfigPanel.xaml b/Osu2Saber/View/ConfigPanel.xaml
index f3617ed..5c7ae67 100644
--- a/Osu2Saber/View/ConfigPanel.xaml
+++ b/Osu2Saber/View/ConfigPanel.xaml
@@ -22,6 +22,7 @@
+
diff --git a/Osu2Saber/ViewModel/ConfigPanelViewModel.cs b/Osu2Saber/ViewModel/ConfigPanelViewModel.cs
index b8dab71..6befa56 100644
--- a/Osu2Saber/ViewModel/ConfigPanelViewModel.cs
+++ b/Osu2Saber/ViewModel/ConfigPanelViewModel.cs
@@ -42,5 +42,11 @@ public bool HandleHitSlider
set { ConvertAlgorithm.HandleHitSlider = value; }
get => ConvertAlgorithm.HandleHitSlider;
}
+
+ public bool NoDirectionAndPlacement
+ {
+ set { ConvertAlgorithm.NoDirectionAndPlacement = value; }
+ get => ConvertAlgorithm.NoDirectionAndPlacement;
+ }
}
}