nahkd123/osu-replay-viewer

Deletes all maps

Closed this issue ยท 12 comments

When running client.realm gets backed up and re-created because of older database schema version. Logs:

[runtime] 2022-03-21 19:07:14 [verbose]: Connected MIDI device: Midi Through Port-0
[runtime] 2022-03-21 19:07:15 [verbose]: Tablet detected (vid1386), searching for usable configuration...
[runtime] 2022-03-21 19:07:15 [verbose]: GL Initialized
[runtime] 2022-03-21 19:07:15 [verbose]: GL Version:                 4.6 (Compatibility Profile) Mesa 21.3.7
[runtime] 2022-03-21 19:07:15 [verbose]: GL Renderer:                AMD Radeon Vega 8 Graphics (RAVEN, DRM 3.44.0, 5.16.15-arch1-1, LLVM 13.0.1)
[runtime] 2022-03-21 19:07:15 [verbose]: GL Shader Language version: 4.60
[runtime] 2022-03-21 19:07:15 [verbose]: GL Vendor:                  AMD
[runtime] 2022-03-21 19:07:15 [verbose]: GL Extensions:              GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_ATI_fragment_shader GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fog_distance GL_NV_half_float GL_APPLE_packed_pixels GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_depth_bounds_test GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_ATI_texture_compression_3dc GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_mirror_clamp GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_ATI_texture_mirror_once GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_texture_array GL_EXT_texture_compression_latc GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_AMD_performance_monitor GL_EXT_texture_buffer_object GL_AMD_texture_texture4 GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_buffer_object GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_compatibility GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_stencil_export GL_ARB_shader_texture_lod GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_ATI_meminfo GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_NV_copy_image GL_NV_texture_barrier GL_ARB_draw_indirect GL_ARB_get_program_binary GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_precision GL_ARB_shader_subroutine GL_ARB_texture_compression_bptc GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_viewport_array GL_EXT_direct_state_access GL_EXT_shader_image_load_store GL_EXT_vertex_attrib_64bit GL_NV_vdpau_interop GL_AMD_multi_draw_indirect GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_base_instance GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shader_atomic_counters GL_ARB_shader_image_load_store GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_ARB_transform_feedback_instanced GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_query_buffer_object GL_AMD_shader_trinary_minmax GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_compute_shader GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_fragment_layer_viewport GL_ARB_framebuffer_no_attachments GL_ARB_invalidate_subdata GL_ARB_multi_draw_indirect GL_ARB_program_interface_query GL_ARB_robust_buffer_access_behavior GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_stencil_texturing GL_ARB_texture_buffer_range GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_texture_view GL_ARB_vertex_attrib_binding GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_AMD_pinned_memory GL_ARB_bindless_texture GL_ARB_buffer_storage GL_ARB_clear_texture GL_ARB_compute_variable_group_size GL_ARB_enhanced_layouts GL_ARB_indirect_parameters GL_ARB_internalformat_query2 GL_ARB_multi_bind GL_ARB_query_buffer_object GL_ARB_seamless_cubemap_per_texture GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shading_language_include GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_stencil8 GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_shader_integer_mix GL_NVX_gpu_memory_info GL_ARB_ES3_1_compatibility GL_ARB_clip_control GL_ARB_conditional_render_inverted GL_ARB_cull_distance GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_get_texture_sub_image GL_ARB_pipeline_statistics_query GL_ARB_shader_texture_image_samples GL_ARB_sparse_buffer GL_ARB_texture_barrier GL_ARB_transform_feedback_overflow_query GL_EXT_polygon_offset_clamp GL_EXT_shader_image_load_formatted GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_shader_atomic_int64 GL_ARB_ES3_2_compatibility GL_ARB_gpu_shader_int64 GL_ARB_parallel_shader_compile GL_ARB_shader_atomic_counter_ops GL_ARB_shader_ballot GL_ARB_shader_clock GL_ARB_shader_viewport_layer_array GL_EXT_shader_samples_identical GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_ARB_gl_spirv GL_ARB_spirv_extensions GL_EXT_window_rectangles GL_MESA_shader_integer_functions GL_ARB_polygon_offset_clamp GL_ARB_texture_filter_anisotropic GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_semaphore GL_EXT_semaphore_fd GL_KHR_parallel_shader_compile GL_NV_alpha_to_coverage_dither_control GL_AMD_framebuffer_multisample_advanced GL_EXT_EGL_image_storage GL_EXT_texture_shadow_lod GL_INTEL_blackhole_render GL_MESA_framebuffer_flip_y GL_NV_compute_shader_derivatives GL_EXT_EGL_sync GL_EXT_demote_to_helper_invocation
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Gaomon 1060 Pro'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Gaomon M106K Pro'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Gaomon M106K'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Gaomon M10K'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Gaomon S56K'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Gaomon S620'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion 1060 Plus'
[runtime] 2022-03-21 19:07:15 [verbose]: Host execution state changed to Running
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion G10T'
[runtime] 2022-03-21 19:07:15 [verbose]: Execution mode changed to MultiThreaded
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion GC610'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion H1060P'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion H1161'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion H430P'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion H610 Pro V2'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion H610 Pro'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion H640P'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion H950P'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion HC16'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion HS610'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion HS611'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion HS64'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion Kamvas 13'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion Kamvas 16'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion Kamvas Pro 13'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion New 1060 Plus'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion osu!tablet'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion Q11K V2'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion Q11K'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion Q620M'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Huion WH1409 V2'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'VEIKK A15 Pro'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'VEIKK A15'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'VEIKK A30'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'VEIKK A50'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'VEIKK S640'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Wacom CTE-430'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Wacom CTE-440'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Wacom CTE-450'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Wacom CTE-460'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Wacom CTE-640'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Wacom CTE-650'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Wacom CTF-430'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Wacom CTH-460'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Wacom CTH-470'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Wacom CTH-480'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Wacom CTH-490'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Wacom CTH-670'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Wacom CTH-680'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Wacom CTH-690'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Wacom CTL-4100'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Wacom CTL-4100WL'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Wacom CTL-460'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Wacom CTL-470'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Wacom CTL-471'
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Searching for tablet 'Wacom CTL-472'
[runtime] 2022-03-21 19:07:15 [debug]: Loading Font Roboto-Regular...
[runtime] 2022-03-21 19:07:15 [debug]: Loading Font FontAwesome-Solid...
[runtime] 2022-03-21 19:07:15 [debug]: Loaded Font Roboto-Regular!
[runtime] 2022-03-21 19:07:15 [debug]: Loading Font Roboto-RegularItalic...
[runtime] 2022-03-21 19:07:15 [debug]: Loaded Font FontAwesome-Solid!
[runtime] 2022-03-21 19:07:15 [debug]: Loading Font FontAwesome-Regular...
[runtime] 2022-03-21 19:07:15 [debug]: Loaded Font FontAwesome-Regular!
[runtime] 2022-03-21 19:07:15 [debug]: Loading Font FontAwesome-Brands...
[runtime] 2022-03-21 19:07:15 [debug]: Loaded Font Roboto-RegularItalic!
[runtime] 2022-03-21 19:07:15 [debug]: Loading Font Roboto-Bold...
[runtime] 2022-03-21 19:07:15 [debug]: Loaded Font Roboto-Bold!
[runtime] 2022-03-21 19:07:15 [debug]: Loading Font Roboto-BoldItalic...
[runtime] 2022-03-21 19:07:15 [debug]: Loaded Font Roboto-BoldItalic!
[runtime] 2022-03-21 19:07:15 [debug]: Loading Font RobotoCondensed-Regular...
[runtime] 2022-03-21 19:07:15 [debug]: Loaded Font RobotoCondensed-Regular!
[runtime] 2022-03-21 19:07:15 [debug]: Loading Font RobotoCondensed-Bold...
[runtime] 2022-03-21 19:07:15 [debug]: Loaded Font FontAwesome-Brands!
[runtime] 2022-03-21 19:07:15 [debug]: Detect: Using device 'CTL-472'.
[runtime] 2022-03-21 19:07:15 [debug]: Detect: Using report parser type 'OpenTabletDriver.Tablet.TabletReportParser'.
[runtime] 2022-03-21 19:07:15 [debug]: Detect: Device path: /sys/devices/pci0000:00/0000:00:01.2/0000:01:00.0/usb1/1-5/1-5:1.0/0003:056A:037A.0009/hidraw/hidraw8
[runtime] 2022-03-21 19:07:15 [debug]: Loaded Font RobotoCondensed-Bold!
[runtime] 2022-03-21 19:07:15 [debug]: Device: Set tablet feature: 02-02
[runtime] 2022-03-21 19:07:15 [verbose]: Detect: Found tablet 'Wacom CTL-472'
[runtime] 2022-03-21 19:07:15 [debug]: Detect: Using device 'CTL-472'.
[runtime] 2022-03-21 19:07:15 [debug]: Detect: Using auxiliary report parser type 'AuxReportParser'.
[runtime] 2022-03-21 19:07:15 [debug]: Detect: Device path: /sys/devices/pci0000:00/0000:00:01.2/0000:01:00.0/usb1/1-5/1-5:1.1/0003:056A:037A.000A/hidraw/hidraw9
[runtime] 2022-03-21 19:07:15 [verbose]: ๐Ÿ”ˆ BASS initialised
[runtime] 2022-03-21 19:07:15 [verbose]: BASS version:           2.4.16.7
[runtime] 2022-03-21 19:07:15 [verbose]: BASS FX version:        2.4.12.6
[runtime] 2022-03-21 19:07:15 [verbose]: BASS MIX version:       2.4.11.1
[runtime] 2022-03-21 19:07:15 [verbose]: Device:                 Default
[runtime] 2022-03-21 19:07:15 [verbose]: Driver:                 default
[runtime] 2022-03-21 19:07:15 [verbose]: Update period:          5 ms
[runtime] 2022-03-21 19:07:15 [verbose]: Device buffer length:   10 ms
[runtime] 2022-03-21 19:07:15 [verbose]: Playback buffer length: 100 ms
[runtime] 2022-03-21 19:07:15 [error]: Realm startup failed with unrecoverable error; starting with a fresh database. A backup of your database has been made.
[runtime] 2022-03-21 19:07:15 [error]: Realms.Exceptions.RealmException: Provided schema version 13 is less than last set version 14.
[runtime] 2022-03-21 19:07:15 [error]: at Realms.NativeException.ThrowIfNecessary(Func`2 overrider)
[runtime] 2022-03-21 19:07:15 [error]: at Realms.SharedRealmHandle.Open(Configuration configuration, RealmSchema schema, Byte[] encryptionKey)
[runtime] 2022-03-21 19:07:15 [error]: at Realms.RealmConfiguration.CreateRealm()
[runtime] 2022-03-21 19:07:15 [error]: at Realms.Realm.GetInstance(RealmConfigurationBase config)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Game.Database.RealmAccess.getRealmInstance()
[runtime] 2022-03-21 19:07:15 [error]: at osu.Game.Database.RealmAccess.cleanupPendingDeletions()
[runtime] 2022-03-21 19:07:15 [error]: at osu.Game.Database.RealmAccess..ctor(Storage storage, String filename, IDatabaseContextFactory efContextFactory)
[database] 2022-03-21 19:07:15 [verbose]: Blocking realm operations.
[database] 2022-03-21 19:07:15 [verbose]: Realm compact failed with error Realms.Exceptions.RealmException: Provided schema version 13 is less than last set version 14.
[database] 2022-03-21 19:07:15 [verbose]: at Realms.NativeException.ThrowIfNecessary(Func`2 overrider)
[database] 2022-03-21 19:07:15 [verbose]: at Realms.SharedRealmHandle.Open(Configuration configuration, RealmSchema schema, Byte[] encryptionKey)
[database] 2022-03-21 19:07:15 [verbose]: at Realms.RealmConfiguration.CreateRealm()
[database] 2022-03-21 19:07:15 [verbose]: at Realms.Realm.GetInstance(RealmConfigurationBase config)
[database] 2022-03-21 19:07:15 [verbose]: at Realms.Realm.Compact(RealmConfigurationBase config)
[database] 2022-03-21 19:07:15 [verbose]: at osu.Game.Database.RealmAccess.BlockAllOperations()
[database] 2022-03-21 19:07:15 [verbose]: Creating full realm database backup at client_1647889635_corrupt.realm
[database] 2022-03-21 19:07:15 [verbose]: Restoring realm operations.
[runtime] 2022-03-21 19:07:15 [error]: An unhandled error has occurred.
[runtime] 2022-03-21 19:07:15 [error]: Realms.Exceptions.RealmFileNotFoundException: Directory at path '/home/taep96/.local/share/osu/client.realm' does not exist.
[runtime] 2022-03-21 19:07:15 [error]: at Realms.NativeException.ThrowIfNecessary(Func`2 overrider)
[runtime] 2022-03-21 19:07:15 [error]: at Realms.SharedRealmHandle.Open(Configuration configuration, RealmSchema schema, Byte[] encryptionKey)
[runtime] 2022-03-21 19:07:15 [error]: at Realms.RealmConfiguration.CreateRealm()
[runtime] 2022-03-21 19:07:15 [error]: at Realms.Realm.GetInstance(RealmConfigurationBase config)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Game.Database.RealmAccess.getRealmInstance()
[runtime] 2022-03-21 19:07:15 [error]: at osu.Game.Database.RealmAccess.cleanupPendingDeletions()
[runtime] 2022-03-21 19:07:15 [error]: at osu.Game.Database.RealmAccess..ctor(Storage storage, String filename, IDatabaseContextFactory efContextFactory)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Game.OsuGameBase.load(ReadableKeyCombinationProvider keyCombinationProvider)
[runtime] 2022-03-21 19:07:15 [error]: --- End of stack trace from previous location ---
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.BackgroundDependencyLoaderAttribute.<>c__DisplayClass6_0.<CreateActivator>b__4(Object target, IReadOnlyDependencyContainer dc)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.Activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyContainer.Inject[T](T instance)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Drawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Drawable.load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Drawable.Load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies, Boolean isDirectAsyncContext)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.loadChild(Drawable child)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.load(ShaderManager shaders, Nullable`1 cancellation)
[runtime] 2022-03-21 19:07:15 [error]: --- End of stack trace from previous location ---
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.BackgroundDependencyLoaderAttribute.<>c__DisplayClass6_0.<CreateActivator>b__4(Object target, IReadOnlyDependencyContainer dc)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.Activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyContainer.Inject[T](T instance)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Drawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Drawable.load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Drawable.Load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies, Boolean isDirectAsyncContext)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.loadChild(Drawable child)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.load(ShaderManager shaders, Nullable`1 cancellation)
[runtime] 2022-03-21 19:07:15 [error]: --- End of stack trace from previous location ---
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.BackgroundDependencyLoaderAttribute.<>c__DisplayClass6_0.<CreateActivator>b__4(Object target, IReadOnlyDependencyContainer dc)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.Activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyContainer.Inject[T](T instance)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Drawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Drawable.load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Drawable.Load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies, Boolean isDirectAsyncContext)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.loadChild(Drawable child)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.load(ShaderManager shaders, Nullable`1 cancellation)
[runtime] 2022-03-21 19:07:15 [error]: --- End of stack trace from previous location ---
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.BackgroundDependencyLoaderAttribute.<>c__DisplayClass6_0.<CreateActivator>b__4(Object target, IReadOnlyDependencyContainer dc)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.Activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyContainer.Inject[T](T instance)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Drawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Drawable.load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Drawable.Load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies, Boolean isDirectAsyncContext)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.loadChild(Drawable child)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.load(ShaderManager shaders, Nullable`1 cancellation)
[runtime] 2022-03-21 19:07:15 [error]: --- End of stack trace from previous location ---
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.BackgroundDependencyLoaderAttribute.<>c__DisplayClass6_0.<CreateActivator>b__4(Object target, IReadOnlyDependencyContainer dc)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyActivator.Activate(Object obj, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Allocation.DependencyContainer.Inject[T](T instance)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Drawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Drawable.load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Graphics.Drawable.Load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies, Boolean isDirectAsyncContext)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Platform.GameHost.bootstrapSceneGraph(Game game)
[runtime] 2022-03-21 19:07:15 [error]: at osu.Framework.Platform.GameHost.Run(Game game)
[runtime] 2022-03-21 19:07:15 [error]: at osu_replay_renderer_netcore.Program.Main(String[] args) in /home/taep96/Desktop/osu-replay-viewer/osu-replay-viewer/Program.cs:line 409
Unhandled exception. Realms.Exceptions.RealmFileNotFoundException: Directory at path '/home/taep96/.local/share/osu/client.realm' does not exist.
   at Realms.NativeException.ThrowIfNecessary(Func`2 overrider)
   at Realms.SharedRealmHandle.Open(Configuration configuration, RealmSchema schema, Byte[] encryptionKey)
   at Realms.RealmConfiguration.CreateRealm()
   at Realms.Realm.GetInstance(RealmConfigurationBase config)
   at osu.Game.Database.RealmAccess.getRealmInstance()
   at osu.Game.Database.RealmAccess.cleanupPendingDeletions()
   at osu.Game.Database.RealmAccess..ctor(Storage storage, String filename, IDatabaseContextFactory efContextFactory)
   at osu.Game.OsuGameBase.load(ReadableKeyCombinationProvider keyCombinationProvider)
