Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runs on linux w/ wine #28

Open
RepComm opened this issue Jul 31, 2021 · 3 comments
Open

Runs on linux w/ wine #28

RepComm opened this issue Jul 31, 2021 · 3 comments

Comments

@RepComm
Copy link

RepComm commented Jul 31, 2021

This isn't an actual issue, but I thought it would be useful for the people wanting to run on linux.

This runs successfully on Ubuntu x86 64bit gnome desktop using steam proton 6.3-5
I don't know if graphics drivers need to be specific (probably not), but I'm using Nvidia server driver 460.

Configuration:

  • Requires steam app for linux installed
  • Requires adding Proton 6.3-5 : Navigate to steam Library in the app, search for Proton 6.3-5 and install it / wait for download to finish
  • Download latest SWBF unmunge binaries, extract them to some folder (mine is in ~/Downloads/swbf-unmunge)
  • Create a .desktop file so you can import into steam later:

I named mine swbf-unmunge.desktop, heres the content:

[Desktop Entry]
Name=swbf-unmunge
Comment=unmunge
Exec=/home/jon/Downloads/swbf-unmunge/swbf-unmunge.exe -file /home/jon/Downloads/swbf-unmunge/file.lvl -version swbf -outversion swbf -imgfmt png -platform pc -verbose -mode extract
Icon=steam
Terminal=true
Type=Application

You need to change the line Exec= to the location of your installed swbf-unmunge.exe path
After the exe comes the arguments for the file you want to run it on. You'll need to follow the swbf-unmunge readme for the proper arguments, as well as point to the proper file (I just rename whatever LVL like rep.lvl to file.lvl for convenience).

Add the swbf-unmunge.desktop file to steam:

  • Go to steam library
  • Bottom left corner: Add Game
  • "Add non-steam game"
  • "Browse..." and find your swbf-unmunge.desktop file
  • "Add selected programs"
  • Click on the newly added app in your library
  • Open manager by clicking on gear icon on far right
  • Open "Properties"
  • Click on Compatibility
  • Check "Force use of specific steam play compat tool"
  • Select the proton version you installed earlier

Now you can start the app and it will execute the command line options you added.
If you want to edit the command line options you can now set them in the app's properties in the shortcut tab, where it is labelled as Launch options.

@RepComm
Copy link
Author

RepComm commented Aug 26, 2023

Just an update that worked for me recently on Ubuntu 20.04 and wine 8.0.2 install via apt-get

wine ./swbf-unmunge.exe -file ./imp.lvl -version swbf -outversion swbf -imgfmt png -platform pc -verbose -mode extract

worked just fine, no proton or dependency installations, or wine prefix pre-configs.

@RepComm RepComm changed the title Runs on linux w/ steam proton Runs on linux w/ wine Aug 26, 2023
@styinx
Copy link

styinx commented Aug 26, 2023

I am curious ...
Can't you build swbf-unmunge natively on Linux?

@RepComm
Copy link
Author

RepComm commented Aug 26, 2023

Assuming #22 is still relevant, not yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants