Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Durobot/gimp-megadrive-export

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gimp-megadrive-export

Export Sega Megadrive/Genesis tiles from Gimp

This is a plug-in for Gimp for exporting images as 8x8 tiles for Sega Genesis/Megadrive as asm68k source files.

Installation

  • Copy gimp_megadrive_export.py to your Gimp plugins folder. To find out its location, run Gimp and go to Edit > Preferences > Folders > Plug-ins

  • (Skip if you're using Windows) Change file permissions by adding executable bit: chmod +x gimp_megadrive_export.py

  • Restart Gimp

Use

  • Make sure your image is indexed, with no more than 15 colors (may have transparency), use Image > Mode > Indexed.. to convert;

  • Go to File > Export As.., in "All export images" select "Asm68k files (*.asm)", click "Select File Type (By Extension)", then "Asm68k files";

  • Click "Export";

  • Click "Ok" in file-asm-save dialog box. You can choose whether to use COLRW macro (see below) or not, whether to merge duplicate palette colors, and choose export order of the tiles;

  • Done. If one or both of your image's dimensions is not a multiple of 8, the plugin will show a dialog box informing of unexported pixels.

COLRW is an asm68k macro that I use to improve readability of exported palettes. With it you can see palette RGB values (0 - 7) in the code, instead of color components packed into hexadecimal words.

To do

  • Tile optimization: add an option to skip repeating tiles

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.