Skip to content

Python Scripts that convert Picture into Bin file and vice-versa for Sega Genesis / MegaDrive Sprites Editing. Previously know as paint-to-bin-MSX.

Notifications You must be signed in to change notification settings

zigaudrey/paint-hex-convertor-MSX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Paint-Bin Convetor - Sega Genesis BANNER

Paint - Hex Convertor Scripts (Sega Genesis / Megadrive)

Python Scripts that convert Picture into Bin file and vice-versa for Sega Genesis / MegaDrive Sprite Editing.

Setup

  1. If you don't have PIL, open the command prompt and install it with PIP
  2. Open one of the scripts in command prompt for PIL lib to work

Paint-to-hex Steps

  1. Create a separate file for the palette. Be sure the colors match with the picture you will using
  2. Choose a palette (image). It have to have a total of 16 pixels
  3. Choose a sprite sheet (image). Its dimensions both should be a divisible of 8
  4. Mention if the picture is displayed vertically or horizontally.
  5. Two bin files will be created, ready to replace data in the ROM

Hex-to-paint Steps

  1. Get the Palette and Sprites data from the ROM. Use the GSavestate and CHR-YY repectivily to locate them and create new files with an Hex editor. Don't forget to mention the offset
  2. Choose a palette (bin file). Its lenght has to be 32
  3. Choose a sprite sheet (bin file). Its lenght has to be a divisble of 32 (one tile)
  4. Choose the number of tiles for the width
  5. Choose if you want to display the tiles vertically or horizontally.
  6. Two images files will be created, ready to be edited in drawing tools

Result

Fusion_VvzzC6zCaj-Toejam-and-Earl---Logo-Edit Toejam & Earl

Update

1st Febuary of 2024: Added the option to display verticallly/horizontally.

History

Previously know as paint-to-bin-MSX, the repository is upgraded into a both-way convertor. Now, you need two files (Palette and Sprite Sheet) for paint-to-hex script. Turning a Bin data into Image is an ambitious idea. I am glad to turn this dream come true. For someone visual, Sprite Editing become easier (and better than YY-CHR).

Similar Tool

About

Python Scripts that convert Picture into Bin file and vice-versa for Sega Genesis / MegaDrive Sprites Editing. Previously know as paint-to-bin-MSX.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages