Author Topic: [FF7 PC] FF7.exe Editor - now includes shop data!  (Read 12870 times)

petfriendamy

  • *
  • Posts: 25
    • View Profile
This is old! Consider using Scarlet instead:
https://forums.qhimm.com/index.php?topic=25961.0


So as you may know, most of the characters' initial data can be found and edited in the kernel. But since Young Cloud and Sephiroth are hogging their respective character slots, the data for Cait Sith and Vincent is hidden away in the EXE, making it more annoying to edit. Well, I threw together a quick tool to help with that issue!



The tool locates Cait Sith and Vincent's data in the EXE, and allows you to edit it via the user interface. Right now it expects and validates with basegame data, but later on I might see if I can tweak it to read weapon data, etc. from the kernel. I also might expand it later to edit other stuff that can only be changed in the EXE, but I just stuck with this for now since this was what I needed it for.

UPDATE: The tool now includes character names and shop data!

Download link here:
https://github.com/petfriendamy/FF7-exe-Editor/releases


Old versions:
2.2: https://drive.google.com/file/d/1LnGEiMW7UCC04XJG8p-JryJi1qcxDYEg/view
2.1.2: https://drive.google.com/file/d/1gSsfj2g38Zyb__OEZjccBrNwKVy8WJeX/view
2.1.1: https://drive.google.com/file/d/1Cb-3ltSWxnKOfoOfHOQT5NpedEZsJqWa/view
2.1: https://drive.google.com/file/d/11HNwbq9bldCbQjpmf2u1L3nUIohlXMJW/view
2.0: https://drive.google.com/file/d/16wskivtB8hmvScT5hUJ5gCaVICOB-lh7/view
1.0: https://drive.google.com/file/d/1JDIjShNqgmDK92cEQuzfSJLgss63Erf8/view

Includes a DLL (Editor.Core.dll) that you can use for your own installers. Also includes the source code, which you can also use and modify if you want. (Now on GitHub!) Written in C#.
« Last Edit: 2024-08-26 00:14:49 by petfriendamy »

petfriendamy

  • *
  • Posts: 25
    • View Profile
Some updates:

  • You can now export the character data to a file, making it easier to backup and share without having to edit the entire EXE every time.
  • You can now change character IDs for Cait Sith and Vincent. I'm not sure what the impact of that is, but it's an option now.
  • Most importantly, you can now change the characters' names!


These are the names that appear on the character rename screen, so you can correct Aerith's name, change Red XIII to Nanaki, or whatever else you want to do.

cloudiar

  • *
  • Posts: 204
    • View Profile
Hello!

Does this work with version 97 exe? (ff7 1.02 english)

My question is logical, my exe has important modifications and I need to be sure of its correct operation, in any case it is an excellent job, if it works for me I have small changes pending with Vincent and Caith Sith, of course I would include you in the credits.

Regards

petfriendamy

  • *
  • Posts: 25
    • View Profile
Hello!

Does this work with version 97 exe? (ff7 1.02 english)

My question is logical, my exe has important modifications and I need to be sure of its correct operation, in any case it is an excellent job, if it works for me I have small changes pending with Vincent and Caith Sith, of course I would include you in the credits.

Regards
I believe so! I had to make a small tweak to the editor to make sure it recognizes the 1997 version, but it looks like it's working fine. Let me know if you have any issues.

Pure_Mind_Games

  • *
  • Posts: 42
    • View Profile
When loading an updated exe or the data file only the name is correct, the Curse Rings are Fairy Rings when first loading the exe then change to Earrings when I load the dat file in.
« Last Edit: 2021-02-05 01:00:47 by Pure_Mind_Games »

petfriendamy

  • *
  • Posts: 25
    • View Profile
When loading an updated exe or the data file only the name is correct, the Curse Rings are Fairy Rings when first loading the exe then change to Earrings when I load the dat file in.
What do you mean by "only the name is correct"? And which version of FF7 are you using?

Pure_Mind_Games

  • *
  • Posts: 42
    • View Profile
What do you mean by "only the name is correct"? And which version of FF7 are you using?
When I change Clouds name then reload the exe or the .dat file to an unchanged exe the change is what I made. The exe is 1.02, to be honest now that I think about it, I think it might be 7th Heaven screwing everything up, I can't even launch the game without going through it.

petfriendamy

  • *
  • Posts: 25
    • View Profile
When I change Clouds name then reload the exe or the .dat file to an unchanged exe the change is what I made. The exe is 1.02, to be honest now that I think about it, I think it might be 7th Heaven screwing everything up, I can't even launch the game without going through it.
Hm, strange. Let me know if you keep having issues with it.

That said, I did notice an issue with accessories not being correct, so I went ahead and fixed that. And speaking of 7th Heaven, the editor can now generate Hext files for use with IROs!

petfriendamy

  • *
  • Posts: 25
    • View Profile
Re: [FF7 PC] FF7.exe Editor - now includes shop data!
« Reply #8 on: 2023-04-21 18:41:26 »
*blows off the dust*

