Page 1 of 1

(Solved) Building Distribution Problem... D:

Posted: Thu Aug 01, 2013 12:46 am
by SayuriSakurai

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/distribute.rpy", line 909, in script
  File "game/distribute.rpy", line 912, in python
  File "game/distribute.rpy", line 356, in python
  File "game/distribute.rpy", line 628, in python
IndexError: array index out of range

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

Full traceback:
  File "/Applications/renpy/execution.py", line 288, in run
    node.execute()
  File "/Applications/renpy/ast.py", line 718, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "/Applications/renpy/python.py", line 1297, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/distribute.rpy", line 912, in <module>
  File "game/distribute.rpy", line 356, in __init__
  File "game/distribute.rpy", line 628, in add_windows_files
  File "change_icon.py", line 282, in change_icons
  File "change_icon.py", line 236, in load_icon
  File "change_icon.py", line 22, in u32
IndexError: array index out of range

Darwin-12.4.0-x86_64-i386-64bit
Ren'Py 6.15.7.374
Ren'Py Launcher 6.15.7.374
Help? I read the distribution page on Ren'Py, but didn't understand most of it!! This is my first time making a visual novel, and I just wanna somehow make a demo for it. Please do reply!! :(

Re: Building Distribution Problem... D:

Posted: Thu Aug 01, 2013 8:13 am
by Donmai
Hi Sayuri. A similar problem was reported here: http://lemmasoft.renai.us/forums/viewto ... f=8&t=8819
Maybe your problem is the same?

Re: Building Distribution Problem... D:

Posted: Thu Aug 01, 2013 8:45 am
by SayuriSakurai
No... It's not the same problem. My problem is that I have no idea how to write the distribution codes & stuff that packages my game.
But I did use an application called Retina Icon Binder to convert my icon from png to icn and ico...

Re: Building Distribution Problem... D:

Posted: Thu Aug 01, 2013 10:02 am
by Donmai
You will find some information on how to build distributions here: http://lemmasoft.renai.us/forums/viewto ... 73#p282773
Anyway, your traceback is reporting some icon-related problem. I'm seeing you are on a Mac. Maybe someone else could give you a better assistance. Good luck!

Re: Building Distribution Problem... D:

Posted: Thu Aug 01, 2013 10:07 pm
by SayuriSakurai
I tried writing some more distribution code, and it finally worked. I've got my demo now! Thanks!!