itch.io is community of indie game creators and players

Devlogs

CMD version Tutorial

Tutorial for users who have never used a command prompt before.

1. Install Python

  1. Go to the website: https://www.python.org/downloads/

  2. Download Python 3.8 or higher for your operating system.

  3. Check the box “Add Python to PATH”.

  4. Verify installation by opening a command prompt and typing:

python --version

You should see your Python version printed. If it doesn't print, the installation went wrong.

2. Install Pillow (Python Imaging Library)

Pillow is required for image conversion tasks.

  1. Open a command prompt.

  2. Run the command:

pip install pillow

    3. Wait until the installation completes. You can check it with:

pip show pillow

3. Install FFmpeg

FFmpeg is needed for audio tasks: recompressing .ogg files and converting .mp3 to .ogg.

Windows:

  1. Go to https://ffmpeg.org/download.html, then Windows builds.

  2. Download the Static build.

  3. Extract the ZIP to a folder, e.g., C:\ffmpeg.

  4. Add FFmpeg to your system PATH:

    • Press Windows + S, search for Environment Variables, and open Edit system environment variables.

    • Click Environment Variables → under System variables, find Path -> Edit -> New, then add the path to C:\ffmpeg\bin.

  5. Open a new command prompt and type:

> ffmpeg -version

You should see FFmpeg version info. If not, then installation wasn't complete.

4. Download the CMD Script

  1. Download the CMD version .py file

  2. Place it somewhere in your computer.

5. Run the CMD Script

  1. Open a command prompt.

  2. Navigate to the folder containing the script:

> cd path\to\folder

Example:

> cd C:\Users\YourName\Downloads

Run the script:

> python files_optimizer_cli.py

Then follow command prompts. Done.

Download Convert & Compress Files Tool (Ren'py Compatible)
Leave a comment