Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMLive.gml

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

Can't get shader_set_live to work in GMS 2.3.4

A topic by K.Blank created Sep 19, 2021 Views: 180 Replies: 2
Viewing posts 1 to 2

I have imported both latest version of GMLive & shader_replace_simple.

Everytime i save a live shader, the GMLive command prompt throws "Couldn't find the runtime directory! Please provide one via --runtimePath in command-line" and nothing happens.

Please forgive my ignorance, but how exactly do i provide my runtime path to it?

Developer

This is caused by the new runtime misreporting GM_runtime_version as 1.0.999.13655

The easiest would be to override the constant yourself, e.g.

#macro GM_runtime_version "2.3.4.442"

more broadly, to run GMLive-server with command-line arguments, you’d shift-right-click in its directory in Explorer, pick “Open command prompt”, and do

.\gmlive-server.exe --runtimePath C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.4.442

or alike.

Thank you! :)