Skip to content

A useful tool for extracting pngs from bin files.

Notifications You must be signed in to change notification settings

cbhua/binary-to-png

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🖼 Bin to PNG

Bin to PNG is a tool for extracting PNG images from bin files.

💡 Introduction

For some reasons we get some bin files, which are compiled PNG files. Now we want to extra them from bin files.

There were many excellent games in Symbian period, most of such games with quite small size. To do this, developers always chose to compile picture materials from PNG format to bin format, and then archive them to Jar package for running.

For now, if we want to extract some picture sources from those games, we have to extract PNGs from bin files. Here is a tool to help you do that.

⚙️ Requirement

Python packages: os, re, binascii

🔧 How to use

Step 1: Clone or Download this repository;

Step 2: Put all .bin files you want to extract to the folder /bin;

Input

Step 3: Use Python to run the main.py: python3 main.py;

Run

Step 4: Check the results: each .bin file will be extracted to a separated folder with the same name.

Output

📊 Examples

When you cloned or downloaded this repository, there are already three examples within the ./bin folder. And also the results within the ./png folder.

Results

📜 Licence

MIT Licence

About

A useful tool for extracting pngs from bin files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages