Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMLive.gml

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

Unable to compile after updating to newest IDE version and updating GMLive

A topic by Dialysis_Mac created 20 days ago Views: 58 Replies: 2
Viewing posts 1 to 2

My attempts to compile are being thwarted:

"\extensions\GMLive_fallback\pre_build_step.bat\extensions\GMLive_fallback\pre_build_step_warn.vbs was unexpected at this time."
"\extensions\GMLive_fallback\pre_build_step.bat exited with non-zero status (255)"
What's up with this?

Developer

That’s not because of GM version update, that’s because you have spaces in your project path.

Try changing extensions\GMLive_fallback\pre_built_step.bat to

@echo off
if not exist "%YYprojectDir%\scripts\GMLive\GMLive.gml" (
	echo GMLive script is amiss, copying fallback
	copy "%YYprojectDir%\scripts\GMLive\GMLive.fallback.gml" "%YYprojectDir%\scripts\GMLive\GMLive.gml"
	cscript /nologo "%~dp0pre_build_step_warn.vbs"
)

Thanks, this fixed it!