ALEZ-DEV / Babylonia-terminal

A launcher to play a certain anime game on linux
GNU General Public License v3.0
19 stars 2 forks source link

Steam directory error #12

Closed SwitchAxe closed 4 weeks ago

SwitchAxe commented 1 month ago

I have Steam installed with flatpak, thus the steam directory is not in "~/.steam/steam" but in "~/.var/app/com.valvesoftware.Steam/steam".
The launcher fails with this error:
immagine

I have tried to edit the desktop file of the GUI application to hopefully tell it where steam is located:
immagine

Since there's no further explanation on how to properly tell the program the steam directory, neither in the app nor in the wiki, the only thing i could find is this environment variable (from here But i have no way of knowing what i did wrong or if this is the proper way to do so.

  1. How do i fix this error?
  2. Would it be possible to update the wiki and add an explanation there?
ALEZ-DEV commented 1 month ago

Hey, thanks for your report

How do i fix this error?

You can't really do something about it yourself, because the path ~/.steam/steam is hard coded into the launcher, so there is no way of editing the value other than by editing the source code itself

Would it be possible to update the wiki and add an explanation there?

I will add the possibility to update the steam path from the launcher directly, I should implement this and document it more later

I will now do some update to the launcher and release the new flatpak, let me some hours to roll out the update

SwitchAxe commented 1 month ago

I will add the possibility to update the steam path from the launcher directly, I should implement this and document it more later

I see the launcher is partially implemented in Dart, but there's also a cargo file? would this feature need to be implemented in the Dart side exclusively? if yes, if you already have some idea of how it would work, i could try to add it especially if for you it's a low priority feature and/or it would require some time. What do you have in mind as the implementation for this? a command-line argument or maybe a GUI element?

ALEZ-DEV commented 1 month ago

All the front end part is made with flutter, dart does not do anything beside showing the GUI, all the launcher feature is implement on the rust side in the launcher SDK

You can try to implement the possibility of adding a custom steam path if you want, but that's something I have to add to my todo list

The CI for the flatpak update is ongoing, wait some minute and you can update the launcher

Please report it to me if it didn't worked

ALEZ-DEV commented 4 weeks ago

I close the issue because of the inactivity, if you get an issue related to this, don't hesitate to reopen it