Description
Currently crashes on load, caused by
some function calls have over 100 arguments, can be fixed by changing
ctx->scriptArgs = scriptArgs;
to
ctx->scriptArgs = (GML_MAX_ARGUMENTS >= argCount) ? scriptArgs : safeCalloc(argCount, sizeof(RValue));
in VM_callCodeIndex in vm.c to allow any number of arguments
and also VM_STACK_SIZE is not large enough and it can be fixed by increasing it (for example changing it from 1024 to 4096)
then the game is able to load but the menu is very glitched out
Game URL
https://store.steampowered.com/app/1468260/Leaf_Blower_Revolution__Idle_Game/
WAD Version
WAD Version 17
Butterscotch Target
Desktop (Windows, macOS, Linux)
Description
Currently crashes on load, caused by
some function calls have over 100 arguments, can be fixed by changing
ctx->scriptArgs = scriptArgs;to
ctx->scriptArgs = (GML_MAX_ARGUMENTS >= argCount) ? scriptArgs : safeCalloc(argCount, sizeof(RValue));in VM_callCodeIndex in vm.c to allow any number of arguments
and also VM_STACK_SIZE is not large enough and it can be fixed by increasing it (for example changing it from 1024 to 4096)
then the game is able to load but the menu is very glitched out
Game URL
https://store.steampowered.com/app/1468260/Leaf_Blower_Revolution__Idle_Game/
WAD Version
WAD Version 17
Butterscotch Target
Desktop (Windows, macOS, Linux)