Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - Help with Master Tile converter

Reply to topic
Author Message
  • Joined: 22 Feb 2021
  • Posts: 6
Reply with quote
Help with Master Tile converter
Post Posted: Fri Apr 02, 2021 3:42 pm
Hello, I am working on the translation of Asterix into Spanish, I have been able to modify the characters easily.

But now I am trying to modify the text of the languages

But I get the following error:

Compression error:
The 49 tiles have been
compressed, but its size is
778 bytes instead of 773!!!
Insertion Cancelled.


I have respected the colors, and everything but it increases the size of the file.

Can someone help me to solve it?
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13650
  • Location: London
Reply with quote
Post Posted: Fri Apr 02, 2021 5:25 pm
The tiles are compressed, which means that changing the data can result in a larger compressed result. As Master Tile Converter can’t rearrange the rest of the data to make space, it can only refuse to insert the new data.

You may need to simplify the data to make it compress better. The compression is very simple, so it prefers entire rows that are identical, and it prefers fewer colours.

Alternatively you can get a more experienced developer to help you relocate the data to where there is more space.
  View user's profile Send private message Visit poster's website
  • Joined: 06 Aug 2015
  • Posts: 26
Reply with quote
Post Posted: Mon Apr 05, 2021 10:36 pm
Kyoichi wrote
Hello, I am working on the translation of Asterix into Spanish, I have been able to modify the characters easily.

But now I am trying to modify the text of the languages

But I get the following error:

Compression error:
The 49 tiles have been
compressed, but its size is
778 bytes instead of 773!!!
Insertion Cancelled.


I have respected the colors, and everything but it increases the size of the file.

Can someone help me to solve it?


I don't use Master Tile to make the image compressed. I use the "Sega 8-bit tile decoder A" + bin2hex + hex2bin to create the compressed file. Then I insert it in the rom with the mater tile. The compression tool of the MTC is horrible.

Another option is delete tiles that are not in use. Using color number one on the palette. That way you release more bites. I suffered a lot like you =)
  View user's profile Send private message
  • Joined: 22 Feb 2021
  • Posts: 6
Reply with quote
Post Posted: Mon Apr 05, 2021 11:48 pm
EmuBoarding wrote
I don't use Master Tile to make the image compressed. I use the "Sega 8-bit tile decoder A" + bin2hex + hex2bin to create the compressed file. Then I insert it in the rom with the mater tile. The compression tool of the MTC is horrible.


I'm going to try the program, to see if I can get used to it.

Is there a tutorial for the program?
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13650
  • Location: London
Reply with quote
Post Posted: Tue Apr 06, 2021 1:27 am
No, it’s super old and crappy. Save the tiles image and save with bmp2tile as pscompr format to get the best compression.
  View user's profile Send private message Visit poster's website
  • Joined: 06 Aug 2015
  • Posts: 26
Reply with quote
Post Posted: Tue Apr 06, 2021 2:48 am
Maxim wrote
No, it’s super old and crappy. Save the tiles image and save with bmp2tile as pscompr format to get the best compression.


I'm going to test bmp2tile. Thx max.
  View user's profile Send private message
  • Joined: 06 Aug 2015
  • Posts: 26
Reply with quote
Post Posted: Tue Apr 06, 2021 2:49 am
Kyoichi wrote
EmuBoarding wrote
I don't use Master Tile to make the image compressed. I use the "Sega 8-bit tile decoder A" + bin2hex + hex2bin to create the compressed file. Then I insert it in the rom with the mater tile. The compression tool of the MTC is horrible.


I'm going to try the program, to see if I can get used to it.

Is there a tutorial for the program?


I'm going to test the bmp2tile that Maxim talked about. If everything works out I'll explain it to you.
  View user's profile Send private message
  • Joined: 22 Feb 2021
  • Posts: 6
Reply with quote
Post Posted: Wed Apr 07, 2021 1:52 pm
Thanks
  View user's profile Send private message
  • Joined: 22 Feb 2021
  • Posts: 6
Reply with quote
Post Posted: Wed Apr 14, 2021 2:13 pm
I can't extract image with bitmap_decode, I tried it but maybe I don't understand the command line, let's see what you have to write to extract the graphics.
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13650
  • Location: London
Reply with quote
Post Posted: Wed Apr 14, 2021 2:39 pm
There’s not many tools that can decompress the data and also extract it to an image file like the PNG format. Usually they’ll just decompress, so tools like Tile Layer can edit the data.
  View user's profile Send private message Visit poster's website
Reply to topic



Back to the top of this page

Back to SMS Power!