Final Fantasy Hacktics

Modding => Tutorials and Learning => Topic started by: Celdia on January 07, 2011, 04:13:04 am

Title: Item Icon Editing
Post by: Celdia on January 07, 2011, 04:13:04 am
Okay. The forum search function has failed me or my google-fu is just not up to snuff for this one. Can anyone tell me how to edit this:

(http://i112.photobucket.com/albums/n198/LastingDawn/ItemGrid.jpg)

I don't know where to find it in the ISO, how to extract it or how to import it once I've made my changes to it. SOMEONE must know.
Title: Re: Item Grid Editing
Post by: Celdia on January 08, 2011, 12:26:14 am
Okay, so I got this fully answered in chat by Kokojo. If anyone else is wondering how to do this, here's a quick rundown.

1.) Go http://www.romhacking.net/utils/109/ (http://"here") and grab TileMolester.
2.) Use CDMage to grab Item.bin out of the Event folder of your ISO.
3.) Open Item.bin with TileMolester. It should look like a big jumbled mess. Let's fix that.
4.) Go to View > Codec > "4bpp, linear, reverse-order"
5.) Go to View > Mode > "2-Dimensional"

Hopefully things start to look familiar at this point. The last thing to do before you start editing is look for this button at the top somewhere (http://img.photobucket.com/albums/v311/Celdia/WidthButton02.png) and click it. It will expand the viewing area and reorganize things so that after a few clicks it all looks like this:

(http://img.photobucket.com/albums/v311/Celdia/ItemIcons02.png)

Happy editing!
Title: Re: Item Icon Editing
Post by: dinosaur on July 29, 2011, 03:48:18 am
I think you are in the wrong color bit dimension. Do 8 bit linear or 16. 
Title: Re: Item Icon Editing
Post by: GeneralStrife on July 29, 2011, 02:31:56 pm
Wow, that alot of work for the icons huh? I guess tis the life of a patch maker.....ouch.
Title: Re: Item Icon Editing
Post by: Celdia on July 30, 2011, 08:14:58 am
Here is 8 bit linear

(http://img.photobucket.com/albums/v311/Celdia/8bitlin.jpg)

And this is the first 16bpp codec

(http://img.photobucket.com/albums/v311/Celdia/16bpprgb.jpg)

While I suppose if you really wanted to you could try and edit those in that format I don't think you'd do very well with it. Since I don't know where the palettes for the items are stored there's no quick way to load up usable colors for editing the icons - you just have to find the corresponding colors you want to use from the existing icons over here (http://ffh.kivutar.me/items.php) onto the palette in TM and use those. It takes some time to make sure you have exactly the right matches but it will make the actual process of importing your new icons pixel-by-pixel less of a headache. After I felt I was "getting good" at it, it still took me about a half hour to create a new icon.
Title: Re: Item Icon Editing
Post by: Shade on July 30, 2011, 08:19:33 am
Quote from: Celdia on July 30, 2011, 08:14:58 am
Here is 8 bit linear

(http://img.photobucket.com/albums/v311/Celdia/8bitlin.jpg)

And this is the first 16bpp codec

(http://img.photobucket.com/albums/v311/Celdia/16bpprgb.jpg)

While I suppose if you really wanted to you could try and edit those in that format I don't think you'd do very well with it. Since I don't know where the palettes for the items are stored there's no quick way to load up usable colors for editing the icons - you just have to find the corresponding colors you want to use from the existing icons over http://www.ffhacktics.com/items.php (http://here) onto the palette in TM and use those. It takes some time to make sure you have exactly the right matches but it will make the actual process of importing your new icons pixel-by-pixel less of a headache. After I felt I was "getting good" at it, it still took me about a half hour to create a new icon.


It would cool if those pictures you just posted worked...
Title: Re: Item Icon Editing
Post by: Celdia on July 30, 2011, 08:21:48 am
I was cutting them down to size so they didn't expand the forum post width. They work again now, Shade.
Title: Re: Item Icon Editing
Post by: Xifanie on July 30, 2011, 09:46:08 am
1) Edit the .BMP With the palette editor (http://ffhacktics.com/FTP/Zodiac/Palette_Editor.7z) to switch palettes and stuff.
2) Convert to .TIM using TIMUTIL.EXE (http://ffhacktics.com/FTP/Zodiac/TIMUTIL.EXE). Create one 4bit and one 8bit version so you can keep all the 16 palettes and not just the first one. (in Bit Depth)
3) Using a hex editor:
Copy 0x0040-0x803F from your 4bit .TIM to 0x0000-0x7FFF in ITEM.BIN (palettes)
Copy 0x0014-0x0213 from your 8bit .TIM to 0x8000-0x81FF in ITEM.BIN (image)
4) Import to your ISO with cdmage/cdprog.