+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Tile Molester (?)bug(?) - Cutting image in 2D mode
Pages: [1]
Author Topic: Tile Molester (?)bug(?) - Cutting image in 2D mode  (Read 2 times)
Griever
Guest
« on: January 07, 2009, 11:22:15 am »

I've just found out strange TM behavior. Let's just say I load this file (out.bin - $8000 bytes in size). Get to the end of file in TM (for obviousness). Switch to 4bpp linear reverse order codec and make 32 tiles in width. And now - switch to 2D mode! Vy result in .png file in archive. Seems like TM just cut out 31 tile out of file, but after saving size didn't change. This stuff was checked on two computers on 0.15 and 0.16 versions.
So, is this a bug and how can it be fixed?
sb iq
Guest
« Reply #1 on: January 07, 2009, 03:59:28 pm »

It won't be fixed.

I heard somewhere that the guy who made it (SnowBro) doesn't want to work on it anymore.
Griever
Guest
« Reply #2 on: January 08, 2009, 04:06:50 pm »

Ok then - are there any editors available, which can treat binary file as 2D (not tile based) graphics?
PS: yes, I've read this section
Tauwasser
Guest
« Reply #3 on: January 08, 2009, 04:18:05 pm »

Can't you do it in reverse order or make it less than 32 tiles wide? You explanation of the bug sounded as if it was specific to this order of events?

cYa,

Tauwasser
Sabin9999
Guest
« Reply #4 on: January 08, 2009, 08:02:26 pm »

Quote from: sb  iq on January 07, 2009, 03:59:28 pm
It won't be fixed.

I heard somewhere that the guy who made it (SnowBro) doesn't want to work on it anymore.

It's being worked on by someone else

http://code.google.com/p/tile-molester/

Tile Molester was originally released to the public around Jun 9th, 2003. The original author Kent Hansen (aka SnowBro) released the source code under GNU GPLv2, which means that anyone has the right to copy, distribute and/or modify it. Since it's original release the project remained unchanged until Matt Beisser adopted it in Nov. 2008. The project is currently being updated to provide a better GUI, improved performance, along with the correction of several bugs.
Ryusui
Guest
« Reply #5 on: January 08, 2009, 08:46:37 pm »

W00t.
Azkadellia
Guest
« Reply #6 on: January 08, 2009, 09:41:33 pm »

It looks like Tile Molester will replace YY-CHR as my main graphics editor. Cheesy
GenoBlast
Guest
« Reply #7 on: January 08, 2009, 10:35:20 pm »

Quote from: Azkadellia on January 08, 2009, 09:41:33 pm
It looks like Tile Molester will replace YY-CHR as my main graphics editor. Cheesy
But YY-CHR is so crunchy and delicious!

Uhh... I'm really hungry. I think what I'm trying to say is it's lightweight and functional. If you think about it, "crunchy" and "delicious" are pretty decent replacement words.

I'm not sure why, but I've never much liked Tile Molester. I think I'm prejudiced against Java apps, since there is such a high volume of crappy ones.
Griever
Guest
« Reply #8 on: January 09, 2009, 09:51:31 am »

Quote from: Tauwasser on January 08, 2009, 04:18:05 pm
Can't you do it in reverse order or make it less than 32 tiles wide? You explanation of the bug sounded as if it was specific to this order of events?

Yup, you can - all this sequence was for visualization. Anyway, you can just open ANY file, do whatever you like (or don't do anything at all) - just make a 2D mode and in the last "tile" row in the file you'll get only one tile - the others will be replaced with grey background.
Griever
Guest
« Reply #9 on: March 07, 2009, 03:49:31 pm »

So, another interesting stuff about Tile Molester: look at resource file tmres.dtd:
Code:
<!ELEMENT bookmark (description)>
<!ATTLIST bookmark
            offset          CDATA       #REQUIRED
            columns         CDATA       #REQUIRED
            rows            CDATA       #REQUIRED
            blockwidth      CDATA       #REQUIRED
            blockheight     CDATA       #REQUIRED
            rowinterleaved  (true | false) #REQUIRED
            sizeblocktocanvas (true | false) #REQUIRED
            mode            (1D | 2D)   #REQUIRED
            codec           CDATA       #REQUIRED
            palIndex        CDATA       #REQUIRED
            [b]palette         CDATA       #IMPLIED[/b]
>
Does that actually means that one bookmark can also have separate palette, which was loaded, for example from another offset? How to implement it?
I mean, just right now I can make one bookmark with gfx offset, format etc. and one palette entry with pal offset and format - how to include palette information in actual bookmark? Any ideas?
Tauwasser
Guest
« Reply #10 on: March 08, 2009, 10:07:42 am »

Hmm, since it is the same type as offset etc, CDATA, maybe just put 256 bytes or whatever your palette is in there and hope for the best? If offsets don't work, that is.

cYa,

Tauwasser
Quick Curly
Guest
« Reply #11 on: March 08, 2009, 01:42:42 pm »

Quote from: Killa B on January 08, 2009, 10:35:20 pm
Quote from: Azkadellia on January 08, 2009, 09:41:33 pm
It looks like Tile Molester will replace YY-CHR as my main graphics editor. Cheesy
But YY-CHR is so crunchy and delicious!

Uhh... I'm really hungry. I think what I'm trying to say is it's lightweight and functional. If you think about it, "crunchy" and "delicious" are pretty decent replacement words.

I'm not sure why, but I've never much liked Tile Molester. I think I'm prejudiced against Java apps, since there is such a high volume of crappy ones.
I have to agree with Killa B. I use YY-CHR and Tile Layer Pro. I wanted to give Tile Molester a try since a few people recommended it over Tile Layer Pro; but simply because it's Java, I was turned off from even giving it a try. Plus I can do everything I want to do with YY-CHR and Tile Layer Pro anyway. Smiley

However, I think it's cool that someone else is updating the program. Smiley
Parasyte
Guest
« Reply #12 on: March 08, 2009, 01:47:41 pm »

The only problem I have with Tile Layer Pro and YYChr is that they do not play nice cross-platform. That leaves some of us (a minority, maybe ... but still some of us) to either wrestle these programs to work under a Windows emulation layer/virtual machine, or just bite the bullet and use Tile Molester. :\\
Griever
Guest
« Reply #13 on: March 09, 2009, 06:12:57 am »

Another wierd thing: when pal offset is big (well close to the End of file, but absolutely not out of the file), TM just doesn't load a file without any error messages...
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC