Skip to content

Instantly share code, notes, and snippets.

@klingtnet
Created February 25, 2018 17:02
Show Gist options
  • Save klingtnet/942fdd9d52be46317fd2ca502f19c2cf to your computer and use it in GitHub Desktop.
Save klingtnet/942fdd9d52be46317fd2ca502f19c2cf to your computer and use it in GitHub Desktop.
How to run melodics on Linux using Wine

How to run melodics on Linux using Wine

export PULSE_LATENCY_MSEC=5\
    && export WINEPREFIX="/home/alinz/.wine"\
    && wine "$USER/.wine/dosdevices/c:/Program Files/Melodics/Melodics.exe"
  • The application will after the login if miss to set the following library override:
    • Open winecfg
    • Optional: Add an application override for Melodics.exe
    • Go to Libraries tab
    • Add a new override for msvcp140.dll
    • It should now show under Existing overrides `msvcp140 (native, builtin)
@wwwehr
Copy link

wwwehr commented Dec 12, 2023

@KingKrouch @terraquad

I've installed Melodics using Lutris and the Proton Experimental runtime.

In order to solve for the login, I've created a script that can set up your oauth URL scheme handler:
https://gist.github.com/wwwehr/dbcb3e7b47c63602a6ebff886ea87cd7

You just need to make sure that you quit your Melodics instance before clicking/activating the xdg-open (mime handler from browser). Workflow is like this:

  1. Start Melodics w/ Lutris
  2. Click Login
  3. (browser launches)
  4. Close Melodics/Lutris
  5. Login to Melodics website (in browser)
  6. Click/allow xdg-open to handle "Melodics Launcher"
  7. Dance

I just played a practice session. Everything working great!

@KingKrouch
Copy link

@KingKrouch @terraquad

I've installed Melodics using Lutris and the Proton Experimental runtime.

In order to solve for the login, I've created a script that can set up your oauth URL scheme handler: https://gist.github.com/wwwehr/dbcb3e7b47c63602a6ebff886ea87cd7

You just need to make sure that you quit your Melodics instance before clicking/activating the xdg-open (mime handler from browser). Workflow is like this:

  1. Start Melodics w/ Lutris
  2. Click Login
  3. (browser launches)
  4. Close Melodics/Lutris
  5. Login to Melodics website (in browser)
  6. Click/allow xdg-open to handle "Melodics Launcher"
  7. Dance

I just played a practice session. Everything working great!

Nice! However, I'm having a bit of an issue with getting Lutris to work fine with installers that aren't on their website, and Lutris honestly has a ton of crashing issues on my end.

How would I adjust this script for regular WINE?

@wwwehr
Copy link

wwwehr commented Dec 15, 2023

If you can determine a reliable wine launch command line - you can create your own run-melodics-with-scheme.sh and remove the generation lines (that's the lutris stuff). Just make sure you are passing the full value of $1 to the melodics exe as an argument.

FWIW my Lutris install of this was straight forward. No hacks needed, I just did "Add Game > Install a Windows game from an executable > Windows 10 > defaults..."

@adrienbeau
Copy link

adrienbeau commented Jan 7, 2024

@wwwehr thanks for the script, this was very helpful in getting me to run Melodics with Bottles, as I documented here: https://gist.github.com/adrienbeau/1d0af5c53a1f952a07b41da02ed2d7c2

By the way, with Bottles there is no need to close the app when you log in, actually login seems to only work when Melodics is kept open.

I have played several lessons just fine, everything seems to work except for one issue: the Guided tab remains empty. Maybe one dependency is missing? There's nothing suspicious in the app logs or Wine messages. Looking at Melodics videos, the contents of that tab seem similar to the other tabs, I don't see what could be wrong. @wwwehr Do you have content in the Guided tab?

@ntippie
Copy link

ntippie commented Feb 12, 2024

@adrienbeau I also have no content in the Guided tab, on a Bottle install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment