astro_modloader icon indicating copy to clipboard operation
astro_modloader copied to clipboard

Unable to install mods on Linux because of drag-drop issue

Open imevul opened this issue 6 months ago • 1 comments
trafficstars

Compiled from source, launches fine and identifies the installed steam version, but unable to install any mods. Dragging a pak-file does nothing, and there doesn't seem to be an alternative way (like a menu, context menu, or button) to install mods.

/etc/lsb-release: DISTRIB_ID=Zorin DISTRIB_RELEASE=17 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Zorin OS 17.3"

Using GNOME Files (on Wayland) as file manager. Also tested from Thunar without luck. Both installed using apt, so no flatpak shenanigans either.

There really should be a clickable button or something. Or even CLI.

On a side-note, running the Windows exe through wine, drag-drop works fine, but then it can't find steam instead. A GUI option for manually telling it where/how to run steam might be an option?

Here's the complete log file after starting the compiled program, trying to drag-drop a few pak-files (both multiple and single), and then closing it:

[INFO  astro_modloader/src/main.rs:244] Astroneer Modloader
[DEBUG 557f/reqwest-0.11.27/src/connect.rs:449] starting new connection: https://api.github.com/
[DEBUG 557f/reqwest-0.11.27/src/connect.rs:449] starting new connection: https://api.github.com/
[DEBUG 557f/reqwest-0.11.27/src/connect.rs:449] starting new connection: https://api.github.com/
[DEBUG 557f/reqwest-0.11.27/src/connect.rs:449] starting new connection: https://api.github.com/
[DEBUG 9a5/c636ad4/unreal_mod_manager/src/background_work.rs:127] Starting background thread
[DEBUG 557f/eframe-0.29.1/src/lib.rs:258] Using the glow renderer
[DEBUG 9a5/c636ad4/unreal_mod_manager/src/mod_processing/mod.rs:25] Processing mod files: []
[DEBUG 9a5/c636ad4/unreal_mod_manager/src/background_work.rs:164] warnings: []
[DEBUG 557f/smithay-client-toolkit-0.19.2/src/registry.rs:456] Bound new global [36] wl_output v3
[DEBUG 557f/smithay-client-toolkit-0.19.2/src/registry.rs:496] Bound new global [5] zxdg_output_manager_v1 v3
[DEBUG 9a5/c636ad4/unreal_mod_manager/src/mod_config.rs:148] Wrote config
[DEBUG 9a5/c636ad4/unreal_mod_manager/src/mod_config.rs:115] Loaded config
[DEBUG 557f/smithay-client-toolkit-0.19.2/src/registry.rs:456] Bound new global [14] wl_seat v7
[DEBUG 9a5/c636ad4/unreal_mod_manager/src/background_work.rs:184] Background thread startup took 0 milliseconds
[DEBUG 9a5/c636ad4/unreal_mod_manager/src/background_work.rs:348] Mods to install: []
[DEBUG 9a5/c636ad4/unreal_mod_manager/src/background_work.rs:357] Aborting Inteagration because no mods are enabled.
[DEBUG 557f/smithay-client-toolkit-0.19.2/src/shm/mod.rs:123] supported wl_shm format Argb8888
[DEBUG 557f/smithay-client-toolkit-0.19.2/src/shm/mod.rs:123] supported wl_shm format Xrgb8888
[DEBUG 557f/smithay-client-toolkit-0.19.2/src/shm/mod.rs:123] supported wl_shm format Abgr8888
[DEBUG 557f/smithay-client-toolkit-0.19.2/src/shm/mod.rs:123] supported wl_shm format Xbgr8888
[DEBUG 557f/smithay-client-toolkit-0.19.2/src/shm/mod.rs:123] supported wl_shm format Rgb565
[DEBUG 557f/smithay-client-toolkit-0.19.2/src/shm/mod.rs:123] supported wl_shm format Argb2101010
[DEBUG 557f/smithay-client-toolkit-0.19.2/src/shm/mod.rs:123] supported wl_shm format Xrgb2101010
[DEBUG 557f/smithay-client-toolkit-0.19.2/src/shm/mod.rs:123] supported wl_shm format Abgr2101010
[DEBUG 557f/smithay-client-toolkit-0.19.2/src/shm/mod.rs:123] supported wl_shm format Xbgr2101010
[DEBUG 557f/smithay-client-toolkit-0.19.2/src/shm/mod.rs:123] supported wl_shm format Argb16161616f
[DEBUG 557f/smithay-client-toolkit-0.19.2/src/shm/mod.rs:123] supported wl_shm format Xrgb16161616f
[DEBUG 557f/smithay-client-toolkit-0.19.2/src/shm/mod.rs:123] supported wl_shm format Abgr16161616f
[DEBUG 557f/smithay-client-toolkit-0.19.2/src/shm/mod.rs:123] supported wl_shm format Xbgr16161616f
[DEBUG 557f/eframe-0.29.1/src/native/glow_integration.rs:396] Event::Resumed
[DEBUG 557f/eframe-0.29.1/src/native/glow_integration.rs:939] trying to create glutin Display with config: ConfigTemplateBuilder { template: ConfigTemplate { color_buffer_type: Rgb { r_size: 8, g_size: 8, b_size: 8 }, alpha_size: 8, depth_size: 0, stencil_size: 0, num_samples: None, min_swap_interval: None, max_swap_interval: None, config_surface_types: ConfigSurfaceTypes(WINDOW), api: None, transparency: false, single_buffering: false, stereoscopy: None, float_pixels: false, max_pbuffer_width: None, hardware_accelerated: None, max_pbuffer_height: None, native_window: None } }
[DEBUG 557f/eframe-0.29.1/src/native/glow_integration.rs:962] using the first config from config picker closure. config: Egl(Config { inner: Config { raw: EglConfig(0x638b37263310), display: Khr(0x638b370e2fe0) } })
[DEBUG 557f/sctk-adwaita-0.10.1/src/buttons.rs:168] Ignoring "appmenu" button
[DEBUG 557f/egui-winit-0.29.1/src/lib.rs:1787] Failed to set window size
[DEBUG 557f/eframe-0.29.1/src/native/glow_integration.rs:975] successfully created GL Display with version: EGL 1.5 and supported features: DisplayFeatures(CONTEXT_ROBUSTNESS | CONTEXT_NO_ERROR | FLOAT_PIXEL_FORMAT | SWAP_CONTROL | CREATE_ES_CONTEXT | MULTISAMPLING_PIXEL_FORMATS | SRGB_FRAMEBUFFERS)
[DEBUG 557f/eframe-0.29.1/src/native/glow_integration.rs:985] creating gl context using raw window handle: Some(Wayland(WaylandWindowHandle { surface: 0x638b37268020 }))
[DEBUG 557f/eframe-0.29.1/src/native/glow_integration.rs:1122] Initializing egui_winit for viewport "FFFF"
[DEBUG 557f/eframe-0.29.1/src/native/glow_integration.rs:1134] Creating a gl_surface for viewport "FFFF"
[DEBUG 557f/smithay-client-toolkit-0.19.2/src/registry.rs:456] Bound new global [14] wl_seat v7
[DEBUG 557f/egui_glow-0.29.1/src/painter.rs:155] 
opengl version: 4.6 (Core Profile) Mesa 25.0.3 - kisak-mesa PPA
opengl renderer: AMD Radeon RX 7900 XTX (radeonsi, navi31, LLVM 15.0.7, DRM 3.57, 6.8.0-57-generic)
opengl vendor: AMD
[DEBUG 557f/egui_glow-0.29.1/src/shader_version.rs:28] Shader version: Gl140 ("4.60").
[DEBUG 557f/egui_glow-0.29.1/src/painter.rs:171] Shader header: "#version 140\n".
[DEBUG 557f/egui_glow-0.29.1/src/painter.rs:180] SRGB texture Support: true
[DEBUG 557f/egui_glow-0.29.1/src/painter.rs:187] SRGB framebuffer Support: true
[DEBUG 557f/egui_glow-0.29.1/src/vao.rs:122] GL version: "4.6 (Core Profile) Mesa 25.0.3 - kisak-mesa PPA".
[DEBUG 557f/eframe-0.29.1/src/native/glow_integration.rs:787] Received WindowEvent::CloseRequested for viewport Some("FFFF")
[DEBUG 557f/eframe-0.29.1/src/native/epi_integration.rs:295] Closing root viewport (ViewportCommand::CancelClose was not sent)
[DEBUG 9a5/c636ad4/unreal_mod_manager/src/background_work.rs:721] Background thread exiting...
[DEBUG 557f/eframe-0.29.1/src/native/run.rs:133] Asking to exit event loop…
[DEBUG 557f/eframe-0.29.1/src/native/run.rs:199] Received Event::LoopExiting - saving app state…
[DEBUG 557f/eframe-0.29.1/src/native/run.rs:301] eframe window closed

imevul avatar Apr 24 '25 00:04 imevul

I think this might be related:

  • https://github.com/emilk/egui/issues/4255

Tracked it down through your dependencies. You should really add a button.

imevul avatar Apr 24 '25 00:04 imevul

I agree that there should be a button. I have the same issue on KDE Neon (base 24.04) with Dolphin, both with Wayland and Xwayland.

In the meantime however, you can install mods manually by dropping them in ~/.local/share/Astro/Saved/Mods.

See https://github.com/AstroTechies/astro_modloader/issues/18#issuecomment-2350340167

cravl-dev avatar Jun 06 '25 14:06 cravl-dev