--- End of stack trace from previous location ---
   at osu.Framework.Allocation.BackgroundDependencyLoaderAttribute.<>c__DisplayClass6_0.<CreateActivator>b__4(Object target, IReadOnlyDependencyContainer dc)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.Activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyContainer.Inject[T](T instance)
   at osu.Framework.Graphics.Drawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Graphics.Containers.CompositeDrawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Graphics.Drawable.load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Graphics.Drawable.Load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies, Boolean isDirectAsyncContext)
   at osu.Framework.Graphics.Containers.CompositeDrawable.loadChild(Drawable child)
   at osu.Framework.Graphics.Containers.CompositeDrawable.load(ShaderManager shaders, Nullable`1 cancellation)
--- End of stack trace from previous location ---
   at osu.Framework.Allocation.BackgroundDependencyLoaderAttribute.<>c__DisplayClass6_0.<CreateActivator>b__4(Object target, IReadOnlyDependencyContainer dc)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.Activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyContainer.Inject[T](T instance)
   at osu.Framework.Graphics.Drawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Graphics.Containers.CompositeDrawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Graphics.Drawable.load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Graphics.Drawable.Load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies, Boolean isDirectAsyncContext)
   at osu.Framework.Graphics.Containers.CompositeDrawable.loadChild(Drawable child)
   at osu.Framework.Graphics.Containers.CompositeDrawable.load(ShaderManager shaders, Nullable`1 cancellation)
