diff --git a/Dockerfile b/Dockerfile index 63a9a72..fbd7c2e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -94,7 +94,7 @@ COPY src/maps/* /app/danser/songs/ COPY src/replays/* /app/danser/custom-replays/ -COPY src/default.json /app/danser/settings/default.json +COPY src/settings/* /app/danser/settings/ COPY src/default-skin/ /app/danser/skins/default-skin/ diff --git a/src/default.json b/src/settings/skinhub.json similarity index 100% rename from src/default.json rename to src/settings/skinhub.json diff --git a/src/settings/tourneypreview.json b/src/settings/tourneypreview.json new file mode 100644 index 0000000..f91ae98 --- /dev/null +++ b/src/settings/tourneypreview.json @@ -0,0 +1,715 @@ +{ + "General": { + "OsuSongsDir": "/app/danser/songs", + "OsuSkinsDir": "/app/danser/skins", + "OsuReplaysDir": "/app/danser/replays", + "DiscordPresenceOn": false, + "UnpackOszFiles": true, + "VerboseImportLogs": false + }, + "Graphics": { + "Width": 1920, + "Height": 1080, + "WindowWidth": 1440, + "WindowHeight": 810, + "Fullscreen": true, + "VSync": false, + "FPSCap": 0, + "MSAA": 4, + "ShowFPS": true, + "Experimental": { + "UsePersistentBuffers": false + } + }, + "Audio": { + "GeneralVolume": 0.6, + "MusicVolume": 0.4, + "SampleVolume": 0.5, + "Offset": 0, + "OnlineOffset": false, + "HitsoundPositionMultiplier": 1, + "IgnoreBeatmapSamples": true, + "IgnoreBeatmapSampleVolume": false, + "PlayNightcoreSamples": true, + "BeatScale": 1.2, + "BeatUseTimingPoints": false, + "Linux/Unix": { + "BassPlaybackBufferLength": 100, + "BassDeviceBufferLength": 10, + "BassUpdatePeriod": 5, + "BassDeviceUpdatePeriod": 10 + } + }, + "Input": { + "LeftKey": "N", + "RightKey": "M", + "RestartKey": "K", + "SmokeKey": ",", + "ScreenshotKey": "F2", + "MouseButtonsDisabled": true, + "MouseHighPrecision": true, + "MouseSensitivity": 1 + }, + "Gameplay": { + "HitErrorMeter": { + "Show": true, + "Scale": 1, + "Opacity": 1, + "XOffset": 0, + "YOffset": 0, + "PointFadeOutTime": 10, + "ShowPositionalMisses": true, + "PositionalMissScale": 1.5, + "ShowUnstableRate": false, + "UnstableRateDecimals": 2, + "UnstableRateScale": 1.5, + "StaticUnstableRate": false, + "ScaleWithSpeed": false + }, + "AimErrorMeter": { + "Show": false, + "Scale": 1, + "Opacity": 1, + "XPosition": 1350, + "YPosition": 650, + "PointFadeOutTime": 10, + "DotScale": 1, + "Align": "Right", + "ShowUnstableRate": true, + "UnstableRateScale": 1, + "UnstableRateDecimals": 2, + "StaticUnstableRate": false, + "CapPositionalMisses": true, + "AngleNormalized": false + }, + "Score": { + "Show": true, + "Scale": 1, + "Opacity": 1, + "XOffset": 0, + "YOffset": 0, + "ProgressBar": "Pie", + "ShowGradeAlways": false, + "StaticScore": false, + "StaticAccuracy": false + }, + "HpBar": { + "Show": true, + "Scale": 1, + "Opacity": 1, + "XOffset": 0, + "YOffset": 0 + }, + "ComboCounter": { + "Show": true, + "Scale": 1, + "Opacity": 1, + "XOffset": 0, + "YOffset": 0, + "Static": false + }, + "PPCounter": { + "Show": false, + "Scale": 1, + "Opacity": 1, + "XPosition": 5, + "YPosition": 150, + "Color": { + "Hue": 0, + "Saturation": 0, + "Value": 1 + }, + "Decimals": 2, + "Align": "CentreLeft", + "ShowInResults": false, + "ShowPPComponents": false, + "Static": false + }, + "HitCounter": { + "Show": false, + "Scale": 1.1, + "Opacity": 1, + "XPosition": 10, + "YPosition": 195, + "Color300": { + "Hue": 0, + "Saturation": 0, + "Value": 1 + }, + "Color100": { + "Hue": 120, + "Saturation": 0.73, + "Value": 0.75 + }, + "Color50": { + "Hue": 43, + "Saturation": 0.71, + "Value": 0.7 + }, + "ColorMiss": { + "Hue": 0, + "Saturation": 0.71, + "Value": 1 + }, + "ColorSB": { + "Hue": 120, + "Saturation": 0.73, + "Value": 0.75 + }, + "Spacing": 48, + "FontScale": 1, + "Align": "Left", + "ValueAlign": "Left", + "Vertical": false, + "Show300": false, + "ShowSliderBreaks": true + }, + "StrainGraph": { + "Show": true, + "Opacity": 1, + "XPosition": 5, + "YPosition": 310, + "Align": "BottomLeft", + "Width": 200, + "Height": 70, + "BgColor": { + "Hue": 0, + "Saturation": 0, + "Value": 0.2 + }, + "FgColor": { + "Hue": 297, + "Saturation": 0.4, + "Value": 0.92 + }, + "Outline": { + "Show": false, + "Width": 2, + "InnerDarkness": 1, + "InnerOpacity": 1 + } + }, + "KeyOverlay": { + "Show": true, + "Scale": 1, + "Opacity": 1, + "XOffset": 0, + "YOffset": 0 + }, + "ScoreBoard": { + "Show": false, + "Scale": 1, + "Opacity": 1, + "XOffset": 0, + "YOffset": 0, + "Mode": "Normal", + "ModsOnly": false, + "AlignRight": false, + "HideOthers": true, + "ShowAvatars": true, + "ExplosionScale": 1 + }, + "Mods": { + "Show": true, + "Scale": 1, + "Opacity": 1, + "XOffset": 0, + "YOffset": 0, + "HideInReplays": false, + "FoldInReplays": false, + "ShowLazerMod": true, + "AdditionalSpacing": 0 + }, + "Boundaries": { + "Enabled": false, + "BorderThickness": 1, + "BorderFill": 1, + "BorderColor": { + "Hue": 0, + "Saturation": 0, + "Value": 1 + }, + "BorderOpacity": 1, + "BackgroundColor": { + "Hue": 0, + "Saturation": 1, + "Value": 0 + }, + "BackgroundOpacity": 0 + }, + "Underlay": { + "Path": "", + "AboveHpBar": false + }, + "SBFont": "", + "HUDFont": "", + "ShowResultsScreen": true, + "ResultsScreenTime": 5, + "ResultsUseLocalTimeZone": false, + "ShowWarningArrows": true, + "ShowHitLighting": false, + "FlashlightDim": 1, + "PlayUsername": "Arlind", + "IgnoreFailsInReplays": false, + "PPVersion": "latest", + "LazerClassicScore": false + }, + "Skin": { + "CurrentSkin": "Default", + "FallbackSkin": "default-skin", + "UseColorsFromSkin": true, + "UseBeatmapColors": false, + "Cursor": { + "UseSkinCursor": true, + "Scale": 1, + "TrailScale": 1, + "ForceLongTrail": false, + "LongTrailLength": 2048, + "LongTrailDensity": 1 + } + }, + "Cursor": { + "TrailStyle": 1, + "Style23Speed": 0.18, + "Style4Shift": 0.5, + "Colors": { + "EnableRainbow": true, + "RainbowSpeed": 8, + "BaseColor": { + "Hue": 0, + "Saturation": 1, + "Value": 1 + }, + "EnableCustomHueOffset": false, + "HueOffset": 0, + "FlashToTheBeat": false, + "FlashAmplitude": 0 + }, + "EnableCustomTagColorOffset": true, + "TagColorOffset": -36, + "EnableTrailGlow": true, + "EnableCustomTrailGlowOffset": true, + "TrailGlowOffset": -36, + "ScaleToCS": false, + "CursorSize": 18, + "CursorExpand": false, + "ScaleToTheBeat": false, + "ShowCursorsOnBreaks": true, + "BounceOnEdges": false, + "TrailScale": 1, + "TrailEndScale": 0.4, + "TrailDensity": 0.5, + "TrailMaxLength": 2000, + "TrailRemoveSpeed": 1, + "GlowEndScale": 0.4, + "SmokeRemoveSpeed": 1, + "InnerLengthMult": 0.9, + "AdditiveBlending": true, + "CursorRipples": false, + "SmokeEnabled": true + }, + "Objects": { + "DrawApproachCircles": true, + "DrawComboNumbers": true, + "DrawFollowPoints": true, + "LoadSpinners": true, + "ScaleToTheBeat": false, + "StackEnabled": true, + "Sliders": { + "ForceSliderBallTexture": true, + "DrawEndCircles": true, + "DrawSliderFollowCircle": true, + "DrawScorePoints": true, + "SliderMerge": false, + "BorderWidth": 1, + "Distortions": { + "Enabled": true, + "ViewportSize": 0, + "UseCustomResolution": false, + "CustomResolutionX": 1920, + "CustomResolutionY": 1080 + }, + "Snaking": { + "In": false, + "Out": false, + "OutFadeInstant": true, + "DurationMultiplier": 0, + "FadeMultiplier": 0 + } + }, + "Colors": { + "MandalaTexturesTrigger": 5, + "MandalaTexturesAlpha": 0.3, + "Color": { + "EnableRainbow": false, + "RainbowSpeed": 8, + "BaseColor": { + "Hue": 0, + "Saturation": 1, + "Value": 1 + }, + "EnableCustomHueOffset": false, + "HueOffset": 0, + "FlashToTheBeat": false, + "FlashAmplitude": 100 + }, + "UseComboColors": false, + "ComboColors": [ + { + "Hue": 0, + "Saturation": 1, + "Value": 1 + } + ], + "UseSkinComboColors": false, + "UseBeatmapComboColors": false, + "Sliders": { + "WhiteScorePoints": true, + "ScorePointColorOffset": 0, + "SliderBallTint": false, + "Border": { + "UseHitCircleColor": false, + "Color": { + "EnableRainbow": false, + "RainbowSpeed": 8, + "BaseColor": { + "Hue": 0, + "Saturation": 0, + "Value": 1 + }, + "EnableCustomHueOffset": false, + "HueOffset": 0, + "FlashToTheBeat": false, + "FlashAmplitude": 100 + }, + "EnableCustomGradientOffset": true, + "CustomGradientOffset": 0 + }, + "Body": { + "UseHitCircleColor": true, + "Color": { + "EnableRainbow": false, + "RainbowSpeed": 8, + "BaseColor": { + "Hue": 0, + "Saturation": 1, + "Value": 0 + }, + "EnableCustomHueOffset": false, + "HueOffset": 0, + "FlashToTheBeat": false, + "FlashAmplitude": 100 + }, + "InnerOffset": -0.5, + "OuterOffset": -0.05, + "InnerAlpha": 0.8, + "OuterAlpha": 0.8 + } + } + } + }, + "Playfield": { + "DrawObjects": true, + "DrawCursors": true, + "Scale": 1, + "OsuShift": true, + "ShiftX": 0, + "ShiftY": 0, + "ScaleStoryboardWithPlayfield": false, + "MoveStoryboardWithPlayfield": false, + "LeadInTime": 3, + "LeadInHold": 2, + "FadeOutTime": 5, + "SeizureWarning": { + "Enabled": false, + "Duration": 1 + }, + "Background": { + "LoadStoryboards": false, + "LoadVideos": false, + "FlashToTheBeat": false, + "Dim": { + "Intro": 1, + "Normal": 1, + "Breaks": 1 + }, + "Parallax": { + "Enabled": true, + "Amount": 0, + "Speed": 0 + }, + "Blur": { + "Enabled": false, + "Values": { + "Intro": 0, + "Normal": 0.15, + "Breaks": 0.1 + } + }, + "Triangles": { + "Enabled": false, + "Shadowed": false, + "DrawOverBlur": false, + "ParallaxMultiplier": 0, + "Density": 1, + "Scale": 1, + "Speed": 1 + } + }, + "Logo": { + "Enabled": false, + "DrawSpectrum": false, + "Dim": { + "Intro": 0, + "Normal": 1, + "Breaks": 1 + } + }, + "Bloom": { + "Enabled": false, + "BloomToTheBeat": false, + "BloomBeatAddition": 0.25, + "Threshold": 0.2, + "Blur": 0.4, + "Power": 0.3 + } + }, + "CursorDance": { + "Movers": [ + { + "Mover": "linear", + "SliderDance": false, + "RandomSliderDance": false + } + ], + "Spinners": [ + { + "Mover": "circle", + "CenterOffsetX": 0, + "CenterOffsetY": 0, + "Radius": 100 + } + ], + "ComboTag": false, + "Battle": false, + "DoSpinnersTogether": true, + "TAGSliderDance": false, + "MoverSettings": { + "Bezier": [ + { + "Aggressiveness": 60, + "SliderAggressiveness": 3 + } + ], + "Flower": [ + { + "AngleOffset": 90, + "DistanceMult": 0.666, + "StreamAngleOffset": 90, + "LongJump": -1, + "LongJumpMult": 0.7, + "LongJumpOnEqualPos": false + } + ], + "HalfCircle": [ + { + "RadiusMultiplier": 1, + "StreamTrigger": 130 + } + ], + "Spline": [ + { + "RotationalForce": false, + "StreamHalfCircle": true, + "StreamWobble": true, + "WobbleScale": 0.67 + } + ], + "Momentum": [ + { + "SkipStackAngles": false, + "StreamRestrict": true, + "DurationMult": 2, + "DurationTrigger": 500, + "StreamMult": 1, + "RestrictAngle": 89, + "RestrictArea": 40, + "RestrictInvert": true, + "DistanceMult": 0.7, + "DistanceMultOut": 0.45 + } + ], + "ExGon": [ + { + "Delay": 50 + } + ], + "Linear": [ + { + "WaitForPreempt": true, + "ReactionTime": 100, + "ChoppyLongObjects": false + } + ], + "Pippi": [ + { + "RotationSpeed": 1.6, + "RadiusMultiplier": 0.98, + "SpinnerRadius": 100 + } + ] + } + }, + "Knockout": { + "Mode": 0, + "GraceEndTime": -10, + "BubbleMinimumCombo": 200, + "ExcludeMods": "EZHT", + "HideMods": "", + "MaxPlayers": 50, + "MinPlayers": 1, + "RevivePlayersAtEnd": false, + "LiveSort": true, + "SortBy": "Score", + "HideOverlayOnBreaks": false, + "MinCursorSize": 3, + "MaxCursorSize": 7, + "SmokeEnabled": false, + "AddDanser": false, + "DanserName": "danser" + }, + "Recording": { + "FrameWidth": 1980, + "FrameHeight": 1080, + "FPS": 60, + "EncodingFPSCap": 0, + "Encoder": "h264_nvenc", + "libx264": { + "RateControl": "crf", + "Bitrate": "10M", + "CRF": 14, + "Profile": "high", + "Preset": "faster", + "AdditionalOptions": "" + }, + "libx265": { + "RateControl": "crf", + "Bitrate": "10M", + "CRF": 18, + "Profile": "main", + "Preset": "fast", + "AdditionalOptions": "" + }, + "libsvtav1": { + "RateControl": "crf", + "Bitrate": "10M", + "CRF": 22, + "Profile": "main", + "Preset": "7", + "AdditionalOptions": "" + }, + "h264_nvenc": { + "RateControl": "cq", + "Bitrate": "10M", + "CQ": 22, + "Profile": "high", + "Preset": "p7", + "AdditionalOptions": "" + }, + "hevc_nvenc": { + "RateControl": "cq", + "Bitrate": "10M", + "CQ": 18, + "Preset": "p7", + "AdditionalOptions": "" + }, + "av1_nvenc": { + "RateControl": "cbr", + "Bitrate": "5M", + "CQ": 0, + "Preset": "p7", + "AdditionalOptions": "" + }, + "h264_qsv": { + "RateControl": "icq", + "Bitrate": "10M", + "Quality": 15, + "Profile": "high", + "Preset": "slow", + "AdditionalOptions": "" + }, + "hevc_qsv": { + "RateControl": "icq", + "Bitrate": "10M", + "Quality": 20, + "Preset": "slow", + "AdditionalOptions": "" + }, + "h264_amf": { + "RateControl": "cqp", + "Bitrate": "10M", + "CQ": 20, + "Profile": "high", + "Preset": "quality", + "AdditionalOptions": "" + }, + "hevc_amf": { + "RateControl": "cqp", + "Bitrate": "10M", + "CQ": 22, + "Profile": "high", + "Preset": "quality", + "AdditionalOptions": "" + }, + "av1_amf": { + "RateControl": "cqp", + "Bitrate": "10M", + "CQ": 24, + "Preset": "high_quality", + "AdditionalOptions": "" + }, + "custom": { + "CustomOptions": "" + }, + "PixelFormat": "yuv420p", + "Filters": "", + "AudioCodec": "aac", + "aac": { + "Bitrate": "192k", + "AdditionalOptions": "" + }, + "libmp3lame": { + "RateControl": "abr", + "TargetBitrate": "192k", + "AdditionalOptions": "" + }, + "libopus": { + "RateControl": "vbr", + "TargetBitrate": "192k", + "AdditionalOptions": "" + }, + "flac": { + "CompressionLevel": 12, + "AdditionalOptions": "" + }, + "customAudio": { + "CustomOptions": "" + }, + "AudioFilters": "", + "OutputDir": "videos", + "Container": "mp4", + "ShowFFmpegLogs": true, + "MotionBlur": { + "Enabled": false, + "OversampleMultiplier": 4, + "BlendFrames": 8, + "BlendFunctionID": 27, + "GaussWeightsMult": 1.5 + } + }, + "Debug": { + "PerfGraph": { + "MaxRange": 1.2 + } + } +} \ No newline at end of file