Author |
Message |
marduk
Joined: Feb 25, 2015 Posts: 7 Location: E-stonea
|
Posted: Mon Mar 02, 2015 7:59 am Post subject:
|
|
|
Well I can confirm IT'S WORKING!
Editing a ProCussion w. SoundDiver v3.0.5.4 (not available through any legal means as far as I can tell) on 10.6.8 at the very moment!
Setting up (installing homebrew, git and building wine) takes some time - follow the instructions carefully and it'll be ok.
Thanks, I had already given up on this. |
|
Back to top
|
|
|
neopan
Joined: Mar 04, 2015 Posts: 1 Location: brightsideofthemoon
|
Posted: Wed Mar 04, 2015 7:27 pm Post subject:
|
|
|
Just registered to confirm, SoundDiver and various other editors also work on 10.9! This is really great, thank you so much Tinez!! I think you solved a problem for a much bigger userbase besides NM users |
|
Back to top
|
|
|
sonofdirt
Joined: Mar 05, 2015 Posts: 1 Location: usa
|
Posted: Thu Mar 05, 2015 8:59 am Post subject:
|
|
|
WOW marduk so great to hear SoundDiver is working for you!! I tried it as well, but unfortunately I'm getting some crashes when clicking on menu items. Did you configure wine some way to make it work? I've been messing with winecfg and various compatibility modes to try and get it going.. any info on your setup is appreciated.
Also neopan curious what other editors do you have working? thanks! |
|
Back to top
|
|
|
marduk
Joined: Feb 25, 2015 Posts: 7 Location: E-stonea
|
Posted: Thu Mar 05, 2015 12:27 pm Post subject:
|
|
|
Oh yes it crashes when trying to open the preferences or options but the program works totally fine without opening them at all..
Installing instruments and all that stuff works, only not midi menu / preferences and such. Last edited by marduk on Wed Apr 08, 2015 4:48 am; edited 1 time in total |
|
Back to top
|
|
|
myecholalia
Joined: Mar 25, 2015 Posts: 2 Location: Singapore
|
Posted: Wed Apr 08, 2015 1:22 am Post subject:
|
|
|
OK, just went to the installation steps and the editor launches perfectly. I can load and save patches, all looking perfectly normal. Now only my MM needs to arrive
If anyone needs help getting this to work, I'd be happy to answer questions within my capacity. |
|
Back to top
|
|
|
mosc
Site Admin
Joined: Jan 31, 2003 Posts: 18198 Location: Durham, NC
Audio files: 213
G2 patch files: 60
|
Posted: Thu Apr 09, 2015 11:39 am Post subject:
|
|
|
tinez
Your first post is now a sticky. Congrats and thanks... _________________ --Howard
my music and other stuff |
|
Back to top
|
|
|
shveddi
Joined: Apr 17, 2015 Posts: 1 Location: Belarus Vitebsk
|
Posted: Fri Apr 17, 2015 1:41 am Post subject:
Not Work |
|
|
Good afternoon.
Help. I can not start the connection. My Editore goes to "Still Looking...". Nothing happens.
All mounting points make the order. Produces no errors.
Reinstalled several times in order. Nothing proihodit.
Waiting for an answer.
Thank you. |
|
Back to top
|
|
|
kslight
Joined: Feb 23, 2009 Posts: 41 Location: KC
|
Posted: Sun May 17, 2015 3:14 pm Post subject:
|
|
|
Thanks for sharing, I have had a Nord G1 sitting here criminally unused because I'm usually too lazy to boot up my old Windows PC to run legacy hardware. I am not the best with Terminal stuff but eventually got it to load. I even renamed my editor file to just be Nord.exe so I can be lazy in launching. Would be great if someone would write a script for those without 1337 h4x0r skills. |
|
Back to top
|
|
|
sawtooth
Joined: Jun 15, 2004 Posts: 19 Location: Sweden
|
Posted: Wed Jun 24, 2015 2:29 pm Post subject:
Re: Nord Modular Editor on OS X using wine Subject description: a lighter way to run NME |
|
|
This is wonderful! I just heard about it and I'll try it out asap.
Thank you, tinez!
tinez wrote: | Hi everyrone. Since this is my first post - a short introduction. I play bass, piano and have a lot of love for synths. Professionally i'm a software developer.
I'm also a very happy owner of G1 since about 3 months. I used to run NMEditor using wine on linux. If you're not familiar with wine you can check their website http://winehq.org. It's not a virtual machine and it's not emulation - it's rewriting of win$ libraries on different operating systems. That means when you run NME on wine, you run it like a native OS X app.
I was pretty angry to find out that running NME on wine on OS X didn't work. It turned out, there was no sysex message handlers implemented in wines coreaudio driver. Two evenings later i have a patch and successfully run NME on wine on OS X I'm pretty sure that G2 editor will also work - I need some brave volunteers to check that
Ok, here's what you gotta do to make things work:
1. install brew (http://brew.sh/), remember to run brew doctor and brew update afterwards
2. edit /usr/local/Library/Formula/wine.rb file in your favorite text editor (or you can just run "brew edit wine" in terminal)
3. find section that looks like this:
Code: | stable do
...
resource 'mono' do:
...
end
end |
and append url to my patch like this:
Code: | stable do
...
resource 'mono' do:
...
end
patch do
url "https://raw.githubusercontent.com/tinez/patches/master/wine/winecoreaudio_sysex.patch"
sha256 'a4a91359ecce2a3fbaf559c692f374e9c6bcdbec50b75c01868dd26f6214fa33'
end
end |
4. brew install --build-from-source wine
5. download win$ version of NMEditor
6. run it by typing "wine Nord Modular Editor File Name.exe" (i can't remember the exact filename... ;P)
If you don't trust me, you can take a look at the patch. Just go ahead and open it in your browser. If you want to try this solution out, but something doesn't work for you, write me a PM, i'll be glad to help. Finally - happy patch editing! |
|
|
Back to top
|
|
|
Mark Godwin
Joined: Jul 03, 2015 Posts: 1 Location: Bangkok
|
Posted: Mon Jul 06, 2015 12:44 am Post subject:
code Subject description: wine patch |
|
|
Hi i think I have followed your instructions...however when I run the brew command I get this
zKultras-MacBook-Pro:~ zKultraVII$ brew install --build-from-source wine
Error: /usr/local/Library/Formula/wine.rb:192: syntax error, unexpected end-of-input, expecting keyword_end
Please report this bug:
https://git.io/brew-troubleshooting
/usr/local/Library/Homebrew/formulary.rb:21:in `module_eval'
/usr/local/Library/Homebrew/formulary.rb:21:in `load_formula'
/usr/local/Library/Homebrew/formulary.rb:78:in `load_file'
/usr/local/Library/Homebrew/formulary.rb:69:in `klass'
/usr/local/Library/Homebrew/formulary.rb:65:in `get_formula'
/usr/local/Library/Homebrew/formulary.rb:170:in `factory'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `block in formulae'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `map'
/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `formulae'
/usr/local/Library/Homebrew/cmd/install.rb:41:in `install'
/usr/local/Library/brew.rb:124:in `<main>'
below is the code with your URL added , sorry if this is a noob issue and thanks for your work in and any help you might offer
require 'formula'
# NOTE: When updating Wine, please check Wine-Gecko and Wine-Mono for updates
# too:
# - http://wiki.winehq.org/Gecko
# - http://wiki.winehq.org/Mono
class Wine <Formula> :nounzip
sha256 'f01fafa6d7aab995c38add77315c4cbc2f32f52d5d6a9350056f42b62d631fd8'
end
resource 'mono' do
url 'https://downloads.sourceforge.net/wine/wine-mono-0.0.8.msi', :using => :nounzip
sha256 '3dfc23bbc29015e4e538dab8b83cb825d3248a0e5cf3b3318503ee7331115402'
end
patch do
url "https://raw.githubusercontent.com/tinez/patches/master/wine/winecoreaudio_sysex.patch"
sha256 'a4a91359ecce2a3fbaf559c692f374e9c6bcdbec50b75c01868dd26f6214fa33'
end
bottle do
sha1 "348f15e19880888d19d04d2fe4bad42048fe6828" => :yosemite
sha1 "69f05602ecde44875cf26297871186aaa0b26cd7" => :mavericks
sha1 "a89371854006687b74f4446a52ddb1f68cfafa7e" => :mountain_lion
end
devel do
url "https://downloads.sourceforge.net/project/wine/Source/wine-1.7.46.tar.bz2"
sha256 "9ab4046cc676de3054f9f2560e7d757b25324f72dd9a9cfed0d4aa48cc87350b"
depends_on "samba" => :optional
depends_on "gnutls"
# Patch to fix screen-flickering issues. Still relevant on 1.7.23.
# https://bugs.winehq.org/show_bug.cgi?id=34166
patch do
url "https://bugs.winehq.org/attachment.cgi?id=47639"
sha256 "3054467e0b1ef9efce3e1b24497bd26e00c4727e8bd7b1e990d1352bb1819de0"
end
end
head do
url "git://source.winehq.org/git/wine.git"
depends_on "samba" => :optional
option "with-win64",
"Build with win64 emulator (won't run 32-bit binaries.)"
end
# note that all wine dependencies should declare a --universal option in their formula,
# otherwise homebrew will not notice that they are not built universal
def require_universal_deps?
MacOS.prefer_64_bit?
end
# Wine will build both the Mac and the X11 driver by default, and you can switch
# between them. But if you really want to build without X11, you can.
depends_on :x11 => :recommended
depends_on 'pkg-config' => :build
depends_on 'freetype'
depends_on 'jpeg'
depends_on 'libgphoto2'
depends_on 'little-cms2'
depends_on 'libicns'
depends_on 'libtiff'
depends_on 'sane-backends'
depends_on 'libgsm' => :optional
resource 'gecko' do
url "https://downloads.sourceforge.net/wine/wine_gecko-2.36-x86.msi", :using => :nounzip
sha256 "afa457ce8f9885225b6e549dd6f154713ce15bf063c23e38c1327d2f869e128a"
end
resource 'mono' do
url "https://downloads.sourceforge.net/wine/wine-mono-4.5.6.msi", :using => :nounzip
sha256 "ac681f737f83742d786706529eb85f4bc8d6bdddd8dcdfa9e2e336b71973bc25"
end
fails_with :llvm do
build 2336
cause 'llvm-gcc does not respect force_align_arg_pointer'
end
fails_with :clang do
build 425
cause "Clang prior to Xcode 5 miscompiles some parts of wine"
end
# These libraries are not specified as dependencies, or not built as 32-bit:
# configure: libv4l, gstreamer-0.10, libcapi20, libgsm
# Wine loads many libraries lazily using dlopen calls, so it needs these paths
# to be searched by dyld.
# Including /usr/lib because wine, as of 1.3.15, tries to dlopen
# libncurses.5.4.dylib, and fails to find it without the fallback path.
def library_path
paths = %W[#{HOMEBREW_PREFIX}/lib /usr/lib]
paths.unshift(MacOS::X11.lib) if build.with? 'x11'
paths.join(':')
end
def wine_wrapper; <<-EOS.undent
#!/bin/sh
DYLD_FALLBACK_LIBRARY_PATH="#{library_path}" "#{bin}/wine.bin" "$@"
EOS
end
def install
ENV.m32 # Build 32-bit; Wine doesn't support 64-bit host builds on OS X.
# Help configure find libxml2 in an XCode only (no CLT) installation.
ENV.libxml2
args = ["--prefix=#{prefix}"]
args << "--disable-win16" if MacOS.version <= :leopard
args << "--enable-win64" if build.with? "win64"
# 64-bit builds of mpg123 are incompatible with 32-bit builds of Wine
args << "--without-mpg123" if Hardware.is_64_bit?
args << "--without-x" if build.without? 'x11'
system "./configure", *args
# The Mac driver uses blocks and must be compiled with an Apple compiler
# even if the rest of Wine is built with A GNU compiler.
unless ENV.compiler == :clang || ENV.compiler == :llvm || ENV.compiler == :gcc
system "make", "dlls/winemac.drv/Makefile"
inreplace "dlls/winemac.drv/Makefile" do |s|
# We need to use the real compiler, not the superenv shim, which will exec the
# configured compiler no matter what name is used to invoke it.
cc, cxx = s.get_make_var("CC"), s.get_make_var("CXX")
s.change_make_var! "CC", cc.sub(ENV.cc, "xcrun clang") if cc
s.change_make_var! "CXX", cc.sub(ENV.cxx, "xcrun clang++") if cxx
# Emulate some things that superenv would normally handle for us
# We're configured to use GNU GCC, so remote an unsupported flag
s.gsub! "-gstabs+", ""
# Pass the sysroot to support Xcode-only systems
cflags = s.get_make_var("CFLAGS")
cflags += " --sysroot=#{MacOS.sdk_path}"
s.change_make_var! "CFLAGS", cflags
end
end
system "make install"
(share/'wine/gecko').install resource('gecko')
(share/'wine/mono').install resource('mono')
# Use a wrapper script, so rename wine to wine.bin
# and name our startup script wine
mv bin/'wine', bin/'wine.bin'
(bin/'wine').write(wine_wrapper)
# Don't need Gnome desktop support
(share/'applications').rmtree
end
def caveats
s = <<-EOS.undent
You may want to get winetricks:
brew install winetricks
The current version of Wine contains a partial implementation of dwrite.dll
which may cause text rendering issues in applications such as Steam.
We recommend that you run winecfg, add an override for dwrite in the
Libraries tab, and edit the override mode to "disable". See:
https://bugs.winehq.org/show_bug.cgi?id=31374
EOS
if build.with? 'x11'
s += <<-EOS.undent
By default Wine uses a native Mac driver. To switch to the X11 driver, use
regedit to set the "graphics" key under "HKCU\Software\Wine\Drivers" to
"x11" (or use winetricks).
For best results with X11, install the latest version of XQuartz:
https://xquartz.macosforge.org/
EOS
end
return s
end
end |
|
Back to top
|
|
|
tinez
Joined: Aug 21, 2014 Posts: 9 Location: Poland, Katowice
|
Posted: Sun Jul 19, 2015 3:16 pm Post subject:
|
|
|
hi, looks like you "ate" one "end" keyword :>
i'm comparing your file with mine and it should look like this (underlined part marks the missing end)
patch do
url "https://raw.githubusercontent.com/tinez/patches/master/wine/winecoreaudio_sysex.patch"
sha256 'a4a91359ecce2a3fbaf559c692f374e9c6bcdbec50b75c01868dd26f6214fa33'
end
end
bottle do |
|
Back to top
|
|
|
blanketforts
Joined: Apr 10, 2013 Posts: 2 Location: Chicago, IL
|
Posted: Wed Aug 19, 2015 8:41 am Post subject:
Thank you! |
|
|
Just want to post a quick Thank You to tinez for putting this together. Until today I had been using a desktop PC running XP, solely dedicated to NM G1 editing. Now my studio is completely portable for the first time! I had almost given up hope that I'd ever be able to edit from my MacBook and I really appreciate your putting in the time to create this smoothly working patch! It really makes a difference to me. So Nice Job and Thanks!! |
|
Back to top
|
|
|
squarewhite
Joined: Jun 06, 2007 Posts: 82 Location: Asia
|
Posted: Sun Aug 23, 2015 9:26 am Post subject:
|
|
|
hi there,
newbie question here, how do i add the
patch do
url "https://raw.githubusercontent.com/tinez/patches/master/wine/winecoreaudio_sysex.patch"
sha256 'a4a91359ecce2a3fbaf559c692f374e9c6bcdbec50b75c01868dd26f6214fa33'
end
line to the file? I can't even find the file.... when i type brew edit wine, i see the line but i can't insert it in or don't know how to.
could someone offer me some advice on this? i'm on mac 10.8.5, MBP i5
thanks |
|
Back to top
|
|
|
fint
Joined: Sep 09, 2015 Posts: 3 Location: Den Haag
|
Posted: Wed Sep 09, 2015 12:50 pm Post subject:
|
|
|
Folder could be hidden.
In Finder goto 'Go' -> 'Go To Folder'
and type /usr/local/Library/Formula/
There you can find the wine.rb, continue from there.
I've run into some of hiccups but mostly I had to install some additional stuff, but Terminal did a good job at guiding me.
Still not fully operable. Hope to be in half an hour or so. |
|
Back to top
|
|
|
fint
Joined: Sep 09, 2015 Posts: 3 Location: Den Haag
|
Posted: Thu Sep 10, 2015 12:33 pm Post subject:
|
|
|
And yes indeed it was working within the hour.
Great. Thanks a lot!!! |
|
Back to top
|
|
|
catchpenny
Joined: Dec 17, 2011 Posts: 11 Location: glasgow
|
Posted: Fri Sep 11, 2015 5:58 am Post subject:
|
|
|
Hi!
Thanks so much for this. My old macbook finally died so im trying to get this running on my newer machine.
everything seemed to be going fine but when i get to the
Quote: |
6. run it by typing "wine Nord Modular Editor File Name.exe" (i can't remember the exact filename... ;P) |
i get:
Quote: | wine: cannot find L"C:\\windows\\system32\\Nord.exe" |
any ideas?
thanks again![/right] |
|
Back to top
|
|
|
fint
Joined: Sep 09, 2015 Posts: 3 Location: Den Haag
|
Posted: Mon Sep 14, 2015 4:22 pm Post subject:
|
|
|
I just dropped the application in my 10.9 application folder, and run it as such.
wine /Applications/Nord.exe
(renamed the application Nord because I don't want to type the long name)
Hope that helps. Didn't get around putting in the C: folder wherever that is. |
|
Back to top
|
|
|
catchpenny
Joined: Dec 17, 2011 Posts: 11 Location: glasgow
|
Posted: Mon Sep 14, 2015 4:44 pm Post subject:
|
|
|
fint wrote: | I just dropped the application in my 10.9 application folder, and run it as such.
wine /Applications/Nord.exe
(renamed the application Nord because I don't want to type the long name)
Hope that helps. Didn't get around putting in the C: folder wherever that is. |
amazing! got it working this way, thanks so much and thanks to Tinez!!! |
|
Back to top
|
|
|
squarewhite
Joined: Jun 06, 2007 Posts: 82 Location: Asia
|
Posted: Fri Sep 18, 2015 7:20 pm Post subject:
|
|
|
I managed to change the wine file, but it doesn#t seem to read my motu MTP interface nor my audio interface.... will try again next days. |
|
Back to top
|
|
|
insaner
Joined: Jul 08, 2014 Posts: 2 Location: NLD
|
|
Back to top
|
|
|
bambihustler
Joined: Oct 09, 2015 Posts: 1 Location: Montreal
|
|
Back to top
|
|
|
squarewhite
Joined: Jun 06, 2007 Posts: 82 Location: Asia
|
Posted: Sat Oct 10, 2015 10:24 pm Post subject:
|
|
|
hi there,
ok so far I managed to apprend the patch do text line and got NME for win on mac 10.8.5 started. The only problem now is that I'm getting error messages on terminal,
fixme:coreaudio:get_channel_mask Unknown speaker configuration: 26
fixme:coreaudio:get_channel_mask Unknown speaker configuration: 26
fixme:midi:MIDIOut_LongData MOD_MIDIPORT
fixme:midi:MIDIOut_LongData MOD_MIDIPORT
fixme:midi:MIDIOut_LongData MOD_MIDIPORT
fixme:midi:MIDIOut_LongData MOD_MIDIPORT
fixme:midi:MIDIOut_LongData MOD_MIDIPORT
fixme:midi:MIDIOut_LongData MOD_MIDIPORT
fixme midi?
I tried on the Motu MTP AV and the midisport USB 2x2 and both doesn't seem to get read by NME. Any suggestion as to what I should do? |
|
Back to top
|
|
|
squarewhite
Joined: Jun 06, 2007 Posts: 82 Location: Asia
|
Posted: Sun Oct 11, 2015 12:21 am Post subject:
|
|
|
wow Cool!
after upgrading my wine using brew upgrade, everything works! looks like the midisysex files are all in there! cool man thanks a million! |
|
Back to top
|
|
|
Cashman
Joined: Oct 14, 2015 Posts: 3 Location: London
|
Posted: Wed Oct 14, 2015 4:03 am Post subject:
|
|
|
New user that found this thread. I have been looking at buying a nord modular G1 this week and would love to get the editor running on OS X with no drama.
I can't even seem to follow step 1 of these instructions as i have no command line or coding experience. Even installing this Brew seems to be beyond me.
Any chance anybody could do a step by step walkthrough? Am I installing wine first and then brew?
I don't even know what these things are so it would be great if someone could help out the users with no experience or need for this stuff until now in mind. I can't even find an OS X installer for wine in the link in the original post. |
|
Back to top
|
|
|
JeEA
Joined: Sep 27, 2015 Posts: 27 Location: Denmark
|
Posted: Sat Oct 17, 2015 6:09 am Post subject:
|
|
|
Hi
Second that!
I have Wine installed, but I am not entirely sure haw to make it work |
|
Back to top
|
|
|
|