I have a problem where I want to make distributions for my game, but because it's too big, or rather because the zip can't handle larger files, I get the attached error.
My game is around 2,8 GB.
I'm probably looking for a way to split the .rpa file.
My "pic" folder (with subfolders) is the main culprit, as that has 2,75 GB, split up in random chunks randomly in around 60 subfolders.
i.e.
folder 001 = 70 MB
folder 002 = 3 MB
folder 003 = 250 MB
etc...
This means that if needed I could pick and choose groups that would evenly split those 2,75 GB into however many chunks are necessary.
I don't know what to do - I would have expected that the rpa file would just be generated like gamename.part1.rpa and gamename.part2.rpa if avoiding large files has some compatibility reasons... but maybe the issue is more complicated.
So... that's my problem, and this is my error:
Thank you!
PS: I understand that decreasing the size of the game (use a more refined image compression in my case) might fix the problem, but I would still need to know how to pack a large game in case I can't decrease the size enough.
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "launcher/game/distribute.rpy", line 998, in script
python hide:
File "launcher/game/distribute.rpy", line 1005, in <module>
open_directory=True,
File "launcher/game/distribute.rpy", line 427, in __init__
dlc=p["dlc"])
File "launcher/game/distribute.rpy", line 837, in make_package
pkg.add_file(f.name, f.path, f.executable)
File "game/package_formats.rpy", line 133, in add_file
File "game/package_formats.rpy", line 52, in write_with_info
LargeZipFile: Zipfile size would require ZIP64 extensions
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "launcher/game/distribute.rpy", line 998, in script
python hide:
File "C:\WorkInProgress_GAME\renpy\ast.py", line 785, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\WorkInProgress_GAME\renpy\python.py", line 1382, in py_exec_bytecode
exec bytecode in globals, locals
File "launcher/game/distribute.rpy", line 1005, in <module>
open_directory=True,
File "launcher/game/distribute.rpy", line 427, in __init__
dlc=p["dlc"])
File "launcher/game/distribute.rpy", line 837, in make_package
pkg.add_file(f.name, f.path, f.executable)
File "game/package_formats.rpy", line 133, in add_file
File "game/package_formats.rpy", line 52, in write_with_info
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/zipfile.py", line 1024, in _writecheck
LargeZipFile: Zipfile size would require ZIP64 extensions
Windows-post2008Server-6.2.9200
Ren'Py 6.18.3.761
Ren'Py Launcher 6.18.3.761