Users browsing this thread: 2 Guest(s)
Portrait removal patch request for FFVI advance

#7
Posts: 383
Threads: 34
Thanks Received: 10
Thanks Given: 13
Joined: Dec 2018
Reputation: 18
Status
Moog
[You should use the edit button to remove that link from the middle of your post.]

Here's what's happening with the portraits.
Madsiur's suggestion (which I explained how to achieve in hex editing) removes the graphics used by the portraits. More specifically, it overwrites each pixel of all 23 portraits with the transparency color. See, computers draw images by indexing their individual pixels and then assigning a color value to them. For 16-bit video games, these colors, from 00 to FF (256 in decimal) are drawn from the game's palette. By setting all of the values to 00, we've told the game that all of the portraits should actually be blank boxes. This is convenient because all of the relevant hex is located in the same place, but inconvenient because the game does not discriminate where and where not to draw the portraits (hence why they disappear in the menu).

Everything's approach is more elegant but more complicated; he wrote a block of code that checked the game's dialogue for the portrait pointers. These are special codes used by the game's text processing to decide whether or not a portrait should be drawn. They're kinda like bulliten board code: "[Portrait:Terra]Where am I?" is basically what the strings say in their raw text... except instead of a human-readable format like the word "Portrait" it's written as a hex command call.
Because of this, you can't just go to a single block of hex code and erase it all, lest you erase all the text completely. Instead, sections of code are selectively removed (which is where a patch comes in handy).

Now... you probably ran into a header issue when you tried to apply Everything's patch; this is why it did not work as intended. We don't want to know the origins of your ROM file, but you can tell us its file size. With that information we should be able to determine whether or not it has a header (headered ROMs are slightly bigger) and the patch Everything prepared can be adjusted accordingly.
  Find
Quote  
[-] The following 2 users say Thank You to C-Dude for this post:
  • Everything (07-29-2019), Feanor17 (08-03-2019)



Messages In This Thread
RE: Portrait removal patch request for FFVI advance - by C-Dude - 07-29-2019, 06:33 PM

Forum Jump:

Users browsing this thread: 2 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite