Skip to content

Bash toolset for automating asset processing: compress images, optimize audio, convert fonts, clean metadata, and batch rename for game and media pipelines.

alexandrerodrigopinheiro/tool-kit

Repository files navigation

ToolKit – Bash Utilities for Media and Asset Processing

🧰 A collection of lightweight and scriptable command-line tools written in Bash for processing images, audio, video, fonts, and game assets.


🧭 Overview

ToolKit is a suite of Bash scripts designed for rapid, automated batch processing of files in multimedia and game development pipelines.

It offers tools for:

  • ✅ Renaming image sequences
  • 🎨 Compressing PNG/JPEG files
  • 🎵 Reducing MP3 file sizes
  • 🧩 Building sprite tiles
  • 🧼 Cleaning import artifacts
  • 🎭 Converting font formats
  • 📷 Converting PNG to JPEG
  • 🎬 Optimizing visual assets

📂 Included Tools

Script Description
rename.sh Sequentially renames PNG files
removeimport.sh Deletes .import Godot metadata files
processing.sh Strips PNG metadata (via convert)
pngcompress.sh Compresses PNG using pngquant
png2jpeg.sh Converts PNG to JPEG
jpegcompress.sh Optimizes JPEG quality
mp3compress.sh Reduces MP3 bitrate using lame
maketile.sh Creates image tiles with montage
otf2ttf.sh Converts OTF fonts to TTF (FontForge)
ttf2woff.sh Converts TTF to WOFF for web usage

📦 Dependencies

Some tools require:

  • imagemagick (for convert, mogrify, montage)
  • pngquant (PNG compression)
  • lame (MP3 encoding)
  • fontforge (OTF → TTF conversion)

Install on Debian/Ubuntu:

sudo apt install imagemagick pngquant lame fontforge

🚀 Usage Example

chmod +x rename.sh
./rename.sh hero_

This will rename hero_*.png files into hero_00.png, hero_01.png, etc.


📁 Project Layout

toolkit/
├── rename.sh
├── removeimport.sh
├── processing.sh
├── pngcompress.sh
├── png2jpeg.sh
├── jpegcompress.sh
├── mp3compress.sh
├── maketile.sh
├── otf2ttf.sh
├── ttf2woff.sh
└── toolkit.code-workspace

🧾 License

This project is released under the MIT License.
© Gaming Innovators — Created for internal asset pipelines.


🤝 Contributions

Bug fixes and improvements welcome via Pull Request.

About

Bash toolset for automating asset processing: compress images, optimize audio, convert fonts, clean metadata, and batch rename for game and media pipelines.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages