You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought perhaps they came with GameMaker Studio, which I am not particularly familiar with. Do you know who the author is? Perhaps we can contact the auhor for help (either for the source or the shared object files). And, for that matter, aren't there potential licensing issues surrounding those files?
No, as in the code they are specified as libraries. You can find a lot of them online: http://www.gmtoolbox.com/
I have no idea who made these files and what the licenses they have. Your guess is as good as mine :-/
Chances are they do Windows-specific things anyway judging from their names (e.g., window.dll) so it's possibly not as simple as providing .so's. Otherwise, we could have used objcopy. Could you identify where in the code these are used? If it's not a million functions being used, perhaps I could reimplement them using portable libraries.
As far as I know the .dll files are only loaded in once, in lib_init. There they are put into global variables. If you were to make .so variants that would do exactly the same thing as the .dll ones, we could just have a check, and if the platform is linux, the .so files will be used. But is that even possible, without having the source code? :-/
Still, this is just one thing that won't work on Linux. More things might be broken.
The main reason why it's done this way, as far as I can tell, is that GML is a dumb language which doesn't abstract away calling conventions and such. At any rate, it would be possible, because it would not rely on those libraries at all; I would implement the functionality myself from scratch --- as long as it's not too much work (I expect that while those libraries have a lot of features, not too many are used by this specific program).
That said, in the mean while, I have tracked down one of the libraries. It seems to have its full source code available, and support is included Linux as well as macOS:
window.dll and midiinput.dll use Windows features like ShowWindow and midiInGetDevCaps, so they'll need to be rewritten from scratch. audio.dll and file.dll use the FFMPEG and Boost libraries which are cross-platform and require less changes.
At any rate, if anything takes too much work to port, I'll also consider looking into how ditficult it is to replace them with cross-platform alternatives. Any idea as to how tight the coupling between these and Open Minecraft Note Block Studio is? Cause if it's just a matter of changing some calls and data structures, things should progress very quickly.
I know this is kinda necrotic but this isn't a forum so I have no reason not to tell y'all that I found a way to pretty much make this run without a compatibility layer (WINE (If its not an emulator then its a compatibility layer)) but I can't legally share it so... But it is possible...
Since there is no midi device library for macOS and linux, these platforms have no way of supporting midi devices right now!
On Linux you should be able to call on ALSA for MIDI. Generally, as long as your drivers are current and correct, the MIDI sequencer is normally accessed via /dev/snd/seq.
At the time of writing, PuleAudio doesn't support MIDI out of the box, but there are wrappers for OSS and PulseAudio available to mediate.
I haven't worked on an Apple computer since my Quadra 950 stopped getting MacOS 9 updates, but from what I understand of the Apple Developer whitepapers, Apple's Core MIDI framework provides the requisite APIs.
Since there is no midi device library for macOS and linux, these platforms have no way of supporting midi devices right now!
On Linux you should be able to call on ALSA for MIDI. Generally, as long as your drivers are current and correct, the MIDI sequencer is normally accessed via /dev/snd/seq.
At the time of writing, PuleAudio doesn't support MIDI out of the box, but there are wrappers for OSS and PulseAudio available to mediate.
I haven't worked on an Apple computer since my Quadra 950 stopped getting MacOS 9 updates, but from what I understand of the Apple Developer whitepapers, Apple's Core MIDI framework provides the requisite APIs.
Hi, accessing MIDI devices in GameMaker require a native library which doesn't exist for macOS and linux right now, to my knowledge. If we want to achieve that, we need to create one on our own. However, we don't have much people who are experienced in writing cross platform libraries for GameMaker on our team yet.
Ah. I misunderstood. I thought it was an OS issue, not a functionality limitation of GMS. That being the case then, what about the GMS Simple MIDI project?
Ah. I misunderstood. I thought it was an OS issue, not a functionality limitation of GMS. That being the case then, what about the GMS Simple MIDI project?
Hmm, this one looks like it will work. I'll test it out when I have time.
@OctoFlareDev There seems to be an issue with the update checker. Upon launching the program, it tells me "Version 3.11.0 is available! Do you want to download it?"
If anyone is experiencing a black screen not responding when try to open the testflight version, if you can, PLEASE upload the stacktrace here when you attach a debugger from xcode (or if a crash report is generated, please report it in the popup), it's needed for me to reproduce this error.
@OctoFlareDev It seems that the program settings are only being saved when a project is saved as well.
When I opened the program, edited a setting, then closed it, it didn't save.
However when I made sure to save the project file before exiting, the settings changes saved.
I think the menubar should move to the system menubar for a better experience for macOS users
The application name should not be displayed as "New song", "Unsaved song" and so on at menubar, instead, "Minecraft Note Block Studio" or simply "Note Block Studio"
About dialog shows the wrong application name too 😂 (through I think the About Button at system menubar should redirect to the software About dialog)
I also suggest that use 200% window scale and enbale optimize for high resolutions by default on Retina Mac as @SoCuul mentioned.
Yet, the trackpads support on macOS build of NBS is suck now, and need to be optimized
I don't think the current icon can display well at macOS 26, if needed, use Icon Composer to make a new icon support Liquid Glass 🤔
@WhatDamon Hi! Thanks for the feedback, window title, window scale and the icon should be working in the latest TestFlight build now.
Unfortunately, accessing the system menu bar and reading precise trackpad input is not possible due to NBS using the GameMaker engine, that will be solved in version 4.0 in the future.
Update: system menu bar is implemented
I tried it with proton experimental on steam (Library/Add a non-steam game/(Wine installed path, the installer works but the app doesnt with wine). Then I added it, and forced use of proton experimental. Its very scuffed, the window wont resize for me it will start tweaking (KDE), but it works...
Activity
encode42 commentedon Mar 10, 2019
I've been able to install and run the EXE through the latest version of wine on Linux Mint just fine.
Edit:
Forgot to mention that it works perfectly fine so far.
HielkeMinecraft commentedon Mar 11, 2019
Yeah right now the best thing you can do is to use Wine, as many things have been made with Windows in mind, and won't work on Linux.
Boobies commentedon Mar 12, 2019
Wow, this is suddenly looking like a forum rather than a bug tracker :) I wasn't looking for a workaround, guys; I've been using Wine too.
HielkeMinecraft commentedon Mar 12, 2019
Upon further inspection of the code, I think it's pretty much impossible.
Just look at the .dll files at OpenNoteBlockStudio/datafiles/Data/
These files obviously won't work on Linux, and because I don't have the source code for them, making .so variants to work on Linux is... Impossible.
Boobies commentedon Mar 13, 2019
I thought perhaps they came with GameMaker Studio, which I am not particularly familiar with. Do you know who the author is? Perhaps we can contact the auhor for help (either for the source or the shared object files). And, for that matter, aren't there potential licensing issues surrounding those files?
HielkeMinecraft commentedon Mar 13, 2019
No, as in the code they are specified as libraries. You can find a lot of them online: http://www.gmtoolbox.com/
I have no idea who made these files and what the licenses they have. Your guess is as good as mine :-/
Boobies commentedon Mar 14, 2019
Chances are they do Windows-specific things anyway judging from their names (e.g., window.dll) so it's possibly not as simple as providing .so's. Otherwise, we could have used objcopy. Could you identify where in the code these are used? If it's not a million functions being used, perhaps I could reimplement them using portable libraries.
HielkeMinecraft commentedon Mar 16, 2019
As far as I know the .dll files are only loaded in once, in lib_init. There they are put into global variables. If you were to make .so variants that would do exactly the same thing as the .dll ones, we could just have a check, and if the platform is linux, the .so files will be used. But is that even possible, without having the source code? :-/
Still, this is just one thing that won't work on Linux. More things might be broken.
Boobies commentedon Mar 18, 2019
The main reason why it's done this way, as far as I can tell, is that GML is a dumb language which doesn't abstract away calling conventions and such. At any rate, it would be possible, because it would not rely on those libraries at all; I would implement the functionality myself from scratch --- as long as it's not too much work (I expect that while those libraries have a lot of features, not too many are used by this specific program).
That said, in the mean while, I have tracked down one of the libraries. It seems to have its full source code available, and support is included Linux as well as macOS:
https://marketplace.yoyogames.com/assets/575/execute-shell
As far as I can tell, everything from file.dll and window.dll can easily be done using GameMaker's built-in functions. I haven't investigated further.
stuffbydavid commentedon Mar 18, 2019
Hi, here are the sources for the DLLs you need to port:
https://github.com/stuffbydavid/audio-DLL
https://github.com/stuffbydavid/midi-input-DLL
https://github.com/stuffbydavid/window-DLL
https://github.com/stuffbydavid/file-DLL
window.dll and midiinput.dll use Windows features like ShowWindow and midiInGetDevCaps, so they'll need to be rewritten from scratch. audio.dll and file.dll use the FFMPEG and Boost libraries which are cross-platform and require less changes.
Good luck!!
Boobies commentedon Mar 18, 2019
You must be the original author :)
At any rate, if anything takes too much work to port, I'll also consider looking into how ditficult it is to replace them with cross-platform alternatives. Any idea as to how tight the coupling between these and Open Minecraft Note Block Studio is? Cause if it's just a matter of changing some calls and data structures, things should progress very quickly.
I haven't really looked at the APIs yet.
leafs444 commentedon Jul 4, 2019
I know this is kinda necrotic but this isn't a forum so I have no reason not to tell y'all that I found a way to pretty much make this run without a compatibility layer (WINE (If its not an emulator then its a compatibility layer)) but I can't legally share it so... But it is possible...
ShinkoNet commentedon Jul 4, 2019
Could you explain the method in doing so? I'm interested in doing this.
leafs444 commentedon Jul 4, 2019
I found the libraries and replaced them with minor coding skills (just switched the code for the libraries)
60 remaining items
EvilSupahFly commentedon Dec 19, 2024
On Linux you should be able to call on ALSA for MIDI. Generally, as long as your drivers are current and correct, the MIDI sequencer is normally accessed via
/dev/snd/seq.At the time of writing, PuleAudio doesn't support MIDI out of the box, but there are wrappers for OSS and PulseAudio available to mediate.
I haven't worked on an Apple computer since my Quadra 950 stopped getting MacOS 9 updates, but from what I understand of the Apple Developer whitepapers, Apple's Core MIDI framework provides the requisite APIs.
OctoFlareDev commentedon Dec 19, 2024
Hi, accessing MIDI devices in GameMaker require a native library which doesn't exist for macOS and linux right now, to my knowledge. If we want to achieve that, we need to create one on our own. However, we don't have much people who are experienced in writing cross platform libraries for GameMaker on our team yet.
EvilSupahFly commentedon Dec 19, 2024
Ah. I misunderstood. I thought it was an OS issue, not a functionality limitation of GMS. That being the case then, what about the GMS Simple MIDI project?
OctoFlareDev commentedon Dec 19, 2024
Hmm, this one looks like it will work. I'll test it out when I have time.
OctoFlareDev commentedon Dec 28, 2024
TestFlight open!
Join the Note Block Studio beta for macOS!
https://testflight.apple.com/join/hg58hwbM
SoCuul commentedon Dec 30, 2024
@OctoFlareDev There seems to be an issue with the update checker. Upon launching the program, it tells me "Version 3.11.0 is available! Do you want to download it?"
SoCuul commentedon Dec 30, 2024
Also the program defaults on macOS should include:
This provides a good out-of-the-box experience for macOS users, and makes the program look optimal on MacBook retina displays.
Before:

