Commit Graph

76 Commits (amazfit_cor)

Author SHA1 Message Date
Valeriy Mironov 09f7ef180d Partially reconstructed decompression algorithm 2018-05-13 17:42:18 +03:00
Valeriy Mironov d29691e0ee Started work on Cor .res decompression 2018-05-13 08:21:37 +03:00
Valeriy Mironov e24d09073a Removed not supported yet options (unpacking/packing bin) 2018-05-01 01:04:15 +03:00
Valeriy Mironov 1d73ef6c20 Added packing all types of images 2018-05-01 01:04:15 +03:00
Valeriy Mironov d7d90aeb16 Fixed decoding 32bit images, added smoothing for drawing circle progress 2018-05-01 01:04:15 +03:00
Valeriy Mironov d48bc3d81c Fixed invalid colors on unpacking 16bit images, added support for new WF elements 2018-05-01 01:04:15 +03:00
Valeriy Mironov 237308699a Some speed improvements on decoding images 2018-05-01 01:04:15 +03:00
Valeriy Mironov 07c2dd228d Implemented drawing clock hands 2018-05-01 01:04:15 +03:00
Valeriy Mironov 9ead83d0db Added parsing Cor-specific elements 2018-05-01 01:04:15 +03:00
Valeriy Mironov e356074f66 Added support for unpacking 24 and 32-bit images, WIP on 16-bit images 2018-05-01 01:04:15 +03:00
Valeriy Mironov 020a8be99b Initial work for support unpacking Amazfit Cor watchfaces 2018-05-01 01:04:15 +03:00
Valeriy Mironov dd2421c7b4 Updated changelog 2018-04-30 22:03:44 +00:00
Valeriy Mironov cfff020bc0 Skipped storing empty paramter lists. It was possible to brick watches with this :( 2018-05-01 00:54:51 +03:00
Valeriy Mironov 985fd1688e Updated changelog 2018-03-25 08:48:54 +00:00
Valeriy Mironov 631b90fcb5 Added sorting palette of images (fixes #23) 2018-03-25 11:44:16 +03:00
Valeriy Mironov 320be4c269 Updated changelog 2018-02-01 23:31:26 +00:00
Valeriy Mironov e906ed4ff2 Added support for packing a new format of .res-file (fixes #18) 2018-02-02 01:23:37 +02:00
Valeriy Mironov 2398ab8086 Added reading new format of .res-files, fixed order of drawing AmPm element 2018-01-27 20:57:41 +02:00
Valeriy Mironov 950462fb90 Updated changelog 2018-01-13 16:08:56 +00:00
Valeriy Mironov 7ef631924d Added support for custom weather icon 2018-01-13 17:43:34 +02:00
Valeriy Mironov 3e6f8c44fe Removed using C#7 features 2018-01-10 10:27:36 +02:00
Valeriy Mironov 6074eeb335 Fixed appearing of zero DrawingOrder for watchfaces without it 2017-12-25 19:58:21 +02:00
Valeriy Mironov 20f7155838 Updated Changelog 2017-12-25 11:14:20 +00:00
Valeriy Mironov bb8388e95c Fixed drawing weather icon when alt coordinates isn't present 2017-12-25 13:04:29 +02:00
Valeriy Mironov 1957abecbc Added support for time elements drawing order, fixed displaying time when DrawingOrder isn't present, added drawing preview for state when current temperature isn't available 2017-12-25 12:58:20 +02:00
Valeriy Mironov c28196305f Fixed typo in debug message 2017-12-15 01:50:57 +02:00
Valeriy Mironov ee9660dc5a Updated changelog 2017-12-14 21:30:23 +00:00
Valeriy Mironov 128a3fa33e Fixed dithering for images with 8-bit alph-channel (closes #8), applied dithering on images loading step to generate previews using dithered image 2017-12-14 23:16:29 +02:00
Valeriy Mironov b5916ab5ba Fixed drawing text block element when text size is bigger than block size 2017-12-14 22:51:49 +02:00
Valeriy Mironov f4426b09aa Created Changelog 2017-12-10 11:32:10 +00:00
Valeriy Mironov cbc3e37b8c Fixed packing .res files unpacked with latest version (using leading zeroes in image file names) 2017-12-10 12:30:33 +02:00
Valeriy Mironov 6235ac685f Used string representation of text alignment on unpacking, used bool type for flags in parameters 2017-12-09 14:36:15 +02:00
Valeriy Mironov 1eb3d0f292 Changed naming of extracted images to have 3 digits with leading zeroes, added loading of images named this way, closes #9 2017-12-09 12:18:29 +02:00
Valeriy Mironov eb3f152b66 Fixed displaying battery image for 100% charge state, fixes #10 2017-12-09 01:06:32 +02:00
Valeriy Mironov e5a91d423e Fixed alignment of circle steps progress, fixes #11 2017-12-08 22:57:55 +02:00
Valeriy Mironov 9e8add76b1 Fixed generating preview for case when Tens or Ones are missing from TwoDigits block, closes #4 2017-12-05 15:29:02 +02:00
Valeriy Mironov 3d0b01fe0d Improved speed of decoding/encoding images, added generating animated previews, fixed drawing clock hands 2017-12-05 04:04:59 +02:00
Valeriy Mironov 027b9c266d Generating preview on packing/unpacking watchface 2017-12-02 23:15:06 +02:00
Valeriy Mironov fa2cbebad2 Added saving resources version on unpacking .res file, added packing .res file, closes #1 2017-11-29 04:42:21 +02:00
Valeriy Mironov a6f36424e8 Added dithering for images on packing, added deleting incomplete bin if error happened on packing, closes #2 2017-11-28 15:41:48 +02:00
Valeriy Mironov c5a1ed3fef Increased version 2017-11-26 21:58:26 +02:00
Valeriy Mironov feb2b48fb5 Merge branch 'net-40' 2017-11-26 21:54:08 +02:00
Valeriy Mironov b75b3c6d39 Added ability to skip Off image for bluetooth and ability to add Off images for Lock, DND and Alarm elements 2017-11-26 21:53:43 +02:00
Valeriy Mironov 067d0ce3fc Reworked for Net 4.0 compatibility 2017-11-26 21:24:57 +02:00
Valeriy Mironov 78c009f7e3 Fixed packing images with only one color 2017-11-26 10:33:27 +02:00
Valeriy Mironov 4b69ea94dc Renomed Unknown parameters in Date block 2017-11-26 02:09:31 +02:00
Valeriy Mironov 9a663d64e7 Renamed Unknown1 in ClockHand to OnlyBorder 2017-11-26 01:39:18 +02:00
Valeriy Mironov f8c2f8495f Renamed Unknown6 attribute to Spacing 2017-11-26 00:19:04 +02:00
Valeriy Mironov c0c88c9754 Added validation for not supported JSON keys, updated usage info, some cleanup 2017-11-25 23:57:09 +02:00
Valeriy Mironov 4767e9877d Fixed packing negative numbers, allowed some images be optional 2017-11-25 23:02:33 +02:00