øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=2124.msg24142e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index4007-3.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;area=showposts;u=20e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index4007-3.html.zxih^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ@>ùàOKtext/htmlISO-8859-1gzip8:ÖùàÿÿÿÿÿÿÿÿWed, 11 Mar 2020 04:45:12 GMT0ó°° ®0®P®€§²ð®ÿhh^ÿÿÿÿÿÿÿÿ$!ùà New patch: Backstabu Glitch fix

Author Topic: New patch: Backstabu Glitch fix  (Read 1325 times)

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
New patch: Backstabu Glitch fix
« on: October 08, 2015, 01:32:29 AM »
Hi! It's been almost a month since my last patch, and I don't think I'll make any more unless someone requests one from me because, well...I got a life too, y'know? So anyway, this is the second of two graphical glitches that I was interested in because nobody else had made a patch for them yet and it kind of annoyed me, so...yeah.

This is the infamous "Look the other way" glitch that occurs with spells like Blow Fish and Fire Ball but, contrary to popular belief, NOT with Tek Laser. Basically, certain spells that use your party's member's flinching sprite also make them turn around so they get hit from behind (hence the name Backstabu, named after the Dark Souls meme). This patch makes sure your characters always face the music.

:edit: March 25, 2016
While looking into the "extra rock" glitch that's recently been posted on this forum, I discovered this patch modifies several sprite-flipping events besides this one. For instance, if party members on the left side of the screen successfully run away, they will turn around and run backwards. This also changes some sprite behaviour in the encounters with Kefka at the Sealed Gate. Fortunately, I now have access to the spell animation event code documentation and I've made a new version that modifies the event code instead. I highly recommend re-downloading this patch, and be sure to apply the old reverse patch as well; it doesn't matter whether you apply it before or after the actual fix because there's no conflict between them.

:edit: September 16, 2016
Finally, this is now the first patch to be ported to GBA! Those of you who want to see this fixed for Final Fantasy VI Advance, you finally can. If you're thinking this is a sign of good things to come...you're absolutely right. :happy:

:edit: July 13, 2017
Now ported to PlayStation as well.
« Last Edit: July 13, 2017, 12:00:40 AM by 13375K31C43R »
"Do not meddle in the affairs of wizards, for they are subtle and quick to anger." -Gildor from The Lord of the Rings

koala_knight

  • Tunnel Armor
  • *
  • Posts: 166
  • Gender: Male
    • View Profile
Re: New patch: Backstabu Glitch fix
« Reply #1 on: October 08, 2015, 01:27:17 PM »
Cool. I definitely appreciate the patches you've been releasing.
They are very welcome to my quest for a bug-free version of FF6.

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: New patch: Backstabu Glitch fix
« Reply #2 on: March 25, 2016, 12:32:36 AM »
I'm bumping this because there's a new version that everyone needs to know about.
"Do not meddle in the affairs of wizards, for they are subtle and quick to anger." -Gildor from The Lord of the Rings

TheNattak

  • Garula
  • *
  • Posts: 203
  • Gender: Male
  • Mike
    • View Profile
    • Return of the Dark Sorcerer
Re: New patch: Backstabu Glitch fix
« Reply #3 on: March 25, 2016, 01:24:10 PM »
Huh I haven't noticed anything off as mentioned, with characters running backward in a back, side or pincer attack. I've been having this patch applied since you released it. Is there some special circumstance where this happens? And what is the deal with the Sealed Gate Kefka battle? I can't see anything there either, or anywhere with sprite mishaps.

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: New patch: Backstabu Glitch fix
« Reply #4 on: March 25, 2016, 01:38:55 PM »
The anomaly with the running doesn't happen until they actually succeed in running away. While you're holding down the L and R buttons, they'll keep trying to run away until they eventually succeed, but then they'll turn around and start running backwards.

What I notice specifically in the Kefka case is that after the first wave of Espers emerges, Kefka slowly gets up, looks around, then stands up and says "Frightful energy!" The error there was that he wouldn't look around, he'd just look to the right for about five seconds before standing up.

I'm sure there are some other anomalies that are caused by the old version of the patch. In any case, the new version is superior because it specifically targets the animation scripts that are wrong as opposed to handling generic cases that may be too generic.
"Do not meddle in the affairs of wizards, for they are subtle and quick to anger." -Gildor from The Lord of the Rings

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: New patch: Backstabu Glitch fix
« Reply #5 on: September 16, 2016, 10:51:57 PM »
:bump: GBA patches.
"Do not meddle in the affairs of wizards, for they are subtle and quick to anger." -Gildor from The Lord of the Rings

Madsiur

  • Tunnel Armor
  • *
  • Posts: 149
  • Gender: Male
  • FF6AE coder
    • View Profile
    • Madsiur's Lair
Re: New patch: Backstabu Glitch fix
« Reply #6 on: September 17, 2016, 03:20:03 AM »
:bump: GBA patches.

 :omg: How do you Trace the code? NOT "how to trace/debug GBA code" but how do you proceed considering the lack of disassemblies (e.g. for breakpoints and such...)?

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: New patch: Backstabu Glitch fix
« Reply #7 on: September 17, 2016, 03:25:03 AM »
This one was actually much simpler than that. I guessed correctly that the spell animation script code was (basically) identical between the SNES and GBA versions.

Right now, in trying to port some of the functional patches to GBA, I'm using No$GBA as my debugger/disassembler.
"Do not meddle in the affairs of wizards, for they are subtle and quick to anger." -Gildor from The Lord of the Rings

Madsiur

  • Tunnel Armor
  • *
  • Posts: 149
  • Gender: Male
  • FF6AE coder
    • View Profile
    • Madsiur's Lair
Re: New patch: Backstabu Glitch fix
« Reply #8 on: September 17, 2016, 07:05:39 AM »
This one was actually much simpler than that. I guessed correctly that the spell animation script code was (basically) identical between the SNES and GBA versions.

Yes, most of the bugs that concern data (events and such), scripts or graphics can be tackled more easily. I'm really hoping someday of a partial combat system disassembly ($C2 equivalent) to be able to fix more bugs. Novalia Spirit ported a lot of his patches to the GBA version(s), I wonder if he has identified some ARM routines...

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: New patch: Backstabu Glitch fix
« Reply #9 on: September 17, 2016, 12:30:43 PM »
Looking at some of the text files, I'm sure he has, because they include the new and old code for the GBA version (depending on localization). I have figured out that the instruction set is Thumb ARM, but I still have no idea where all the functions are or how they translate from the SNES version.

I feel like I should write a disassembler that can write to a text file.
"Do not meddle in the affairs of wizards, for they are subtle and quick to anger." -Gildor from The Lord of the Rings

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: New patch: Backstabu Glitch fix
« Reply #10 on: July 13, 2017, 12:00:52 AM »
:bump: PS1 port.
"Do not meddle in the affairs of wizards, for they are subtle and quick to anger." -Gildor from The Lord of the Rings