• 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.

UWP Error for XBox - YYC UWP

A

actruncale

Guest
Anyone have a solution to this problem? I can run the game on my XBox with the standard UWP but it gives me an error when I try to run it as YYC. Below is the log i get.

This might be the main issue?
'"C:/Program Files (x86)/Microsoft Visual Studio 14.0"' is not recognized as an internal or external command, operable program or batch file.
Code:
"cmd"  /c subst Z: "C:\Users\Adam\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE"

elapsed time 00:00:00.0385373s for command "cmd" /c subst Z: "C:\Users\Adam\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 02/07/2018 23:45:29
Saving project to: C:\Users\Adam\Documents\GameMakerStudio2\TheSuperfluous\TheSuperfluous.yyp
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.3.189/bin/Igor.exe"  -options="C:\Users\Adam\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff"  -- WinUWP Run

Loaded Macros from C:\Users\Adam\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\TheSuperfl_1065B79E_D70E2412\macros.json
Options: C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.3.189\bin\platform_setting_defaults.json
Options: C:\Users\Adam\AppData\Roaming/GameMakerStudio2\adam_2115\local_settings.json
Options: C:\Users\Adam\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\TheSuperfl_1065B79E_D70E2412\targetoptions.json
C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.3.189/bin/GMAssetCompiler.exe  /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=4 /gn="TheSuperfluous" /td="C:\Users\Adam\AppData\Local\GameMakerStudio2\GMS2TEMP" /cd="Z:\TheSuperfl_1065B79E_D70E2412" /zpuf="C:\Users\Adam\AppData\Roaming/GameMakerStudio2\adam_2115" /m=llvm-winUAP /tgt=35184372088832 /llvmSource="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.3.189/yyc/"  /nodnd /cfg=default /o="C:\Users\Adam\AppData\Local\GameMakerStudio2\GMS2TEMP\TheSuperfluous_2B99D5AC_YYC" /sh=True /optionsini="C:\Users\Adam\AppData\Local\GameMakerStudio2\GMS2TEMP\TheSuperfluous_2B99D5AC_YYC\options.ini"  /cvm /baseproject="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.3.189\BaseProject\BaseProject.yyp" "C:\Users\Adam\Documents\GameMakerStudio2\TheSuperfluous\TheSuperfluous.yyp" /preprocess="Z:\TheSuperfl_1065B79E_D70E2412"
Reading project file....C:\Users\Adam\Documents\GameMakerStudio2\TheSuperfluous
Reading project file....C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.1.3.189\BaseProject
Reading config delta 'C:\Users\Adam\Documents\GameMakerStudio2\TheSuperfluous\options\main\inherited\options_main.inherited.yy'
finished.


C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.3.189/bin/GMAssetCompiler.exe DONE (0)
Release build
Options: Z:\TheSuperfl_1065B79E_D70E2412\PlatformOptions.json
Options: Z:\TheSuperfl_1065B79E_D70E2412\MainOptions.json
working dir: C:\Program Files\GameMaker Studio 2
C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.3.189\bin\dpdeploy.exe -s -c "C:\Users\Adam\AppData\Local\Temp\dpdeploy-container-2df43f2779e3999ff21f2c61112539b8" -h=192.168.1.20:11443 -u=88888 -p=***** info
pkgname is com.voidedpixels.thesuperfluous
working dir: C:\Program Files\GameMaker Studio 2
C:\WINDOWS\system32\certutil.exe  -p "" "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.3.189\BaseProject\options\windowsuap\keys\WinUWPRunner_TemporaryKey.pfx"
Package full name is : com.voidedpixels.thesuperfluous_1.0.0.0_x64__ry4dcfwkadf3m
working dir: C:\Program Files\GameMaker Studio 2
C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.3.189\bin\dpdeploy.exe -s -c "C:\Users\Adam\AppData\Local\Temp\dpdeploy-container-2df43f2779e3999ff21f2c61112539b8" -h=192.168.1.20:11443 -u=88888 -p=***** stop com.voidedpixels.thesuperfluous_1.0.0.0_x64__ry4dcfwkadf3m
[Compile] Run asset compiler
C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.3.189/bin/GMAssetCompiler.exe  /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=4 /gn="TheSuperfluous" /td="C:\Users\Adam\AppData\Local\GameMakerStudio2\GMS2TEMP" /cd="Z:\TheSuperfl_1065B79E_D70E2412" /zpuf="C:\Users\Adam\AppData\Roaming/GameMakerStudio2\adam_2115" /m=llvm-winUAP /tgt=35184372088832 /llvmSource="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.3.189/yyc/"  /nodnd /cfg=default /o="C:\Users\Adam\AppData\Local\GameMakerStudio2\GMS2TEMP\TheSuperfluous_2B99D5AC_YYC" /sh=True /optionsini="C:\Users\Adam\AppData\Local\GameMakerStudio2\GMS2TEMP\TheSuperfluous_2B99D5AC_YYC\options.ini"  /cvm /baseproject="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.3.189\BaseProject\BaseProject.yyp" "C:\Users\Adam\Documents\GameMakerStudio2\TheSuperfluous\TheSuperfluous.yyp" /optionsini="C:\Users\Adam\AppData\Local\GameMakerStudio2\GMS2TEMP\TheSuperfluous_2B99D5AC_YYC\options.ini"  /bt=run
Reading project file....C:\Users\Adam\Documents\GameMakerStudio2\TheSuperfluous
Reading project file....C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.1.3.189\BaseProject
Reading config delta 'C:\Users\Adam\Documents\GameMakerStudio2\TheSuperfluous\options\main\inherited\options_main.inherited.yy'
finished.
Compile Constants...finished.
Remove DnD...finished.
Compile Scripts...finished.
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Rooms...finished.
Compile Extensions...finished.
Global scripts...finished.
Final Compile...finished.
Writing Chunk... GEN8
option_game_speed=60
Writing Chunk... OPTN
Writing Chunk... LANG
Writing Chunk... EXTN
Writing Chunk... SOND
*writing audio file LevelMusic1.ogg...
*writing audio file LevelMusic2.ogg...
*writing audio file LevelMusic3.ogg...
*writing audio file LevelMusic4.ogg...
*writing audio file LevelMusic5.ogg...
*writing audio file TitleMusic.ogg...
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 - BACKGROUNDS
Texture Group - Default
Texture Group - FONTS
Texture Group - ITEMS
Texture Group - LAND
Texture Group - MOBS
Texture Group - PLAYER
Texture Group - UI
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...
Writing Chunk... AUDO
Using SDKDir = C:\Program Files (x86)\Microsoft Durango XDK
saving file C:\Users\Adam\AppData\Local\GameMakerStudio2\GMS2TEMP\TheSuperfluous_2B99D5AC_YYC\TheSuperfluous.win
Stats : GMA : Elapsed=2551.4897
Stats : GMA : sp=295,au=48,bk=2,pt=0,sc=148,sh=1,fo=6,tl=0,ob=234,ro=21,da=71,ex=6,ma=142,fm=0xE240B29D6DFC2EB4