--- End of stack trace from previous location ---
   at osu.Framework.Allocation.BackgroundDependencyLoaderAttribute.<>c__DisplayClass6_0.<CreateActivator>b__4(Object target, IReadOnlyDependencyContainer dc)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.Activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyContainer.Inject[T](T instance)
   at osu.Framework.Graphics.Drawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Graphics.Containers.CompositeDrawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Graphics.Drawable.load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Graphics.Drawable.Load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies, Boolean isDirectAsyncContext)
   at osu.Framework.Graphics.Containers.CompositeDrawable.loadChild(Drawable child)
   at osu.Framework.Graphics.Containers.CompositeDrawable.load(ShaderManager shaders, Nullable`1 cancellation)
--- End of stack trace from previous location ---
   at osu.Framework.Allocation.BackgroundDependencyLoaderAttribute.<>c__DisplayClass6_0.<CreateActivator>b__4(Object target, IReadOnlyDependencyContainer dc)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.Activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyContainer.Inject[T](T instance)
   at osu.Framework.Graphics.Drawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Graphics.Containers.CompositeDrawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Graphics.Drawable.load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Graphics.Drawable.Load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies, Boolean isDirectAsyncContext)
   at osu.Framework.Graphics.Containers.CompositeDrawable.loadChild(Drawable child)
   at osu.Framework.Graphics.Containers.CompositeDrawable.load(ShaderManager shaders, Nullable`1 cancellation)
--- End of stack trace from previous location ---
   at osu.Framework.Allocation.BackgroundDependencyLoaderAttribute.<>c__DisplayClass6_0.<CreateActivator>b__4(Object target, IReadOnlyDependencyContainer dc)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyActivator.Activate(Object obj, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Allocation.DependencyContainer.Inject[T](T instance)
   at osu.Framework.Graphics.Drawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Graphics.Containers.CompositeDrawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Graphics.Drawable.load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies)
   at osu.Framework.Graphics.Drawable.Load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies, Boolean isDirectAsyncContext)
   at osu.Framework.Platform.GameHost.bootstrapSceneGraph(Game game)
   at osu.Framework.Platform.GameHost.Run(Game game)
   at osu_replay_renderer_netcore.Program.Main(String[] args) in /home/taep96/Desktop/osu-replay-viewer/osu-replay-viewer/Program.cs:line 409

This is the actual issue:

[database] 2022-03-21 19:07:15 [verbose]: Realm compact failed with error Realms.Exceptions.RealmException: Provided schema version 13 is less than last set version 14.

Looks like the replay viewer is trying to access client.realm that has newer version. I've upgraded all NuGet packages associated to the game to 2022.319.0 so you might want to pull the repository and try again. If it works, please close this issue.

Seems like that worked, but now I am getting dependency errors. I have already installed libbass and libbass_fx but I can't seem to find libbassmix in Arch repos or AUR. How do I install it? Maybe you could release an AppImage like osu does?

