libpebble icon indicating copy to clipboard operation
libpebble copied to clipboard

App format?

Open natevw opened this issue 11 years ago • 9 comments

Any luck/tips/links with the actual app format required?

natevw avatar Feb 11 '13 21:02 natevw

This is a screenshot of a hex dump of a pbpack (contained in the app) - specifically big-time-12.pbw unzipped to produce app_resources.pbpack - do you see what I see? :) Screen Shot 2013-02-13 at 4 43 05 PM

abl avatar Feb 14 '13 00:02 abl

Hah, that's so cool..! :)

On 14 February 2013 00:59, aleksandyr [email protected] wrote:

This is a screenshot of a hex dump of a pbpack (contained in the app) - specifically big-time-12.pbw unzipped to produce app_resources.pbpack - do you see what I see? :) [image: Screen Shot 2013-02-13 at 4 43 05 PM]https://f.cloud.github.com/assets/167740/155292/a8520898-7641-11e2-8eae-b3e8cd7abb7c.png

— Reply to this email directly or view it on GitHubhttps://github.com/Hexxeh/libpebble/issues/2#issuecomment-13527810.

Hexxeh avatar Feb 14 '13 01:02 Hexxeh

I'm working on picking apart the format. So far nothing seems particularly obfuscated...but I'm not familiar enough with this type of work to comment on whether or not the Pebble guys used a standard binary format. The differences between big-time-12 and big-time-24 are greater than I'd expect but that's based on bsdiff patch size and not an informed poke.

I'm working on some pythonic tools to play with and analyze. Will post if anything cool happens...

abl avatar Feb 14 '13 06:02 abl

Going to crash for a bit but I've checked in (to my fork) a few tools that automate pulling down, and pulling apart, the current pebble apps.

abl avatar Feb 14 '13 09:02 abl

Nice job!

Hexxeh avatar Feb 14 '13 11:02 Hexxeh

Hehe, fun. Is this just a watch face though?

I'm eager to get a full executable going — I played around with the inPulse SDK and am assuming the Pebble's app strategy will be at least slightly informed by it (same team but building something of a "second system" on different hardware).

natevw avatar Feb 14 '13 19:02 natevw

This is just the resource file for the watch face's code (which is a separate binary in a format I'm not quite certain of.) Very limited customization options right now :(

abl avatar Feb 15 '13 09:02 abl

I've added a repository to pebbledev organization: https://github.com/PebbleDev/pebble-tools (and added you as collaborator).

I figure perhaps we should keep it seperate from libpebble, as it's kind of different tools? :) I have a few tools and stuff to add as well

EnJens avatar Feb 15 '13 09:02 EnJens

SGTM - will integrate after I finish rewriting documentation.

On Fri, Feb 15, 2013 at 1:39 AM, RaYmAn [email protected] wrote:

I've added a repository to pebbledev organization: https://github.com/PebbleDev/pebble-tools (and added you as collaborator).

I figure perhaps we should keep it seperate from libpebble, as it's kind of different tools? :) I have a few tools and stuff to add as well

— Reply to this email directly or view it on GitHubhttps://github.com/Hexxeh/libpebble/issues/2#issuecomment-13599175.

Alexander Lash [email protected] [email protected]

abl avatar Feb 15 '13 09:02 abl