User Tools

Site Tools


general:guides:tile_molester_graphics_guide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
general:guides:tile_molester_graphics_guide [2020/10/08 22:38] – New link for tmspec.xml felixwrightgeneral:guides:tile_molester_graphics_guide [2023/06/05 21:26] (current) – Mention of XmlNotepad for rearranging bookmarks felixwright
Line 1: Line 1:
 ======Tile Molester Graphics Guide====== ======Tile Molester Graphics Guide======
-''By FelixWright, A.K.A. Cosmic''+''By FelixWright''
  
 Hello, and welcome to our current graphics guide for Tile Molester. Hello, and welcome to our current graphics guide for Tile Molester.
  
-The main goal of this guide is to teach newbies how to use this cross-compatible graphics editor for their own nefarious purposes.+The main goal of this guide is to teach newbies how to use this java-based cross-platform graphics editor for their own nefarious purposes.
  
 Let's get started. Let's get started.
  
 +----
 =====What is Tile Molester?===== =====What is Tile Molester?=====
 Tile Molester is a cross-platform graphics editor for video game ROMs such as .SMC, .NDS, and .GBA. It was created in 2005 by SnowBro. Tile Molester is a cross-platform graphics editor for video game ROMs such as .SMC, .NDS, and .GBA. It was created in 2005 by SnowBro.
  
 +----
 +=====Downloading Tile Molester=====
  
-====Downloading Tile Molester==== +====Requirements==== 
-Tile Molester 0.16 can be [[http://www.romhacking.net/utilities/109/|downloaded from RHDN.]]+Java runtime environment. Something like the [[https://adoptium.net/temurin/releases/|Eclipse Adoptium JRE]] will suffice. Download and Install as follows if you are on Windows x64:\\ 
 +{{:general:guides:adoptium_howto.png}} 
 +====Download links==== 
 +Tile Molester Mod 0.19 can be [[https://www.romhacking.net/utilities/991/|Downloaded from RHDN.]] This fixes many, but not all of 0.16's issues, making it the recommended version to use.
  
-Alternatively [[https://www.romhacking.net/utilities/515/|Tile Molester Alternate]] and  [[https://www.romhacking.net/utilities/991/|Tile Molester Mod]] can also be found on RHDN.+If you would prefer, Tile Molester 0.16 can be [[http://www.romhacking.net/utilities/109/|downloaded from RHDN.]]
  
 This tutorial covers Tile Molester 0.16, and may not cover features that exist in the alternate/ mod branches of TM. This tutorial covers Tile Molester 0.16, and may not cover features that exist in the alternate/ mod branches of TM.
Line 22: Line 27:
 If you wish to improve upon Tile Molester 0.16, the source can be found [[https://www.romhacking.net/documents/431/|Here on RHDN.]] If you wish to improve upon Tile Molester 0.16, the source can be found [[https://www.romhacking.net/documents/431/|Here on RHDN.]]
  
 +----
 +=====Known Issues with TM=====
 +You should learn these limitations now, before discovering them the hard way.
 +====Errors/Not Working====
 +That would be Java's fault. If Tile Molester gives errors, Try running it as an Administrator. If that still doesn't work, Make a batch file (.bat file) containing ''java -jar tm.jar'' and save it in the tile molester folder.
  
-====Tile Molester Not Working?==== +If Tile Molester doesn'start at allyou might need to install or update your JRE (java runtime environment) first.
-That would be Java's fault. If Tile Molester gives errors, Try running it as an Administrator. If that still doesn'workMake a batch file containing ''java -jar tm.jar'' and save it as ''runtm.bat'' in the tile molester folder.+
  
-If Tile Molester doesn't start at all, you might need to install or update Java first.+====Palettes==== 
 +If you use a palette that has the same color in multiple slots, the graphics will get messed up. For best results, only use palettes with unique colors in every slot.
  
 +If you mess with palettes in TM, don't swap to other palettes. Probably due to the issue above, it messes things up catastrophically. For best results, edit palettes in an external program and either reload the ROM to use them, or load them in as an external file.
  
 +===Loading Palettes from a File===
 +Tile Molester does not support Tile Layer Pro palette files with CF00 color format. (*.tpl) It also doesn't support Windows palette files with CF00 or CF01 color format. (*.pal) [[general:guides:tile_molester_graphics_guide:tmspec.xml|If you replace tmspec.xml with this XML file]], you will have a choice between CF00 *.tpl files (GBA Accurate) and CF01 *.tpl files (Super Nintendo Accurate), as well as CF01 *.pal files. (GBA Accurate)
 +
 +If you're loading a palette from __SNES__ TPL: Select ''Palette -> Import From -> Another File...,'' And make sure ''Files of Type'' is set to ''CF01 TLP File (*.tpl)''
 +
 +If you're loading a palette from __GBA__ TPL: Select ''Palette -> Import From -> Another File...,'' And make sure ''Files of Type'' is set to ''CF00 TLP File (*.tpl)''
 +
 +====Copy/Paste====
 +If you undo after pasting graphics, the tile the graphics were pasted over will become blank. **This seems to have been fixed with TM Mod 0.19.**
 +
 +====Zoom====
 +If you paste graphics before zooming out, the pasted graphics will be de-selected. **This may also have been fixed in TM Mod 0.19. If you Ctrl Z it should re-select the paste.**
 +
 +====Byte Forward/Back====
 +You can Byte Back with the -/_ key, but you cannot Byte Forward with the =/+ key. That being said, the keypad + and - keys work as expected.
 +
 +====Grids====
 +The Block and Pixel grids are not functional.
 +
 +====Bookmarks====
 +You are unable to organize bookmarks within Tile Molester. However, you can use a tool like [[https://microsoft.github.io/XmlNotepad/#install/|XmlNotepad]] as a workaround. It makes rearranging your bookmarks as easy as dragging and dropping them around. Just remember to close tile molester before doing this.
 +
 +----
 =====Using Tile Molester===== =====Using Tile Molester=====
  
Line 34: Line 68:
 Before we get into graphics editing you should probably learn more about how to actually use this program. For ROMhacking, here is a comprehensive list of Tile Molester's various keyboard shortcuts: Before we get into graphics editing you should probably learn more about how to actually use this program. For ROMhacking, here is a comprehensive list of Tile Molester's various keyboard shortcuts:
  
-^Key Combination ^Description                                                            +^Key Combination                ^Description                                                                       
-|F1                             |Open help                                               +|F1                             | Open help                                                                        
-|Delete                         |Clear Selection                                         +|Delete                         | Clear Selection                                                                  
-|and - Keys                   |Shift pixels Left/Right                                 +|PgUp and PgDn keys             |{{:general:guides:tm_page_fwdback.png|}} Page Forward/Back                        | 
-|Left and Right Arrow keys      |{{:general:guides:tilefwdback.png|}} Tile Forward/Back  +|Up and Down Arrow keys         |{{:general:guides:rowfwdback.png|}} Row Forward/Back                              
-|Up and Down Arrow keys         |{{:general:guides:rowfwdback.png|}} Row Forward/Back    +|Left and Right Arrow keys      |{{:general:guides:tilefwdback.png|}} Tile Forward/Back                            
-|CTRL + A                       |Select All                                              +|Keypad - and keys            |{{:general:guides:tm_bytefwdback.png|}} Byte Forward/Back                         | 
-|CTRL + G                       |{{:general:guides:goto.png|}} Go To Offset              +|Shift + Arrow keys             |{{:general:guides:tm_width_height.png|}} Increase or Decrease Canvas Width/Height 
-|CTRL + M                       |{{:general:guides:mirror.png|}} Mirror                  +|CTRL + A                       | Select All                                                                       
-|CTRL + I                       |{{:general:guides:flip.png|}} Flip                      +|CTRL + G                       |{{:general:guides:goto.png|}} Go To Offset                                        
-|CTRL + C                       |{{:general:guides:copy.png|}} Copy                      +|CTRL + M                       |{{:general:guides:mirror.png|}} Mirror                                            
-|CTRL + X                       |{{:general:guides:cut.png|}} Cut                        +|CTRL + I                       |{{:general:guides:flip.png|}} Flip                                                
-|CTRL + V                       |{{:general:guides:paste.png|}} Paste                    +|CTRL + C                       |{{:general:guides:copy.png|}} Copy                                                
-|CTRL + Z                       |{{:general:guides:undo.png|}} Undo                      +|CTRL + X                       |{{:general:guides:cut.png|}} Cut                                                  
-|CTRL + Y                       |{{:general:guides:redo.png|}} Redo                      +|CTRL + V                       |{{:general:guides:paste.png|}} Paste                                              
-|CTRL + N                       |{{:general:guides:new.png|}} Create a new file          +|CTRL + Z                       |{{:general:guides:undo.png|}} Undo                                                
-|CTRL + O                       |{{:general:guides:open.png|}} Open a file               +|CTRL + Y                       |{{:general:guides:redo.png|}} Redo                                                
-|CTRL + S                       |{{:general:guides:save.png|}} Save a file               |+|CTRL + N                       |{{:general:guides:new.png|}} Create a new file                                    
 +|CTRL + O                       |{{:general:guides:open.png|}} Open a file                                         
 +|CTRL + S                       |{{:general:guides:save.png|}} Save a file                                         |
  
 And now that you know this let's look at some other features. And now that you know this let's look at some other features.
  
 +====Tools====
 +
 +^Tool                                                         ^Description                                                                                  ^
 +|{{:general:guides:tm_selection.png}} Selection               |Rectangle select in 8x8 tile increments. LMB + drag to select. RMB to deselect.              |
 +|{{:general:guides:tm_zoom.png}} Zoom                         |LMB to zoom in, RMB to zoom out.                                                             |
 +|{{:general:guides:tm_dropper.png}} Dropper                   |LMB in canvas to select primary color. RMB for secondary color.                              |
 +|{{:general:guides:tm_brush.png}} Brush                       |LMB to draw using primary color. RMB to draw with secondary color.                           |
 +|{{:general:guides:tm_line.png}} Line                         |LMB + drag to draw lines using primary color. RMB to use secondary color.                    |
 +|{{:general:guides:tm_flood_fill.png}} Flood Fill             |LMB to fill similar colors with primary color. RMB for secondary color.                      |
 +|{{:general:guides:tm_color_replacer.png}} Color Replacer     |LMB in canvas to replace all pixels of the same color with primary color. RMB for secondary. |
 +|{{:general:guides:tm_mover.png}} Mover                       |LMB/RMB + drag or Arrows to move current selection. RMB opens context menu upon release.     |
 +|{{:general:guides:tm_flip_h.png}} Mirror                     |Horizontally flips canvas, or current selection.                                             |
 +|{{:general:guides:tm_flip_v.png}} Flip                       |Vertically flips canvas, or current selection.                                               |
 +|{{:general:guides:tm_rotate_r.png}} Rotate Right             |Rotates canvas or current selection clockwise, or 90 degrees.                                |
 +|{{:general:guides:tm_rotate_l.png}} Rotate Left              |Rotates canvas or current selection counter-clockwise, or -90 degrees.                       |
 +|{{:general:guides:tm_shift_l.png}} Shift Left                |Shifts canvas or current selection left one pixel. Loops back around.                        |
 +|{{:general:guides:tm_shift_r.png}} Shift Right               |Shifts canvas or current selection right one pixel. Loops back around.                       |
 +|{{:general:guides:tm_shift_u.png}} Shift Up                  |Shifts canvas or current selection up one pixel. Loops back around.                          |
 +|{{:general:guides:tm_shift_d.png}} Shift Down                |Shifts canvas or current selection down one pixel. Loops back around.                        |
  
 ====Bookmarks==== ====Bookmarks====
 In Tile Molester, Bookmarks can be found in the ''Navigate'' tab and are used to quickly jump to a specific offset of Graphical Data. Bookmarks can be very handy when making changes to graphics, and are pretty easy to set. Once you are at a specific offset you want to bookmark, simply select the ''Bookmark Icon'' {{:general:guides:bookmark.png|}} or ''Navigate -> Add to Bookmarks...'' and a new window should appear. This window allows you to type a ''description'' for your Bookmark, and assign it to a specific bookmarks folder or location. Once you give it a ''description'' and assign the new bookmark to a favored location, select ''OK''. Doing this will add your bookmark to the ''Navigate'' tab, and can be accessed at any time once the ROM is loaded. In Tile Molester, Bookmarks can be found in the ''Navigate'' tab and are used to quickly jump to a specific offset of Graphical Data. Bookmarks can be very handy when making changes to graphics, and are pretty easy to set. Once you are at a specific offset you want to bookmark, simply select the ''Bookmark Icon'' {{:general:guides:bookmark.png|}} or ''Navigate -> Add to Bookmarks...'' and a new window should appear. This window allows you to type a ''description'' for your Bookmark, and assign it to a specific bookmarks folder or location. Once you give it a ''description'' and assign the new bookmark to a favored location, select ''OK''. Doing this will add your bookmark to the ''Navigate'' tab, and can be accessed at any time once the ROM is loaded.
  
-====Loading Palettes from a File==== +====Codecs==== 
-By default, Tile Molester can open any raw graphics file formatbut it does not correctly support Tile Layer Pro palette files. (*.tpl) [[http://www.mediafire.com/file/3j8509c52y84cvh/tmspec.xml|If you replace tmspec.xml with this XML (MediaFire)]], you will have choice between CF00 *.tpl files (GBA Accurate) and CF01 *.tpl files(Super Nintendo Accurate)+NOTE: This only applies to you if you are loading raw file types such as .gfxand loading it creates jumbled pixelly mess.
  
-If you're loading a palette from __SNES__ TPL: Select ''Palette -> Import From -> Another File...,'' And make sure ''Files of Type'' is set to ''CF01 TLP File (*.tpl)''+Codecs can be changed by using ''View->Codec''.
  
-If you're loading palette from __GBA__ TPL: Select ''Palette -> Import From -> Another File...,'' And make sure ''Files of Type'' is set to ''CF00 TLP File (*.tpl)''+If you are editing a .GFX file for a GBAyour codec should be set to ''4bpp linear, reverse order''
 + 
 +However, if you are editing a .GFX file for a Super Nintendo, your codec should be set to ''4bpp planar, composite (2 x 2bpp)''
  
-====Locating Palettes in ROM====+====Finding Palettes====
 Note: This isn't a foolproof method. Palettes can often be in arbitrary locations in the ROM. Note: This isn't a foolproof method. Palettes can often be in arbitrary locations in the ROM.
  
Line 73: Line 130:
 Convert that offset to decimal, select ''Palette -> Import From -> This File...'', and paste it into the offset box and set size to 9999. The format should be ''15bpp BGR (555)'', and the byte order should be ''Intel''. Click OK, and the palette should have changed. If it's not the correct palette data, rinse and repeat until you find the correct one. Convert that offset to decimal, select ''Palette -> Import From -> This File...'', and paste it into the offset box and set size to 9999. The format should be ''15bpp BGR (555)'', and the byte order should be ''Intel''. Click OK, and the palette should have changed. If it's not the correct palette data, rinse and repeat until you find the correct one.
  
- +====Finding Graphics====
-=====Finding Graphics=====+
 If you're using Tile Molester you probably already know what you're looking for. If you do, ''Open'' {{:general:guides:open.png|}} the extracted graphics. If you can't see the file you want to open in TM, make sure ''Files of Type'' is set to ''all files (*.*)'' in the open menu. Otherwise, ''Goto...'' {{:general:guides:goto.png|}} to find it within ROM. A window will open for you to enter an offset. If you're using hexadecimal, replace ''0x'' with ''00''. Otherwise, convert it to decimal, select the decimal option, paste it in and go. If you're using Tile Molester you probably already know what you're looking for. If you do, ''Open'' {{:general:guides:open.png|}} the extracted graphics. If you can't see the file you want to open in TM, make sure ''Files of Type'' is set to ''all files (*.*)'' in the open menu. Otherwise, ''Goto...'' {{:general:guides:goto.png|}} to find it within ROM. A window will open for you to enter an offset. If you're using hexadecimal, replace ''0x'' with ''00''. Otherwise, convert it to decimal, select the decimal option, paste it in and go.
  
 I highly suggest setting the internal window to max size (the ROM window) and increasing gfx width to ''32''. Not only will this make finding the right graphics easier, but you'll be viewing the graphics in the same way nintendo drew/input them. Shift columns as needed until you get it just right with very little garbage. Shift pixels as needed. I highly suggest setting the internal window to max size (the ROM window) and increasing gfx width to ''32''. Not only will this make finding the right graphics easier, but you'll be viewing the graphics in the same way nintendo drew/input them. Shift columns as needed until you get it just right with very little garbage. Shift pixels as needed.
  
 +====Editing====
 +Editing Graphics is a pretty straightforward operation, once you match the palette data to what you're currently editing. 
  
-=====Codecs===== +The first color of your palette will always be the background, or ''transparent'', colour. If you want to "erase" something, you swap to that color and brush it in. Every other color in the palette is fair game. You can select these colours by either clicking them in the palette viewer or using the ''dropper'' tool. Once you have your color selected you can do one of three things to edit graphics: You can edit individual pixels with the ''brush'' tool, fill in closed areas with a particular color using the ''flood fill'' tool, or replace one color with another entirely using the ''color replacer'' tool. From there, editing the graphics is as easy as using MS paint to drawIt is still important to rememberhowever, to edit things in their respective tiles.
-NOTE: This only applies to you if you are loading raw file types such as .gfxand loading it creates a jumbled pixelly mess.+
  
-Codecs can be changed by using ''View->Codec''+====Ripping====
- +
-If you are editing a .GFX file for a GBA, your codec should be set to ''4bpp linear, reverse order''+
- +
-However, if you are editing a .GFX file for a Super Nintendo, your codec should be set to ''4bpp planar, composite (2 x 2bpp)'' +
- +
-=====Ripping=====+
 So now, you have the correct graphics, and the correct palette. All you need to do is assemble the parts and extract them from the ROM. Use your mouse to select what you want to extract, and ''Copy'' {{:general:guides:copy.png|}} that selection. Drag the scrollbar down to the bottom of the ROM, and ''Paste'' {{:general:guides:paste.png|}} it. You've just pasted your graphics into what spriters call the ''Playground.'' This area should be completely empty. Use your mouse to select and drag tiles together into usable graphics for other stuff.  So now, you have the correct graphics, and the correct palette. All you need to do is assemble the parts and extract them from the ROM. Use your mouse to select what you want to extract, and ''Copy'' {{:general:guides:copy.png|}} that selection. Drag the scrollbar down to the bottom of the ROM, and ''Paste'' {{:general:guides:paste.png|}} it. You've just pasted your graphics into what spriters call the ''Playground.'' This area should be completely empty. Use your mouse to select and drag tiles together into usable graphics for other stuff. 
  
- 
-=====Extracting===== 
 When you're satisfied with your rip, move it all to the top-left corner, and reduce width and height until it is just your  When you're satisfied with your rip, move it all to the top-left corner, and reduce width and height until it is just your 
 graphics. Now it's ready to extract. Feel free to change the type of palette format by selecting ''Palette -> Format -> yourchoicehere''. graphics. Now it's ready to extract. Feel free to change the type of palette format by selecting ''Palette -> Format -> yourchoicehere''.
Line 99: Line 148:
 Once you have that out of the way it's time you copied it out of the ROM. Select ''Edit -> Copy To...'', name your file, set its destination, and save the image. Well done, you have ripped your first set of graphics! Once you have that out of the way it's time you copied it out of the ROM. Select ''Edit -> Copy To...'', name your file, set its destination, and save the image. Well done, you have ripped your first set of graphics!
  
- +====Saving to ROM====
- +
-=====Editing===== +
-Editing Graphics is a pretty straightforward operation, once you match the palette data to what you're currently editing. In Tile Molester, there are five graphics editing tools: the ''dropper'' tool, the ''brush'' tool, the ''line'' tool, the ''flood fill'' tool, and the ''color replacer'' tool. Note that since you will be operating with that is in the current palette, there is no color picker. +
- +
-The first color of your palette will always be the background, or ''transparent'', colour. If you want to "erase" something, you swap to that color and brush it in. Every other color in the palette is fair game. You can select these colours by either clicking them in the palette viewer or using the ''dropper'' tool. Once you have your color selected you can do one of three things to edit graphics: You can edit individual pixels with the ''brush'' tool, fill in closed areas with a particular color using the ''flood fill'' tool, or replace one color with another entirely using the ''color replacer'' tool. From there, editing the graphics is as easy as using MS paint to draw. It is still important to remember, however, to edit things in their respective tiles. +
- +
- +
-=====Saving to ROM=====+
 So you've just finished editing the graphics in your ROM, and want to save them. How can this be done in Tile Molester, you ask? To start, ''Close any other Programs that may be Using your ROM''. Otherwise, the graphics will fail to save to memory because it is currently being run. Now you should be able to save graphics correctly. There are a few different ways you can ''Save''{{:general:guides:save.png|}}: Obviously, ''Save'' simply saves what you have done in Tile Molester to ROM. ''Save As...'' allows you to save a copy to a different directory, name,  or filetype. Finally, ''Save All'' will save all graphical changes from every open Tile Molester window to their respective ROMs. Pick what's right for you, and save your ROM. Now, when it is opened, the graphics should have changed to your new ones! So you've just finished editing the graphics in your ROM, and want to save them. How can this be done in Tile Molester, you ask? To start, ''Close any other Programs that may be Using your ROM''. Otherwise, the graphics will fail to save to memory because it is currently being run. Now you should be able to save graphics correctly. There are a few different ways you can ''Save''{{:general:guides:save.png|}}: Obviously, ''Save'' simply saves what you have done in Tile Molester to ROM. ''Save As...'' allows you to save a copy to a different directory, name,  or filetype. Finally, ''Save All'' will save all graphical changes from every open Tile Molester window to their respective ROMs. Pick what's right for you, and save your ROM. Now, when it is opened, the graphics should have changed to your new ones!
general/guides/tile_molester_graphics_guide.1602196721.txt.gz · Last modified: 2020/10/08 22:38 by felixwright