From c1eeed96f479375ab9a171f5bd0ec5770ad667a9 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Mon, 22 May 2023 17:58:12 -0500 Subject: [PATCH] extra sprites --- ...tist - Spelunker (IOException) [Hyper].osu | 264 +++++++++++++++++ ...ist - Spelunker (IOException) [Insane].osu | 276 ++++++++++++++++++ spelunker/generate_hard_diff.py | 4 +- spelunker/generate_insane_diff.py | 89 ++++++ spelunker/generate_skin.py | 8 +- 5 files changed, 638 insertions(+), 3 deletions(-) create mode 100644 spelunker/Unknown Artist - Spelunker (IOException) [Hyper].osu create mode 100644 spelunker/Unknown Artist - Spelunker (IOException) [Insane].osu create mode 100644 spelunker/generate_insane_diff.py diff --git a/spelunker/Unknown Artist - Spelunker (IOException) [Hyper].osu b/spelunker/Unknown Artist - Spelunker (IOException) [Hyper].osu new file mode 100644 index 0000000..be384bb --- /dev/null +++ b/spelunker/Unknown Artist - Spelunker (IOException) [Hyper].osu @@ -0,0 +1,264 @@ +osu file format v14 + +[General] +AudioFilename: audio.mp3 +AudioLeadIn: 0 +PreviewTime: 18808 +Countdown: 0 +SampleSet: Soft +StackLeniency: 0 +Mode: 0 +LetterboxInBreaks: 0 +SkinPreference:Default +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:Hyper +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,85,0,0 +6788,-158.730158730159,4,2,0,75,0,0 +12848,-158.730158730159,4,2,0,75,0,0 +13146,-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.4249999999999,4|0,1:0|1:0,0: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.4249999999999,0|0,1:0|1:0,0: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.4249999999999,4|0,1:2|1:0,0: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.4249999999999,0|0,1:0|1:0,0:0:0:0: +286,139,5298,1,8,2:0:0:0: +318,192,5497,1,2,1:2:0:0: +287,245,5894,5,0,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.4249999999999,4|0,1:0|1:0,0: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.4249999999999,4|0,1:2|1:0,0: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.4249999999999,0|0,1:0|1:0,0:0:0:0: +286,139,11656,1,8,2:0:0:0: +318,192,11854,1,0,1:0:0:0: +287,245,12053,5,8,1:0:0:0: +226,245,12152,1,8,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|194:192,1,245.7,6|2,3:2|3:2,0:0:0:0: +225,139,14238,1,0,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: +225,245,15431,5,0,3:0:0:0: +195,192,15629,1,2,3:2:0:0: +225,138,15828,1,0,3:0:0:0: +286,138,16027,6,0,B|316:191|316:191|287:245|287:245,1,122.85,6|0,3:2|3:0,0:0:0:0: +225,245,16821,5,2,3:2:0:0: +195,192,17020,1,2,3:2:0:0: +225,138,17219,1,2,3:2:0:0: +286,138,17417,1,2,3:2:0:0: +316,191,17616,5,8,2:0:0:0: +316,191,17815,1,8,2:0:0:0: +316,191,18013,1,8,2:0:0:0: +316,191,18212,1,8,2:0:0:0: +287,245,18411,5,8,1:2:0:0: +287,245,18510,1,0,1:0:0:0: +225,245,18709,5,0,1:0:0:0: +195,192,18808,1,8,1:0:0:0: +225,138,18907,1,8,1:0:0:0: +286,138,19007,1,8,1:0:0:0: +316,191,19106,1,8,1:0:0:0: +287,245,19205,6,0,L|225:245,1,61.4249999999999,4|2,1:0|2:0,0:0:0:0: +195,192,19503,1,0,1:0:0:0: +225,138,19603,1,8,2:0:0:0: +286,138,19801,5,2,2:0:0:0: +316,191,20000,5,0,1:0:0:0: +287,245,20099,1,2,2:0:0:0: +225,245,20199,1,2,2:0:0:0: +195,192,20397,5,8,2:0:0:0: +225,138,20596,5,2,2:0:0:0: +286,138,20695,1,2,2:0:0:0: +316,191,20795,1,0,1:0:0:0: +287,245,21093,5,0,1:0:0:0: +287,245,21192,1,8,2:0:0:0: +225,245,21391,5,2,2:0:0:0: +195,192,21788,5,0,1:0:0:0: +225,138,21987,1,8,1:0:0:0: +286,138,22384,6,0,L|316:191,1,61.4249999999999,4|2,1:0|2:0,0:0:0:0: +287,245,22682,1,0,1:0:0:0: +225,245,22782,1,8,2:0:0:0: +195,192,22980,5,2,2:0:0:0: +225,138,23179,5,0,1:0:0:0: +286,138,23278,1,2,2:0:0:0: +316,191,23378,1,2,2:0:0:0: +287,245,23576,5,8,2:0:0:0: +225,245,23775,5,2,2:0:0:0: +195,192,23874,1,2,2:0:0:0: +225,138,23974,1,0,1:0:0:0: +286,138,24272,5,0,1:0:0:0: +286,138,24371,1,8,2:0:0:0: +316,191,24570,5,2,2:0:0:0: +287,245,24768,5,2,0:0:0:0: +287,245,24868,1,0,1:0:0:0: +287,245,24967,1,0,1:0:0:0: +225,245,25166,5,8,1:2:0:0: +195,192,25265,1,0,1:0:0:0: +225,138,25364,1,10,2:0:0:0: +286,138,25464,1,10,2:0:0:0: +316,191,25563,6,0,L|287:245,1,61.4249999999999,4|2,1:0|2:0,0:0:0:0: +225,245,25861,1,0,1:0:0:0: +195,192,25960,1,8,2:0:0:0: +225,138,26159,5,2,2:0:0:0: +286,138,26358,1,0,1:0:0:0: +316,191,26556,1,2,2:0:0:0: +287,245,26755,2,0,L|225:245,1,61.4249999999999,8|2,2:0|2:0,0:0:0:0: +195,192,27152,5,0,1:0:0:0: +225,138,27252,1,0,1:0:0:0: +286,138,27351,1,0,1:0:0:0: +316,191,27550,5,8,2:0:0:0: +287,245,27748,1,2,2:0:0:0: +225,245,27947,1,0,1:0:0:0: +195,192,28146,5,8,1:2:0:0: +195,192,28344,1,8,1:0:0:0: +225,138,28543,1,2,0:0:0:0: +225,138,28642,1,2,0:0:0:0: +225,138,28742,6,0,L|286:138,1,61.4249999999999,4|2,1:0|2:0,0:0:0:0: +316,191,29040,1,0,1:0:0:0: +287,245,29139,1,8,2:0:0:0: +225,245,29338,5,2,2:0:0:0: +195,192,29536,5,0,1:0:0:0: +225,138,29636,1,0,0:0:0:0: +286,138,29735,1,2,2:0:0:0: +316,191,29934,5,8,2:0:0:0: +287,245,30132,5,2,2:0:0:0: +225,245,30232,1,0,0:0:0:0: +195,192,30331,1,0,1:0:0:0: +225,138,30629,5,0,1:0:0:0: +225,138,30729,1,8,2:0:0:0: +286,138,30927,5,2,2:0:0:0: +316,191,31126,5,2,0:0:0:0: +287,245,31225,1,0,1:0:0:0: +225,245,31325,1,8,1:2:0:0: +195,192,31424,1,0,1:0:0:0: +225,138,31523,1,8,1:0:0:0: +286,138,31921,5,0,1:0:0:0: +316,191,32119,1,8,2:0:0:0: +287,245,32318,1,8,2:0:0:0: +225,245,32517,1,8,2:0:0:0: +225,245,32616,1,8,2:0:0:0: +195,192,32815,1,8,2:0:0:0: +195,192,32914,1,8,2:0:0:0: +225,138,33113,1,8,2:0:0:0: +225,138,33212,1,8,2:0:0:0: +286,138,33510,5,0,1:0:0:0: +316,191,33709,1,8,2:0:0:0: +287,245,33907,1,8,2:0:0:0: +225,245,34106,1,8,2:0:0:0: +225,245,34205,1,8,2:0:0:0: +195,192,34404,1,8,2:0:0:0: +195,192,34503,1,8,1:2:0:0: +225,138,34702,1,8,2:0:0:0: +225,138,34801,1,8,2:0:0:0: +286,138,35099,5,0,1:0:0:0: +316,191,35298,1,8,2:0:0:0: +316,191,35397,1,8,2:0:0:0: +316,191,35497,1,8,2:0:0:0: +287,245,35695,1,8,2:0:0:0: +225,245,35894,1,0,1:0:0:0: +195,192,36093,1,8,2:0:0:0: +195,192,36192,1,8,2:0:0:0: +195,192,36291,1,8,2:0:0:0: +225,138,36490,1,8,2:0:0:0: +286,138,36689,5,8,1:2:0:0: +316,191,36887,5,8,2:0:0:0: +287,245,37086,5,8,1:2:0:0: +225,245,37285,5,8,2:0:0:0: +195,192,37483,5,8,1:2:0:0: diff --git a/spelunker/Unknown Artist - Spelunker (IOException) [Insane].osu b/spelunker/Unknown Artist - Spelunker (IOException) [Insane].osu new file mode 100644 index 0000000..db51559 --- /dev/null +++ b/spelunker/Unknown Artist - Spelunker (IOException) [Insane].osu @@ -0,0 +1,276 @@ +osu file format v14 + +[General] +AudioFilename: audio.mp3 +AudioLeadIn: 0 +PreviewTime: 18808 +Countdown: 0 +SampleSet: Soft +StackLeniency: 0 +Mode: 0 +LetterboxInBreaks: 0 +SkinPreference:Default +WidescreenStoryboard: 1 + +[Editor] +DistanceSpacing: 1.2 +BeatDivisor: 4 +GridSize: 4 +TimelineZoom: 1.399999 + +[Metadata] +Title:Spelunker +TitleUnicode:Spelunker +Artist:Unknown Artist +ArtistUnicode:Unknown Artist +Creator:IOException +Version:Insane +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:3470871 +BeatmapSetID:1145452 + +[Difficulty] +HPDrainRate:5 +CircleSize:2.7 +OverallDifficulty:8 +ApproachRate:5.5 +SliderMultiplier:2.4 +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 +13841,-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] +256,104,133,5,4,1:0:0:0: +324,138,431,1,0,1:0:0:0: +324,138,530,1,8,2:0:0:0: +341,211,729,1,2,2:0:0:0: +294,271,927,1,0,1:0:0:0: +218,271,1126,1,2,2:0:0:0: +218,271,1225,1,2,0:0:0:0: +218,271,1325,1,8,2:0:0:0: +171,211,1523,1,2,2:0:0:0: +188,138,1722,1,0,1:0:0:0: +256,104,2020,1,0,1:0:0:0: +256,104,2119,1,8,2:0:0:0: +324,138,2318,1,2,2:0:0:0: +341,211,2715,1,0,1:0:0:0: +294,271,2914,1,8,1:0:0:0: +218,271,3311,5,4,1:2:0:0: +171,211,3609,1,0,1:0:0:0: +171,211,3709,1,8,2:0:0:0: +188,138,3907,1,2,2:0:0:0: +256,104,4106,1,0,1:0:0:0: +324,138,4305,1,2,2:0:0:0: +324,138,4404,1,2,0:0:0:0: +324,138,4503,1,8,2:0:0:0: +341,211,4702,1,2,2:0:0:0: +294,271,4901,1,0,1:0:0:0: +218,271,5199,1,0,1:0:0:0: +218,271,5298,1,8,2:0:0:0: +171,211,5497,1,2,1:2:0:0: +188,138,5894,1,0,1:2:0:0: +188,138,6093,1,8,1:0:0:0: +256,104,6291,5,10,2:0:0:0: +324,138,6391,1,10,2:0:0:0: +341,211,6490,1,4,1:0:0:0: +294,271,6788,5,0,1:0:0:0: +294,271,6887,1,8,2:0:0:0: +218,271,7086,1,2,2:0:0:0: +171,211,7285,1,0,1:0:0:0: +188,138,7483,1,2,2:0:0:0: +256,104,7682,1,8,2:0:0:0: +324,138,8080,5,0,1:0:0:0: +341,211,8179,1,0,1:0:0:0: +294,271,8278,1,0,1:0:0:0: +218,271,8477,5,8,2:0:0:0: +171,211,8676,1,2,2:0:0:0: +188,138,8874,1,0,1:0:0:0: +256,104,9073,1,8,1:2:0:0: +256,104,9272,1,8,1:0:0:0: +324,138,9669,5,4,1:2:0:0: +341,211,9967,1,0,1:0:0:0: +341,211,10066,1,8,2:0:0:0: +294,271,10265,1,2,2:0:0:0: +218,271,10464,1,0,1:0:0:0: +171,211,10662,1,2,2:0:0:0: +171,211,10762,1,2,0:0:0:0: +171,211,10861,1,8,2:0:0:0: +188,138,11060,1,2,2:0:0:0: +256,104,11258,1,0,1:0:0:0: +324,138,11556,1,0,1:0:0:0: +324,138,11656,1,8,2:0:0:0: +341,211,11854,1,0,1:0:0:0: +294,271,12053,1,8,1:0:0:0: +294,271,12152,1,8,1:0:0:0: +294,271,12252,1,0,1:0:0:0: +218,271,12450,1,8,1:0:0:0: +171,211,12649,5,10,2:0:0:0: +171,211,12748,1,10,2:0:0:0: +171,211,12848,1,6,3:2:0:0: +188,138,13841,5,0,3:0:0:0: +256,104,14040,1,2,3:2:0:0: +324,138,14238,1,0,3:2:0:0: +341,211,14437,5,2,3:2:0:0: +294,271,14735,1,2,3:2:0:0: +218,271,15033,1,2,3:2:0:0: +171,211,15431,5,0,3:0:0:0: +188,138,15629,1,2,3:2:0:0: +256,104,15828,1,0,3:0:0:0: +324,138,16027,1,6,3:2:0:0: +341,211,16821,5,2,3:2:0:0: +294,271,17020,1,2,3:2:0:0: +218,271,17219,1,2,3:2:0:0: +171,211,17417,1,2,3:2:0:0: +188,138,17616,1,8,2:0:0:0: +188,138,17815,1,8,2:0:0:0: +188,138,18013,1,8,2:0:0:0: +188,138,18212,1,8,2:0:0:0: +256,104,18411,5,8,1:2:0:0: +256,104,18510,1,0,1:0:0:0: +324,138,18709,5,0,1:0:0:0: +341,211,18808,1,8,1:0:0:0: +294,271,18907,1,8,1:0:0:0: +218,271,19007,1,8,1:0:0:0: +171,211,19106,1,8,1:0:0:0: +188,138,19205,1,4,1:0:0:0: +256,104,19503,5,0,1:0:0:0: +324,138,19603,1,8,2:0:0:0: +341,211,19801,1,2,2:0:0:0: +294,271,20000,1,0,1:0:0:0: +218,271,20199,1,2,2:0:0:0: +171,211,20298,1,2,0:0:0:0: +188,138,20397,1,8,2:0:0:0: +256,104,20596,1,2,2:0:0:0: +324,138,20795,5,0,1:0:0:0: +341,211,21093,1,0,1:0:0:0: +294,271,21192,1,8,2:0:0:0: +218,271,21391,1,2,2:0:0:0: +171,211,21589,1,0,1:0:0:0: +188,138,21788,1,0,1:0:0:0: +256,104,21987,1,8,1:0:0:0: +324,138,22384,5,4,1:0:0:0: +341,211,22682,1,0,1:0:0:0: +294,271,22782,1,8,2:0:0:0: +218,271,22980,1,2,2:0:0:0: +171,211,23179,1,0,1:0:0:0: +188,138,23378,1,2,2:0:0:0: +256,104,23477,1,2,2:0:0:0: +324,138,23576,1,8,2:0:0:0: +341,211,23775,1,2,2:0:0:0: +294,271,23974,5,0,1:0:0:0: +218,271,24272,1,0,1:0:0:0: +171,211,24371,1,8,2:0:0:0: +188,138,24570,1,2,2:0:0:0: +256,104,24768,1,2,0:0:0:0: +256,104,24868,1,0,1:0:0:0: +256,104,24967,1,0,1:0:0:0: +324,138,25166,5,8,1:2:0:0: +341,211,25265,1,0,1:0:0:0: +294,271,25364,1,10,2:0:0:0: +218,271,25464,1,10,2:0:0:0: +171,211,25563,1,4,1:0:0:0: +186,138,25861,5,0,1:0:0:0: +255,104,25960,1,8,2:0:0:0: +322,136,26159,1,2,2:0:0:0: +342,210,26358,1,0,1:0:0:0: +294,269,26556,1,2,2:0:0:0: +219,271,26755,1,8,2:0:0:0: +170,212,27152,5,0,1:0:0:0: +186,138,27252,1,0,1:0:0:0: +255,104,27351,1,0,1:0:0:0: +322,136,27550,1,8,2:0:0:0: +342,210,27748,1,2,2:0:0:0: +294,269,27947,1,0,1:0:0:0: +219,271,28146,1,8,1:2:0:0: +170,212,28344,1,8,1:0:0:0: +186,138,28742,5,4,1:0:0:0: +255,104,29040,1,0,1:0:0:0: +322,136,29139,1,8,2:0:0:0: +342,210,29338,1,2,2:0:0:0: +294,269,29536,1,0,1:0:0:0: +219,271,29735,1,2,2:0:0:0: +170,212,29834,1,2,2:0:0:0: +186,138,29934,1,8,2:0:0:0: +255,104,30132,1,2,2:0:0:0: +322,136,30331,5,0,1:0:0:0: +342,210,30629,1,0,1:0:0:0: +294,269,30729,1,8,2:0:0:0: +219,271,30927,1,2,2:0:0:0: +170,212,31126,5,2,0:0:0:0: +186,138,31225,1,0,1:0:0:0: +255,104,31325,1,8,1:2:0:0: +322,136,31424,1,0,1:0:0:0: +342,210,31523,1,8,1:0:0:0: +294,269,31821,5,10,2:0:0:0: +294,269,31921,1,0,1:0:0:0: +219,271,32119,1,8,2:0:0:0: +170,212,32318,1,8,2:0:0:0: +186,138,32517,1,8,2:0:0:0: +186,138,32616,1,8,2:0:0:0: +255,104,32815,1,8,2:0:0:0: +255,104,32914,1,8,2:0:0:0: +322,136,33113,1,8,2:0:0:0: +322,136,33212,1,8,2:0:0:0: +342,210,33510,5,0,1:0:0:0: +294,269,33709,1,8,2:0:0:0: +219,271,33907,1,8,2:0:0:0: +170,212,34106,5,8,2:0:0:0: +186,138,34205,1,8,2:0:0:0: +255,104,34404,5,8,2:0:0:0: +322,136,34503,1,8,1:2:0:0: +342,210,34702,5,8,2:0:0:0: +294,269,34801,1,8,2:0:0:0: +219,271,35099,5,0,1:0:0:0: +170,212,35298,1,8,2:0:0:0: +186,138,35397,1,8,2:0:0:0: +255,104,35497,1,8,2:0:0:0: +322,136,35695,1,8,2:0:0:0: +342,210,35894,5,0,1:0:0:0: +294,269,36093,1,8,2:0:0:0: +219,271,36192,1,8,2:0:0:0: +170,212,36291,1,8,2:0:0:0: +186,138,36490,1,8,2:0:0:0: +255,104,36689,5,8,1:2:0:0: +322,136,36887,5,8,2:0:0:0: +342,210,37086,5,8,1:2:0:0: +294,269,37285,5,8,2:0:0:0: +219,271,37483,5,8,1:2:0:0: +219,271,37583,1,8,1:2:0:0: +219,271,37682,1,0,1:0:0:0: +219,271,37782,1,0,1:2:0:0: +219,271,37881,1,8,1:2:0:0: +219,271,37980,1,8,1:2:0:0: diff --git a/spelunker/generate_hard_diff.py b/spelunker/generate_hard_diff.py index 3175f07..53c115c 100644 --- a/spelunker/generate_hard_diff.py +++ b/spelunker/generate_hard_diff.py @@ -1,7 +1,7 @@ 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" +in_file_path = r"C:\Users\mzhan\OneDrive\Documents\deadcodehs\spelunker\Unknown Artist - Spelunker (IOException) [Hyper].osu" +out_file_path = r"C:\Users\mzhan\AppData\Local\osu!\Songs\1145452 Unknown Artist - Spelunker\Unknown Artist - Spelunker (IOException) [Hyper].osu" radius = 62.0 diff --git a/spelunker/generate_insane_diff.py b/spelunker/generate_insane_diff.py new file mode 100644 index 0000000..2c7bc3f --- /dev/null +++ b/spelunker/generate_insane_diff.py @@ -0,0 +1,89 @@ +import math + +in_file_path = r"C:\Users\mzhan\OneDrive\Documents\deadcodehs\spelunker\Unknown Artist - Spelunker (IOException) [Insane].osu" +out_file_path = r"C:\Users\mzhan\AppData\Local\osu!\Songs\1145452 Unknown Artist - Spelunker\Unknown Artist - Spelunker (IOException) [Insane].osu" + +radius = 88.0 + +CENTER_X = 256 +CENTER_Y = 192 + +# start at (r, 0) +positions = [] +theta = -math.pi / 2.0 +for i in range(7): + positions.append((radius * math.cos(theta), radius * math.sin(theta))) + theta += 2.0 * math.pi / 7 + +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: + 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_skin.py b/spelunker/generate_skin.py index 99d1d38..6fdadee 100644 --- a/spelunker/generate_skin.py +++ b/spelunker/generate_skin.py @@ -90,7 +90,13 @@ for i in range(10): gentext(str(i), f"{out_dir}/default-{i}.png", fill="white") # Hitburst set -gen2text("Zzz", f"{out_dir}/hit0.png") +gentext("Zzz", f"{out_dir}/hit0.png") +gentext("300", f"{out_dir}/hit300.png", fill="cyan") +gentext("300", f"{out_dir}/hit300g.png", fill="cyan") +gentext("300", f"{out_dir}/hit300k.png", fill="cyan") +gentext("100", f"{out_dir}/hit100.png", fill="#22ee22") +gentext("100", f"{out_dir}/hit100k.png", fill="#22ee22") +gentext("50", f"{out_dir}/hit50.png", fill="gray") # gen2text("無謀な……", f"{out_dir}/hit100k.png") # gen2text("え?俺勝っちゃったの?", f"{out_dir}/hit300g.png") # gen2text("ヤッフー!!", f"{out_dir}/hit300k.png")