Git Product home page Git Product logo

zigaudrey / paint-hex-convertor-msx Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 53 KB

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

Python 100.00%
bin binary convertor gamemod megadrive python romhacking segagenesis spriteediting hex gamedev gamedevtool spriteedit image picture romhack romhackingtool romhacktool

paint-hex-convertor-msx's Introduction

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

paint-hex-convertor-msx's People

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.