After:

OctoFlareDev commentedon Feb 8, 2025
If anyone is experiencing a black screen not responding when try to open the testflight version, if you can, PLEASE upload the stacktrace here when you attach a debugger from xcode (or if a crash report is generated, please report it in the popup), it's needed for me to reproduce this error.
SoCuul commentedon Jun 21, 2025
@OctoFlareDev It seems that the program settings are only being saved when a project is saved as well.
When I opened the program, edited a setting, then closed it, it didn't save.
However when I made sure to save the project file before exiting, the settings changes saved.
WhatDamon commentedon Jul 31, 2025
I think the menubar should move to the system menubar for a better experience for macOS users
The application name should not be displayed as "New song", "Unsaved song" and so on at menubar, instead, "Minecraft Note Block Studio" or simply "Note Block Studio"
About dialog shows the wrong application name too 😂 (through I think the About Button at system menubar should redirect to the software About dialog)
I also suggest that use 200% window scale and enbale optimize for high resolutions by default on Retina Mac as @SoCuul mentioned.
Yet, the trackpads support on macOS build of NBS is suck now, and need to be optimized
I don't think the current icon can display well at macOS 26, if needed, use Icon Composer to make a new icon support Liquid Glass 🤔
OctoFlareDev commentedon Aug 3, 2025
https://pixeldrain.com/u/PettPhVH
I've created a new linux build, please test it
OctoFlareDev commentedon Aug 3, 2025
@WhatDamon Hi! Thanks for the feedback, window title, window scale and the icon should be working in the latest TestFlight build now.
Unfortunately, accessing the system menu bar and reading precise trackpad input is not possible due to NBS using the GameMaker engine, that will be solved in version 4.0 in the future.
Update: system menu bar is implemented
mrt-236 commentedon Nov 23, 2025
I tried it with proton experimental on steam (Library/Add a non-steam game/(Wine installed path, the installer works but the app doesnt with wine). Then I added it, and forced use of proton experimental. Its very scuffed, the window wont resize for me it will start tweaking (KDE), but it works...
OctoFlareDev commentedon Jan 19, 2026
New linux build: https://pixeldrain.com/u/f57QKfkE
Feature is now on par with macOS