YungBlood
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2010
08:36 PM
Feature Request - unzip
I would like to request a feature be made available to the sdk. It is already on the box. I would like to be able to unzip a file.
Since games require a lot of images, I would like to be able to download the whole bundle, and unzip them on the box. That would be much easier than downloading each image one at a time. Also, it would make it easier to apply different "skins" to an app to make them more customizable.
Since games require a lot of images, I would like to be able to download the whole bundle, and unzip them on the box. That would be much easier than downloading each image one at a time. Also, it would make it easier to apply different "skins" to an app to make them more customizable.
YungBlood
Bringing more fun to Roku!
Bringing more fun to Roku!
13 REPLIES 13
kbenson
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2010
08:55 PM
Re: Feature Request - unzip
I'll second that. I believe I've asked for before, but I don't believe we ever got an official response on the subject.
-- GandK Labs
Check out Reversi! in the channel store!
Check out Reversi! in the channel store!
YungBlood
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2010
09:20 PM
Re: Feature Request - unzip
"kbenson" wrote:
I'll second that. I believe I've asked for before, but I don't believe we ever got an official response on the subject.
LOL 🙂 I knew I would get a second vote from you. 🙂
YungBlood
Bringing more fun to Roku!
Bringing more fun to Roku!
kbenson
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2010
09:31 PM
Re: Feature Request - unzip
"YungBlood" wrote:"kbenson" wrote:
I'll second that. I believe I've asked for before, but I don't believe we ever got an official response on the subject.
LOL 🙂 I knew I would get a second vote from you. 🙂
Hehe, of course!
It just occurred to me, since the main reason I want zip/unzip is to handle packaging, maybe implementing a simple packaging format without complression wouldn't be too hard. "tar" comes to mind. Compression can always be handled on the fly from the webserver to the Roku, so it's not big deal (but it much harder to code).
Yet another one for librokudev. Maybe I'll work on that after Christmas. Right now, Geoff and I are working on rdTAP and rdClass, both of which offer some very cool features. Hopefully we'll have those out by Christmas (I think they are actually both complete at this point, so I don't see why we wouldn't).
-- GandK Labs
Check out Reversi! in the channel store!
Check out Reversi! in the channel store!
YungBlood
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2010
01:02 AM
Re: Feature Request - unzip
"kbenson" wrote:
Hehe, of course!
It just occurred to me, since the main reason I want zip/unzip is to handle packaging, maybe implementing a simple packaging format without complression wouldn't be too hard. "tar" comes to mind. Compression can always be handled on the fly from the webserver to the Roku, so it's not big deal (but it much harder to code).
Yet another one for librokudev. Maybe I'll work on that after Christmas. Right now, Geoff and I are working on rdTAP and rdClass, both of which offer some very cool features. Hopefully we'll have those out by Christmas (I think they are actually both complete at this point, so I don't see why we wouldn't).
I was thinking of packaging. But I was also thinking about something else. Since good games will require a lot more images, it would be nice to be able to tightly compress them as a zip within the pkg. Then you could unzip it into the tmp and effectively have a larger channel without requiring a download of files.
YungBlood
Bringing more fun to Roku!
Bringing more fun to Roku!
scyber
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2010
09:08 AM
Re: Feature Request - unzip
"YungBlood" wrote:"kbenson" wrote:
Hehe, of course!
It just occurred to me, since the main reason I want zip/unzip is to handle packaging, maybe implementing a simple packaging format without complression wouldn't be too hard. "tar" comes to mind. Compression can always be handled on the fly from the webserver to the Roku, so it's not big deal (but it much harder to code).
Yet another one for librokudev. Maybe I'll work on that after Christmas. Right now, Geoff and I are working on rdTAP and rdClass, both of which offer some very cool features. Hopefully we'll have those out by Christmas (I think they are actually both complete at this point, so I don't see why we wouldn't).
I was thinking of packaging. But I was also thinking about something else. Since good games will require a lot more images, it would be nice to be able to tightly compress them as a zip within the pkg. Then you could unzip it into the tmp and effectively have a larger channel without requiring a download of files.
Unless I'm mistaken, Images don't compress very much when zipped up. I doubt you will get very much space savings.

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2010
09:12 AM
Re: Feature Request - unzip
Image files in formats like png are already compressed. Usually recompressing them with zip results in a very minor reduction on the order of a few percent unless the png compression was pretty bad to start with. I don't think you'll be able to fit a significantly larger number of images in your channel just by zipping them.
--Mark
--Mark

gonzotek
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2010
09:20 AM
Re: Feature Request - unzip
PNG can be loss-lessly (as well as loss-ily) compressed. Look into PNGCrush (pmt.sourceforge.net/pngcrush/) to see if you can reduce the filesize of the images without losing quality(specifically look at the '-brute' and '-reduce' command line arguments for lossless reduction). Your image software may or may not already be doing this, but it doesn't hurt to look.
I worked with the Winamp skinning community once upon a time, and pngcrush was very popular with them. It reduced overall skin package size, but also lowered memory requirements.
I worked with the Winamp skinning community once upon a time, and pngcrush was very popular with them. It reduced overall skin package size, but also lowered memory requirements.
Remoku.tv - A free web app for Roku Remote Control!
Want to control your Roku from nearly any phone, computer or tablet? Get started at http://help.remoku.tv
by Apps4TV - Applications for television and beyond: http://www.apps4tv.com
Want to control your Roku from nearly any phone, computer or tablet? Get started at http://help.remoku.tv
by Apps4TV - Applications for television and beyond: http://www.apps4tv.com
kbenson
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2010
10:51 AM
Re: Feature Request - unzip
"YungBlood" wrote:
I was thinking of packaging. But I was also thinking about something else. Since good games will require a lot more images, it would be nice to be able to tightly compress them as a zip within the pkg. Then you could unzip it into the tmp and effectively have a larger channel without requiring a download of files.
What I meant when I said "Compression can always be handled on the fly from the webserver to the Roku" was that if the web server supports gzip/deflate encoding, and the Roku supports that encoding (does it? I can't remember if I tested this), then the compression level of things is really not an issue, since over the wire it's transparently compressed at the web server and decompressed by the client.
-- GandK Labs
Check out Reversi! in the channel store!
Check out Reversi! in the channel store!
YungBlood
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2010
11:06 AM
Re: Feature Request - unzip
Even if there isn't a big space savings for images, there still would be for my data files.
Also being able to download one file rather than 50+ would make managing my games much easier. Just a simple card game requires 52+ images. One of my upcoming games will require image sets of around 100 images per set. As I work on pushing the limits of what roku can do, I will be working with more & more images for a single game. As my image count goes up, http overhead gets worse if I have to download each image individually.
If zip bombs are a big concern, I could work with something like tar. I'm just thinking that the box already has built in support for zip.
Also being able to download one file rather than 50+ would make managing my games much easier. Just a simple card game requires 52+ images. One of my upcoming games will require image sets of around 100 images per set. As I work on pushing the limits of what roku can do, I will be working with more & more images for a single game. As my image count goes up, http overhead gets worse if I have to download each image individually.
If zip bombs are a big concern, I could work with something like tar. I'm just thinking that the box already has built in support for zip.
YungBlood
Bringing more fun to Roku!
Bringing more fun to Roku!