Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

DoobTheGoober/zip2Animation

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
28 Commits
 
 
 
 

Repository files navigation

zip2Animation

Utility to assist in creating flipper zero animations.

Description

  • renames the png files in order from a zip file.
  • Creates a basic meta file with a straight forward animation frame order
  • added "width/height" argument to declare it in meta file
  • Compile animations automatically (only windows for rn..)

PREREQUISITES

Python3
Zip file with your png frames

USAGE

usage: python3 zip2Animations.py -h, --help

Change png file names to match flippers frame file naming convention

options:
  -h, --help            show this help message and exit
  -z ZIP, --zip ZIP     specify zip file
  -d DIRECTORY, --directory DIRECTORY
                        specify the directory for multiple zips files
  -w WIDTH, --width WIDTH
                        specify width of animation
  -ht HEIGHT, --height HEIGHT
                        specify height of animation
  -fbt FBT, --fbt FBT   specify flipper zero directory to auto. compile

Auto compile a directory of zips

python3 zip2Animation.py -d .\Animations\ -fbt D:\Flipper\flipperzero-firmware\
  • This will automatically rename frames for each zip, create a meta file for each, and auto compile. --fbt and specify the path to flipper firmware

Default Example (128x64)

python3 zip2Animation.py -z Mario.zip
  • This will rename the frames as frames_0.. etc. and create a basic meta.txt file that will play the animation (as normal).

• Key note

  • the width default is 128, and the height default is 64.
  • Specify the width and height of your animation otherwise.

Multiple Zip files

python3 zip2Animation.py -d .\Animations\
  • Unzips all files, renames all frames in each file, creates basic meta file for each folder.
  • Folders are named the same as each zip file name.

• Key Note

  • Be sure every file in the directory is a ZIP file.. I'm lazy..

Custom Width Height Example

python3 zip2Animation.py -z Mario.zip -w 97 -ht 61
  • This will automatically change the width and height in the meta file.

Honorable mentions

Talking Sasquach https://github.com/skizzophrenic/Talking-Sasquach

  • thank him for the addition of allowing multiple zip files to be processed

Extra

BADUSB Repo https://github.com/CharlesTheGreat77/BADUSB

Token Grabber for BADUSB https://github.com/CharlesTheGreat77/token2Discord

💬 Contact Me

Gmail Badge

🚦 Stats


⭐️ From Charles

About

Utility to assist in creating flipper zero animations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.