Razviar / marvelsnaptracker

Marvel Snap Tracker repo
https://marvelsnap.pro/
162 stars 35 forks source link

[Feature Proposal] Linux support #13

Closed phlawlessDevelopment closed 1 year ago

phlawlessDevelopment commented 1 year ago

I'm not sure if you're looking for any help,but I've been able to get this running fine on Ubuntu (thanks electron).

One thing I could do is make you up some details for the "readme" to explain the process of building from source (and where the files are located in the Linux files-system). This might be enough.

Alternatively, I could package new releases for Linux so you can publish them on the releases page, I would also deal with any issues that arise from the Linux version(and help triage issues that may or may not be Linux ones).

Anyway thanks for all the great work so far.

Razviar commented 1 year ago

Hey! Is there practical reason for doing that? The game itself isn't running on Ubuntu I suppose.

phlawlessDevelopment commented 1 year ago

The newest version of Proton has this working fine on Ubuntu, I'm personally using it, along with the tracker.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Razviar @.> Sent: Tuesday, December 13, 2022 4:48:06 PM To: Razviar/marvelsnaptracker @.> Cc: phlawlessDevelopment @.>; Author @.> Subject: Re: [Razviar/marvelsnaptracker] [Feature Proposal] Linux support (Issue #13)

Hey! Is there practical reason for doing that? The game itself isn't running on Ubuntu I suppose.

— Reply to this email directly, view it on GitHubhttps://github.com/Razviar/marvelsnaptracker/issues/13#issuecomment-1349040618, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYRYIC6SZ2B52FJO6F3F4G3WNCSENANCNFSM6AAAAAASZM77Q4. You are receiving this because you authored the thread.Message ID: @.***>

Razviar commented 1 year ago

Oh, than it makes sense! If you are willing to maintain ubuntu version, please do

leonardogonfiantini commented 1 year ago

If i can help in some way, please contact me i love this project and i want to run it on my ubuntu

phlawlessDevelopment commented 1 year ago

Hey, great to hear someone else is interested in this. I will get you an executable and instructions on how to configure this tomorrow when I'm back at my desk.

Sent from Outlook for Androidhttps://aka.ms/AAb9ysg


From: Leonardo Gonfiantini @.> Sent: Monday, December 26, 2022 5:25:10 PM To: Razviar/marvelsnaptracker @.> Cc: phlawlessDevelopment @.>; Author @.> Subject: Re: [Razviar/marvelsnaptracker] [Feature Proposal] Linux support (Issue #13)

If i can help in some way, please contact me i love this project and i want to run it on my ubuntu

— Reply to this email directly, view it on GitHubhttps://github.com/Razviar/marvelsnaptracker/issues/13#issuecomment-1365296503, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYRYIC4RYOEXZI22TCNCWGDWPHIHNANCNFSM6AAAAAASZM77Q4. You are receiving this because you authored the thread.Message ID: @.***>

leonardogonfiantini commented 1 year ago

I made it works on my ubuntu, actually it's pretty easy thanks to electron, if you need help for writing instructions or modify the code i'm happy to help

phlawlessDevelopment commented 1 year ago

Nice, I've submitted a PR that should include the zipped binary for ubuntu, I'm working on the instructions (next day or two) and would appreciate a second opinion on some of the wording, I'll let you know when it's done.

FherStk commented 1 year ago

Hi there,

I compiled it myself for Ubuntu but, when I run the app, I get the following message: Error: Parsing paused: we can't locate your SNAP/Standalone/States/nvprod dir. Please locate it manually in settings!

I wasn't able to find the nvprod folder under my steamapps path, and I'm not also sure If I should setup this as the log path...

image

Any help would be appreciated, I know there's no official support for Ubuntu, but would be great if we can make this works.

Thanks a lot in advance and happy new year! Fher

P.S: I'm making a script which easily compiles the app to work under Ubuntu using an LXC/LXC container. I will share it soon :)

phlawlessDevelopment commented 1 year ago

I'm working on a proper set of instructions, but in the mean time..

The path can be a bit tricky, I found it using this command "find ~/.steam -type d -name "nvprod" -print" This command should output the correct path.

Let me know if you need anymore help.

leonardogonfiantini commented 1 year ago

I'm using ubuntu 22.04 and my nvprod folder is located at:

/steam/debian-installation/steamapps/compatdata/{steam_user}/pfx/drive_c/users/steamuser/AppData/LocalLow/Second Dinner/SNAP/Standalone/States/

You can also use this command on the terminal to find it:

sudo find / -type f -name "ProfileState.json"

This will find where is located this file which is a part of the nvprod folder.

Let me know if it works!

FherStk commented 1 year ago

It works!

I've just released the v1.0.0 for my Ubuntu binary builder: https://github.com/FherStk/marvelsnaptracker-for-ubuntu

Thanks for all your help! Fher

phlawlessDevelopment commented 1 year ago

@FherStk That's amazing ! Much better than anything I was proposing. If you want any help with anything going forward, I'll be around.