• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • 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.

 [Solved]Error when compiling

P

Pyxus

Guest
For what ever reason I get an odd error in Game Maker Studio 2 when trying to package my game as a zip. I don't know if it's a bug, or something on my part but I figured I should head to the forum either way.
Code:
Saving project to: C:\Users\pyxus\Documents\GameMakerStudio2\RPG Practice\RPG Practice.yyp
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.0.3.36/bin/Igor.exe"  -options="C:\Users\pyxus\AppData\Local\Temp\GameMakerStudio2\build.bff"  -- Windows PackageZip

Loaded Macros from C:\Users\pyxus\AppData\Roaming\GameMakerStudio2\Cache\RPG Practi_1DA4C39E_CFCBC9CA\macros.json
OptionsIni
Options: C:\Users\pyxus\AppData\Roaming\GameMakerStudio2\Cache\RPG Practi_1DA4C39E_CFCBC9CA\platform_options.yy
TargetPreferences: C:\Users\pyxus\AppData\Roaming\GameMakerStudio2\Cache\RPG Practi_1DA4C39E_CFCBC9CA\preferences.json
[Compile] Run asset compiler
C:\WINDOWS\system32\cmd.exe /c ""C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.0.3.36/bin/GMAssetCompiler.exe"  /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /gn="RPG Practice" /td="C:\Users\pyxus\AppData\Local\Temp\GameMakerStudio2" /cd="C:\Users\pyxus\AppData\Roaming\GameMakerStudio2\Cache\RPG Practi_1DA4C39E_CFCBC9CA" /zpuf="C:\Users\pyxus\AppData\Roaming/GameMakerStudio2\pyxus__532092" /m=windows /tgt=64 /nodnd /cfg=default /o="C:\Users\pyxus\AppData\Local\Temp\GameMakerStudio2\RPG Practice_2A52305E" /sh=True /optionsini="C:\Users\pyxus\AppData\Local\Temp\GameMakerStudio2\RPG Practice_2A52305E\options.ini"  /tp=2048  /cvm /baseproject="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.0.3.36/BaseProject/BaseProject.yyp" "C:\Users\pyxus\Documents\GameMakerStudio2\RPG Practice\RPG Practice.yyp" /bt=exe"
Reading project file....C:\Users\pyxus\Documents\GameMakerStudio2\RPG Practice
Reading project file....C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.0.3.36\BaseProject
Reading config delta 'C:\Users\pyxus\Documents\GameMakerStudio2\RPG Practice\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.
Saving IFF file... C:\Users\pyxus\AppData\Local\Temp\GameMakerStudio2\RPG Practice_2A52305E\RPG Practice.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
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... STRG
Stats : GMA : Elapsed=1580.2049
Stats : GMA : sp=28,au=0,bk=1,pt=0,sc=22,sh=0,fo=1,tl=0,ob=17,ro=3,da=0,ex=0,ma=37,fm=0xA21C696C00A0


C:\WINDOWS\system32\cmd.exe DONE
Options: C:\Users\pyxus\AppData\Roaming\GameMakerStudio2\Cache\RPG Practi_1DA4C39E_CFCBC9CA\platform_options.yy
Options: C:\Users\pyxus\AppData\Roaming\GameMakerStudio2\Cache\RPG Practi_1DA4C39E_CFCBC9CA\main_options.yy
DoSplash
DoSteam
PlatformOptions
Options: C:\Users\pyxus\AppData\Roaming\GameMakerStudio2\Cache\RPG Practi_1DA4C39E_CFCBC9CA\platform_options.yy
DoVersion
DoIcon
Exception during processing ICSharpCode.SharpZipLib.Zip.ZipException: Failed to copy bytes expected 4668928 read 4112384
   at ICSharpCode.SharpZipLib.Zip.ZipFile.CopyBytes(ZipUpdate update, Stream destination, Stream source, Int64 bytesToCopy, Boolean updateCrc)
   at ICSharpCode.SharpZipLib.Zip.ZipFile.AddEntry(ZipFile workFile, ZipUpdate update)
   at ICSharpCode.SharpZipLib.Zip.ZipFile.RunUpdates()
   at ICSharpCode.SharpZipLib.Zip.ZipFile.CommitUpdate()
   at Igor.Utils.MakeZipFile(String _directory, String _zipfile, String ignore_suffix)
elapsed time 00:00:06.1838864s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\run
The specific exception occurs here
Code:
Exception during processing ICSharpCode.SharpZipLib.Zip.ZipException: Failed to copy bytes expected 4668928 read 4112384
   at ICSharpCode.SharpZipLib.Zip.ZipFile.CopyBytes(ZipUpdate update, Stream destination, Stream source, Int64 bytesToCopy, Boolean updateCrc)
   at ICSharpCode.SharpZipLib.Zip.ZipFile.AddEntry(ZipFile workFile, ZipUpdate update)
   at ICSharpCode.SharpZipLib.Zip.ZipFile.RunUpdates()
   at ICSharpCode.SharpZipLib.Zip.ZipFile.CommitUpdate()
   at Igor.Utils.MakeZipFile(String _directory, String _zipfile, String ignore_suffix)
p.s sorry if this is the wrong section to post this in.
 
Top