PrismaticFlower / swbf-unmunge

A totally groovy tool for getting access to game files for a game from 2005.
MIT License
26 stars 4 forks source link

Runs on linux w/ wine #28

Open RepComm opened 3 years ago

RepComm commented 3 years ago

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:

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:

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 commented 1 year ago

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.

styinx commented 1 year ago

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

RepComm commented 1 year ago

Assuming https://github.com/PrismaticFlower/swbf-unmunge/issues/22 is still relevant, not yet