• Welcome to Final Fantasy Hacktics. Please login or sign up.
 

Problem with editing wldface.bin portraits

Started by Lionheart537, July 08, 2017, 07:57:07 pm

Lionheart537

I have already checked Celdia's guide on formation sprite and portrait editing, http://ffhacktics.com/smf/index.php?topic=6702.0 , but I keep having the same problem with the portraits. I already posted in that topic, but i'm worried that would be necrobumping and just be ignored. So sorry for that and now onto my problem. Whenever I open the bmp or spr in Shishi it seems to enlarge the file and the portrait becomes 59x39 rather than 48x32. At least i believe this is the case.

I screenshot with shishi up and then paste inside graphicsgale. When I magnify the image the portrait's edges bleed into other pixels and the full portrait is the wrong size, too big like stated above. I use the rectangle select and then rotate and copy the portrait, load the 9th row palette (with the box checked) into the original portrait bmp file I'm trying to edit, and then paste the new portrait over it. However, it is too big and won't fit correctly, showing only the face at best. Now I've resized the new portrait to the correct size and tried repeating the last steps. In that case the image fits but is blurry and low quality.

The colors are fine and the unit.bin sprite looks fine. It just seems that the portrait is always too large when I screenshot it from Shishi. I've also tried with an older version of Shishi with no better results. I also got a screencapture app to use in place of the standard prnt scrn with Windows. Using that app I could rectangle select exactly which portion of the screen to use in the screenshot. Selecting the portrait directly from the Shishi screen showed it as 59x39 again. Is this somehow my laptop's default resolution's fault? Would that even make sense? It doesn't seem different than any others. I'm at a loss and I hope I've given enough information to help derive some answer. Is there possibly a different way of editing the wldface.bin portraits? Thanks in advance.
  • Modding version: PSX
It's not much yet but check out my spriting thread!
http://ffhacktics.com/smf/index.php?topic=11772.0
Here's a look at my vanilla mod thread, progressing one step at a time!
http://ffhacktics.com/smf/index.php?topic=11785.0

Xifanie

  • Modding version: PSX
Love what you're seeing? https://supportus.ffhacktics.com/ 💜 it's really appreciated

Anything is possible as long as it is within the hardware's limits. (ie. disc space, RAM, Video RAM, processor, etc.)
<R999> My target market is not FFT mod players
<Raijinili> remember that? it was awful

Lionheart537

July 09, 2017, 04:00:56 pm #2 Last Edit: July 09, 2017, 04:48:38 pm by Lionheart537
Somehow I didn't even notice the v.492 of FFTPatcher. The new unit.bin and wldface.bin feature is very helpful, so thank you for showing me! This is great but the problem remains with obtaining custom portraits from their bmp files. For example I am replacing the Samurai job with a Dark Knight.



Here is the Dark Knight spr I found and loaded into Shishi. With the selection tool we can see that even here the portrait is the incorrect size.



I open the bmp in Graphicsgale (as a side note the portrait is the correct size but discolored as I'm sure you all know) and select over the sprite to be used for the unit.bin formations. Open the exported Samurai unit.bin from Shishi and load the new Dark Knight palette. Paste the New sprite over and bam! Perfect and ready for importing into Shishi. The formation sprite is easy and works great like the battle sprite/portrait.

Trying to make a new, custom portrait for wldface.bin from the one in the bmp file is my issue. Following Celdia's guide I screenshot a view of Shishi with the new bmp displayed. Paste the screenshot in GG and select over the portrait. It, just like in Shishi, is the improper 59x39 size. I have tried taking it as that size and pasting over the Samurai portrait (picture on the right in the example below), and I have tried resizing the portrait and then pasting it over the Samurai (picture on the left). Here are the end results.



It's always either too large and only the face is visible, or blurred and lower quality. That new Shishi feature makes exporting and importing the unit and wldface easy, but using portraits from the bmps keeps giving me these troubles. I suppose I could try my hand at manually replicating any portrait I want and see how that goes. Also sorry if I at all sound condescending; I get very detailed in any explanation and it can come off that way.
  • Modding version: PSX
It's not much yet but check out my spriting thread!
http://ffhacktics.com/smf/index.php?topic=11772.0
Here's a look at my vanilla mod thread, progressing one step at a time!
http://ffhacktics.com/smf/index.php?topic=11785.0

Xifanie

I guess you didn't get that Celdia's tutorial is now pretty pointless.

In GG, open the bmp of the sprite, crop to the portrait, rotate it.
Select All & Copy (ctrl+c) (if you choose to load from clipboard in the next step)
Click the down arrow button under the palette colours, choose Load Palette/File/Load From Clipboard (or from file)
Copy the portrait's palette row (9th row unless you want a different one) to the 1st palette row. Then select the 9th row in the first box, and the 1st row in the second box, uncheck Match Pixels with Colors.
All Frames/Color Depth, choose 4bpp, OK.
Unfortunately, that will likely fuck up your palette's order (which is important), so you'll have to reimport the palette from file, selecting the original sprite's file and copy the 9th row to the 1st row again, but this time with Match Pixels with Colors.
Save the bmp and import in Shishi.
  • Modding version: PSX
Love what you're seeing? https://supportus.ffhacktics.com/ 💜 it's really appreciated

Anything is possible as long as it is within the hardware's limits. (ie. disc space, RAM, Video RAM, processor, etc.)
<R999> My target market is not FFT mod players
<Raijinili> remember that? it was awful

Lionheart537

Oh you're right! This is much better thanks! These portraits look great now. Also thank you for such quick replies.
  • Modding version: PSX
It's not much yet but check out my spriting thread!
http://ffhacktics.com/smf/index.php?topic=11772.0
Here's a look at my vanilla mod thread, progressing one step at a time!
http://ffhacktics.com/smf/index.php?topic=11785.0

darkskyx

Quote from: Xifanie on July 09, 2017, 04:36:12 pmI guess you didn't get that Celdia's tutorial is now pretty pointless.

In GG, open the bmp of the sprite, crop to the portrait, rotate it.
Select All & Copy (ctrl+c) (if you choose to load from clipboard in the next step)
Click the down arrow button under the palette colours, choose Load Palette/File/Load From Clipboard (or from file)
Copy the portrait's palette row (9th row unless you want a different one) to the 1st palette row. Then select the 9th row in the first box, and the 1st row in the second box, uncheck Match Pixels with Colors.
All Frames/Color Depth, choose 4bpp, OK.
Unfortunately, that will likely fuck up your palette's order (which is important), so you'll have to reimport the palette from file, selecting the original sprite's file and copy the 9th row to the 1st row again, but this time with Match Pixels with Colors.
Save the bmp and import in Shishi.

Thanks to your comment I was able to add new portraits into some spritesheets. I didn't know how to do that and I was searching like a mad man but I didn't find anything, just this comment... And that doesn't even explain how to do it, but I figured it out:

Basically to create a new portrait I need to first download the original WLDFACE portrait with Shishi. Then, I need to follow the instructions above of the quote. Once I have done it I'll end up with a messy image (THIS IS COMPLETELY NORMAL AND I DIDN'T KNOW IT). Now I can use this messy image to paste it in the spritesheet I am going to edit. When I have done that, then I have to go to Palette editor, click in the first palette and it was fixed. FINALLY!
  • Modding version: WotL

✪ Emergence 2 for PSP (EN/ES) - Play it now! ✪
A vanilla+ experience for PSP. Actual patch: 1.0+. More fixes in v1.1!
  • Discord username: darkskyx#9825