Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMLive.gml

Livecoding for GameMaker: Studio / GameMaker Studio 2 · By YellowAfterlife

[Yes] Mac?

A topic by Retchy created Sep 26, 2020 Views: 685 Replies: 12
Viewing posts 1 to 11

Hi, does this work with the Mac version of GM2.3?

Developer

Hello, it does; compared to Windows, there is minor one-time additional setup being that you'll need to install Neko VM if you don't have it yet. See documentation for more info.

I bought it and got it up and running on my Mac this afternoon. I had a few teething troubles trying to get it up and running but eventually ended up copying the binaries for Neko into the folder with the gmlive server tool to get it up and running. Still trying to get my head round how to get changes in rooms updating, so objects can be placed while running but, once the server was up and running in terminal, then I just used the 

if (live_call()) return live_result;

line in both the step event and the draw event in my player object and I was able to adjust the player movement and draw info on the screen while the game was running.

TLDR: Yes, it worked.

Awesome, thanks both :)

(1 edit)

Hey, I finally got around to trying this out and have run into this problem  when doing - neko gmlive-server.n in Terminal

Uncaught exception - load.c(181) : Module not found : gmlive-server.n

Tried moving the Neko binaries about as Xerra suggested, but didn't change anything (unless I'm not putting them in the right place)

Not sure how I'm supposed to open the gmlive-server.exe on mac, if that's the problem...
Any ideas?

These are my notes I kept for future reference once I got the extension installed and up and running in the game I've just finished. I'm going to have to set it all up again for the next project so I wrote down the important information.

To install Neko after you have downloaded it you need to cd to its path and use: "brew --prefix neko"

This should also put the neko binary into the $PATH and stop having to security exception it. You'll probably need to enter your login password here.

If you get an error after installing then also try this, as it worked for me then.

"brew reinstall neko"

Navigate to the projects datafiles/GMLive folder then select neko and press CMD/Shift/R to open terminal in that folder.

Type in "neko gmlive-server.n"

I copied the created neko binary into my gmlive folder within the project just for convenience but I'm pretty sure it was in the global path after installation.

Also note you can press ctrl c to stop the server running when you're done. I find it's best to not close the shell application once you've used it because you can then just call it up again and press up cursor to select the commands and press enter to get it quickly running again.

Awesome, thanks Xerra! I almost posted with another error that came up, but I got it working.  If anyone else goes through this, follows Xerras steps and if you get the error below you need to remove the two imported .ndll files from the datafiles/GMLive folder and it should work, as suggested in this thread - https://itch.io/t/223888/solved-not-able-to-run-live-server-on-mac

graemes-iMac:GMLive g_hawkins19$ neko gmlive-server.n

Called from C:\Tools\Dev\HaxeToolkit\haxe\std/neko/_std/Date.hx line 134

Uncaught exception - load.c(237) : Failed to load library : ./std.ndll (dlopen(./std.ndll, 1): no suitable image found.  Did find:

./std.ndll: unknown file type, first eight bytes: 0x4D 0x5A 0x90 0x00 0x03 0x00 0x00 0x00

.../.../game_project_file/datafiles/GMLive/std.ndll: unknown file type, first eight bytes: 0x4D 0x5A 0x90 0x00 0x03 0x00 0x00 0x00)

Many thanks for the help!

I'm not able to run it on Mac 12.0, any help is appreciated. Neco is installed with the method mentioned by Xerra above, but I receive this error message when I try to run the command (neko gmlive-server.n) in the "GMLive" folder:

Called from C:\Tools\Dev\HaxeToolkit\haxe\std/neko/_std/Date.hx line 134

Uncaught exception - load.c(237) : Failed to load library : ./std.ndll (dlopen(./std.ndll, 0x0001): tried: './std.ndll' (not a mach-o file), '/usr/local/lib/std.ndll' (no such file), '/usr/lib/std.ndll' (no such file), '/Users/carsten/GameMakerStudio2/FTD_Tests/datafiles/GMLive/std.ndll' (not a mach-o file), '/usr/local/lib/std.ndll' (no such file), '/usr/lib/std.ndll' (no such file))

Thanks!

(+1)

I'm just guessing here but I suspect it's because you have those 2 ndll files installed, which you don't need as they're for windows. Get rid of them and give it another go. Perhaps Neko is trying to use them just because they are there.

Thanks so much Xerra, that solved the issue and it's working fine now! :D

You're welcome. Glad you are up and running :-)

(+2)

Popping in to say I was also able to get this running on an M1 Mac Pro. I installed neko via brew though, and had no problems!