Forum Discussion

jbmarley's avatar
jbmarley
Visitor
15 years ago

Zipped Files will not work

Hello All:

Is anyone else experiencing issues when trying to upload custom zip files. I am developing on a mac and it seems impossible to "zip" an application and get it to play on my local roku player.

For example, I will just go into the example/source - directory and zip any file to upload and it will not work. The only zip files that work are the ones that are already zipped with the SDK.

I've tried to customize some of the files for testing and zipped up the app, but it does not recognize/run the application on the local player.

Any feedback is greatly appreciated.

Jason

2 Replies

  • renojim's avatar
    renojim
    Community Streaming Expert
    You don't want to "go into" the source directory. You have to have a directory within your zip named source where your code file(s) reside. You also have to have your manifest and Makefile in the 'root' directory of your zip.

    -JT
  • As renojim stated, you need a source directory/folder in your zip to hold any brightScript files, so make sure to start the zip at that level.

    I believe the minimum required in the zip to actually have a working package is:
    /manifest
    /source/script.brs

    where script.brs is whatever you want to name it (keeping the extension), and needs to define one of the acceptable "main" functions used as the initial execution point of the program when run. You may have to define the icon images in the manifest for it to be valid (?), but the images don't have to exist if you are just starting...