Final Fantasy Hacktics

Modding => Help! => Topic started by: philsov on December 09, 2010, 12:06:28 pm

Title: Making a PPF that doesn't require extending the ISO
Post by: philsov on December 09, 2010, 12:06:28 pm
I know it involves some funsies with hex editing, which I'm moderately competent in.

Anyone offer some insight?  Would like to release Easytype without involving that step.
Title: Re: Making a PPF that doesn't require extending the ISO
Post by: Eternal on December 09, 2010, 05:48:22 pm
To my knowledge, all you have to do is the following.

1) Find the difference (in bytes, not KB) between the patched and a clean ISO.
2) Pad the clean ISO with 00 bytes in Winhex at the end of the clean ROM until the sizes are the same
3) Save, and make the patch.

That -should- be it, unless I'm totally drawing a blank here on something.
Title: Re: Making a PPF that doesn't require extending the ISO
Post by: FFMaster on December 09, 2010, 11:51:22 pm
Yeah, 100% correct. Just make sure to test, just in case.
Title: Re: Making a PPF that doesn't require extending the ISO
Post by: philsov on December 10, 2010, 10:03:30 am
And each individual 0 is a byte, correct?

So if the difference is 100 KB, I need to add 100,000 0's?

Or it is something like each 00 is 8 bytes? (meaning, 128 bytes per additional line of 0x0 - 0xF?)
Title: Re: Making a PPF that doesn't require extending the ISO
Post by: Xifanie on December 10, 2010, 10:28:08 am
No. No, and no.

0x00 - 0xFF = byte
A byte is contains 8 bits: 00000000 to 11111111 (i.e. binary)

A kb is 1024 bytes
But you have no need how knowing that as you must NOT calculate.

You need the precise number of bytes; you can't just round.

If you're on Windows: Right click, properties, and find "Size:" take the number in BYTES.
Title: Re: Making a PPF that doesn't require extending the ISO
Post by: philsov on December 10, 2010, 10:55:56 am
So then each line is 16 bytes, so a difference of 102400 bytes is thus an additional 6400 lines of 00's?
Title: Re: Making a PPF that doesn't require extending the ISO
Post by: Xifanie on December 10, 2010, 10:57:25 am
yes, but I just told you to not calculate. Are you listening? You need the size in bytes, not convert from kb to bytes.
Title: Re: Making a PPF that doesn't require extending the ISO
Post by: philsov on December 10, 2010, 11:03:07 am
It's an arbitrary value, and I listed the size in bytes

edit:  thanks!  patch timez