Skip to content

Feature request: Mac/Linux support #4

Open

Description

@Boobies

Would it be possible to include a Linux port of Open Minecraft Note Block Studio? Perhaps in the form of a .deb package or something.

Activity

  1. encode42 commented on Mar 10, 2019

    @encode42
    Member

    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.

  2. HielkeMinecraft commented on Mar 11, 2019

    @HielkeMinecraft
    Collaborator

    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.

  3. Boobies commented on Mar 12, 2019

    @Boobies
    Author

    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.

  4. HielkeMinecraft commented on Mar 12, 2019

    @HielkeMinecraft
    Collaborator

    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.

  5. Boobies commented on Mar 13, 2019

    @Boobies
    Author

    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?

  6. HielkeMinecraft commented on Mar 13, 2019

    @HielkeMinecraft
    Collaborator

    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 :-/

  7. Boobies commented on Mar 14, 2019

    @Boobies
    Author

    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.

  8. HielkeMinecraft commented on Mar 16, 2019

    @HielkeMinecraft
    Collaborator

    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.

  9. Boobies commented on Mar 18, 2019

    @Boobies
    Author

    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.

  10. stuffbydavid commented on Mar 18, 2019

    @stuffbydavid

    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!!

  11. Boobies commented on Mar 18, 2019

    @Boobies
    Author

    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.

  12. leafs444 commented on Jul 4, 2019

    @leafs444

    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...

  13. ShinkoNet commented on Jul 4, 2019

    @ShinkoNet
    Collaborator

    Could you explain the method in doing so? I'm interested in doing this.

  14. leafs444 commented on Jul 4, 2019

    @leafs444

    I found the libraries and replaced them with minor coding skills (just switched the code for the libraries)

  15. 60 remaining items

  16. EvilSupahFly commented on Dec 19, 2024

    @EvilSupahFly

    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.

  17. OctoFlareDev commented on Dec 19, 2024

    @OctoFlareDev
    Collaborator

    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.

  18. EvilSupahFly commented on Dec 19, 2024

    @EvilSupahFly

    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?

  19. OctoFlareDev commented on Dec 19, 2024

    @OctoFlareDev
    Collaborator

    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.

  20. OctoFlareDev commented on Dec 28, 2024

    @OctoFlareDev
    Collaborator

    TestFlight open!
    Join the Note Block Studio beta for macOS!

    https://testflight.apple.com/join/hg58hwbM

  21. SoCuul commented on Dec 30, 2024

    @SoCuul

    TestFlight open! Join the Note Block Studio beta for macOS!

    https://testflight.apple.com/join/hg58hwbM

    @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?"

  22. SoCuul commented on Dec 30, 2024

    @SoCuul

    Also the program defaults on macOS should include:

    • Max frame rate: 120fps
    • Accent colour: 0, 122, 255 (matches apple's human interface guidelines)
    • Window scale: 200%
    • Optimize for high resolutions: true

    This provides a good out-of-the-box experience for macOS users, and makes the program look optimal on MacBook retina displays.


    Before:
    Before applying suggested changes

    After:
    After applying suggested changes

  23. OctoFlareDev commented on Feb 8, 2025

    @OctoFlareDev
    Collaborator

    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.

  24. SoCuul commented on Jun 21, 2025

    @SoCuul

    @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.

  25. WhatDamon commented on Jul 31, 2025

    @WhatDamon

    TestFlight open! Join the Note Block Studio beta for macOS!

    https://testflight.apple.com/join/hg58hwbM

    Image

    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"

    Image

    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 🤔

  26. OctoFlareDev commented on Aug 3, 2025

    @OctoFlareDev
    Collaborator

    https://pixeldrain.com/u/PettPhVH
    I've created a new linux build, please test it

  27. OctoFlareDev commented on Aug 3, 2025

    @OctoFlareDev
    Collaborator

    @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

  28. mrt-236 commented on Nov 23, 2025

    @mrt-236

    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...

  29. OctoFlareDev commented on Jan 19, 2026

    @OctoFlareDev
    Collaborator

    New linux build: https://pixeldrain.com/u/f57QKfkE
    Feature is now on par with macOS

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions