• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
July 04, 2020, 06:06:41 pm

News:

Use of ePSXe before 2.0 is highly discouraged. Mednafen/RetroArch is recommended for playing/testing, pSX is recommended for debugging.


FFT Patcher .478 Source Code

Started by formerdeathcorps, May 14, 2011, 03:57:55 am

Raijinili

As far as I know, continued development on FFTPatcher (if any) will be at the GitHub repo. Bug reports should probably go on the bug tracker there.
  • Modding version: Other/Unknown

Elric

September 13, 2018, 10:20:41 am #281 Last Edit: September 14, 2018, 10:20:23 am by Elric
I'm not git savy.

Anyway, there appears to be another issue. In the Bonus.bin, in shishi, in Number 2, for Elidibs, it has the "This Game is Complete!" instead of "This Battle is Complete!" I'm 99% certain that the former is supposed to be on the Altima one, not Elidibs.

Edit: Another issue. Map 120 doesn't show up in the list for the other images in shishi. In previous versions it was called "(Garbled name) -- Sloped Checkboard" which came after Checkboard Wall Waterland. In the newer shishi, Checkboard Wall Waterland is the last one displayed to edit. This is an issue since we use a ASM for TLW to copy another map onto this location so that we can have it show a different name due to how one of the battles in TLW was done.
  • Modding version: PSX
<@Angel> Teach a man to fish and he'll open up a fishery to compete against yours.


Journey of the Five Youtube ChannelThe Lion War Current Status
  
Jot5 Leader :: Eventer :: OtherTLW Leader :: Eventer :: Other

Glain

September 13, 2018, 02:21:23 pm #282 Last Edit: September 14, 2018, 12:40:15 am by Glain
Regarding BONUS.BIN: All the images in that file are found by Shishi using the same procedure; there's nothing different about image number 2.  Seems farfetched that part of the image would be right and another part wouldn't.

As for maps, it appears that the number is off by one in the XML file.  Try finding /Resources/PSXFiles.xml within the FFTP directory, and edit this line (line 2439):
<Repeat Number="119" Offset="2560"> and change the Number from 119 to 120.


EDIT: Apparently I'm full of it and that file is compiled directly into the Shishi EXE so you can't edit it! Here's an updated EXE.
EDIT: It's also stored as plain ASCII text in the EXE so you could hex edit it.
  • Modding version: Other/Unknown

Elric

  • Modding version: PSX
<@Angel> Teach a man to fish and he'll open up a fishery to compete against yours.


Journey of the Five Youtube ChannelThe Lion War Current Status
  
Jot5 Leader :: Eventer :: OtherTLW Leader :: Eventer :: Other

Elric

September 14, 2018, 08:51:45 am #284 Last Edit: September 14, 2018, 10:21:31 am by Elric
As for the bonus.bin thing, i found it weird as well, but during my last playthru, i noticed that it didnt say "this game is complete" as it should, and instead says "this battle is complete" am i mistaken that it should be at the end of the altima battle and not the DD?

I watched some LPs that show that is should show on the Altima battle, but on the old winningconditions.bmp file i had from Xif, it shows the same way it does in shishi, so I'm going to assume I derped something in the displayed conditions at the end of the altima battle and that this has nothing to do with shishi
  • Modding version: PSX
<@Angel> Teach a man to fish and he'll open up a fishery to compete against yours.


Journey of the Five Youtube ChannelThe Lion War Current Status
  
Jot5 Leader :: Eventer :: OtherTLW Leader :: Eventer :: Other

Elric

Just did a lot of testing to confirm a weird thing, and after eliminating all variables i could think of, i even got to exporting a clean tactext file from a vanilla image file, and then repatching the same vanilla tactext back to the same vanilla image and the results are consistent every time. Something about tactext is either exporting or importing this bit from WORLD.LZW, incorrectly and causing us to lose some words in the end screen for propositions.


  • Modding version: PSX
<@Angel> Teach a man to fish and he'll open up a fishery to compete against yours.


Journey of the Five Youtube ChannelThe Lion War Current Status
  
Jot5 Leader :: Eventer :: OtherTLW Leader :: Eventer :: Other

Squaresoft

Hello there.
How comes there is a version v0.492 and this "STICKY" only links to older versions?,
  • Modding version: PSX

Elric

Quote from: Squaresoft on March 13, 2020, 09:37:24 amHello there.
How comes there is a version v0.492 and this "STICKY" only links to older versions?,

Because we have a tools section, and when I'm not made aware of a new release, or asked to update the link, it doesn't happen.

Glain is the one who currently works with FFTP and he is not the OP of this thread, so he is unable to update the OP...
  • Modding version: PSX
