Final Fantasy Hacktics

Modding => War of the Lions Hacking => Topic started by: Fallout10mm on December 09, 2013, 06:44:42 pm

Title: How to Correctly Replace Sprites in FFT:WoTL
Post by: Fallout10mm on December 09, 2013, 06:44:42 pm
After spending a day and a half figuring out how to properly replace the male samurai sprite with the
custom made one available on the site, here's a quick tutorial I was asked to write up. 

This is pretty tame compared to replacing a actual story character but will still take about half a hour.

How to Replace a Sprite Correctly in WotL:
(Example used M Samurai by Lijj)

Programs needed:

FFTEVGRP         - For changing formation sprites
FFTpatcher        - Latest Version
Graphics Gale    - To properly edit the formation and portrait sprites
UMDGEN           - For extracting the ISO and re-compiling it

Other stuff needed:

FFT:WoTL ISO
M Samurai.bmp



----------------------------------------------------------

----------------------------------------------------------

----------------------------------------------------------


At this point you will need to use Celdia's Formation sprite tutorial HERE (http://ffhacktics.com/smf/index.php?topic=6702.0)
to convert both the custom images for UNIT.BIN & WLDFACE.BIN



----------------------------------------------------------


(http://oi44.tinypic.com/2f0bw4j.jpg)
!!SUCCESS!!


Elric
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: Angel on December 10, 2013, 12:00:38 am
I sincerely thank you for this tutorial. It is more useful than you know.
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: kyozo22 on December 10, 2013, 09:54:50 am
Yeah, this is brilliant. thanks man. Just got done changing some sprites! :D Thank you very much!

Edit: Ran into a slight problem with a couple of the sprites - namely the Ramza Chapter 4 with cape (FFT: Mercs) and also the Unhooded Meliadoul sprite - the portrait colours are all screwed up before I've even modified them for us in FFTEVGRP. Pretty sure it's quite a common problem/ mistake but can't find a solution (not yet, at least.)

Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: 3lric on December 15, 2013, 02:14:55 pm
Easiest way to fix that. Open the sprite in Xifs Palette Editor. Click the very first color, this should fix the port.
Hit save. Then close Palette Editor and continue the tutorial :)
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: kyozo22 on December 15, 2013, 04:35:33 pm
Huh, probably going to regret azking this one as will look a tad stupid, buuuut: is that in the Tools section of the downloads? Took a look but couldn't find it anywhere.
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: Xifanie on December 15, 2013, 04:47:51 pm
http://zodiac.ffhacktics.com/Palette_Editor.7z
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: kyozo22 on December 15, 2013, 05:00:31 pm
Ah brilliant, thanks guys.
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: Feuholden on June 06, 2015, 11:40:14 am
Hi. Im new to try. And i have question. Where to download all tools? Can i change special job like Holy Knight to my units? How? Ex:beatrix sprites with job Holy Knight. Sorry for my bad english. (Psp version wotl)
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: Jumza on June 06, 2015, 12:55:07 pm
You can get Graphics Gale and UMDGen on the internet by searching with google, but FFTPatcher and FFTEVGRP can be downlaoded here: http://ffhacktics.com/wiki/Tools
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: Drunkard on June 29, 2015, 04:29:21 pm
Is there a way I can change the cloud sprite to one of the custom sprites? It says it's too large to fit. I only ask because he's my favorite character and I hack him into the first chapter (took me a while to think of a way, kind of new at this still) but dont like his standard look. 
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: Nyzer on July 03, 2015, 11:41:35 pm
Quote from: Drunkard on June 29, 2015, 04:29:21 pm
Is there a way I can change the cloud sprite to one of the custom sprites? It says it's too large to fit. I only ask because he's my favorite character and I hack him into the first chapter (took me a while to think of a way, kind of new at this still) but dont like his standard look.


You need to import the .bmp, not the .spr.
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: 3lric on July 04, 2015, 02:01:27 am
Depends what sprite you are trying to replace, in Wotl, you need to replace it with a sprite of equal or lesser size, unlike the PSX version
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: Kenichi on July 21, 2015, 12:21:48 pm
Is there any good way to reduce size of sprite?

I'm trying to change Marach sprite but it not easy cause his total size is too low.
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: Holy Knight Wiegraf on March 07, 2016, 11:14:21 am
I would like to know that as well. I am curious and am trying various things to import sprites with highter size to the WOTL version of the game. But without success.
And i read somewhere that it overwrites data if you do it with shishi 352. I would like to avoid that so that the game runs 100% ok.

Does anyone know a solution ?

By the way, thats a great Tutorial Fallout. it helped me a lot. Thank you 4 that !
Title: HELP!
Post by: exkosikat on June 11, 2016, 12:47:40 am
help! im new here.. im trying to edit WoTL custom animation in EVTCHR but when i import it back using CDmage 1.02.1beta5 it truncate.

i tried cdprog and CDmage 1.01.5 too and it's not working for WoTL.

what should i use to import it back and if there is a tutorial on how to edit EVTCHR pls tell me so i would know if im doing it right. thanks!
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: 3lric on June 11, 2016, 02:06:08 am
EVTCHR.BIN always truncates. it's fine, I've never had an issue doing it that way in the psx version.
Title: Re.
Post by: exkosikat on June 12, 2016, 01:15:30 am
but when it truncates and then i run the iso, it stop working.

im editing the psp version..

is there  a way to fix this problem? how?
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: 3lric on June 12, 2016, 04:47:41 pm
dunno. I don't mod WotL. and to my knowledge, no one edits EVTCHR in the PSP version.
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: Xifanie on June 12, 2016, 04:52:23 pm
Well, we know that quite a few have wanted to, but we haven't exactly ever had someone other than melonhead (FFTPatcher's creator) willing to research that version of the game in all of FFH's 9 years of existence, and he's long gone now. We just keep getting people interested in modding WotL, but no one ever willing to put effort into hacking it. So, most people just scrap their mod project, switch to the PSX version, or make an extremely simple mod (comparing to the modding possibilities of the PSX version).
Title: R
Post by: exkosikat on June 13, 2016, 09:07:31 am
thanks for the info and quick response.

maybe i'll just close my eyes when an event would occur.. hehe.

i haven't use UMDgen when importing EVTCHR. did someone already tried using it?
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: Nyzer on June 13, 2016, 11:32:34 am
Quotemaybe i'll just close my eyes when an event would occur.. hehe.


Probably the best thing to do is just to use an existing standard animation instead. There's a lot you can do with those. There's a helpful post out there about them, if it helps:
http://ffhacktics.com/smf/index.php?topic=8352.msg165621#msg165621
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: daryin on October 05, 2016, 05:56:57 pm
Is there a way to change the sprites of Dark Knight and Onion Knight?
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: faoronkenlee on January 17, 2020, 09:42:19 am
Quote from: daryin on October 05, 2016, 05:56:57 pm
Is there a way to change the sprites of Dark Knight and Onion Knight?


probably not as ftevgrp was compiled to only handle characters from the original version of the game.

NOt unless we can convince the author to release the source code
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: Nyzer on January 17, 2020, 10:52:42 pm
I think Shishi can directly access all that now? But I haven't checked, so I could very well be wrong.
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: faoronkenlee on January 18, 2020, 02:49:57 am
Quote from: Nyzer on January 17, 2020, 10:52:42 pm
I think Shishi can directly access all that now? But I haven't checked, so I could very well be wrong.


Now that you have mentioned it. Yup It can AHHAAHAHh.
*correction still only for the OG Cast of the game.
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: faoronkenlee on January 19, 2020, 08:09:30 am
did a texture dump of the game We are wrong lol.
we will not be able to customize the dark knight , onion knight , Balthier, Luso sprite and portraits because THEY ARE NOT in the unit.bin Instead their Unite and portrait sprite were care fully placed on WLDFACE.BIN.
slots 97 to 102 isreserved for the unit sprites the slot 104 to 111 are for the portraits as seen below
(https://i.ibb.co/sVfKfnb/08d90970f4f907bc5d3b60c3.png) (https://ibb.co/sVfKfnb)
ill attach below the in battle sprite of luso ill try to figure out in which part of the memory it is loaded. ill update you guys soon
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: ChuckyMclove on August 13, 2020, 05:14:17 am
I'm new to sprite, I downloaded some sprites here and tried to use it on ShishiSpriteEditor, but I always get this error (Sprite size is 65536 bytes, max size is 45056 bytes) The sprites SPR file on the site is bigger than the program can read accepted, so I put the BMP file and it worked, but it doesn't change the photo on the class roulette or on the selection screen, but in battles the sprite is set correctly, what am I missing?...  :(
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: Nyzer on August 13, 2020, 12:54:48 pm
Those are the Formation sprites. They don't use the spritesheets for some reason and need to be created & imported separately.
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: Orkney on August 13, 2020, 02:48:45 pm
Hi,

You change this formation sprite with shishi. In the "other image section" choose the "UNIT.BIN (formation screen sprite)" and import your .bmp (24x40 pixel).

Here is a tutorial a bit outdated but you'll find clear explanations on how to make your own formation sprite

Celdia's tutorial (https://ffhacktics.com/smf/index.php?topic=6702.0)
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: ChuckyMclove on August 15, 2020, 03:47:59 pm
Thanks to everyone, they made me see where I was wrong, now I downloaded the programs and I already tested everything that they taught me and it worked ...
My next step now is to create my own sprites ... Thanks to all of you ...
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: Orkney on August 19, 2020, 02:57:43 pm
Cool,

It's always a lot of fun for me to see new sprites (since i'm not able to do it my self)

Good luck and see you (and your sprites) soon.
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: Valens on August 24, 2020, 06:23:09 pm
So, noticing that the original topic of this post is 7 years old or so....

Is it still the correct way to insert formation sprites for WOTL? or has an update somewhere to something made it easier

so many posts here are so many years old, it's hard to know what exactly is still accurate

again inquiring about the PSP version (specifically formation sprites), not the PSX
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: Jnocide on December 06, 2020, 09:16:33 pm
Quote from: faoronkenlee on January 19, 2020, 08:09:30 amdid a texture dump of the game We are wrong lol.
we will not be able to customize the dark knight , onion knight , Balthier, Luso sprite and portraits because THEY ARE NOT in the unit.bin Instead their Unite and portrait sprite were care fully placed on WLDFACE.BIN.
slots 97 to 102 isreserved for the unit sprites the slot 104 to 111 are for the portraits as seen below
(https://i.ibb.co/sVfKfnb/08d90970f4f907bc5d3b60c3.png) (https://ibb.co/sVfKfnb)
ill attach below the in battle sprite of luso ill try to figure out in which part of the memory it is loaded. ill update you guys soon


I am modding WOTL and wanted to know how to replace, or if it is even possible to replace, luso's portrait since I cant find it in WLDFACE.BIN.
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: Jnocide on December 06, 2020, 10:17:26 pm
(https://ffhacktics.com/sprites/s/neocloud.bmp)

I ran into another issue where the bmp. file is too large.  I get a message that says its 43070 and that max is 43008 bytes.  Is there a way to shrink it or am I doing something wrong?
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: Nyzer on December 07, 2020, 12:12:15 am
QuoteIs there a way to shrink it or am I doing something wrong
?


No to both.
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: darkskyx on April 13, 2022, 02:17:36 pm
This post was useful but I think it is outdated, you now only need to use the program Shishi.

Also, there are a few steps that are not correctly explained in the tutorial after following Celdia's tutorial, so I had issues and I had to see other tutorials. These are:


This is what worked for me, because you can use other programs for the same results.

Here's a useful post (https://ffhacktics.com/smf/index.php?topic=11087.0) about some errors you may get. I had to use this video (https://www.youtube.com/watch?v=f12qKI6-JsE) to understand it. You might follow a few more steps if you have a custom sprite and not just another palette.

P.S: @Fallout10mm Quote my useful info in your post if you want.

(Edit: The next info is from my FAQ from the hackmod I'm doing, also useful)
ยท If you wanna do something more advanced, like adding new portraits for different spritesheets, you need to follow Celdia's tutorial exactly, but I found a better way... once you understand it, of course. It was so hard to understand for me as I tried everything until something worked. Here's a message that solved one of my issues with new portraits:
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.
Basically to create a new portrait you need to first download the original WLDFACE portrait with Shishi. Then, you need to follow the instructions above. Once you have done it you will end up with a messy image (THIS IS COMPLETELY NORMAL AND I DIDN'T KNOW IT). Now you can use this messy image to paste it in the skillset you are going to edit. When you have done that, then you have to go to Palette editor, click in your first palette and it will be fixed.
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: zkl on December 10, 2022, 01:55:02 pm
Hello! Pretty new to modding the PSP version and while editing Cloud's Sprite to his AC version found on the site, this error occurs. Can anyone help me with a fix or workaround?
(https://i.imgur.com/lXpdqsN.png)
Title: Re: How to Correctly Replace Sprites in FFT:WoTL
Post by: darkskyx on February 24, 2023, 04:24:29 am
Quote from: zkl on December 10, 2022, 01:55:02 pmHello! Pretty new to modding the PSP version and while editing Cloud's Sprite to his AC version found on the site, this error occurs. Can anyone help me with a fix or workaround?
(https://i.imgur.com/lXpdqsN.png)

I'm not an expert editing sprites (I only did replacements of portraits, fixing pixels and changes to palettes...) and it is a very hard work (also very susceptible to errors) but you can see in the message that there is a limit for your image and you are using more bits. Try to open your project in Photopea (online tool) and save it as BMP, see if the size gets smaller.
If this doesn't work, open the original/unedited Cloud BMP in GraphicsGale and paste your edit there. Do the same, see if the size gets smaller. This 2nd option is usually better.

I can't help more with this issue but most of the time I had that issue I fixed this way.

It's all in my WoTL FAQ. (https://ffhacktics.com/smf/index.php?topic=12942.0)