C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.3.189/bin/GMAssetCompiler.exe DONE (0)
working dir: C:\Program Files\GameMaker Studio 2
C:\WINDOWS\system32\cmd.exe  /c ""C:/Program Files (x86)/Microsoft Visual Studio 14.0"
C:\WINDOWS\system32\cmd.exe  /c ""C:/Program Files (x86)/Microsoft Visual Studio 14.0" && Z: && cd "Z:\TheSuperfl_1065B79E_D70E2412\TheSuperfluous\default\Scripts\WinUAPSolution" && msbuild /m:%NUMBER_OF_PROCESSORS% "TheSuperfluous.sln" /p:Configuration=Release /p:Platform="x64" /t:build /verbosity:minimal"
'"C:/Program Files (x86)/Microsoft Visual Studio 14.0"' is not recognized as an internal or external command,
operable program or batch file.


C:\WINDOWS\system32\cmd.exe exited with non-zero status (1)
elapsed time 00:00:07.1634192s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.1.3.189/bin/Igor.exe" -options="C:\Users\Adam\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff"  -- WinUWP Run started at 02/07/2018 23:45:29
"cmd"  /c subst Z: /d

elapsed time 00:00:00.0350334s for command "cmd" /c subst Z: /d started at 02/07/2018 23:45:36
FAILED: Run Program Complete
 
L

Lonewolff

Guest
Not sure. I was going to say to check that you are building for 64bit. But the logs confirm you are already doing that.
 
K

Kobold

Guest
I suspect you have not selected the "vcvars32.bat" in your Visual Studio location,... on my machine it looks like that:
Code:
C:/Program Files (x86)/Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat
...but I guess you are able to build a standard project using the YYC when compiling under Windows only....
...so I guess nevermind me
 
A

actruncale

Guest
Really odd. This is the only thing stopping me from publishing on Xbox. I need it to run YYC for performance reasons.
 
A

actruncale

Guest
I suspect you have not selected the "vcvars32.bat" in your Visual Studio location,... on my machine it looks like that:
Code:
C:/Program Files (x86)/Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat
...but I guess you are able to build a standard project using the YYC when compiling under Windows only....
...so I guess nevermind me
How would I check that?
 
K

Kobold

Guest
You have to open the folder and select the file "vcvars32.bat" within the folder (from my reply above) when setting the path to Visual Studio in the "preferences".
File -> Preferences -> Platform Settings -> Windows UWP -> Visual Studio location
 
A

actruncale

Guest
You have to open the folder and select the file "vcvars32.bat" within the folder (from my reply above) when setting the path to Visual Studio in the "preferences".
File -> Preferences -> Platform Settings -> Windows UWP -> Visual Studio location
I think that did it. It must have been pointing to a different path or old version? Thanks, it is compiling now! Really odd it worked for somethings and not others.
 
K

Kobold

Guest
...it's behaving a little interesting sometimes.
I have gone through every possible scenario 3 hours into the whole set-up... until I arrived at following routine that always works:
- login to the Test Account via Wireless (only at start)
- Uninstall your previous XBox Game
- Plug in the Patch Cable (from there on you don't need to do that any longer until the next fire-up)
- let it compile (most of the time it will return "fail" but still deploy the App...)
- run the deployed game

edit: the thing that seems to work the best is using the wireless to login and then disconnect by plugging in the network cable and before every build uninstall the previous build
 
Last edited:
Top