<@Angel> Teach a man to fish and he'll open up a fishery to compete against yours.


Journey of the Five Youtube ChannelThe Lion War Current Status
  
Jot5 Leader :: Eventer :: OtherTLW Leader :: Eventer :: Other

Glain

April 08, 2020, 10:44:53 am #288 Last Edit: April 15, 2020, 10:30:18 pm by Glain
Here's my latest version of the FFTPatcher suite including a version of Shishi that can edit the extra palettes in WLDFACE.BIN. The new entries are just added at the end of the list. They're annoyingly arranged in the file, so if modifying one of these entries, both the original and new entries should be updated.

I also separated out the XML files that define what goes in the Other Images section so that they can be updated without needing to recompile the Shishi EXE.

There are also a few convenience changes to the ASM patcher added in here.

Shishi

    * In the Other Images section, WLDFACE.BIN now has extra sections for units with extra palettes.  If changing one of these units, both the original and new entries should be changed.
    * The PSXFiles.xml and PSPFiles.xml files that define the entries in the Other Images section are now external files rather than being compiled into the program. This enables custom entries to be added into Shishi by adding them to the appropriate XML file(s)! Just an example...
        <Section Filename="E173.BIN" Filesize="48304">
            <PalettedImage8bpp>
                <Name>Night Sword</Name>
                <Width>128</Width>
                <Height>256</Height>
                <Sector>EFFECT_E173_BIN</Sector>
                <ColorDepth>_16bit</ColorDepth>
                <PalettePosition>
                    <Offset>14508</Offset>
                    <Length>512</Length>
                </PalettePosition>
                <Position>
                    <Offset>15536</Offset>
                    <Length>32768</Length>
                </Position>
            </PalettedImage8bpp>
        </Section>
   
FFTorgASM

    * ASM checker no longer shows a warning if a stack pointer offset is not a multiple of 8 (but will if the offset is not a multiple of 4).
    * Multiple offsets can now be specified in one Location tag using comma separated values. 
        Example:
            <Location file="EFFECT_E137_BIN" offset="AAB,923,E7F,B6F,C33,9E7,CF7,DBB,85F,10CB,F43" mode="DATA">
                02
            </Location>
  • Modding version: Other/Unknown

Glain

I'm now ready to release the FFTPatcher .493 beta!  This contains a LOT of new features and fixes and is probably the biggest release I've done!

Special thanks to the following for their contributions which helped make this release possible (as well as others!):

Raijinili: Feature requests (including ENTD unit table changes and the concept for View Stats), convenience feature ideas, labeling fixes, team color research, etc.
Xifanie: Reference data, Gameshark conditionals, FFTText Editor concepts (including Altima font), Ideas around consolidating/repointing duplicate entries, etc.
Elric: Ideas for improving several of the tools, including FFTPatcher defaults, separating the two UNIT/WLDFACE entries, fixing Proposition text, changing around Shishi sections, and adding functionality to Shishi
RetroTypes: Consolidating patch XMLs, ideas for Shishi features (including Zoom and other images entry numbers), discussions about labeling
Raven: Ideas around consolidating Item Attributes and Inflict Status, General ideas, labeling discussions
Choto: Effect notes
FFMaster: Idea about supporting more pseudoinstructions with non-specified source operand for ALU commands
Jumza: Team color information
Emmy: Information about FFTPatcher labeling, especially in the Propositions section
cadence: Idea for showing information about Item Attributes and Inflict Status, and pointing out some ASM hacks
  • Modding version: Other/Unknown

botik

In new beta FFTOrgASM selection menu does not appear for changes
  • Modding version: Other/Unknown

Glain

Hmm.  It was counting variables wrong.  A simple fix, but that's a pretty fundamental thing that blocks testing, so it's going to require another beta version.  Here it is, attached (Beta v2).  This also includes ctrl + mouse wheel functionality for Shishi zoom and the problem with the cut-off Shishi text about duplicate sprites should also be fixed.
  • Modding version: Other/Unknown

Glain

July 01, 2020, 03:55:47 pm #292 Last Edit: July 02, 2020, 09:45:11 am by Glain
Some fixes and features later, another beta...

FFTPatcher 0.493 Beta v3:

FFTorgASM:
    * Added and modified some patch XMLs (Dokurider.xml added).
    * Fixed issues with Free Space viewer and Conflict Checker.
    * "Complete!" message no longer appears when Canceling an action.
    * Now supports <Include> tags with a "patch" attribute to include another patch (by name).
    * Reload button now reloads the currently selected file.  Select All in the file list before pressing Reload to reload all the files.

This also includes the latest version of my XML file (including the unit bench hack).
EDIT - Updated attachment to include latest fix for bench hack.
  • Modding version: Other/Unknown