/Master-Tile-Converter

Extract and import tiles from Sega Master System (SMS) roms.

Primary LanguageC++GNU General Public License v3.0GPL-3.0

MASTER TILE CONVERTER
http://jmimu.free.fr/mastertileconverter/


Copyright (C) 2012-2016  JM Muller

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.




////////////////////////////////////////////////////////////////////////

Some code is taken from:
SMS Check (c) Omar Cornut (Bock) 2000-2006


////////////////////////////////////////////////////////////////////////


Master Tile Converter (MTC) can export and import 3bpp and 4bpp
tiles in Sega Master System (SMS) roms.
It uses a portable QT interface.
You can see a simpler version in python in "simple_version" repertory.
Version 0.9d.


TODO:
 * set working dir where rom is (for picture, asm...)
 * add "undo" button!
 * try to remove palette dependency for rom
 * add IPS patch apply?
 * Add Mark II support?
 * show a message if incorrect patch, and show how man patches have been applied


Usage :
 - load ROM
 - load palette (binary dump form meka) or extract palette from ROM if you know its adress
 - find the perfect position in the rom where you want to work, or find compressed picture
 - select the good format (1bpp, 2bpp, 3bpp or 4 bpp)
 - select the correct palette and the correct part
 - export ROM of create IPS patch

 - edit BMP in an external editor (don't modify the palette! don't change tiles with no meaning!)
(you can change the size of the picture)
* make your own graphics (respect size and palette)
* rearrange tiles to have the same layout as your dump (you may have to be pixel-precise!)
* add transparent for the tiles you don't want to change
* past it in the dump image in GIMP (it respects the palette)
* save it as your new image

 - back in MTC, if you are in the correct position, import your BMP.
 - Save the resulting rom.
Done !

 - you can save your work as a project, to be able to record your bookmarks and palettes.

 - MTC can also be used to determine where may be an uncompressed palette in rom from a palette exported by an emulator

More detailed information at: http://jmimu.free.fr/mastertileconverter/