Modding => Help! => Topic started by: Pax_Empyrean on September 21, 2014, 04:11:31 am
Title: How do I remove katana breakage from Draw Out skills?
Post by: Pax_Empyrean on September 21, 2014, 04:11:31 am
Hi, I'm new to posting, but I've been lurking for a while and I've got a little experience with FFT modding (and a lot of experience modding other games). I'm looking for information on removing the katana break chance from Draw Out skills and couldn't find instructions on how to do it anywhere.
I was hoping to find it here: http://ffh.kivutar.me/wiki/ASM_Hacking or in Raven's workbooks, but nothing there does that so far as I know. Changing the damage formula for the skills in FFTPatcher doesn't do anything, so I'm guessing it's hard coded. Best case scenario is somebody points me to an offset within a specific file with values to change with a hex editor; I'm comfortable with hex editing, but I have no idea how events work and so this Katana Break Chance (http://ffh.kivutar.me/wiki/Katana_Break_Chance) page doesn't help me.
Raven's workbooks look like they might be able to do this, but I'm not sure which changes to make to it. If I use the Generic Skillset Fix to reference another skillset that doesn't have stuff hard coded, would that fix it? If I point to a blank skillset as a reference, would I need to assign Draw Out skills to it, or is it just copying the hard-coded aspects of the skillset itself? I'm not entirely clear on how the skillset reference works. Also, if I make a new skillset from one of the empty ones using FFTPatcher, can I add descriptions to it in FFTacText or do I need to overwrite an existing skillset that already has space allocated to it for descriptions and stuff? If I go that route, which jobs and skillsets can be safely overridden?
I don't mind losing the inventory check. I'd actually rather not have it. I know I threw out a bunch of questions in this post, but whatever answers you can give me would be greatly appreciated.
Title: Re: How do I remove katana breakage from Draw Out skills?
Post by: Rufio on September 21, 2014, 06:53:45 am
here you go
<Patch name="Katanas don't break."> <Description>Removes Random Break from Katana Formulas</Description> <Location offset="120988" file="BATTLE_BIN"> 00000000 00000000 </Patch>
Title: Re: How do I remove katana breakage from Draw Out skills?
Post by: Pax_Empyrean on September 21, 2014, 01:13:07 pm
You are a gentleman and a scholar.
Title: Re: How do I remove katana breakage from Draw Out skills?
Post by: Pax_Empyrean on September 21, 2014, 02:28:23 pm
Okay, so I created an .xml with just this in the folder where I have FFTorgASM, and it's not showing up on the list of hacks.
Do I just click Patch Name and then select that .xml? I tried that and FFTorgASM doesn't seem to indicate that anything has happened.
Title: Re: How do I remove katana breakage from Draw Out skills?
Post by: Rufio on September 21, 2014, 02:56:22 pm
your .xml file should look like this
<?xml version="1.0" encoding="utf-8"?> <Patches>
<Patch name="Katanas don't break."> <Description>Removes Random Break from Katana Formulas</Description> <Location offset="120988" file="BATTLE_BIN"> 00000000 00000000 </Location> </Patch>
</Patches>
just noticed i forgot to </Location> in my original post. that's why it wouldn't show up in orgASM.
Title: Re: How do I remove katana breakage from Draw Out skills?
Post by: 3lric on September 21, 2014, 03:27:41 pm
Once it does show up in the list and you patch, it will not indicate anything happened, I normally just wait about 5 seconds and close orgASM.
Title: Re: How do I remove katana breakage from Draw Out skills?
Post by: Pax_Empyrean on September 21, 2014, 03:30:05 pm
Thanks, both of you. It showed up on the list properly with those changes.
Title: Re: How do I remove katana breakage from Draw Out skills?
Post by: JantheX on October 17, 2014, 07:11:17 pm
Hey, I'm not totally familiar with appropriate forum ettiquete, so I apologize if this is in the wrong place.
I tried implementing the katana nobreak code from above, and the xml for the patch I used matches the code above. When I play, the characters no longer display the "katananame broke" text, but swords are still sometimes disappearing from my inventory when I use samurai skills. It kind of looks like this might only be part of the necessary fix?