Modding => War of the Lions Hacking => Topic started by: Einlanzer on October 10, 2016, 12:22:56 am
Title: Two questions for WoTL hacking
Post by: Einlanzer on October 10, 2016, 12:22:56 am
1.) is there a way to give a unit a formation sprite that doesn't have one by default (i.e. they use Ramza's chapter 1 sprite)? I'd like to do this with chapter 2 Delita and one or two other characters.
2.) I know that ASM hacking isn't advanced for WotL yet. There are really only two I'm hugely interested in - the fix to Meliadoul's skills and the damage conversion for Axes and flails (so they do .5-1.5x instead of 0-1). Has anyone successfully done this, or can anyone provide advice?
Thanks!
Title: Re: Two questions for WoTL hacking
Post by: BleuVII on October 10, 2016, 09:40:58 pm
As far as I know the fix for Meliadoul's skills was done by Square Enix upon release. The only "glitch" still in there is that the "Safeguard" ability will block both breaking AND damage. Aside from that, her skills should work just fine against monsters.
In fact, there were a lot of small fixes. Here's a list: http://finalfantasy.wikia.com/wiki/Final_Fantasy_Tactics/Version_differences
I don't know the answer to your first question, unfortunately.
Title: Re: Two questions for WoTL hacking
Post by: Angel on October 11, 2016, 12:08:11 am
Neither one of you can see this topic which is stickied in the board you're currently posting to? (http://ffhacktics.com/smf/index.php?topic=10141.0) I don't mean to be rude, but why are we even making sticky topics? :/
Edit: It occurred to me that the stickied topic didn't account for PSP's lack of UWEntries. There is a fix, though... To give characters a different UNIT.BIN sprite, just search for "00 01 02 03 00 00 04 00 00 00 00 05 06 00 07 00 0D" (hex) inside your ISO. This data is the beginning of the table which lists the associated UNIT.BIN sprite for each Main ID (or "Sprite ID" in the patcher).
For example:
Job ID
Job Name
UNIT.BIN Sprite
Job 01
Squire
00 = Ramza Ch1
Job 02
Squire
01 = Ramza Ch2-3
Job 03
Squire
02 = Ramza Ch4
Job 04
Squire
03 = Delita Ch1
Job 05
Holy Knight
00 = Ramza Ch1
Job 06
Arc Knight
00 = Ramza Ch1
Job 07
Squire
04 = Algus
You might have to play around a bit to find the unused sprites so you can replace them for your needs.
Title: Re: Two questions for WoTL hacking
Post by: Einlanzer on October 11, 2016, 03:55:20 pm
Because, while that sticky is helpful, nothing in it answers the question I posed, which was if anyone ever figured out a way to align a unit with a different formation sprite. From what I could gather poking around the boards, the answer is no, but I wanted to be sure. I know how to update formation sprites using the fftevgrip.
More generally, you can't expect people who aren't frequent visitors to a message board to automatically be able to parse all of the information contained within and find exactly what they're looking for when it's somewhere on the board without asking questions. Asking questions is the reason boards like these exist. All you need to do is point someone toward a sticky when the situation calls for it, not chastise them for not reading through all the stickies before posting.
Thanks for your edited response though, that was exactly what I needed.
Title: Re: Two questions for WoTL hacking
Post by: Einlanzer on October 11, 2016, 05:34:59 pm
So your trick worked, but for some reason it's using Ramza's 00 palette and I can't figure out how to update date it to the correct red/gold one. It appears correctly in FFTEVGRIP but not in-game. Any thoughts? Thanks again!
Title: Re: Two questions for WoTL hacking
Post by: Xifanie on October 11, 2016, 05:56:15 pm
It's EVGRP, not GRIP. :v
I shared the XML output from UWEntries. Basically, if you search for the strings of hex in each section and modify each section with the same values that you used just now with that first edit, you'll get the desired results. (Minus the "4A" on its own, obviously) The section mentioned in Angel's post should be the very first one (<Location file="WORLD_WORLD_BIN" offset="ADE34">).
Title: Re: Two questions for WoTL hacking
Post by: Einlanzer on October 12, 2016, 02:51:14 pm
Heh, the acronym never jumped out at me before.
I assume the offsets are for the psx version, but even doing a string search seems to not be turning up much of anything for some reason. Are you sure they're stored in the same format? Thanks for the help, btw.
Title: Re: Two questions for WoTL hacking
Post by: Xifanie on October 12, 2016, 03:24:56 pm
I don't see why they would be a different format... WotL emulates the PSX version after all, with hardcoding on top of it. And yeah, these offsets are for the PSX version.
Title: Re: Two questions for WoTL hacking
Post by: Glain on October 13, 2016, 02:35:36 pm
You may want to check out this thread (http://ffhacktics.com/smf/index.php?topic=9776) where somebody was asking the same thing and apparently actually found what look like they could be the locations used by the PSP version. BOOT.BIN is the main WotL EXE, so it would make sense that the data would be in there.