• 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 Porting from GM to GM2 issues

D

Dewarriorz

Guest
I'm having issues with Porting from GM to GM2, my game in GM had a few minor bugs that I fixed and the game ran before importing to GM2. Now in GM2, the game fails to launch. I have looked up this issue time and time again today, still can't figure it out. I'm hoping someone here has an idea of where to look for the issue.


Screenshot (6).pngScreenshot (5).png
 

Attachments

Last edited by a moderator:

Nocturne

Friendly Tyrant
Forum Staff
Admin
You should post the entire output log. Please use the [CODE][/CODE] tags.
 
D

Dewarriorz

Guest
GML:
"cmd"  /c subst Z: "C:\Users\jonat\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE"

elapsed time 00:00:00.0401218s for command "cmd" /c subst Z: "C:\Users\jonat\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 10/02/2020 12:58:14
"cmd"  /c subst Y: "C:\Users\jonat\AppData\Local\GameMakerStudio2\GMS2TEMP"

elapsed time 00:00:00.0403492s for command "cmd" /c subst Y: "C:\Users\jonat\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 10/02/2020 12:58:14
"cmd"  /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.0.401"

elapsed time 00:00:00.0497986s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.0.401" started at 10/02/2020 12:58:14
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.3.0.401/bin/Igor.exe"  -j=8 -options="C:\Users\jonat\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run

Loaded Macros from C:\Users\jonat\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\Astroid_Dr_E1859D83_3588B8D7\macros.json
Options: X:/bin\platform_setting_defaults.json
Options: C:\Users\jonat\AppData\Roaming/GameMakerStudio2\jonathan-blunt_501536\local_settings.json
Options: C:\Users\jonat\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\Astroid_Dr_E1859D83_3588B8D7\targetoptions.json
Setting up the Asset compiler
X://bin/GMAssetCompiler.exe  /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8  /gn="Astroid Dreadnought" /td="Y:/" /cd="Z:/Astroid_Dr_E1859D83_3588B8D7" /zpuf="C:\Users\jonat\AppData\Roaming/GameMakerStudio2\jonathan-blunt_501536" /m=windows /tgt=64 /nodnd /cfg="Default" /o="Y:/Astroid_Dreadnought_3ADC9ACA_VM" /sh=True /optionsini="Y:/Astroid_Dreadnought_3ADC9ACA_VM\options.ini"  /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\jonat\Documents\GameMakerStudio2\Astroid Dreadnought\Astroid Dreadnought.yyp" /preprocess="Z:/Astroid_Dr_E1859D83_3588B8D7"
Found Project Format 2
ProjectFileWatcher:StartWatching:C:\Users\jonat\Documents\GameMakerStudio2\Astroid Dreadnought
Started: 10/2/2020 12:58:16 PM
Finished: 10/2/2020 12:58:16 PM
Diff: 00:00:00.5198373
Loaded Project: Astroid Dreadnought
finished.
Release build
Options: Z:/Astroid_Dr_E1859D83_3588B8D7\ExtensionOptions.json
OptionsIni
Options: Z:/Astroid_Dr_E1859D83_3588B8D7\PlatformOptions.json
[Compile] Run asset compiler
X://bin/GMAssetCompiler.exe  /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8  /gn="Astroid Dreadnought" /td="Y:/" /cd="Z:/Astroid_Dr_E1859D83_3588B8D7" /zpuf="C:\Users\jonat\AppData\Roaming/GameMakerStudio2\jonathan-blunt_501536" /m=windows /tgt=64 /nodnd /cfg="Default" /o="Y:/Astroid_Dreadnought_3ADC9ACA_VM" /sh=True /optionsini="Y:/Astroid_Dreadnought_3ADC9ACA_VM\options.ini"  /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\jonat\Documents\GameMakerStudio2\Astroid Dreadnought\Astroid Dreadnought.yyp" /bt=run /rt=vm
Compile Constants...finished.
Remove DnD...finished.
Compile Scripts...finished.
Compile Rooms...finished.
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Extensions...finished.
Global scripts...finished.
finished.
collapsing enums.
Final Compile...finished.
Saving IFF file... Y:/Astroid_Dreadnought_3ADC9ACA_VM\Astroid Dreadnought.win
Writing Chunk... GEN8
option_game_speed=60
Writing Chunk... OPTN
Writing Chunk... LANG
Writing Chunk... EXTN
Writing Chunk... SOND
*writing audio file snd_laser.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... ACRV
Writing Chunk... SEQN
Writing Chunk... TAGS
Writing Chunk... ROOM
Writing Chunk... DAFL
Writing Chunk... EMBI
Writing Chunk... TPAGE
Texture Group - Default
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...
Writing Chunk... AUDO
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... DFNC
Writing Chunk... STRG
Stats : GMA : Elapsed=1526.4475
Stats : GMA : sp=17,au=2,bk=0,pt=0,sc=18,sh=0,fo=5,tl=0,ob=14,ro=6,da=11,ex=0,ma=10,fm=0xB21868E80020
DoSplash
System.IO.FileNotFoundException: Could not find file 'C:\Users\jonat\Documents\GameMakerStudio2\Astroid Dreadnought\options\windows\splash.png'.
File name: 'C:\Users\jonat\Documents\GameMakerStudio2\Astroid Dreadnought\options\windows\splash.png'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
   at Igor.WindowsBuilder.Deploy(Boolean _exe)
   at Igor.WindowsBuilder.Run()
Igor complete.
elapsed time 00:00:03.3312314s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.3.0.401/bin/Igor.exe" -j=8 -options="C:\Users\jonat\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run started at 10/02/2020 12:58:15
"cmd"  /c subst Z: /d

elapsed time 00:00:00.0564040s for command "cmd" /c subst Z: /d started at 10/02/2020 12:58:18
"cmd"  /c subst Y: /d

elapsed time 00:00:00.0503025s for command "cmd" /c subst Y: /d started at 10/02/2020 12:58:18
"cmd"  /c subst X: /d

elapsed time 00:00:00.0498158s for command "cmd" /c subst X: /d started at 10/02/2020 12:58:18
FAILED: Run Program Complete
For the details of why this build failed, please review the whole log above and also see your Compile Errors window.
 

obscene

Member
Random thoughts...

Try to compile with the yoyo compiler and maybe it will flag some things that the normal compiler misses.

Use 2.25 instead of 2.3. Seriously. This could be the whole problem.

Comment out any scripts or objects that load at the very beginning of your game and see if you can get it to run and then oscillate where the problem is. It could be something as simple as a missing semicolon after a var declaration...Trying to create an instance before the first room has loaded...Failure to open an external file that is already open... Something simple.
 
Top