[runtime] 2022-03-23 14:13:24 [verbose]: Connected MIDI device: Midi Through Port-0
[runtime] 2022-03-23 14:13:24 [verbose]: GL Initialized
[runtime] 2022-03-23 14:13:24 [verbose]: GL Version:                 4.6 (Compatibility Profile) Mesa 21.3.7
[runtime] 2022-03-23 14:13:24 [verbose]: GL Renderer:                AMD Radeon Vega 8 Graphics (RAVEN, DRM 3.44.0, 5.16.16-arch1-1, LLVM 13.0.1)
[runtime] 2022-03-23 14:13:24 [verbose]: GL Shader Language version: 4.60
[runtime] 2022-03-23 14:13:24 [verbose]: GL Vendor:                  AMD
[runtime] 2022-03-23 14:13:24 [verbose]: GL Extensions:              GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_ATI_fragment_shader GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fog_distance GL_NV_half_float GL_APPLE_packed_pixels GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_depth_bounds_test GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_ATI_texture_compression_3dc GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_mirror_clamp GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_ATI_texture_mirror_once GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_texture_array GL_EXT_texture_compression_latc GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_AMD_performance_monitor GL_EXT_texture_buffer_object GL_AMD_texture_texture4 GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_buffer_object GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_compatibility GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_stencil_export GL_ARB_shader_texture_lod GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_ATI_meminfo GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_NV_copy_image GL_NV_texture_barrier GL_ARB_draw_indirect GL_ARB_get_program_binary GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_precision GL_ARB_shader_subroutine GL_ARB_texture_compression_bptc GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_viewport_array GL_EXT_direct_state_access GL_EXT_shader_image_load_store GL_EXT_vertex_attrib_64bit GL_NV_vdpau_interop GL_AMD_multi_draw_indirect GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_base_instance GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shader_atomic_counters GL_ARB_shader_image_load_store GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_ARB_transform_feedback_instanced GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_query_buffer_object GL_AMD_shader_trinary_minmax GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_compute_shader GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_fragment_layer_viewport GL_ARB_framebuffer_no_attachments GL_ARB_invalidate_subdata GL_ARB_multi_draw_indirect GL_ARB_program_interface_query GL_ARB_robust_buffer_access_behavior GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_stencil_texturing GL_ARB_texture_buffer_range GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_texture_view GL_ARB_vertex_attrib_binding GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_AMD_pinned_memory GL_ARB_bindless_texture GL_ARB_buffer_storage GL_ARB_clear_texture GL_ARB_compute_variable_group_size GL_ARB_enhanced_layouts GL_ARB_indirect_parameters GL_ARB_internalformat_query2 GL_ARB_multi_bind GL_ARB_query_buffer_object GL_ARB_seamless_cubemap_per_texture GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shading_language_include GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_stencil8 GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_shader_integer_mix GL_NVX_gpu_memory_info GL_ARB_ES3_1_compatibility GL_ARB_clip_control GL_ARB_conditional_render_inverted GL_ARB_cull_distance GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_get_texture_sub_image GL_ARB_pipeline_statistics_query GL_ARB_shader_texture_image_samples GL_ARB_sparse_buffer GL_ARB_texture_barrier GL_ARB_transform_feedback_overflow_query GL_EXT_polygon_offset_clamp GL_EXT_shader_image_load_formatted GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_shader_atomic_int64 GL_ARB_ES3_2_compatibility GL_ARB_gpu_shader_int64 GL_ARB_parallel_shader_compile GL_ARB_shader_atomic_counter_ops GL_ARB_shader_ballot GL_ARB_shader_clock GL_ARB_shader_viewport_layer_array GL_EXT_shader_samples_identical GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_ARB_gl_spirv GL_ARB_spirv_extensions GL_EXT_window_rectangles GL_MESA_shader_integer_functions GL_ARB_polygon_offset_clamp GL_ARB_texture_filter_anisotropic GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_semaphore GL_EXT_semaphore_fd GL_KHR_parallel_shader_compile GL_NV_alpha_to_coverage_dither_control GL_AMD_framebuffer_multisample_advanced GL_EXT_EGL_image_storage GL_EXT_texture_shadow_lod GL_INTEL_blackhole_render GL_MESA_framebuffer_flip_y GL_NV_compute_shader_derivatives GL_EXT_EGL_sync GL_EXT_demote_to_helper_invocation
[runtime] 2022-03-23 14:13:24 [verbose]: Host execution state changed to Running
[runtime] 2022-03-23 14:13:24 [verbose]: Execution mode changed to MultiThreaded
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font Roboto-Regular...
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font FontAwesome-Solid...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font FontAwesome-Solid!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font FontAwesome-Regular...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font FontAwesome-Regular!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font FontAwesome-Brands...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font FontAwesome-Brands!
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font Roboto-Regular!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font Roboto-RegularItalic...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font Roboto-RegularItalic!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font Roboto-Bold...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font Roboto-Bold!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font Roboto-BoldItalic...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font Roboto-BoldItalic!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font RobotoCondensed-Regular...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font RobotoCondensed-Regular!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font RobotoCondensed-Bold...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font RobotoCondensed-Bold!
[runtime] 2022-03-23 14:13:24 [error]: An unhandled error has occurred.
[runtime] 2022-03-23 14:13:24 [error]: System.DllNotFoundException: Unable to load shared library 'bassmix' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libbassmix: cannot open shared object file: No such file or directory
[runtime] 2022-03-23 14:13:24 [error]: at ManagedBass.Mix.BassMix.BASS_Mixer_GetVersion()
[runtime] 2022-03-23 14:13:24 [error]: at ManagedBass.Mix.BassMix.get_Version()
[runtime] 2022-03-23 14:13:24 [error]: at osu.Framework.Audio.AudioManager.setAudioDevice(Int32 deviceIndex)
[runtime] 2022-03-23 14:13:24 [error]: at osu.Framework.Audio.AudioManager.setAudioDevice(String deviceName)
[runtime] 2022-03-23 14:13:24 [error]: at osu.Framework.Audio.AudioManager.<onDevicesChanged>b__39_0()
[runtime] 2022-03-23 14:13:24 [error]: at osu.Framework.Threading.ScheduledDelegate.InvokeTask()
[runtime] 2022-03-23 14:13:24 [error]: at osu.Framework.Threading.ScheduledDelegate.RunTaskInternal()
[runtime] 2022-03-23 14:13:24 [error]: at osu.Framework.Threading.Scheduler.Update()
[runtime] 2022-03-23 14:13:24 [error]: at osu.Framework.Threading.GameThread.processFrame()
[runtime] 2022-03-23 14:13:24 [verbose]: Beginning realm file store cleanup
[runtime] 2022-03-23 14:13:24 [verbose]: Finished realm file store cleanup (0 of 12688 deleted)
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font osuFont...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font osuFont!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font Torus-Regular...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font Torus-Regular!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font Torus-Light...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font Torus-Light!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font Torus-SemiBold...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font Torus-SemiBold!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font Torus-Bold...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font Torus-Bold!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font Torus-Alternate-Regular...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font Torus-Alternate-Regular!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font Torus-Alternate-Light...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font Torus-Alternate-Light!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font Torus-Alternate-SemiBold...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font Torus-Alternate-SemiBold!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font Torus-Alternate-Bold...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font Torus-Alternate-Bold!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font Inter-Regular...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font Inter-Regular!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font Inter-RegularItalic...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font Inter-RegularItalic!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font Inter-Light...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font Inter-Light!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font Inter-LightItalic...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font Inter-LightItalic!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font Inter-SemiBold...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font Inter-SemiBold!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font Inter-SemiBoldItalic...
[runtime] 2022-03-23 14:13:24 [debug]: Loaded Font Inter-SemiBoldItalic!
[runtime] 2022-03-23 14:13:24 [debug]: Loading Font Inter-Bold...
Console output is being limited. Please check runtime.log for full logs.
[performance] 2022-03-23 14:13:25 [verbose]: TextureAtlas initialised (1024x1024)
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'bassmix' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libbassmix: cannot open shared object file: No such file or directory
   at ManagedBass.Mix.BassMix.BASS_Mixer_GetVersion()
   at ManagedBass.Mix.BassMix.get_Version()
   at osu.Framework.Audio.AudioManager.setAudioDevice(Int32 deviceIndex)
   at osu.Framework.Audio.AudioManager.setAudioDevice(String deviceName)
   at osu.Framework.Audio.AudioManager.<onDevicesChanged>b__39_0()
   at osu.Framework.Threading.ScheduledDelegate.InvokeTask()
   at osu.Framework.Threading.ScheduledDelegate.RunTaskInternal()
   at osu.Framework.Threading.Scheduler.Update()
   at osu.Framework.Threading.GameThread.processFrame()