Hey! So I recently decided to drag this old thing over to .NET 7, as well as putting it on GitHub like a proper software dev. And—important enough to warrant a thread bump—it now includes shop data!



Special thanks to titeguy3 for making White Chocobo, the original shop editor that I used as a baseline for this. Also special thanks to myst6re for Makou Reactor, which I used to find and identity all the shops. Apparently there's an unused materia shop!

As usual, let me know if you run into any issues.

Kimsiudog

  • *
  • Posts: 28
    • View Profile
Re: [FF7 PC] FF7.exe Editor - now includes shop data!
« Reply #9 on: 2023-07-02 04:00:59 »
hello guys, does anyone having an issue when you modified the ff7.exe app and when run the game with mods on 7th heaven and anything you modified does not take effect in game, it backs to original unmodified state. so i wonder how to get the modified data works with other mods running on 7th heaven? any help would be appriciate, thanks.

markul

  • *
  • Posts: 215
    • View Profile
Re: [FF7 PC] FF7.exe Editor - now includes shop data!
« Reply #10 on: 2023-07-02 11:29:51 »
hello guys, does anyone having an issue when you modified the ff7.exe app and when run the game with mods on 7th heaven and anything you modified does not take effect in game, it backs to original unmodified state. so i wonder how to get the modified data works with other mods running on 7th heaven? any help would be appriciate, thanks.
You cant use your own ff7.exe in 7th Heaven. To use your changes in your mod ,you must create a text file(in your mod folder ,must be inside a folder called hext) and put every hexadecimal change you want in FF7.EXE (not the ff7.exe file but the ff7.exe program process,  when the game is executed, the hex address are different).

Example [Hex Address = Changed Value]:

..\ff7.exe

919970 = A0
919971 = 31
919972 = 55
919973 = 49
919974 = 45
919975 = 52




petfriendamy

  • *
  • Posts: 25
    • View Profile
Re: [FF7 PC] FF7.exe Editor - now includes shop data!
« Reply #11 on: 2023-07-06 16:52:27 »
Yeah, what Markul said. You can load your modified EXE in the editor and click the "create Hext file" button to generate the text file that 7th Heaven uses.

Kimsiudog

  • *
  • Posts: 28
    • View Profile
Re: [FF7 PC] FF7.exe Editor - now includes shop data!
« Reply #12 on: 2023-07-08 03:05:49 »
ohh i see...thanks a lot guys :) finally im able to load the game with my ff7.exe changes now.

Pure_Mind_Games

  • *
  • Posts: 42
    • View Profile
Re: [FF7 PC] FF7.exe Editor - now includes shop data!
« Reply #13 on: 2024-01-25 15:25:29 »
One thing thats confusing me is the prices for materia like summons is 1 but the 'Materia AP price multiplier' says 70. Wouldn't that mean they should sell for AP*70?
« Last Edit: 2024-01-25 15:27:58 by Pure_Mind_Games »

Vordane

  • *
  • Posts: 6
    • View Profile
Re: [FF7 PC] FF7.exe Editor - now includes shop data!
« Reply #14 on: 2024-08-21 20:22:59 »
If I make edits to FF7.exe with the limit break editor (Libre), would this allow me to create a hext file of those changes?

petfriendamy

  • *
  • Posts: 25
    • View Profile
Re: [FF7 PC] FF7.exe Editor - now includes shop data!
« Reply #15 on: 2024-08-26 00:17:49 »
One thing thats confusing me is the prices for materia like summons is 1 but the 'Materia AP price multiplier' says 70. Wouldn't that mean they should sell for AP*70?
I'm not too sure how it works, but I'm guessing 1 price items are ignored.

If I make edits to FF7.exe with the limit break editor (Libre), would this allow me to create a hext file of those changes?
No. I would suggest using Scarlet instead:
https://forums.qhimm.com/index.php?topic=25961.0

Vordane

  • *
  • Posts: 6
    • View Profile
Re: [FF7 PC] FF7.exe Editor - now includes shop data!
« Reply #16 on: 2024-08-26 14:08:29 »
I have been searching the forums like crazy for more information and somehow I never saw the Scarlet post.  This should be very helpful!  I tried it out last night and although I think it did everything I needed, I am probably not doing something correct with the loading of the hext files.  I am trying to make some small changes to the ff7.exe file, but 7th Heaven isn't executing my changes in the hext file.  I pack the hext file and hext folder in an .iro file.  It shows up in the mod list, but still no changes.  So possibly an .xml issue?  Thanks!

Vordane

  • *
  • Posts: 6
    • View Profile
Re: [FF7 PC] FF7.exe Editor - now includes shop data!
« Reply #17 on: 2024-08-28 04:42:50 »
The final issue was an .xml issue, but Scarlet's hex conversion worked and the FF7.exe was updated like I wanted.  Thanks for creating this editor.  I have worked a little with hex editors but still don't understand how the data locations change after the program is executed.