Please login or register.

Login with username, password and session length
Advanced search  

News:

Please use .png instead of .bmp when uploading unfinished sprites to the forum!

FFT Patcher .478 Source Code  (Read 76490 times)
Pages: 1 2 [3] 4 5 ... 15
Bad code, beware! The NOPs are coming to eat you!
formerdeathcorps [Posts: 1322]
  • View Profile
  • share
  • [January 10, 2012, 10:53:22 PM]
Re: FFT Patcher .478 Source Code
« Reply #40 on: January 10, 2012, 10:53:22 PM »
Persevere = Performing because that's what that flag does.  It changes a charged attack into a performed one.

Countergrasp is affected by the following:
Counter
Blade Grasp
Counter Tackle
Brave Up
Dragon Spirit
Sunken State
This is the information from the Battle Mechanics Guide by Aerostar.

The destruction of the will is the rape of the mind.
The dogmas of every era are nothing but the fantasies of those in power; their dreams are our waking nightmares.
ALL THE THINGS Official Caretaker.
RavenOfRazgriz [Posts: 3030]
  • View Profile
  • share
  • [January 11, 2012, 12:57:54 AM]
Re: FFT Patcher .478 Source Code
« Reply #41 on: January 11, 2012, 12:57:54 AM »
I would leave it as "Normal Attack?" until more thorough research is done.  It's stupid to give it a name that sounds like we /know/ what it does when we very clearly don't have the full low-down on it yet.

Continuous pr Performing is fine for Persevering.  I prefer Continuous since it can be used on things that aren't actually a performance. (Aka, aren't Songs/Dances or even remotely related to them, you can have continuously-triggered weapon or magic attacks.) I still find Channel to be the worst name, though.  I can simply reverse your example - "I channeled magic and cast my spell through my foe's attacks."  At least Persevere is a synonym for Persist, whereas Channel is very much implied to be magic-only if you're read up on nerdy magic lore at all or is otherwise worthless.  It's too narrow and implies many things it shouldn't, like that it only works on magical skills, assuming you can even figure out what it is without cross-referencing it somehow.

Countergraspable is also fine because it's basic FFT slang - if you've ever read the Battle Mechanics Guide, you'll know the term, and know it refers to whether the ability is affected by the Reactions Counter Tackle, Counter, and Blade Grasp / Shirahadori, and whether the Reaction can trigger Dragon Spirit / Dragon's Soul, Sunken State / Vanish, and Brave Up / Bravery Boost.  The term Countergrasp is taken directly from the Battle Mechanics Guide and even got its own section in said guide, posted here:


If you haven't even read the Battle Mechanics Guide... I can't expect you to be able mod the gameplay aspect of FFT competently, honestly.  It contains basic info on a lot of Formula and other-related stuff that most people here will assume you know or easily know how to look up as a baseline when modding.
SaGa Frontier Hacker
Pickle Girl Fanboy [Posts: 1482]
  • View Profile
  • Bio Research Lab
  • share
  • [January 14, 2012, 04:51:43 PM]
Mediator
Eternal [Posts: 3077]
  • View Profile
  • https://steamcommunity.com/id/eternal248/
  • share
  • [January 14, 2012, 04:56:14 PM]