--- End of stack trace from previous location ---
   at osu.Framework.Platform.GameHost.<>c__DisplayClass126_0.<abortExecutionFromException>b__0()
   at osu.Framework.Threading.ScheduledDelegate.InvokeTask()
   at osu.Framework.Threading.ScheduledDelegate.RunTaskInternal()
   at osu.Framework.Threading.Scheduler.Update()
   at osu.Framework.Threading.GameThread.processFrame()
   at osu.Framework.Threading.GameThread.RunSingleFrame()
   at osu.Framework.Platform.ThreadRunner.RunMainLoop()
   at osu.Framework.Platform.GameHost.windowUpdate()
   at osu.Framework.Platform.SDL2DesktopWindow.Run()
   at osu.Framework.Platform.GameHost.Run(Game game)
   at osu_replay_renderer_netcore.Program.Main(String[] args) in /home/taep96/Desktop/osu-replay-viewer/osu-replay-viewer/Program.cs:line 409

I also have the same issue. Normally, the dependency should provide the native libraries and put them inside runtimes directory, but somehow the base game package (osu.Game) doesn't do that in 2022.319.0 (at least with my project). For now, you have to get the libraries from http://www.un4seen.com/ (including BASS, BASSmix and BASS FX) and put them inside bin/<Configuration Name>/net5.0/runtimes. I'll take a closer look at this later.

