GMS2(Gamemaker Studio 2)运行工程时遇到的问题解决

来源:互联网 发布:企业版专车软件 编辑:程序博客网 时间:2024/06/06 14:22

文章最初发表于szhshp的第三边境研究所
转载请注明

近期使用了GMS2

刚开始运行官方Demo的时候出现了一些问题,这里集中一下解决方案

FAILED: Run Program Complete

在Win10下直接运行Demo出现错误:

 C:\Windows\system32\cmd.exe exited with non-zero status (1)elapsed time 00:00:02.5630000s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.0.1.16/bin/Igor.exe" -options="C:\Users\Kaiser\AppData\Local\Temp\GameMakerStudio2\build.bff" -- Windows Run started at 02/12/2017 20:25:49FAILED : Run Program Complete

这是运行环境安装出现了问题,可能和杀毒软件或者系统权限有关。解决方法:

  1. file/prefrences/feeds/master 下载最新的Runtime, 如果已经是最新的就删掉重装
  2. 关闭杀软
  3. 以管理员权限打开GMS2

System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified

这也是一个很典型的安装环境失败的问题

C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.0.1.16/windows/Runner.exe  -game "C:\Users\Dave\AppData\Local\Temp\GameMakerStudio2\Test_50CBC7E2\Test.win"System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)   at System.Diagnostics.Process.Start()   at Igor.Command.ExecuteCommandSync(String _command, String _args, Boolean _fail_on_error, String _cwd, Dictionary`2 _env, Boolean as_admin) in c:\hudson\ZeusBase\ZeusGreen\GameMaker\Zeus\Igor\Program.cs:line 64   at Igor.WindowsBuilder.Run() in c:\hudson\ZeusBase\ZeusGreen\GameMaker\Zeus\Igor\Builders\WindowsBuilder.cs:line 144elapsed time 00:00:03.6157316s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.0.1.16/bin/Igor.exe" -options="C:\Users\Dave\AppData\Local\Temp\GameMakerStudio2\build.bff"  -- Windows Run started at 11/17/2016 12:29:14 AM

和第一个问题一样,Runtime安装失败,步骤类似可以使用同样的方法解决

关于无法创建Temp文件夹

这个比较特别可能是没有对应磁盘的文件,GMS1曾经尝试在C盘根目录创建游戏文件失败,可以将临时文件修改为其他磁盘解决问题

如图修改:

阅读全文
0 0
原创粉丝点击