• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Windows [Solved] FAILED: Run Program Complete

Biosyn

Member
Sigh,.. its that error again.

Alright. So I've trying clearing my cache, restarting my pc, updating to the latest Runtime, but GMS still fails to launch my project. I do not see any errors, and the syntax window says so as well.

Here is the output info:

"cmd" /c subst Z: "C:\Users\M Majid H\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE"
elapsed time 00:00:00.0490028s for command "cmd" /c subst Z: "C:\Users\M Majid H\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 03/23/2019 15:53:35
"cmd" /c subst Y: "C:\Users\M Majid H\AppData\Local\GameMakerStudio2\GMS2TEMP"
elapsed time 00:00:00.0410023s for command "cmd" /c subst Y: "C:\Users\M Majid H\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 03/23/2019 15:53:35
"cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.1.291"
elapsed time 00:00:00.0380022s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.1.291" started at 03/23/2019 15:53:35
Saving project to: C:\Users\M Majid H\Documents\GameMakerStudio2\1 Mar23\1 Mar23.yyp
"C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.1.291/bin/Igor.exe" -options="C:\Users\M Majid H\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -- Windows Run
Loaded Macros from C:\Users\M Majid H\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\1_Mar23_6A89C717\macros.json
Options: X:/bin\platform_setting_defaults.json
Options: C:\Users\M Majid H\AppData\Roaming/GameMakerStudio2\mmh9119_478061\local_settings.json
Options: C:\Users\M Majid H\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\1_Mar23_6A89C717\targetoptions.json
X://bin/GMAssetCompiler.exe /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=8 /gn="1 Mar23" /td="Y:/" /cd="Z:/1_Mar23_6A89C717" /zpuf="C:\Users\M Majid H\AppData\Roaming/GameMakerStudio2\mmh9119_478061" /m=windows /tgt=64 /nodnd /cfg="default" /o="Y:/1_Mar23_75E61D41_VM" /sh=True /optionsini="Y:/1_Mar23_75E61D41_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\M Majid H\Documents\GameMakerStudio2\1 Mar23\1 Mar23.yyp" /preprocess="Z:/1_Mar23_6A89C717"
Reading project file....C:\Users\M Majid H\Documents\GameMakerStudio2\1 Mar23
Reading project file....X:\BaseProject
Reading config delta 'C:\Users\M Majid H\Documents\GameMakerStudio2\1 Mar23\options\main\inherited\options_main.inherited.yy'
finished.
X://bin/GMAssetCompiler.exe DONE (0)
Release build
OptionsIni
Options: Z:/1_Mar23_6A89C717\PlatformOptions.json
[Compile] Run asset compiler
C:\Windows\system32\cmd.exe /c ""X://bin/GMAssetCompiler.exe" /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=8 /gn="1 Mar23" /td="Y:/" /cd="Z:/1_Mar23_6A89C717" /zpuf="C:\Users\M Majid H\AppData\Roaming/GameMakerStudio2\mmh9119_478061" /m=windows /tgt=64 /nodnd /cfg="default" /o="Y:/1_Mar23_75E61D41_VM" /sh=True /optionsini="Y:/1_Mar23_75E61D41_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\M Majid H\Documents\GameMakerStudio2\1 Mar23\1 Mar23.yyp" /bt=run"
Reading project file....C:\Users\M Majid H\Documents\GameMakerStudio2\1 Mar23
Reading project file....X:\BaseProject
Reading config delta 'C:\Users\M Majid H\Documents\GameMakerStudio2\1 Mar23\options\main\inherited\options_main.inherited.yy'
Compiling Shader Shader_shd_moblur... compiled with vs_4_0_level_9_1 (optimised)
Compiling Shader Shader_shd_moblur... compiled with ps_4_0_level_9_1 (optimised)
Compiling Shader Shader_shd_gaus... compiled with vs_4_0_level_9_1 (optimised)
Compiling Shader Shader_shd_gaus... compiled with ps_4_0 (optimised)
Compiling Shader Shader_shd_bloom... compiled with vs_4_0_level_9_1 (optimised)
Compiling Shader Shader_shd_bloom... compiled with ps_4_0_level_9_1 (optimised)
Compiling Shader Shader_shd_shaft... compiled with vs_4_0_level_9_1 (optimised)
Compiling Shader Shader_shd_shaft... compiled with ps_4_0_level_9_1 (optimised)
Compiling Shader Shader_shd_wave... compiled with vs_4_0_level_9_1 (optimised)
Compiling Shader Shader_shd_wave... compiled with ps_4_0_level_9_1 (optimised)
finished.
Compile Constants...finished.
Remove DnD...finished.
Compile Scripts...finished.
Compile Objects...
Error : gml_Object_oadd_des_minion_Step_2(73) : cannot use function/script name for a variable, using "place_free"
finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Rooms...finished.
Compile Extensions...finished.
Global scripts...finished.
collapsing enums.
Error : gml_Object_oadd_des_minion_Step_2(73) : malformed if statement
Final Compile...finished.
Looking for built-in particle images in X:\bin\ParticleImages
Saving IFF file... Y:/1_Mar23_75E61D41_VM\1 Mar23.win
Writing Chunk... GEN8
option_game_speed=60
Writing Chunk... OPTN
Writing Chunk... LANG
Writing Chunk... EXTN
Writing Chunk... SOND
Writing Chunk... AGRP
Writing Chunk... SPRT
Writing Chunk... BGND
Writing Chunk... PATH
Writing Chunk... SCPT
Writing Chunk... GLOB
Writing Chunk... SHDR
Writing Chunk... FONT
Writing Chunk... TMLN
Writing Chunk... OBJT
Writing Chunk... ROOM
Writing Chunk... DAFL
Writing Chunk... EMBI
Writing Chunk... TPAGE
Texture Group - arc_mod
Texture Group - char_ang
Texture Group - char_bg
Texture Group - char_bio
Texture Group - char_des
Texture Group - char_dsg
Texture Group - char_g60
Texture Group - char_G90
Texture Group - char_gig
Texture Group - char_hed
Texture Group - char_hkg
Texture Group - char_hmg
Texture Group - char_lmo
Texture Group - char_meg
Texture Group - char_mg
Texture Group - char_mkg
Texture Group - char_mog
Texture Group - char_shn
Texture Group - char_skg
Texture Group - char_smg
Texture Group - char_tko
Texture Group - char_zil
Texture Group - Default
Texture Group - Eff
Texture Group - hud
Texture Group - intro
Texture Group - map
Texture Group - menu
Texture Group - test
Texture Group - trans
Writing Chunk... TGIN
Writing Chunk... CODE
Writing Chunk... VARI
Writing Chunk... FUNC
Writing Chunk... STRG
Writing Chunk... TXTR
0 Compressing texture... writing texture texture_0.png...
1 Compressing texture... writing texture texture_1.png...
2 Compressing texture... writing texture texture_2.png...
3 Compressing texture... writing texture texture_3.png...
4 Compressing texture... writing texture texture_4.png...
5 Compressing texture... writing texture texture_5.png...
6 Compressing texture... writing texture texture_6.png...
7 Compressing texture... writing texture texture_7.png...
8 Compressing texture... writing texture texture_8.png...
9 Compressing texture... writing texture texture_9.png...
10 Compressing texture... writing texture texture_10.png...
11 Compressing texture... writing texture texture_11.png...
12 Compressing texture... writing texture texture_12.png...
13 Compressing texture... writing texture texture_13.png...
14 Compressing texture... writing texture texture_14.png...
15 Compressing texture... writing texture texture_15.png...
16 Compressing texture... writing texture texture_16.png...
17 Compressing texture... writing texture texture_17.png...
18 Compressing texture... writing texture texture_18.png...
19 Compressing texture... writing texture texture_19.png...
20 Compressing texture... writing texture texture_20.png...
21 Compressing texture... writing texture texture_21.png...
22 Compressing texture... writing texture texture_22.png...
23 Compressing texture... writing texture texture_23.png...
24 Compressing texture... writing texture texture_24.png...
25 Compressing texture... writing texture texture_25.png...
26 Compressing texture... writing texture texture_26.png...
27 Compressing texture... writing texture texture_27.png...
28 Compressing texture... writing texture texture_28.png...
29 Compressing texture... writing texture texture_29.png...
30 Compressing texture... writing texture texture_30.png...
31 Compressing texture... writing texture texture_31.png...
32 Compressing texture... writing texture texture_32.png...
33 Compressing texture... writing texture texture_33.png...
34 Compressing texture... writing texture texture_34.png...
35 Compressing texture... writing texture texture_35.png...
36 Compressing texture... writing texture texture_36.png...
37 Compressing texture... writing texture texture_37.png...
38 Compressing texture... writing texture texture_38.png...
39 Compressing texture... writing texture texture_39.png...
40 Compressing texture... writing texture texture_40.png...
41 Compressing texture... writing texture texture_41.png...
42 Compressing texture... writing texture texture_42.png...
43 Compressing texture... writing texture texture_43.png...
44 Compressing texture... writing texture texture_44.png...
45 Compressing texture... writing texture texture_45.png...
46 Compressing texture... writing texture texture_46.png...
47 Compressing texture... writing texture texture_47.png...
48 Compressing texture... writing texture texture_48.png...
49 Compressing texture... writing texture texture_49.png...
50 Compressing texture... writing texture texture_50.png...
51 Compressing texture... writing texture texture_51.png...
52 Compressing texture... writing texture texture_52.png...
53 Compressing texture... writing texture texture_53.png...
54 Compressing texture... writing texture texture_54.png...
55 Compressing texture... writing texture texture_55.png...
56 Compressing texture... writing texture texture_56.png...
Writing Chunk... AUDO
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... STRG
Stats : GMA : Elapsed=240489.7552
Stats : GMA : sp=1762,au=0,bk=0,pt=0,sc=157,sh=5,fo=7,tl=82,ob=356,ro=10,da=330,ex=0,ma=221,fm=0x4000A33D6CFC2AB0
C:\Windows\system32\cmd.exe exited with non-zero status (1)
elapsed time 00:04:39.1619672s for command "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.1.291/bin/Igor.exe" -options="C:\Users\M Majid H\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -- Windows Run started at 03/23/2019 15:53:35
"cmd" /c subst Z: /d
elapsed time 00:00:00.9320533s for command "cmd" /c subst Z: /d started at 03/23/2019 15:58:15
"cmd" /c subst Y: /d
elapsed time 00:00:00.0430024s for command "cmd" /c subst Y: /d started at 03/23/2019 15:58:15
"cmd" /c subst X: /d
elapsed time 00:00:00.0410023s for command "cmd" /c subst X: /d started at 03/23/2019 15:58:16
FAILED: Run Program Complete

Any help would be appreciated. Thanks.
 

Biosyn

Member
Nvm, fixed it. Just noticed an error with the "minion" object. I hope future updates will allow GMS 2 to inform me when there is an error. It couldn't pick out the if (place_free) as being malformed (should be ("if place_free(x,y)" ).
 
I hope future updates will allow GMS 2 to inform me when there is an error. It couldn't pick out the if (place_free) as being malformed (should be ("if place_free(x,y)" ).
The output window is clearly telling you that there is an error, and where it is. You just need to look at the output to find the two places where it is telling you the errors. I don't think newer versions should have to provide more information as what is there is fine provided people actually read the output window (or just search it for "Error").
 

Biosyn

Member
The output window is clearly telling you that there is an error, and where it is. You just need to look at the output to find the two places where it is telling you the errors. I don't think newer versions should have to provide more information as what is there is fine provided people actually read the output window (or just search it for "Error").
I was talking about the code editor, not the output window. Errors such as the one with place_free above cannot be picked by the code editor which is something I didn't know until now. I meant if this particular issue could be addressed in later updates. Isn't it more convenient to be informed about an error on the spot instead of waiting for your project to compile, having it fail to run, copying the output text into notepad, searching for the error, correcting the problem, then compiling again?
 
Top