From 43cd0c198a9b86f2189ea854f6117f926d20e2ca Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Mon, 22 May 2023 02:46:37 -0500 Subject: [PATCH] script to fix hard diff --- ...rtist - Spelunker (IOException) [Hard].osu | 265 +++++++++++++++ ...lunker (IOException) [Prece Enter Key].osu | 302 +++++++++++++++++ ... Spelunker (IOException) [top-rhythm'].osu | 306 ------------------ spelunker/generate_hard_diff.py | 92 ++++++ spelunker/generate_top_diff.py | 2 +- 5 files changed, 660 insertions(+), 307 deletions(-) create mode 100644 spelunker/Unknown Artist - Spelunker (IOException) [Hard].osu create mode 100644 spelunker/Unknown Artist - Spelunker (IOException) [Prece Enter Key].osu delete mode 100644 spelunker/Unknown Artist - Spelunker (IOException) [top-rhythm'].osu create mode 100644 spelunker/generate_hard_diff.py diff --git a/spelunker/Unknown Artist - Spelunker (IOException) [Hard].osu b/spelunker/Unknown Artist - Spelunker (IOException) [Hard].osu new file mode 100644 index 0000000..9f2265e --- /dev/null +++ b/spelunker/Unknown Artist - Spelunker (IOException) [Hard].osu @@ -0,0 +1,265 @@ +osu file format v14 + +[General] +AudioFilename: audio.mp3 +AudioLeadIn: 0 +PreviewTime: 18808 +Countdown: 0 +SampleSet: Soft +StackLeniency: 0 +Mode: 0 +LetterboxInBreaks: 0 +WidescreenStoryboard: 1 + +[Editor] +DistanceSpacing: 0.8 +BeatDivisor: 4 +GridSize: 8 +TimelineZoom: 1.999999 + +[Metadata] +Title:Spelunker +TitleUnicode:Spelunker +Artist:Unknown Artist +ArtistUnicode:Unknown Artist +Creator:IOException +Version:Hard +Source:しょぼんのアクション +Tags:スペランカー しょぼんのアクション sybon Syobon no Akushon Action Cat Neko Gato mario from hell Super Mario Bros world parody ちく Chiku Spelunk 元祖みんなでスペランカー Tim Timothy G. Martin stage theme 01 atari NES nintendo entertainment system video game instrumental remix splunker scognito deadcode ceo_of_osu ceo of osu prece press start lesyn irem sound team +BeatmapID:2391530 +BeatmapSetID:1145452 + +[Difficulty] +HPDrainRate:5 +CircleSize:2.6 +OverallDifficulty:7 +ApproachRate:8 +SliderMultiplier:1.3 +SliderTickRate:1 + +[Events] +//Background and Video events +0,0,"WP.PNG",0,0 +//Break Periods +//Storyboard Layer 0 (Background) +//Storyboard Layer 1 (Fail) +//Storyboard Layer 2 (Pass) +//Storyboard Layer 3 (Foreground) +//Storyboard Layer 4 (Overlay) +//Storyboard Sound Samples + +[TimingPoints] +133,397.350993377483,4,2,0,70,1,0 +133,-158.730158730159,4,2,0,70,0,0 +5894,-158.730158730159,4,2,0,80,0,0 +6291,-158.730158730159,4,2,0,85,0,0 +6589,-158.730158730159,4,2,0,75,0,0 +12848,-158.730158730159,4,2,0,65,0,0 +17616,-158.730158730159,4,2,0,70,0,0 +19205,-105.820105820106,4,2,0,90,0,1 +25464,-105.820105820106,4,2,0,90,0,0 +25563,-105.820105820106,4,2,0,90,0,1 +32020,-105.820105820106,4,2,0,90,0,0 +32119,-105.820105820106,4,2,0,85,0,0 +35099,-105.820105820106,4,2,0,93,0,0 +36689,-105.820105820106,4,2,0,100,0,0 + + +[Colours] +Combo1 : 0,102,102 +Combo2 : 153,102,51 +Combo3 : 122,122,41 +Combo4 : 3,140,5 +Combo5 : 107,107,107 + +[HitObjects] +225,139,133,6,0,L|286:139,1,61.4249981254578,4|0,1:0|1:0,2:0:0:0: +286,139,530,1,8,2:0:0:0: +318,192,729,1,2,2:0:0:0: +287,245,927,1,0,1:0:0:0: +226,245,1126,1,2,2:0:0:0: +194,192,1325,1,8,2:0:0:0: +225,139,1523,1,2,2:0:0:0: +286,139,1722,6,0,L|318:192,1,61.4249981254578,0|0,1:0|1:0,2:0:0:0: +318,192,2119,1,8,2:0:0:0: +287,245,2318,1,2,2:0:0:0: +226,245,2715,5,0,1:0:0:0: +226,245,2914,1,8,1:0:0:0: +194,192,3311,6,0,L|225:139,1,61.4249981254578,4|0,1:2|1:0,2:0:0:0: +225,139,3709,1,8,2:0:0:0: +286,139,3907,1,2,2:0:0:0: +318,192,4106,1,0,1:0:0:0: +287,245,4305,1,2,2:0:0:0: +226,245,4503,1,8,2:0:0:0: +194,192,4702,1,2,2:0:0:0: +225,139,4901,6,0,L|286:139,1,61.4249981254578,0|0,1:0|1:0,2:0:0:0: +286,139,5298,1,8,2:0:0:0: +318,192,5497,1,2,2:0:0:0: +287,245,5894,5,8,1:2:0:0: +287,245,6093,1,8,1:0:0:0: +226,245,6291,5,10,2:0:0:0: +226,245,6391,1,10,2:0:0:0: +226,245,6490,2,0,L|194:192,1,61.4249981254578,4|0,1:0|1:0,2:0:0:0: +194,192,6887,1,8,2:0:0:0: +225,139,7086,1,2,2:0:0:0: +286,139,7285,1,0,1:0:0:0: +318,192,7483,1,2,2:0:0:0: +287,245,7682,1,8,2:0:0:0: +226,245,8080,5,0,1:0:0:0: +194,192,8179,1,0,1:0:0:0: +225,139,8278,1,0,1:0:0:0: +286,139,8477,5,8,2:0:0:0: +318,192,8676,1,2,2:0:0:0: +287,245,8874,1,0,1:0:0:0: +226,245,9073,1,8,1:2:0:0: +226,245,9272,1,8,1:0:0:0: +194,192,9669,6,0,L|225:139,1,61.4249981254578,4|0,1:2|1:0,2:0:0:0: +225,139,10066,1,8,2:0:0:0: +286,139,10265,1,2,2:0:0:0: +318,192,10464,1,0,1:0:0:0: +287,245,10662,1,2,2:0:0:0: +226,245,10861,1,8,2:0:0:0: +194,192,11060,1,2,2:0:0:0: +225,139,11258,6,0,L|286:139,1,61.4249981254578,0|0,1:0|1:0,2:0:0:0: +286,139,11656,1,8,2:0:0:0: +318,192,11854,1,2,2:0:0:0: +287,245,12053,5,0,1:0:0:0: +226,245,12152,1,0,1:0:0:0: +194,192,12252,1,0,1:0:0:0: +225,139,12450,5,8,1:0:0:0: +286,139,12649,5,10,2:0:0:0: +286,139,12748,1,10,2:0:0:0: +286,139,12848,2,0,B|318:192|318:192|287:245|287:245|226:245|226:245|190:185,1,245.699992501831,6|2,3:2|3:2,2:0:0:0: +225,139,14238,1,2,3:2:0:0: +286,139,14437,5,2,3:2:0:0: +318,192,14735,1,2,3:2:0:0: +287,245,15033,1,2,3:2:0:0: +226,245,15232,5,0,3:0:0:0: +194,192,15331,1,0,3:0:0:0: +225,139,15431,1,0,3:0:0:0: +286,139,15629,5,0,3:0:0:0: +318,192,15828,1,0,3:0:0:0: +287,245,16027,6,0,B|226:245|226:245|194:192|194:192,1,122.849996250916,6|0,3:2|3:0,2:0:0:0: +225,139,16821,5,2,3:2:0:0: +286,139,17020,1,2,3:2:0:0: +318,192,17219,1,2,3:2:0:0: +287,245,17417,1,2,3:2:0:0: +226,245,17616,5,8,2:0:0:0: +226,245,17815,1,8,2:0:0:0: +226,245,18013,1,8,2:0:0:0: +226,245,18212,1,8,2:0:0:0: +194,192,18411,5,8,1:2:0:0: +194,192,18510,1,0,1:0:0:0: +225,139,18709,5,0,1:0:0:0: +286,139,18808,1,8,1:0:0:0: +318,192,18907,1,8,1:0:0:0: +287,245,19007,1,8,1:0:0:0: +226,245,19106,1,8,1:0:0:0: +194,192,19205,6,0,L|225:139,1,61.4249996016598,4|2,1:0|2:0,2:0:0:0: +286,139,19503,1,0,1:0:0:0: +318,192,19603,1,8,2:0:0:0: +287,245,19801,5,2,2:0:0:0: +226,245,20000,5,0,1:0:0:0: +194,192,20099,1,0,2:0:0:0: +225,139,20199,1,2,2:0:0:0: +286,139,20397,5,8,2:0:0:0: +318,192,20596,5,2,2:0:0:0: +287,245,20695,1,0,2:0:0:0: +226,245,20795,1,0,1:0:0:0: +194,192,21093,5,0,1:0:0:0: +194,192,21192,1,8,2:0:0:0: +225,139,21391,5,2,2:0:0:0: +287,138,21788,5,0,1:0:0:0: +317,191,21987,1,8,1:0:0:0: +286,244,22384,6,0,L|225:245,1,61.4249996016598,4|2,1:0|2:0,2:0:0:0: +194,192,22682,1,0,1:0:0:0: +225,139,22782,1,8,2:0:0:0: +287,138,22980,5,2,2:0:0:0: +317,191,23179,5,0,1:0:0:0: +286,244,23278,1,0,2:0:0:0: +225,245,23378,1,2,2:0:0:0: +194,192,23576,5,8,2:0:0:0: +225,139,23775,5,2,2:0:0:0: +287,138,23874,1,0,2:0:0:0: +317,191,23974,1,0,1:0:0:0: +286,244,24272,5,0,1:0:0:0: +286,244,24371,1,8,2:0:0:0: +225,245,24570,5,2,2:0:0:0: +194,192,24768,5,0,1:0:0:0: +194,192,24868,1,0,1:0:0:0: +194,192,24967,1,0,1:0:0:0: +225,139,25166,5,8,1:2:0:0: +287,138,25265,1,0,1:0:0:0: +317,191,25364,1,10,2:0:0:0: +286,244,25464,1,10,2:0:0:0: +225,245,25563,6,0,L|194:192,1,61.4249996016598,4|2,1:0|2:0,2:0:0:0: +225,139,25861,1,0,1:0:0:0: +287,138,25960,1,8,2:0:0:0: +317,191,26159,5,2,2:0:0:0: +286,244,26358,1,0,1:0:0:0: +225,245,26556,1,2,2:0:0:0: +194,192,26755,2,0,L|225:139,1,61.4249996016598,8|2,2:0|2:0,2:0:0:0: +287,138,27152,5,0,1:0:0:0: +317,191,27252,1,0,1:0:0:0: +286,244,27351,1,0,1:0:0:0: +225,245,27550,5,8,2:0:0:0: +194,192,27748,1,2,2:0:0:0: +225,139,27947,1,0,1:0:0:0: +287,138,28146,5,8,1:2:0:0: +287,138,28344,1,8,1:0:0:0: +317,191,28543,1,2,2:0:0:0: +317,191,28642,1,2,2:0:0:0: +317,191,28742,6,0,L|286:244,1,61.4249996016598,4|2,1:0|2:0,2:0:0:0: +225,245,29040,1,0,1:0:0:0: +194,192,29139,1,8,2:0:0:0: +225,139,29338,5,2,2:0:0:0: +287,138,29536,5,0,1:0:0:0: +317,191,29636,1,0,2:0:0:0: +286,244,29735,1,2,2:0:0:0: +225,245,29934,5,8,2:0:0:0: +194,192,30132,5,2,2:0:0:0: +225,139,30232,1,0,2:0:0:0: +287,138,30331,1,0,1:0:0:0: +317,191,30629,5,0,1:0:0:0: +317,191,30729,1,8,2:0:0:0: +286,244,30927,5,2,2:0:0:0: +225,245,31126,5,0,1:0:0:0: +194,192,31225,1,0,1:0:0:0: +225,139,31325,1,8,1:2:0:0: +287,138,31424,1,0,1:0:0:0: +317,191,31523,1,8,1:0:0:0: +286,244,31821,5,10,2:0:0:0: +286,244,31921,1,0,1:0:0:0: +225,245,32119,1,8,2:0:0:0: +194,192,32318,1,8,2:0:0:0: +225,139,32517,1,8,2:0:0:0: +225,139,32616,1,8,2:0:0:0: +287,138,32815,1,8,2:0:0:0: +287,138,32914,1,8,2:0:0:0: +317,191,33113,1,8,2:0:0:0: +317,191,33212,1,8,2:0:0:0: +286,244,33510,5,0,1:0:0:0: +225,245,33709,1,8,2:0:0:0: +194,192,33907,1,8,2:0:0:0: +225,139,34106,1,8,2:0:0:0: +225,139,34205,1,8,2:0:0:0: +287,138,34404,1,8,2:0:0:0: +287,138,34503,1,8,2:0:0:0: +317,191,34702,1,8,2:0:0:0: +317,191,34801,1,8,2:0:0:0: +317,191,34901,1,8,2:0:0:0: +286,244,35099,5,0,1:0:0:0: +225,245,35298,1,8,2:0:0:0: +225,245,35397,1,8,2:0:0:0: +225,245,35497,1,8,2:0:0:0: +194,192,35695,1,8,2:0:0:0: +225,139,35894,1,0,1:0:0:0: +287,138,36093,1,8,2:0:0:0: +287,138,36192,1,8,2:0:0:0: +287,138,36291,1,8,2:0:0:0: +317,191,36490,1,8,2:0:0:0: +286,244,36689,5,8,1:2:0:0: +225,245,36887,5,8,2:0:0:0: +194,192,37086,5,8,1:2:0:0: +225,139,37285,5,8,2:0:0:0: +287,138,37483,5,8,1:2:0:0: diff --git a/spelunker/Unknown Artist - Spelunker (IOException) [Prece Enter Key].osu b/spelunker/Unknown Artist - Spelunker (IOException) [Prece Enter Key].osu new file mode 100644 index 0000000..6544c2b --- /dev/null +++ b/spelunker/Unknown Artist - Spelunker (IOException) [Prece Enter Key].osu @@ -0,0 +1,302 @@ +osu file format v14 + +[General] +AudioFilename: audio.mp3 +AudioLeadIn: 0 +PreviewTime: 18808 +Countdown: 0 +SampleSet: Soft +StackLeniency: 0 +Mode: 0 +LetterboxInBreaks: 0 +WidescreenStoryboard: 1 + +[Editor] +DistanceSpacing: 1.7 +BeatDivisor: 4 +GridSize: 4 +TimelineZoom: 1.7 + +[Metadata] +Title:Spelunker +TitleUnicode:Spelunker +Artist:Unknown Artist +ArtistUnicode:Unknown Artist +Creator:IOException +Version:Prece Enter Key +Source:しょぼんのアクション +Tags:スペランカー しょぼんのアクション sybon Syobon no Akushon Action Cat Neko Gato mario from hell Super Mario Bros world parody ちく Chiku Spelunk 元祖みんなでスペランカー Tim Timothy G. Martin stage theme 01 atari NES nintendo entertainment system video game instrumental remix splunker scognito deadcode ceo_of_osu ceo of osu prece press start lesyn irem sound team +BeatmapID:2655982 +BeatmapSetID:1145452 + +[Difficulty] +HPDrainRate:6 +CircleSize:0 +OverallDifficulty:8.5 +ApproachRate:0 +SliderMultiplier:3.6 +SliderTickRate:1 + +[Events] +//Background and Video events +0,0,"WP.PNG",0,0 +//Break Periods +//Storyboard Layer 0 (Background) +//Storyboard Layer 1 (Fail) +//Storyboard Layer 2 (Pass) +//Storyboard Layer 3 (Foreground) +//Storyboard Layer 4 (Overlay) +//Storyboard Sound Samples + +[TimingPoints] +133,397.350993377483,4,2,0,70,1,0 +5894,-100,4,2,0,80,0,0 +6291,-100,4,2,0,85,0,0 +6788,-100,4,2,0,75,0,0 +13146,-100,4,2,0,65,0,0 +17616,-100,4,2,0,70,0,0 +19205,-100,4,2,0,90,0,1 +25464,-100,4,2,0,90,0,0 +25563,-100,4,2,0,90,0,1 +32020,-100,4,2,0,90,0,0 +32119,-100,4,2,0,85,0,0 +35099,-100,4,2,0,93,0,0 +36689,-100,4,2,0,100,0,0 + + +[Colours] +Combo1 : 0,102,102 +Combo2 : 153,102,51 +Combo3 : 122,122,41 +Combo4 : 3,140,5 +Combo5 : 107,107,107 + +[HitObjects] +317,289,133,5,4,1:0:0:0: +225,305,431,1,0,1:0:0:0: +151,253,530,1,8,2:0:0:0: +135,161,729,1,2,2:0:0:0: +186,87,927,1,0,1:0:0:0: +278,69,1126,1,2,2:0:0:0: +352,121,1325,1,8,2:0:0:0: +369,214,1523,1,2,2:0:0:0: +317,289,1623,1,2,2:0:0:0: +225,305,1722,5,0,1:0:0:0: +151,253,2020,1,0,1:0:0:0: +135,161,2119,1,8,2:0:0:0: +186,87,2318,1,2,2:0:0:0: +278,69,2715,1,0,1:0:0:0: +352,121,2815,1,0,1:0:0:0: +369,214,2914,1,8,1:0:0:0: +317,289,3311,5,4,1:2:0:0: +225,305,3609,1,0,1:0:0:0: +151,253,3709,1,8,2:0:0:0: +135,161,3907,1,2,2:0:0:0: +186,87,4106,1,0,1:0:0:0: +278,69,4305,1,2,2:0:0:0: +352,121,4503,1,8,2:0:0:0: +369,214,4702,1,2,2:0:0:0: +317,289,4801,1,2,2:0:0:0: +225,305,4901,5,0,1:0:0:0: +151,253,5199,1,0,1:0:0:0: +135,161,5298,1,8,2:0:0:0: +186,87,5497,1,2,1:2:0:0: +278,69,5795,1,0,1:2:0:0: +352,121,5894,1,0,1:2:0:0: +369,214,6093,1,8,1:0:0:0: +317,289,6291,1,10,2:0:0:0: +225,305,6391,1,10,2:0:0:0: +151,253,6490,5,4,1:0:0:0: +135,161,6788,1,0,1:0:0:0: +186,87,6887,1,8,2:0:0:0: +278,69,7086,1,2,2:0:0:0: +352,121,7285,1,0,1:0:0:0: +369,214,7384,1,2,2:0:0:0: +317,289,7483,1,2,2:0:0:0: +225,305,7682,1,8,2:0:0:0: +151,253,7881,1,2,2:0:0:0: +135,161,8080,5,0,1:0:0:0: +186,87,8179,1,0,1:0:0:0: +278,69,8278,1,0,1:0:0:0: +352,121,8378,1,0,1:0:0:0: +369,214,8477,1,8,2:0:0:0: +317,289,8676,1,2,2:0:0:0: +225,305,8874,1,0,1:0:0:0: +151,253,9073,1,8,1:2:0:0: +135,161,9172,1,0,1:0:0:0: +186,87,9272,1,8,1:0:0:0: +278,69,9470,1,8,1:0:0:0: +352,121,9669,5,4,1:2:0:0: +369,214,9967,1,0,1:0:0:0: +317,289,10066,1,8,2:0:0:0: +225,305,10265,1,2,2:0:0:0: +151,253,10464,1,0,1:0:0:0: +135,161,10662,1,2,2:0:0:0: +186,87,10861,1,8,2:0:0:0: +278,69,11060,1,2,2:0:0:0: +352,121,11159,1,2,2:0:0:0: +369,214,11258,5,0,1:0:0:0: +317,289,11556,1,0,1:0:0:0: +225,305,11656,1,8,2:0:0:0: +151,253,11854,1,0,1:0:0:0: +135,161,11954,1,0,1:0:0:0: +186,87,12053,1,8,1:0:0:0: +278,69,12152,1,8,1:0:0:0: +352,121,12252,1,0,1:0:0:0: +369,214,12450,1,8,1:0:0:0: +317,289,12649,1,10,2:0:0:0: +225,305,12748,1,10,2:0:0:0: +151,253,12848,5,6,3:2:0:0: +135,161,13146,1,0,3:0:0:0: +186,87,13444,1,0,3:0:0:0: +278,69,13841,1,0,3:0:0:0: +352,121,14040,1,2,3:2:0:0: +369,214,14238,1,0,3:2:0:0: +317,289,14437,5,2,3:2:0:0: +225,305,14735,1,2,3:2:0:0: +151,253,15033,1,2,3:2:0:0: +135,161,15331,1,0,3:0:0:0: +186,87,15431,1,0,3:0:0:0: +278,69,15629,1,2,3:2:0:0: +352,121,15729,1,0,3:0:0:0: +369,214,15828,1,0,3:0:0:0: +317,289,16027,5,6,3:2:0:0: +225,305,16325,1,0,3:0:0:0: +151,253,16623,1,0,3:0:0:0: +186,87,16821,1,2,3:2:0:0: +135,161,16921,1,0,3:0:0:0: +278,69,17020,1,2,3:2:0:0: +352,121,17219,1,2,3:2:0:0: +369,214,17417,1,2,3:2:0:0: +317,289,17616,5,8,2:0:0:0: +225,305,17815,1,8,2:0:0:0: +151,253,18013,1,8,2:0:0:0: +135,161,18212,1,8,2:0:0:0: +186,87,18411,5,8,1:2:0:0: +278,69,18510,1,0,1:0:0:0: +352,121,18709,1,0,1:0:0:0: +369,214,18808,1,8,1:0:0:0: +317,289,18907,1,8,1:0:0:0: +225,305,19007,1,8,1:0:0:0: +151,253,19106,1,8,1:0:0:0: +135,161,19205,5,4,1:0:0:0: +186,87,19404,1,2,2:0:0:0: +278,69,19503,1,0,1:0:0:0: +352,121,19603,1,8,2:0:0:0: +369,214,19801,1,2,2:0:0:0: +317,289,19901,1,2,2:0:0:0: +225,305,20000,1,0,1:0:0:0: +151,253,20099,1,2,2:0:0:0: +135,161,20199,1,2,2:0:0:0: +186,87,20397,1,8,2:0:0:0: +278,69,20596,1,2,2:0:0:0: +352,121,20695,1,2,2:0:0:0: +369,214,20795,5,0,1:0:0:0: +317,289,21093,1,0,1:0:0:0: +225,305,21192,1,8,2:0:0:0: +151,253,21391,1,2,2:0:0:0: +135,161,21689,1,0,1:0:0:0: +186,87,21788,1,0,1:0:0:0: +278,69,21887,1,0,1:0:0:0: +352,121,21987,1,8,1:0:0:0: +369,214,22384,5,4,1:0:0:0: +317,289,22583,1,2,2:0:0:0: +225,305,22682,1,0,1:0:0:0: +151,253,22782,1,8,2:0:0:0: +135,161,22980,1,2,2:0:0:0: +186,87,23080,1,2,2:0:0:0: +278,69,23179,1,0,1:0:0:0: +352,121,23278,1,2,2:0:0:0: +369,214,23378,1,2,2:0:0:0: +317,289,23477,1,2,2:0:0:0: +225,305,23576,1,8,2:0:0:0: +151,253,23775,1,2,2:0:0:0: +135,161,23874,1,2,2:0:0:0: +186,87,23974,5,0,1:0:0:0: +278,69,24272,1,0,1:0:0:0: +352,121,24371,1,8,2:0:0:0: +369,214,24570,1,2,2:0:0:0: +317,289,24868,1,0,1:0:0:0: +225,305,24967,1,0,1:0:0:0: +151,253,25166,1,8,1:2:0:0: +135,161,25265,1,0,1:0:0:0: +186,87,25364,1,10,2:0:0:0: +278,69,25464,1,10,2:0:0:0: +352,121,25563,5,4,1:0:0:0: +369,214,25762,1,2,2:0:0:0: +317,289,25861,1,0,1:0:0:0: +225,305,25960,1,8,2:0:0:0: +151,253,26159,1,2,2:0:0:0: +135,161,26358,1,0,1:0:0:0: +186,87,26457,1,2,2:0:0:0: +278,69,26556,1,2,2:0:0:0: +352,121,26755,1,8,2:0:0:0: +369,214,26954,1,2,2:0:0:0: +317,289,27053,1,2,2:0:0:0: +225,305,27152,5,0,1:0:0:0: +151,253,27252,1,0,1:0:0:0: +135,161,27351,1,0,1:0:0:0: +186,87,27550,1,8,2:0:0:0: +278,69,27748,1,2,2:0:0:0: +352,121,27947,1,0,1:0:0:0: +369,214,28146,1,8,1:2:0:0: +317,289,28245,1,8,1:2:0:0: +225,305,28344,1,8,1:0:0:0: +151,253,28742,5,4,1:0:0:0: +135,161,28940,1,2,2:0:0:0: +186,87,29040,1,0,1:0:0:0: +278,69,29139,1,8,2:0:0:0: +352,121,29338,1,2,2:0:0:0: +369,214,29536,1,0,1:0:0:0: +317,289,29735,1,2,2:0:0:0: +225,305,29834,1,2,2:0:0:0: +151,253,29934,1,8,2:0:0:0: +135,161,30132,1,2,2:0:0:0: +186,87,30331,5,0,1:0:0:0: +278,69,30629,1,0,1:0:0:0: +352,121,30729,1,8,2:0:0:0: +369,214,30927,1,2,2:0:0:0: +317,289,31225,1,0,1:0:0:0: +225,305,31325,1,8,1:2:0:0: +151,253,31424,1,0,1:0:0:0: +135,161,31523,1,8,1:0:0:0: +186,87,31722,1,10,2:0:0:0: +278,69,31821,1,10,2:0:0:0: +352,121,31921,5,0,1:0:0:0: +369,214,32119,1,8,2:0:0:0: +317,289,32318,1,8,2:0:0:0: +225,305,32517,1,8,2:0:0:0: +151,253,32616,1,8,2:0:0:0: +135,161,32815,1,8,2:0:0:0: +186,87,32914,1,8,2:0:0:0: +278,69,33113,1,8,2:0:0:0: +352,121,33212,1,8,2:0:0:0: +369,214,33510,5,0,1:0:0:0: +317,289,33709,1,8,2:0:0:0: +225,305,33907,1,8,2:0:0:0: +151,253,34106,1,8,2:0:0:0: +135,161,34205,1,8,2:0:0:0: +186,87,34404,1,8,2:0:0:0: +278,69,34503,1,8,1:2:0:0: +352,121,34603,1,8,2:0:0:0: +369,214,34702,1,8,2:0:0:0: +317,289,34801,1,8,2:0:0:0: +225,305,35099,5,0,1:0:0:0: +151,253,35298,1,8,2:0:0:0: +135,161,35397,1,8,2:0:0:0: +186,87,35497,1,8,2:0:0:0: +278,69,35695,1,8,2:0:0:0: +352,121,35894,1,0,1:0:0:0: +369,214,36093,1,8,2:0:0:0: +317,289,36192,1,8,2:0:0:0: +225,305,36291,1,8,2:0:0:0: +151,253,36490,1,8,2:0:0:0: +135,161,36689,5,8,1:2:0:0: +186,87,36887,5,8,2:0:0:0: +278,69,37086,5,8,1:2:0:0: +352,121,37285,5,8,2:0:0:0: +369,214,37483,5,8,1:2:0:0: +317,289,37583,1,8,1:2:0:0: +225,305,37782,1,0,1:2:0:0: +151,253,37881,1,8,1:2:0:0: +135,161,37980,1,8,1:2:0:0: diff --git a/spelunker/Unknown Artist - Spelunker (IOException) [top-rhythm'].osu b/spelunker/Unknown Artist - Spelunker (IOException) [top-rhythm'].osu deleted file mode 100644 index b60a3a8..0000000 --- a/spelunker/Unknown Artist - Spelunker (IOException) [top-rhythm'].osu +++ /dev/null @@ -1,306 +0,0 @@ -osu file format v14 - -[General] -AudioFilename: audio.mp3 -AudioLeadIn: 0 -PreviewTime: 18808 -Countdown: 0 -SampleSet: Soft -StackLeniency: 0 -Mode: 0 -LetterboxInBreaks: 0 -WidescreenStoryboard: 1 - -[Editor] -DistanceSpacing: 1.7 -BeatDivisor: 4 -GridSize: 4 -TimelineZoom: 1.7 - -[Metadata] -Title:Spelunker -TitleUnicode:Spelunker -Artist:Unknown Artist -ArtistUnicode:Unknown Artist -Creator:IOException -Version:top-rhythm' -Source:しょぼんのアクション -Tags:スペランカー しょぼんのアクション sybon Syobon no Akushon Action Cat Neko Gato mario from hell Super Mario Bros world parody ちくChiku Spelunk 元祖みんなでスペランカー Tim Timothy G. Martin stage theme 01 atari NES nintendo entertainment system video game instrumental scognito deadcode ceo_of_osu ceo of osu press -BeatmapID:0 -BeatmapSetID:1145452 - -[Difficulty] -HPDrainRate:3 -CircleSize:0 -OverallDifficulty:8.5 -ApproachRate:0 -SliderMultiplier:3.6 -SliderTickRate:1 - -[Events] -//Background and Video events -0,0,"WP.PNG",0,0 -//Break Periods -//Storyboard Layer 0 (Background) -//Storyboard Layer 1 (Fail) -//Storyboard Layer 2 (Pass) -//Storyboard Layer 3 (Foreground) -//Storyboard Layer 4 (Overlay) -//Storyboard Sound Samples - -[TimingPoints] -133,397.350993377483,4,2,0,70,1,0 -133,-10,4,2,0,70,0,0 -5894,-10,4,2,0,80,0,0 -6291,-10,4,2,0,85,0,0 -6589,-10,4,2,0,75,0,0 -12947,-10,4,2,0,65,0,0 -17616,-10,4,2,0,70,0,0 -19205,-10,4,2,0,90,0,1 -25464,-10,4,2,0,90,0,0 -25563,-10,4,2,0,90,0,1 -32020,-10,4,2,0,85,0,0 -35099,-10,4,2,0,93,0,0 -36689,-10,4,2,0,100,0,0 - - -[Colours] -Combo1 : 0,128,255 -Combo2 : 251,217,153 -Combo3 : 131,180,252 -Combo4 : 247,157,157 -Combo5 : 159,253,157 -Combo6 : 224,177,252 -Combo7 : 128,255,128 -Combo8 : 255,128,128 - -[HitObjects] -256,193,133,5,4,1:0:0:0: -255,193,431,1,0,1:0:0:0: -254,192,530,1,8,2:0:0:0: -254,191,729,1,2,2:0:0:0: -254,190,927,1,0,1:0:0:0: -256,190,1126,1,2,2:0:0:0: -257,190,1325,1,8,2:0:0:0: -256,193,1523,1,2,0:0:0:0: -257,192,1623,1,2,0:0:0:0: -255,193,1722,5,0,1:0:0:0: -254,192,2020,1,0,1:0:0:0: -254,191,2119,1,8,2:0:0:0: -254,190,2317,1,2,2:0:0:0: -257,190,2715,1,0,1:0:0:0: -257,192,2815,1,0,1:0:0:0: -256,193,2914,1,8,1:0:0:0: -255,193,3311,5,4,1:2:0:0: -254,192,3609,1,0,1:0:0:0: -254,191,3709,1,8,2:0:0:0: -254,190,3907,1,2,2:0:0:0: -256,190,4106,1,0,1:0:0:0: -257,190,4305,1,2,2:0:0:0: -257,192,4503,1,8,2:0:0:0: -255,193,4702,1,2,2:0:0:0: -256,193,4801,1,2,0:0:0:0: -254,192,4901,5,0,1:0:0:0: -254,191,5199,1,0,1:0:0:0: -254,190,5298,1,8,2:0:0:0: -256,190,5497,1,2,1:2:0:0: -257,190,5795,1,0,1:2:0:0: -257,192,5894,1,0,1:2:0:0: -256,193,6093,1,8,1:0:0:0: -255,193,6291,1,10,2:0:0:0: -254,192,6391,1,10,2:0:0:0: -254,191,6490,5,4,1:0:0:0: -254,190,6788,1,0,1:0:0:0: -256,190,6887,1,8,2:0:0:0: -257,190,7086,1,2,2:0:0:0: -257,192,7285,1,0,1:0:0:0: -256,193,7384,1,2,2:0:0:0: -256,193,7483,1,2,2:0:0:0: -255,193,7682,1,8,2:0:0:0: -255,193,7881,1,2,2:0:0:0: -254,192,8080,5,0,1:0:0:0: -254,191,8179,1,0,1:0:0:0: -254,190,8278,1,0,1:0:0:0: -254,190,8378,1,0,1:0:0:0: -256,190,8477,1,8,2:0:0:0: -257,190,8676,1,2,2:0:0:0: -257,192,8874,1,0,1:0:0:0: -256,193,9073,1,8,1:2:0:0: -255,193,9172,1,0,1:0:0:0: -254,192,9272,1,8,1:0:0:0: -254,192,9470,1,8,1:0:0:0: -254,191,9669,5,4,1:2:0:0: -254,190,9967,1,0,1:0:0:0: -256,190,10066,1,8,2:0:0:0: -257,190,10265,1,2,2:0:0:0: -257,192,10464,1,0,1:0:0:0: -256,193,10662,1,2,2:0:0:0: -255,193,10861,1,8,2:0:0:0: -254,192,11060,1,2,2:0:0:0: -254,192,11159,1,2,2:0:0:0: -254,191,11258,5,0,1:0:0:0: -256,190,11556,1,0,1:0:0:0: -257,190,11656,1,8,2:0:0:0: -257,192,11854,1,2,2:0:0:0: -257,192,11954,1,2,2:0:0:0: -256,193,12053,1,0,1:0:0:0: -255,193,12152,1,0,1:0:0:0: -254,192,12252,1,0,1:0:0:0: -254,190,12450,1,8,1:0:0:0: -256,190,12649,1,10,2:0:0:0: -257,190,12748,1,10,2:0:0:0: -257,192,12848,5,6,3:2:0:0: -256,193,13146,1,0,3:0:0:0: -255,193,13444,1,0,3:0:0:0: -254,192,13841,1,0,3:0:0:0: -254,191,14040,1,2,3:2:0:0: -254,190,14238,1,2,3:2:0:0: -256,190,14437,5,2,3:2:0:0: -257,190,14735,1,2,3:2:0:0: -257,192,15033,1,2,3:2:0:0: -254,192,15331,1,0,3:0:0:0: -256,193,15431,1,0,3:0:0:0: -255,193,15629,1,0,3:0:0:0: -254,192,15729,1,0,3:0:0:0: -254,192,15828,1,0,3:0:0:0: -254,191,16027,5,6,3:2:0:0: -254,190,16325,1,0,3:0:0:0: -256,190,16623,1,0,3:0:0:0: -256,190,16722,1,0,3:0:0:0: -257,190,16822,1,2,3:2:0:0: -257,192,17020,1,2,3:2:0:0: -256,193,17219,1,2,3:2:0:0: -255,193,17417,1,2,3:2:0:0: -254,192,17616,5,8,2:0:0:0: -254,191,17815,1,8,2:0:0:0: -254,190,18013,1,8,2:0:0:0: -256,190,18212,1,8,2:0:0:0: -257,190,18411,5,8,1:2:0:0: -257,192,18510,1,0,1:0:0:0: -256,193,18709,1,0,1:0:0:0: -255,193,18808,1,8,1:0:0:0: -254,192,18907,1,8,1:0:0:0: -254,191,19007,1,8,1:0:0:0: -254,190,19106,1,8,1:0:0:0: -256,190,19205,5,4,1:0:0:0: -257,190,19404,1,2,0:2:0:0: -257,192,19503,1,0,1:0:0:0: -256,193,19603,1,8,2:0:0:0: -255,193,19801,1,2,2:0:0:0: -254,190,19901,1,2,0:0:0:0: -254,192,20000,1,0,1:0:0:0: -254,190,20099,1,2,0:0:0:0: -254,191,20199,1,2,2:0:0:0: -256,190,20397,1,8,2:0:0:0: -257,190,20596,1,2,2:0:0:0: -254,190,20695,1,2,0:0:0:0: -257,192,20795,5,0,1:0:0:0: -255,193,21093,1,0,1:0:0:0: -254,192,21192,1,8,2:0:0:0: -254,191,21391,1,2,2:0:0:0: -256,190,21689,1,0,1:0:0:0: -256,190,21788,1,0,1:0:0:0: -256,190,21887,1,0,1:0:0:0: -257,190,21987,1,8,1:0:0:0: -257,192,22384,5,4,1:0:0:0: -256,193,22583,1,2,0:2:0:0: -255,193,22682,1,0,1:0:0:0: -254,192,22782,1,8,2:0:0:0: -254,191,22980,1,2,2:0:0:0: -257,190,23080,1,2,0:0:0:0: -254,190,23179,1,0,1:0:0:0: -257,190,23278,1,2,0:0:0:0: -256,190,23378,1,2,2:0:0:0: -256,190,23477,1,2,2:0:0:0: -257,192,23576,1,8,2:0:0:0: -256,193,23775,1,2,2:0:0:0: -256,193,23874,1,2,2:0:0:0: -255,193,23974,5,0,1:0:0:0: -254,191,24272,1,0,1:0:0:0: -254,190,24371,1,8,2:0:0:0: -254,190,24470,1,2,2:0:0:0: -256,190,24570,1,2,2:0:0:0: -257,192,24868,1,0,1:0:0:0: -256,193,24967,1,0,1:0:0:0: -255,193,25166,1,8,1:2:0:0: -254,192,25265,1,0,1:0:0:0: -254,191,25365,1,10,2:0:0:0: -254,190,25464,1,10,2:0:0:0: -256,190,25563,5,4,1:0:0:0: -257,192,25861,1,0,1:0:0:0: -256,193,25960,1,8,2:0:0:0: -255,193,26159,1,2,2:0:0:0: -254,192,26358,1,0,1:0:0:0: -254,191,26457,1,2,2:0:0:0: -254,191,26556,1,2,2:0:0:0: -254,191,26656,1,2,2:0:0:0: -254,190,26755,1,8,2:0:0:0: -254,191,26954,1,2,2:0:0:0: -256,190,27152,5,0,1:0:0:0: -257,190,27252,1,0,1:0:0:0: -257,192,27351,1,0,1:0:0:0: -256,193,27550,1,8,2:0:0:0: -255,193,27748,1,2,2:0:0:0: -254,192,27947,1,0,1:0:0:0: -254,191,28145,1,8,1:2:0:0: -254,191,28245,1,8,1:2:0:0: -254,190,28344,1,8,1:0:0:0: -256,190,28742,5,4,1:0:0:0: -257,190,28941,1,2,0:2:0:0: -257,192,29040,1,0,1:0:0:0: -256,193,29139,1,8,2:0:0:0: -255,193,29338,1,2,2:0:0:0: -254,192,29536,1,0,1:0:0:0: -254,191,29735,1,2,2:0:0:0: -254,190,29834,1,2,0:0:0:0: -256,190,29934,1,8,2:0:0:0: -257,190,30132,1,2,2:0:0:0: -257,192,30331,5,0,1:0:0:0: -256,193,30629,1,0,1:0:0:0: -255,193,30729,1,8,2:0:0:0: -256,193,30828,1,2,0:0:0:0: -254,192,30927,1,2,2:0:0:0: -254,190,31225,1,0,1:0:0:0: -256,190,31325,1,8,1:2:0:0: -257,190,31424,1,0,1:0:0:0: -257,192,31523,1,8,1:0:0:0: -256,193,31722,1,10,2:0:0:0: -256,193,31821,1,10,2:0:0:0: -255,193,31921,5,0,1:0:0:0: -254,192,32119,1,8,2:0:0:0: -254,191,32318,1,8,2:0:0:0: -254,190,32517,1,8,2:0:0:0: -256,190,32616,1,8,2:0:0:0: -257,190,32815,1,8,2:0:0:0: -257,192,32914,1,8,2:0:0:0: -256,193,33113,1,8,2:0:0:0: -255,193,33212,1,8,2:0:0:0: -254,192,33510,5,0,1:0:0:0: -254,191,33708,1,8,2:0:0:0: -254,190,33907,1,8,2:0:0:0: -256,190,34106,1,8,2:0:0:0: -257,190,34205,1,8,2:0:0:0: -257,192,34404,1,8,2:0:0:0: -256,193,34503,1,8,1:2:0:0: -256,193,34603,1,8,2:0:0:0: -255,193,34702,1,8,2:0:0:0: -254,192,34801,1,8,2:0:0:0: -254,190,35099,5,0,1:0:0:0: -256,190,35298,1,8,2:0:0:0: -257,190,35397,1,8,2:0:0:0: -257,192,35497,1,8,2:0:0:0: -256,193,35695,1,8,2:0:0:0: -255,193,35894,1,0,1:0:0:0: -254,192,36093,1,8,2:0:0:0: -254,191,36192,1,8,2:0:0:0: -254,190,36291,1,8,2:0:0:0: -256,190,36490,1,8,2:0:0:0: -257,190,36689,5,8,1:2:0:0: -257,192,36887,5,8,2:0:0:0: -256,193,37086,5,8,1:2:0:0: -255,193,37285,5,8,2:0:0:0: -254,192,37483,5,8,1:2:0:0: -254,192,37583,1,8,1:2:0:0: -254,192,37782,1,0,1:2:0:0: -254,192,37881,1,8,1:2:0:0: -254,192,37980,1,8,1:2:0:0: diff --git a/spelunker/generate_hard_diff.py b/spelunker/generate_hard_diff.py new file mode 100644 index 0000000..3175f07 --- /dev/null +++ b/spelunker/generate_hard_diff.py @@ -0,0 +1,92 @@ +import math + +in_file_path = r"C:\Users\mzhan\OneDrive\Documents\deadcodehs\spelunker\Unknown Artist - Spelunker (IOException) [Hard].osu" +out_file_path = r"C:\Users\mzhan\AppData\Local\osu!\Songs\1145452 Unknown Artist - Spelunker\Unknown Artist - Spelunker (IOException) [Hard].osu" + +radius = 62.0 + +CENTER_X = 256 +CENTER_Y = 192 + +# start at (r, 0) +positions = [] +theta = 0.0 +for i in range(6): + positions.append((radius * math.cos(theta), radius * math.sin(theta))) + theta += math.pi / 3 + +# print(positions) + +with open(in_file_path, "rb") as f: + data = f.readlines() + +def correct_position(x, y): + min_dist = None + min_idx = None + distances = [] + + for i, (px, py) in enumerate(positions): + dx = x - px + dy = y - py + distance = math.sqrt(dx * dx + dy * dy) + # print((x, y), (px, py), (dx, dy), distance) + distances.append(distance) + + if min_dist is None or distance < min_dist: + min_dist = distance + min_idx = i + + # print(min_dist, min_idx, sorted(distances)) + return positions[min_idx] + +with open(out_file_path, "wb") as f: + section = b"" + c = 0 + for line in data: + if line.startswith(b"Version"): + line = line.replace(b"top-rhythm'", b"Prece Enter Key") + + line = line.strip() + if not line: continue + + if line.startswith(b"[") and line.endswith(b"]"): + section = line.lstrip(b"[").rstrip(b"]") + + # print(section, line) + + if section != b"HitObjects": + f.write(line + b"\n") + continue + + parts = line.split(b",") + + if len(parts) > 2: + x, y = correct_position(int(parts[0]) - CENTER_X, int(parts[1]) - CENTER_Y) + x = int(x) + CENTER_X + y = int(y) + CENTER_Y + parts[0] = str(x).encode("utf-8") + # print(parts) + parts[1] = str(y).encode("utf-8") + c = (c + 1) % len(positions) + + if len(parts) > 3 and int(parts[3]) & 2 == 2: + sliderparts = parts[5].split(b"|") + ctype = sliderparts.pop(0) + + newpart = [ctype] + + for pt in sliderparts: + ax, ay = pt.split(b":") + ax = int(ax) + ay = int(ay) + + ax2, ay2 = correct_position(ax - CENTER_X, ay - CENTER_Y) + ax2 = int(ax2) + CENTER_X + ay2 = int(ay2) + CENTER_Y + + newpart.append(f"{ax2}:{ay2}".encode("utf-8")) + + parts[5] = b"|".join(newpart) + + line = b",".join(parts) + f.write(line + b"\n") \ No newline at end of file diff --git a/spelunker/generate_top_diff.py b/spelunker/generate_top_diff.py index 7963b69..e245cdb 100644 --- a/spelunker/generate_top_diff.py +++ b/spelunker/generate_top_diff.py @@ -1,4 +1,4 @@ -in_file_path = r"C:\Users\mzhan\AppData\Local\osu!\Songs\1145452 Unknown Artist - Spelunker\Unknown Artist - Spelunker (IOException) [top-rhythm'].osu" +in_file_path = r"C:\Users\mzhan\OneDrive\Documents\deadcodehs\spelunker\Unknown Artist - Spelunker (IOException) [Prece Enter Key].osu" out_file_path = r"C:\Users\mzhan\AppData\Local\osu!\Songs\1145452 Unknown Artist - Spelunker\Unknown Artist - Spelunker (IOException) [Prece Enter Key].osu" positions = [