Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@klingtnet
Created February 25, 2018 17:02
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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)
@barak
Copy link

barak commented Oct 8, 2018

If you do it this way it won't contaminate the surrounding environment:

env PULSE_LATENCY_MSEC=5 WINEPREFIX="$HOME/.wine" wine "$USER/.wine/dosdevices/c:/Program Files/Melodics/Melodics.exe"

@gutelfuldead
Copy link

I needed to add msvcp140_1.dll library to make it work. Thanks for the setup.

@zigmhount
Copy link

zigmhount commented Feb 21, 2021

I needed to add msvcp140_1.dll library to make it work.

How did you do that? I see no msvcp140_1 in the list of overrides to add in winecfg.

@theogf
Copy link

theogf commented Mar 10, 2021

Thanks for the snippet!
I managed to get the mvscp140.dll and get a network connection via https://wiki.winehq.org/FAQ#Failed_to_use_ICMP_.28network_ping.29.2C_this_requires_special_permissions.
The window loads but seems to be stuck at the loading screens blue dot blinking, anyone faced the same issue?

@quimgil
Copy link

quimgil commented May 2, 2021

Same problem here. I am just using PlayonLinux without any special configuration.

@DoosC
Copy link

DoosC commented Jun 5, 2021

Argh, same issue here I get a frozen screen with a blue dot and a gray dot.
I added the mvscp140.dll as explained

  • launched using env PULSE_LATENCY_MSEC=5 WINEPREFIX="$HOME/.wine" wine "/home/$USER/.wine/dosdevices/c:/Program Files/Melodics/Melodics.exe"
  • did the "sudo apt install --reinstall winbind" following a "002c:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated." error as explained here : https://askubuntu.com/questions/1090094/wine-missing-ntlm-auth-3-0-25
    Now no more error in the console but still stuck with the frozen screen :(
    Any other idea on how to make it run properly ? :)

@AWBuchanan7
Copy link

I was able to add a msvcp140_1.dll override I think you need to be using a more recent version (dev version?) of wine to have that option in winecfg. I see wine-6.10 when I run wine --version.

That said I still get stuck at the blue/gray dot screen on launch

@heyLu
Copy link

heyLu commented Mar 19, 2023

I've had some trouble running the latest version of Melodics (3.x), but I had an older installer (2.x) lying around that still works.

There's a couple more msvcp140*.dlls now, I had to add overrides for the ones that were listed in the Libaries tab in winecfg.

I am running wine-8.3 (Staging) on Arch. With Pipewire there doesn't seem to be any crackling anymore.

(Also, hi @klingtnet! :))

@klingtnet
Copy link
Author

With Pipewire there doesn't seem to be any crackling anymore.

Happy to hear that! Pipewire really is a gift for Linux audio.

(Also, hi @klingtnet! :))

🖖 Hi 😄

@terraquad
Copy link

I only get to the login screen, when I log in from Firefox the link doesn't know where to open. When I select Melodics from the Application list, it doesn't do anything

@KingKrouch
Copy link

KingKrouch commented Oct 27, 2023

I only get to the login screen, when I log in from Firefox the link doesn't know where to open. When I select Melodics from the Application list, it doesn't do anything

Can confirm that this also occurs for me. Is there a fix?

@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