Final Fantasy Hacktics

Modding => Hacking/Patching Tools => Topic started by: Xifanie on September 30, 2007, 12:00:11 am

Title: Patching Excel stuff
Post by: Xifanie on September 30, 2007, 12:00:11 am
Required Tools:
Hex Editor (http://www.fileden.com/files/436/WH.rar ; pass is fft)
Excel 2000 or higher
Analyst Toolpak (found on the site if you don't have it already)
CD Mage Beta (http://ftp.uevora.pt/pub/Mirrors/CDmage/CDmage1-02-1B5.rar)

To Patch:
- Make all the modifications you want to make in Excel. If auto-calculation is manual, go in
Tools/Options.../Calculation/ and press "calc now".
- Select the given area called "Hex ASCII" in the "END" sheet. Copy it.
- Open notepad and paste the data. Save with any name you wish (let's call it file X).
- Open the Hex Editor, then open your newly saved file & the file to patch with it (let's call it file Y).
// 0x64 is an example of a number in HEX. During the following procedures, don't type the "0x"; you'll simply get an error.
- Take file X and go in
Search/Replace Hex Values
Search for: 0x0D0A
Replace with: <Empty field>
Press OK, then Yes.
- Press Ctrl + R and select Hex ASCII -> Binary.
- Select all data (Ctrl+a or Edit/Select All). and copy it.
- Now take file Y and select the corresponding byte depending on your file:
for SCUS_942.21 (US version): 0x4F3F0
for SLPS_007.70 (JP version): 0x4C744
- Press Ctrl + B then click OK in the message box.
- Save

To Insert back the file using CD Mage Beta:

Open CD Mage Beta.
Open your ROM Image.
Right click on the corresponding file, click Import... and track down your file you just saved. It might be a good idea to keep an original copy of your file.
Title:
Post by: Xifanie on October 12, 2007, 07:40:52 pm
Updated: simpler method.
Title: Re: Patching Excel stuff (updated)
Post by: Julian on October 15, 2007, 10:16:23 pm
Sorry for the noobness, but I'm stuck at this step:

Quote from: "Zodiac"- Now take file Y and select the corresponding byte depending on your file:
for SCUS_942.21 (US version): 0x4F3F0
for SLPS_007.70 (JP version): 0x4C744

I'm trying to edit ENTD4.ENT, so I assume the "Y" file is the original ENTD4.ENT, but it only goes up to 13FFF.  Not too sure if I've been doing it right, but I can't get through this part with trial and error, so thought I'd ask.

again, sorry for the noobness :/
Title:
Post by: Xifanie on October 15, 2007, 11:00:10 pm
QuoteSelect the Hex ASCII column and copy it in notepad. Save the file with any                           
name. Use your favorite Hex Editor to Replace word 0x0D0A to nothing or remove all line                           
breaks manually. Simply convert from Hex ASCII -> Binary and save the file with the                           
right name. There you go! No patching. Just reinsert the new file in your ROM image.         

Directly from the workbook.
Title:
Post by: Julian on October 18, 2007, 10:42:05 pm
Quote from: "Zodiac"
QuoteSelect the Hex ASCII column and copy it in notepad. Save the file with any                           
name. Use your favorite Hex Editor to Replace word 0x0D0A to nothing or remove all line                           
breaks manually. Simply convert from Hex ASCII -> Binary and save the file with the                           
right name. There you go! No patching. Just reinsert the new file in your ROM image.         

Directly from the workbook.

Ah, damn.  My mind skipped over those directions because they looked to be the same as the one on the forums which I was already following >.<

Thanks a lot, worked like a charm
Title:
Post by: Christopher Robin on October 19, 2007, 03:38:08 am
When I do this, my SCUS_942.21 file ends up bigger than it used to be.  It just adds the new stuff instead of overwriting anything, and you've removed the instructions for taking out the stuff using UltraEdit.
Title:
Post by: Xifanie on October 19, 2007, 06:15:31 am
Err are you sure you're pressing Ctrl + B and not Ctrl + C?

Ctrl + B = Write and will only expand the file if your clipboard data is wider than your byte position to the last one. Which is not really possible in this case. :roll:
Title:
Post by: Xifanie on October 19, 2007, 06:22:05 am
Crap, I forgot to add the Hex ASCII -> Binary part...

Fix'd
Title:
Post by: VincentCraven on October 24, 2007, 07:31:54 pm
Where can I change the range of brave and faith randomly generated? Is that known currently?
Title:
Post by: Xifanie on October 24, 2007, 07:57:27 pm
No, but I'll add that to my search list. I was actually wondering of what assembly instructions to find. ;o
Title:
Post by: karsten on October 25, 2007, 06:52:09 am
Quote from: "Zodiac"No, but I'll add that to my search list. I was actually wondering of what assembly instructions to find. ;o

nice idea, really. also you might see if it is possible to randomize the level too :D that might be too funny!
Title:
Post by: Xifanie on October 25, 2007, 10:53:23 am
It is already possible. Randomly generated level = Highest char level - [1..5].

I can probably change that (if I search enough) but I doubt there is any usable space out there for me to add purely random levels like 60 to 75.
Title:
Post by: Selius2 on October 30, 2007, 07:23:00 pm
How can I modify in Excel the 1.2 patch?

The file in the downloads section is the base stuff. (i.e. no thief with innate Concentrate) I want to work from the 1.2 changes instead of having to manually enter all the changes.
Title:
Post by: Xifanie on October 30, 2007, 08:06:50 pm
I am not affiliated in any way with philsov's project.
Title:
Post by: Selius2 on October 30, 2007, 09:38:55 pm
- Select the given area called "Hex ASCII" in the "END" sheet. Copy it.

How do I do this step? There's nothing to copy. I already did the Calculate Now.

(http://img143.imageshack.us/img143/654/ffteditattemptqf3.th.jpg) (http://img143.imageshack.us/my.php?image=ffteditattemptqf3.jpg)
Title:
Post by: VincentCraven on October 30, 2007, 11:32:54 pm
You didn't try copying the 3 lines of zeros into a notepad?
Title:
Post by: Xifanie on October 31, 2007, 06:48:59 am
And I thought it was obvious. X_X

Geez, don't use jpg, they are so long to load, looks like crap, and seem extremely unprofessional.
Title:
Post by: Selius2 on October 31, 2007, 09:23:58 am
Why the hell does it only work after someone says it. I look stupid even after I tried it no less than 10 times.

Every time I would try to copy it into notepad, nothing would happen.

Anyway, I got it working.  Thank you Vincent.
Title: Little problem here....
Post by: Idot on November 07, 2007, 03:02:13 pm
Quote- Now take file Y and select the corresponding byte depending on your file:
for SCUS_942.21 (US version): 0x4F3F0
for SLPS_007.70 (JP version): 0x4C744
- Press Ctrl + B then click OK in the message box.
- Save

I can get there, but I assume that file Y is the SCUS_942.21 file in the FFT iso...
Well, selecting the 0x4F3F0 byte would mean the line that has this number, is it? because I've done everything else and the game won't run properly... lets say that the only thing i've changed was the Ramza's Wish to All-Ultima... then when i play the game i see knights using Lose Voice, Agirias and Gafgarion freezed and many other bugs....


I can only think that i'm only using the Ctrl+B in the worng place, so, can anyone tell me what to do?[/quote]
Title:
Post by: Selius2 on November 08, 2007, 09:19:09 pm
In WinHex:

Position>Go to Offset > 4F3F0

then hit ctrl b
Title:
Post by: Selius2 on November 19, 2007, 07:55:11 pm
How do I add stats to items that don't normally have special traits?
Title:
Post by: Xifanie on November 20, 2007, 07:17:10 am
SIA sheet; get the proper ID you want to set to the item (first column), or even create a new one. Then set set that SIA in the Item sheet (SIA column).
Title:
Post by: Selius2 on November 20, 2007, 05:15:12 pm
Thanks
Title:
Post by: TioErms on December 02, 2007, 04:13:25 pm
How do I edit the jp needed to learn a skill?


Nevermind, I got it :)

 Now the raise spell doen't target dead chars anymore, but it hits undead thoug... Anyone knows how to fix it?
Title:
Post by: eVo on January 02, 2008, 01:36:48 am
im just wondering where do i change damage formulas?  i see columns for formula but where does it get the information from?
Title:
Post by: Xifanie on January 02, 2008, 12:00:29 pm
You can take any already existing formula of another skill. As for changing the formula itself, it's still in progress...
Title:
Post by: VincentCraven on June 19, 2008, 08:26:59 pm
You mind updating the Hex Editor link? My WinHex got deleted.
Title:
Post by: Rofl on June 20, 2008, 03:39:37 pm
SPELL.MES now on site

for that file below; pass:

(http://images.wikia.com/uncyclopedia/images/b/bd/Rofl--copter.gif)

LOWERCASE, NO SPACES, NO PONCTUATION MARK
Title:
Post by: VincentCraven on June 20, 2008, 05:10:14 pm
thanks a bunch! I've tried other editors in the mean time, and quite frankly I could not get the stuff done without downloading a trial version of this hex editor.

Edit: hmmmz. for some reason it won't let me save my file. Sure this is a good version?
Title:
Post by: Selius2 on August 21, 2009, 04:27:44 am
massively late answer but:

in options> general > Folder for temporary files:

change that.