TGA Files Causing Build to Fail

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
diamondbear
Newbie
Posts: 8
Joined: Sun Oct 21, 2018 3:57 pm
Contact:

TGA Files Causing Build to Fail

#1 Post by diamondbear »

Hello again,

I posted about this previously, but I think I found the source of the issue. So, I am trying to build an update for use with the web updater, and the build keeps failing during the zsync step with the traceback below. I have been removing different assets from the game to see if I can get it to build, and it seems to build if I remove all of the .tga files that we use for animations. I also tried archiving the .tga files in the options.rpy and still had no success. Has anyone encountered this before?

To add on, the game is very large as well around 6-7gb.

Thank you for your time!

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/distribute.rpy", line 1484, in <module>
  File "game/distribute.rpy", line 1491, in _execute_python_hide
  File "game/distribute.rpy", line 558, in __init__
  File "game/distribute.rpy", line 1319, in make_package
  File "game/package_formats.rpy", line 249, in close
CalledProcessError: Command '['C:\\Program Files\\renpy-7.1.0-sdk\\lib\\windows-i686\\zsyncmake.exe', '-z', '-u', 'MyGame-1.1-pc.update.gz', '-o', 'C:\\Users\\me\\Documents\\personal\\visual-novel-work\\projects-directory\\MyGame-1.1-dists\\MyGame-1.1-pc.zsync', 'C:\\Users\\me\\Documents\\personal\\visual-novel-work\\projects-directory\\MyGame-1.1-dists\\MyGame-1.1-pc.update']' returned non-zero exit status 1

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "launcher/game/distribute.rpyc", line 1484, in script
  File "C:\Program Files\renpy-7.1.0-sdk\renpy\ast.py", line 882, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Program Files\renpy-7.1.0-sdk\renpy\python.py", line 1913, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/distribute.rpy", line 1484, in <module>
  File "game/distribute.rpy", line 1491, in _execute_python_hide
  File "game/distribute.rpy", line 558, in __init__
  File "game/distribute.rpy", line 1319, in make_package
  File "game/package_formats.rpy", line 249, in close
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/subprocess.py", line 540, in check_call
CalledProcessError: Command '['C:\\Program Files\\renpy-7.1.0-sdk\\lib\\windows-i686\\zsyncmake.exe', '-z', '-u', 'MyGame-1.1-pc.update.gz', '-o', 'C:\\Users\\me\\Documents\\personal\\visual-novel-work\\projects-directory\\MyGame-1.1-dists\\MyGame-1.1-pc.zsync', 'C:\\Users\\me\\Documents\\personal\\visual-novel-work\\projects-directory\\MyGame-1.1-dists\\MyGame-1.1-pc.update']' returned non-zero exit status 1

Windows-8-6.2.9200
Ren'Py 7.1.0.882
Ren'Py Launcher 7.1.0.882
Fri Nov 09 09:08:56 2018

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3794
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: TGA Files Causing Build to Fail

#2 Post by Imperf3kt »

TARGA files are not supported, please use .png, .jpg or static .gif files.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: TGA Files Causing Build to Fail

#3 Post by PyTom »

I'm guessing there's a limit on the updater of 2GB or so.

Targa's a terrible format, and targa animations seems like the worst thing possible. IIRC, it's not compressed at all, so you're just wasting user disk space. Please consider using .webm movies, or even compressing the pictures into .jpgs as appropriate. Seriously, you're just wasting user disk space for no reason, and apparently getting bit by it.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

diamondbear
Newbie
Posts: 8
Joined: Sun Oct 21, 2018 3:57 pm
Contact:

Re: TGA Files Causing Build to Fail

#4 Post by diamondbear »

Thank you for the replies. We will be changing the format of the animations.

diamondbear
Newbie
Posts: 8
Joined: Sun Oct 21, 2018 3:57 pm
Contact:

Re: TGA Files Causing Build to Fail

#5 Post by diamondbear »

PyTom wrote: Sat Nov 10, 2018 10:42 pm I'm guessing there's a limit on the updater of 2GB or so.

Targa's a terrible format, and targa animations seems like the worst thing possible. IIRC, it's not compressed at all, so you're just wasting user disk space. Please consider using .webm movies, or even compressing the pictures into .jpgs as appropriate. Seriously, you're just wasting user disk space for no reason, and apparently getting bit by it.
We converted all files to WEBM from TGA and saved quite a bit of space. Still over 2gb, however. Do you know if there are any plans to increase the file size the updater can use? If not, are you aware of any workarounds?

Thanks!

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: TGA Files Causing Build to Fail

#6 Post by PyTom »

No, I don't have any plans, and I don't know of any workarounds at the moment.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: Google [Bot]