I tried but couldn't figure it out, could you please explain where do I put what files in more detail?

After you build the project, you have to find the directory where the executable is stored. From there, find runtimes/ directory and put missing libraries in it. (you're using Linux so maybe it's runtimes/linux-x64/native)

Still doesn't work. Here is the directory strucutre

net5.0/runtimes/linux-x64 on ๎‚  master
โฏ dust (edited)
   โ”Œโ”€โ”€ libbassmix.so         
   โ”‚ โ”Œโ”€โ”€ libbassmix.so       
   โ”‚ โ”œโ”€โ”€ bassmix24-linux.zip 
   โ”‚ โ”œโ”€โ”€ libstbi.so          
   โ”‚ โ”œโ”€โ”€ libe_sqlite3.so     
   โ”‚ โ”œโ”€โ”€ libSDL2.so          
   โ”‚ โ”œโ”€โ”€ librealm-wrappers.so
   โ”œโ”€โ”ด native                
 โ”Œโ”€โ”ด .                       

Well that was weird. Are you running the replay viewer as 32-bit executable? If so, you might have to put 32-bit libraries inside linux-x86/native.

I also noticed that the framework have been updated to .NET 6.0, which could be the reason why native libraries went missing. I'm not on my computer right now but you can try to set the target to net6.0 inside .csproj

osu-replay-viewer on ๎‚  master [!] took 7s
โฏ dotnet run --project osu-replay-viewer --list
/home/taep96/Desktop/osu-replay-viewer/osu-replay-viewer/osu-replay-viewer.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.arch-x64. No packages exist with this id in source(s): nuget.org

The build failed. Fix the build errors and run again.
NU1101: Unable to find package Microsoft.NETCore.App.Host.arch-x64. No packages exist with this id in source(s): nuget.org

I don't know what's going on but there really isn't a package named Microsoft.NETCore.App.Host.arch-x64 (the closet I can find is Microsoft.NETCore.App.Host.linux-x64). Please check your .NET installation.

I don't know where it comes from so I can't edit it.

I think it can be closed?

Yep, moving all missing native binaries discussion to #8 and close this.