Archiving in Ren'py 6.14

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
User avatar
Coren
Mindscrew Driver
Posts: 1691
Joined: Fri Sep 18, 2009 9:24 am
Completed: Dear Mariko, Six Rules, Ribbon of Green, RE: Prince of Nigeria, Doppelganger, Cole's Gate Demo, Crimson Rafflesia Demo, Mica: Apoptosis Demo
Projects: Crimson Rafflesia, Mica: Apoptosis, Fantasy Euthanasia
Organization: Soyasushi Productions
Tumblr: CorenBaili
Deviantart: CorenB
Skype: coren.baili
Contact:

Archiving in Ren'py 6.14

#1 Post by Coren » Wed Dec 19, 2012 4:22 am

Firstly, is it possible to archive files in Ren'py 6.14?

Secondly, I keep getting this traceback when I try to build a distribution.

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/distribute.rpy", line 828, in script
  File "game/distribute.rpy", line 831, in python
  File "game/distribute.rpy", line 355, in python
  File "game/distribute.rpy", line 688, in python
CalledProcessError: Command '['C:\\Users\\user\\Documents\\renpy-6.14.1-sdk\\lib\\windows-x86\\zsyncmake.exe', '-z', '-u', 'renpy-6.14.1-sdk.update.gz', '-o', 'C:\\Users\\user\\Documents\\renpy-6.14.1-sdk\\renpy-6.14.1-dists\\renpy-6.14.1-sdk.zsync', 'C:\\Users\\user\\Documents\\renpy-6.14.1-sdk\\renpy-6.14.1-dists\\renpy-6.14.1-sdk.update']' returned non-zero exit status -1073741510

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

Full traceback:
  File "C:\Users\user\Documents\renpy-6.14.1-sdk\renpy\execution.py", line 266, in run
  File "C:\Users\user\Documents\renpy-6.14.1-sdk\renpy\ast.py", line 646, in execute
  File "C:\Users\user\Documents\renpy-6.14.1-sdk\renpy\python.py", line 1172, in py_exec_bytecode
  File "game/distribute.rpy", line 831, in <module>
  File "game/distribute.rpy", line 355, in __init__
  File "game/distribute.rpy", line 688, in make_package
  File "subprocess.pyo", line 511, in check_call
CalledProcessError: Command '['C:\\Users\\user\\Documents\\renpy-6.14.1-sdk\\lib\\windows-x86\\zsyncmake.exe', '-z', '-u', 'renpy-6.14.1-sdk.update.gz', '-o', 'C:\\Users\\user\\Documents\\renpy-6.14.1-sdk\\renpy-6.14.1-dists\\renpy-6.14.1-sdk.zsync', 'C:\\Users\\user\\Documents\\renpy-6.14.1-sdk\\renpy-6.14.1-dists\\renpy-6.14.1-sdk.update']' returned non-zero exit status -1073741510

Windows-7-6.1.7600
Ren'Py 6.14.1.366
Ren'Py Launcher 6.14.1.366
I checked line 828 of the script, but it's a simple nvl clear.

I'm at a loss here because my noob levels are soaring - help will be very much appreciated. Thanks!

User avatar
Donmai
Eileen-Class Veteran
Posts: 1919
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: Archiving in Ren'py 6.14

#2 Post by Donmai » Wed Dec 19, 2012 12:21 pm

I am assuming you created your project from scratch in 6.14. If you brought your project from a previous version, then 6.14 will ask to include archiving information on your "options.rpy" file.

When you click on "Build distributions" in 6.14, look on the left of the screen for a "Edit options.rpy" button. Click on it and, surprisingly, that file will be opened on your text editor.

Look for the block of code that comes after this commented line: "## To archive files, classify them as 'archive'."
Add there the filetypes you want to be archived.

Mine is configured this way:

Code: Select all

    build.classify('game/**.png', 'archive')
    build.classify('game/**.jpg', 'archive')
    build.classify('game/**.mp3', 'archive')
    build.classify('game/**.ogg', 'archive')
    build.classify('game/**.wav', 'archive')
    build.classify('game/**.rpy', 'archive')
    build.classify('game/**.rpt', 'archive')
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

User avatar
Coren
Mindscrew Driver
Posts: 1691
Joined: Fri Sep 18, 2009 9:24 am
Completed: Dear Mariko, Six Rules, Ribbon of Green, RE: Prince of Nigeria, Doppelganger, Cole's Gate Demo, Crimson Rafflesia Demo, Mica: Apoptosis Demo
Projects: Crimson Rafflesia, Mica: Apoptosis, Fantasy Euthanasia
Organization: Soyasushi Productions
Tumblr: CorenBaili
Deviantart: CorenB
Skype: coren.baili
Contact:

Re: Archiving in Ren'py 6.14

#3 Post by Coren » Fri Dec 21, 2012 10:06 pm

Ah, thanks! :) But I still don't know what to do with the traceback, though...

Post Reply

Who is online

Users browsing this forum: No registered users