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

Windows Can't package as zip anymore.

H

Henkle

Guest
Hey.
So as the title suggests, for some reason I can no longer package my game into a zip.
Running it works fine, same for packaging as installer, but every time I try to package as zip it throws an exception and outputs a corrupt file. This happens both using VM and YYC

Here's the exception that appears in the compile output:
Code:
Exception during processing ICSharpCode.SharpZipLib.Zip.ZipException: Entry size/stream size mismatch
   at ICSharpCode.SharpZipLib.Zip.ZipFile.AddEntry(ZipFile workFile, ZipUpdate update)
   at ICSharpCode.SharpZipLib.Zip.ZipFile.RunUpdates()
   at ICSharpCode.SharpZipLib.Zip.ZipFile.CommitUpdate()
   at ..(String , String , String )
I've found several instances of this happening to other people, but nothing on how to fix it. So I hope someone out there has a solution, because I can't test multiplayer features with only one instance of the game running.
 

rIKmAN

Member
Hey.
So as the title suggests, for some reason I can no longer package my game into a zip.
Running it works fine, same for packaging as installer, but every time I try to package as zip it throws an exception and outputs a corrupt file. This happens both using VM and YYC

Here's the exception that appears in the compile output:
Code:
Exception during processing ICSharpCode.SharpZipLib.Zip.ZipException: Entry size/stream size mismatch
   at ICSharpCode.SharpZipLib.Zip.ZipFile.AddEntry(ZipFile workFile, ZipUpdate update)
   at ICSharpCode.SharpZipLib.Zip.ZipFile.RunUpdates()
   at ICSharpCode.SharpZipLib.Zip.ZipFile.CommitUpdate()
   at ..(String , String , String )
I've found several instances of this happening to other people, but nothing on how to fix it. So I hope someone out there has a solution, because I can't test multiplayer features with only one instance of the game running.
What version of GMS2 are you using?
Have you tried uninstalling / reinstalling GMS2?
 
H

Henkle

Guest
What version of GMS2 are you using?
Have you tried uninstalling / reinstalling GMS2?
I'm using the latest steam version of both the IDE and runtime (ide 2.2.3.436 & runtime 2.2.3.344)
I tried reinstalling just using the steam uninstaller earlier, which didn't work.
Completely reinstalling using that article didn't work either, it's still giving the same error.

edit: I managed to "fix" it??
It was only happening to one project, but changing the name of that project seems to have fixed it.
Very strange, the name had no special characters in it or anything wrong with it (it was simply called "online"), and it worked perfectly fine before all this.

Creating an entirely fresh project with the same name produces the same error, so I guess gamemaker just decided there's something wrong with that particular project name for some reason.

Anyway, Thanks for taking the time to respond. If you know anything else about this error, Please post it here because it could save a lot of googling in the future. There's barely any information about it that I could find, just a few empty threads here on the forum.
 
Last edited by a moderator:

Nocturne

Friendly Tyrant
Forum Staff
Admin
Creating an entirely fresh project with the same name produces the same error, so I guess gamemaker just decided there's something wrong with that particular project name for some reason.
Please file a bug report and let YYG know about the issue.
 
Top