Re: FFT Patcher .478 Source Code
« Reply #43 on: January 14, 2012, 04:56:14 PM »
Why can't we stick with Persevere? Everyone knew what it did.

    • Modding version: PSX & WotL
    • Discord username: eternal248#1817
  • "You, no less human than we? Ha! Now there's a beastly thought. You've been less than we from the moment your baseborn father fell upon your mother in whatever gutter saw you sired! You've been chattel since you came into the world drenched in common blood!"
    Bad code, beware! The NOPs are coming to eat you!
    formerdeathcorps [Posts: 1322]
    • View Profile
    • share
    • [January 14, 2012, 04:58:23 PM]
    Re: FFT Patcher .478 Source Code
    « Reply #44 on: January 14, 2012, 04:58:23 PM »
    Raven, you're missing my point.  Flagging "perform" flag causes the unit to gain "performing" status.  This status is different in vanilla FFT than "charging" since you don't take 1.5x damage when "performing".  Hence, it doesn't make much sense to give that flag any other name.

    The destruction of the will is the rape of the mind.
    The dogmas of every era are nothing but the fantasies of those in power; their dreams are our waking nightmares.
    Glain [Posts: 523]
    • View Profile
    • share
    • [January 14, 2012, 09:26:45 PM]
    Re: FFT Patcher .478 Source Code
    « Reply #45 on: January 14, 2012, 09:26:45 PM »
    I want to move away from Persevere because it isn't clear. I certainly didn't know what it meant.

    If everyone knew what it did, then it was because everyone just memorized it, and in that case, it doesn't matter what the label is anyway. It might as well have been called Flag 22 or something.

    We can't make any progress if we shy away from changing things because people memorized the old ways.

    EDIT: For the record, I like "Performing" because of what fdc is saying.

    Also, is the "Countergrasp" term really well known? Not sure how many people have really read the BMG. I'm okay with it if so. Counter/Grasp maybe, but it still doesn't show everything. I'll try adding a tooltip to it maybe to show all the things it affects.
    SaGa Frontier Hacker
    Pickle Girl Fanboy [Posts: 1482]
    • View Profile
    • Bio Research Lab
    • share
    • [January 14, 2012, 09:40:09 PM]
    Re: FFT Patcher .478 Source Code
    « Reply #46 on: January 14, 2012, 09:40:09 PM »
    Does countergraspable refer to "When flagged, this ability triggers reactions dependent on HP damage"?  And, if anyone cares about my opinion, then FDC is right, it should be "Performing".
    ALL THE THINGS Official Caretaker.
    RavenOfRazgriz [Posts: 3030]
    • View Profile
    • share
    • [January 14, 2012, 09:48:13 PM]
    Re: FFT Patcher .478 Source Code
    « Reply #47 on: January 14, 2012, 09:48:13 PM »
    Does countergraspable refer to "When flagged, this ability triggers reactions dependent on HP damage"?

    Look at the spoiler in this post, PGF.  You obviously read this post once since you replied to my response to Glain...



    Performing is fine.  I wasn't saying it was wrong - it's right for the reasons FDC listed.  I just prefer "Continuous" because it shows the skill is continuous, and that the flag works on anything, and not just a "performance" skill like Singing or Dancing.  Yes that's a weird way to look at people but that's how your average shmoe who knows nothing about code could easily see it.  I'm fine with either label though, really.

    Like I said, Glain, modding without reading the BMG sounds like a terrible idea.  If you don't know how things work, how can you mod it?  If you can add a tooltip, though, that'd be fine.  Just name it CounterGraspable and have a tooltip pop up if you hover over the name for a minute or something, I dunno.  The only one Reaction I ever forget is Countergraspable is Brave Up though, myself, simply because I always expect it to be in parity with Faith Up.  (And hence, my request to you in your ASM thread.)
    SaGa Frontier Hacker
    Pickle Girl Fanboy [Posts: 1482]
    • View Profile
    • Bio Research Lab
    • share
    • [January 14, 2012, 10:04:05 PM]
    Re: FFT Patcher .478 Source Code
    « Reply #48 on: January 14, 2012, 10:04:05 PM »
    Look at the spoiler in this post, PGF.  You obviously read this post once since you replied to my response to Glain...
    I was surprised by that, and I wanted verification, but I decided to be a little sneaky about it.  I thought the "bonus" reactions were separate from the "damage-enemies" and the "evade-attacks".
    ALL THE THINGS Official Caretaker.
    RavenOfRazgriz [Posts: 3030]
    • View Profile
    • share
    • [January 14, 2012, 10:11:19 PM]
    Re: FFT Patcher .478 Source Code
    « Reply #49 on: January 14, 2012, 10:11:19 PM »
    They're not.  What the Reaction does is irrelevant to the trigger.  There's several triggers:

    Counter Grasp (Counter, Blade Grasp, etc)
    Counter Flood
    Counter Magic
    HP Damage (Caution, Regenerator, PA Save, MA Save, some others)
    Affected by Attack/Skill (Faith Up, maybe others)
    Affected by Specific Formula (Catch, Finger Guard)

    [Uncertain] Weapon Ranged Skill (Hamedo)

    Then there's Distribute and maybe one or two others I missed with very weird and unique trigger conditions.  As you can see, what the skill does really isn't related to how it triggers.  There is no "Adds Status to Self" grouping or anything like that.
    SaGa Frontier Hacker
    Pickle Girl Fanboy [Posts: 1482]
    • View Profile
    • Bio Research Lab
    • share
    • [January 14, 2012, 10:21:57 PM]
    Re: FFT Patcher .478 Source Code
    « Reply #50 on: January 14, 2012, 10:21:57 PM »
    My last off-topic post: I bet the asm for triggers, and R/S/M's in general, is royally screwed up.
    ALL THE THINGS Official Caretaker.
    RavenOfRazgriz [Posts: 3030]
    • View Profile
    • share
    • [January 15, 2012, 12:40:02 AM]
    Re: FFT Patcher .478 Source Code
    « Reply #51 on: January 15, 2012, 12:40:02 AM »
    Hey Glain, you're the cool guy whose able to get .478 compiling correctly.  In FFTacText, it has a QuickEdit function that edits areas that appear many times over in files... but it's missing some key areas like Unit Name, Help Window editors, etc.  If I can assemble the titles of those windows and all the different files they appear in, would it be possible for you (or FDC, but he's busy enough with the ASM shit) to add QuickEdit options to FFTacText for these missing things so that trying to edit things like the tooltip that comes up when you press Select on a unit's Party Roster Number or the Unit Name List and stuff without it taking years.
    Glain [Posts: 523]
    • View Profile
    • share
    • [January 15, 2012, 03:58:16 AM]
    Re: FFT Patcher .478 Source Code
    « Reply #52 on: January 15, 2012, 03:58:16 AM »
    I'm sure it's possible... but I'll have to figure out how QuickEdit works first. I'll take a look at that while I make the edits to the flag names, etc., and see what I can do. It doesn't hurt to make the list regardless, because I'm sure I'll figure it out eventually.

    EDIT: For flag names, I'm going with "Normal Attack?", "Performing", and "Countergrasp" and just hope people read the BMG. Can't do Countergraspable; it's inconsistent with things like "Counter Magic" and "Counter Flood" and I can't get those to sound right no matter what I do ("Affected by Counter Magic" is too long, etc, "Counter Magicable" is just... what?).

    EDIT: I've also got ability IDs preceding ability names, like "015E Grand Cross"
    « Last Edit: January 15, 2012, 03:13:47 PM by Glain »
    ALL THE THINGS Official Caretaker.
    RavenOfRazgriz [Posts: 3030]
    • View Profile
    • share
    • [January 16, 2012, 01:13:36 PM]
    Re: FFT Patcher .478 Source Code
    « Reply #53 on: January 16, 2012, 01:13:36 PM »
    EDIT: I've also got ability IDs preceding ability names, like "015E Grand Cross"

    Means redoing my Resources.zip for Abilities, but damn that's more useful than you realize.  (When Event Editing, you play an Effect by calling its Ability ID, not its Animation ID.  Having the Ability ID right there to look at when sifting through your skills for the one you want to play will help so much when Event Editing.)

    Those flag names sound fine, too.  I'll try to get that QuickEdit list stuff to you tonight.  I've been busy doing a lot of FFTPatcher work for Journey of the Five, but I'm switching over to doing Spell Quotes tonight so I'll look up all the stuff you'll need to update the QuickEdit list before I get started on those.
    ALL THE THINGS Official Caretaker.
    RavenOfRazgriz [Posts: 3030]
    • View Profile
    • share
    • [January 20, 2012, 05:56:18 AM]
    Re: FFT Patcher .478 Source Code
    « Reply #54 on: January 20, 2012, 05:56:18 AM »
    I'm posting that stuff about FFTacText now.  I'm going to put the name of the field in quotation marks, then list every file the window is listed under.  This will also include every file only listed in one window, since honestly, QuickEdit should allow you to edit all the text in the game without jumping between files hunting for shit.  Whether you feel that way as well or not, I do not know, but everything will be here regardless.



































    There you go.  Personally, I feel that the Text dropdown should BE the QuickEdit menu, and all this stuff should be what you get to choose from instead.  Since there's a lot of items, maybe group them into several obvious and intuitive quickedit groups, so you pick a group, then find what you need to edit off that list.  Either way, this is all the info, do with it as you will.


    Also, for .479 FFTPatcher, can you please list the Item ID of an Item/Weapon/etc next to an Item/Weapon/etc in the same way you listed Ability IDs?  Having that info at a glance would be amazing for Event Editing, since you need to know Item IDs to assign Temporary Weapons.  It's on the Wiki, but it's stupid to have to go a million places for things that should all be contained in one place, and the Wiki's much harder to make use of if you're changing lots of weapon names and such.
    Glain [Posts: 523]
    • View Profile
    • share
    • [January 21, 2012, 04:19:52 PM]
    Re: FFT Patcher .478 Source Code
    « Reply #55 on: January 21, 2012, 04:19:52 PM »
    I've got item IDs in there now.

    I've spent a while trying to figure out why it was generating Gameshark codes for Propositions even when nothing was changed. There's this concept of "buggy level bonuses" that keeps being referenced, and a bit value to say whether or not the level bonuses are buggy in the ISO? It was set to true, which made the values different from the ones it thought of as the defaults, so it generated the Gameshark codes to change them; setting the flag to false makes the codes disappear.

    It just seems weird. Am I missing something by just setting that flag to false and being done with it? The code's got a bunch of branching decisions based on whether or not that "buggy level bonuses" flag is set and I have no idea what it's all about.
    SaGa Frontier Hacker
    Pickle Girl Fanboy [Posts: 1482]
    • View Profile
    • Bio Research Lab
    • share
    • [January 21, 2012, 08:30:07 PM]
    Glain [Posts: 523]
    • View Profile
    • share
    • [January 21, 2012, 10:05:50 PM]
    Re: FFT Patcher .478 Source Code
    « Reply #57 on: January 21, 2012, 10:05:50 PM »
    Er... I pretty well have to post the whole document it's in; it's sprinkled throughout. If you really want it:


    Sometimes it's referred to as brokenLevelBonuses. Note this line:

    Code: [Select]
    int levelBonusesOffset = brokenLevelBonuses ? 0x9B4 : 0x9D4;

    So if brokenLevelBonuses is true then it looks at the wrong offset (0x9B4) instead of the right one (0x9D4). I don't get it.

    I changed a true to a false in FFTPatch.cs to eliminate the unnecessary Gameshark codes generated (to this):

    Code: [Select]
    Propositions = new AllPropositions( PSXResources.Binaries.Propositions, PSXResources.Binaries.Propositions, false );
    ALL THE THINGS Official Caretaker.
    RavenOfRazgriz [Posts: 3030]
    • View Profile
    • share
    • [January 21, 2012, 10:31:40 PM]
    Re: FFT Patcher .478 Source Code
    « Reply #58 on: January 21, 2012, 10:31:40 PM »
    I'd just switch it to false and call it a day, myself.  It's highly likely that it was supposed to be false and melonhead derped it.

    Also fixed that derpy typo in my previous post.  Good to hear that you have Item IDs in there now, though.  Hopefully you come through on fixing up FFTacText to be less of a piece of shit, too.  Would make life amazing.
    ALL THE THINGS Official Caretaker.
    RavenOfRazgriz [Posts: 3030]
    • View Profile
    • share
    • [January 23, 2012, 02:12:16 AM]
    Re: FFT Patcher .478 Source Code
    « Reply #59 on: January 23, 2012, 02:12:16 AM »
    Looking at the Status section now.

    "Status Ignored if Mount" doesn't always display the full name.  Shorten it to "Mounting Ignores".  Same with Cancelled by Immortal, shorten it to "Immortal Cancels".  Reduce Target Priority could also trim a character and just be "Lower Target Priority?".  That last one's a bit OCD, but when I click it, a few chars off the end disappear, so shortening it as much as possible is still important.

    Also, FDC, I thought you'd figured out a few more flags than this?  Huh.
    Pages: 1 2 [3] 4 5 ... 15