øAslickproductions.org/forum/index.php?PHPSESSID=a93jpvqe9jutne9agvqo8ht1r1&topic=1980.105e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/indexc184-3.htmlslickproductions.org/forum/index.php?board=17.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/indexc184-3.html.zxÂ8h^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ °V­ OKtext/htmlISO-8859-1gzip0|Ö­ ÿÿÿÿÿÿÿÿWed, 11 Mar 2020 01:19:22 GMT0ó°° ®0®P®€§²ð®Á8h^ÿÿÿÿÿÿÿÿK+­  FF5 Bugs & Glitches

Author Topic: FF5 Bugs & Glitches  (Read 23831 times)

samurai goroh

  • FF5 Hacker
  • *
  • Posts: 221
  • Gender: Male
    • View Profile
    • My page
Re: FF5 Bugs & Glitches
« Reply #105 on: November 02, 2016, 12:12:30 AM »
I was playing for a Low Level Game when I stumbled with this graphical error. I don't recall triggering it before, so I believe is just an emulator issue (until I confirm it with a better one). Basically I was trying to capture all the monsters so that I could learn Time Slip, but when I caught a Magnetes and then released it, the background color messed up (It was the formation #194, just after the first save point).

I'm the best in the universe! Just remember! [F-zero X]

Jorgur

  • Moderator
  • *
  • Posts: 437
  • Gender: Male
    • View Profile
Re: FF5 Bugs & Glitches
« Reply #106 on: November 02, 2016, 03:45:40 AM »
I have seen that happen. It may have been while using a summon spell in the steamship.

Squall

  • Dark Dragon
  • *
  • Posts: 486
    • View Profile
Re: FF5 Bugs & Glitches
« Reply #107 on: November 02, 2016, 09:53:57 AM »
I dont recall seeing that palette glitch on Steam version.

When I played to get all all achievements I had an interesting battle Ghidra. I wanted to steal Killer Bow, so I decided first to drain its MP first and then Auto till steal connect. Guess my surprise when the MP reached 0 and it was still able to use Poison Breath ...

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: FF5 Bugs & Glitches
« Reply #108 on: November 25, 2016, 06:44:16 PM »
In the Events list, the event code DB is called "Restore Player Status (Frog/Mini)". It looks like this has the effect of showing the lead character in the party on the map. What I want to know is, does it in fact also remove status ailments? Or does it just update the sprite to show stuff like Frog and Mini?

:edit:
Never mind, I think I figured it out. It does not appear to remove status ailments from any party members.

LightPhoenix, is it OK if I put your Event List document on Google Drive and share it for others to edit?

:edit:
LightPhoenix has told me that, yes, I can put the Event List on Google Drive and share it. Here is a link for anyone who wants to contribute.
« Last Edit: June 28, 2017, 12:54:30 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

noisecross

  • FF5 Hacker
  • *
  • Posts: 146
    • View Profile
Re: FF5 Bugs & Glitches
« Reply #109 on: June 27, 2017, 05:15:29 AM »
Sharing new patch here.
This one is compatible with both original and RPGe's versions of the game and should fix:
  • Ghido's Cave Hates Vehicles
  • NEW - Elder Tree Eats Chocobos
  • North Mountain (Walk On Air)
  • Pyramid of Moore (Walk Through Walls)
  • Istory Falls (Walk Through Walls)
I'd be very pleased if somebody check this one  :lame:

:edit:
I have added to this message a new patch which is the sum of the Xardas' "Elder Tree fix" and mine.
« Last Edit: March 08, 2018, 10:11:54 AM by noisecross »

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: FF5 Bugs & Glitches
« Reply #110 on: June 28, 2017, 12:50:29 AM »
I'd be very pleased if somebody check this one  :lame:

The four bugs are definitely fixed. It is a pretty big patch, though, which makes me wonder two things: one, how you made the patch, and two, what other maps might be affected.
"Do not meddle in the affairs of wizards, for they are subtle and quick to anger." -Gildor from The Lord of the Rings

noisecross

  • FF5 Hacker
  • *
  • Posts: 146
    • View Profile
Re: FF5 Bugs & Glitches
« Reply #111 on: June 28, 2017, 02:39:43 AM »
It is a pretty big patch, though, which makes me wonder two things: one, how you made the patch, [...]

If you check the ROM map:

Code: [Select]
CB/0000-CB/028F Tilemaps offsets (Location maps) [2bytes * 0x0148]
CB/0290-CD/FA01 Tilemaps (Location maps) [Compressed unheaded type02] [64 * 64 bytes (after decompressing)]
CD/FA02-CD/FA3F (Blank)

To fix the maps I had to decompress some tilemaps, edit them, compress the edited (fixed) tilemap and injected it back into the ROM.
As the compressed maps have a different size than the original ones, I had to reallocate A LOT of data bytes and pointers.
On the other hand, everything was done progamatically using the "FF5e Map Editor" :wink: but you are right. It is indeed a big patch.

[...], and two, what other maps might be affected.

A lot of them as all the information has been reallocated. If you mean what locations have been 'directly' affected by the editions:
  • North Mountain Fix: Location id 03B. The bg0 tilemap id is 0AD: Only affects this location.
  • Pyramid of Moore Fix: Location id 178. The bg0 tilemap id is 11D and the bg1 tilemap id is 11E. Affects locations 178, 179, 17B, 17C, 17D, 17E and 17F. All of them are the Pyramid inner.
  • Istory Falls Fix: Location id 1A6. The bg0 tilemap id is 088: only affects this location.
« Last Edit: June 28, 2017, 06:44:22 AM by noisecross »

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: FF5 Bugs & Glitches
« Reply #112 on: June 28, 2017, 09:09:08 AM »
OK, as long as all the tilemaps were in fact able to save correctly. I had to rewrite some of my FF6 patches that affect maps in that game because I had previously used a map editor to edit the tilemaps and then some of them got broken because the program didn't compress as well as it could have, so it wasn't able to save all of the tilemaps. I had to go in and hex edit the tilemaps to prevent them from expanding to the point that they f$@#ed each other up.
"Do not meddle in the affairs of wizards, for they are subtle and quick to anger." -Gildor from The Lord of the Rings

noisecross

  • FF5 Hacker
  • *
  • Posts: 146
    • View Profile
Re: FF5 Bugs & Glitches
« Reply #113 on: June 28, 2017, 09:39:39 AM »
I had to rewrite some of my FF6 patches that affect maps in that game because I had previously used a map editor to edit the tilemaps and then some of them got broken because the program didn't compress as well as it could have, so it wasn't able to save all of the tilemaps. I had to go in and hex edit the tilemaps to prevent them from expanding to the point that they f$@#ed each other up.

The FF6 map editor is infamous for it risk to corrupt the ROM.

Anyway, I wrote the compression routine here to be slow but optimal. The CD/FA02-CD/FA3F blank space is more than enough to increase the size of these tilemaps plus the "FF5e Map Editor" don't inject and reallocate tilemaps in a ROM if the total size of the sum of all tilemaps reach the limit set at CD/FA40.
In this sense, it is as secure as it can be.

Again, the patches which deal with compressed data are big.

Praetarius5018

  • Vargas
  • *
  • Posts: 88
    • View Profile
Re: FF5 Bugs & Glitches
« Reply #114 on: July 02, 2017, 05:53:16 AM »
I think that is new?
Equip Weight doesn't update when changing items in battle, i.e. change shields.

13375K31C43R

  • Ultros
  • *
  • Posts: 675
  • Gender: Male
    • View Profile
    • Leet Sketcher's Final Fantasy III Patches
Re: FF5 Bugs & Glitches
« Reply #115 on: November 19, 2017, 12:30:38 AM »
The obvious fix is to make 24E4 PHX/PLX like it should have.

Re: Item Transform bug. Sorry for responding to an old topic, but I thought I should bring this up here.

I have found an easier fix than adding PHX/PLX: just change C2/24E4 to loop on the Y register instead of the X register. C2/24E4 is only called from two places; the one LightPhoenix mentioned is immediately followed by an LDY and the other is surrounded by a PHY/PLY, so there'll be no downside. You can also change the STZ to an STA since A = 0 and there's no STZ addr,Y.
"Do not meddle in the affairs of wizards, for they are subtle and quick to anger." -Gildor from The Lord of the Rings

Xardas

  • Siren
  • *
  • Posts: 75
    • View Profile
Inu's Sandbox
« Reply #116 on: March 03, 2018, 05:28:30 PM »
Not sure if that's the right place to say this, since it's more about fixes than new bugs, but I didn't want to start a new topic because it's not about my work.

But have you ever read about Inu (or Inu's Sandbox)? It's a person from Japan who worked on various patches and programs for the SNES FFs (ever heared about FF4/5/6 analyzer/decoder? This guy released those for FF4/5/6 Advance).
A huge collection of ips patches for FFV is actually downloadable on romhacking.net since 2010 - yet I haven't seen this guy mentioned here.
Although the description reads...
Quote
This is a collection of bugfix and improvement patches for the Japanese version of Final Fantasy V for the Super Famicom from Inu?s Sandbox.
... they still work for RPGe's translation (at least the ones I tried). Some of Inu's fixes have also been made by other people similarily, like Butz' Blue Mage sprite fix, or Power Drink fix. But there is also stuff I haven't seen elsewhere, like an improved Item sort system (It sorts with the following order: Items - Knives - Swords - Spears -  Axes&Hammers - Katanas - Rods - Saves&Maces - Bows - Harps - WHips - Bells - Exotic - Shields - Helmets - Armor - Accessory).
Or another fix which deals which the teleportation bugs of Qelb (by disabling Teleport) and Ghido's Dwelling / Library of the Ancients (by Teleporting outside the Library).

*Unfortunately, the Mineuchi/SwordSlap fix does not work - Mineuchi is unchanged while the normal "Fight" command of both characters and monsters inflict paralyze*

Still, I think this patch collection needs more attention. Also, this might prevent people to work on patches/fixes which were already made.
« Last Edit: March 04, 2018, 04:41:42 AM by Xardas »

noisecross

  • FF5 Hacker
  • *
  • Posts: 146
    • View Profile
Re: FF5 Bugs & Glitches
« Reply #117 on: March 08, 2018, 10:15:34 AM »
:edit:
I have added to this message a new patch which is the sum of the Xardas' "Elder Tree fix" and mine.

It seems we have now a patch which fix every bug related with maps.
Are we missing something?

samurai goroh

  • FF5 Hacker
  • *
  • Posts: 221
  • Gender: Male
    • View Profile
    • My page
Re: FF5 Bugs & Glitches
« Reply #118 on: April 01, 2018, 12:47:35 PM »
It seems we have now a patch which fix every bug related with maps.
Are we missing something?
If you can list exactly what is fixed, then I could take a look and see if there's any other map-related bug or not.

Anyway, this was just posted today in TASvideos:
#5899: pirohiko's SNES Final Fantasy V "game end glitch" in 10:42.29
I'm the best in the universe! Just remember! [F-zero X]

noisecross

  • FF5 Hacker
  • *
  • Posts: 146
    • View Profile
Re: FF5 Bugs & Glitches
« Reply #119 on: April 02, 2018, 10:03:46 AM »
If you can list exactly what is fixed, then I could take a look and see if there's any other map-related bug or not.

Sure. The mentioned fix (and the related bugs) are explained here.