Author Topic: Removing 9999 limit without use of patch  (Read 14174 times)

comeonteamluca

  • Guest
Removing 9999 limit without use of patch
« on: 2007-02-27 20:05:42 »
I bring this up because patches usaully bring my FF7 more problems then before,
i read people managed to remove this limit themselves and was wondering how possible?

Turc

  • *
  • Posts: 18
    • View Profile
Re: Removing 9999 limit without use of patch
« Reply #1 on: 2007-02-28 03:21:50 »
Hey, they have an older thread about this...

Here

comeonteamluca

  • Guest
Re: Removing 9999 limit without use of patch
« Reply #2 on: 2007-02-28 16:07:35 »
brilliant!

ARMs

  • *
  • Posts: 164
    • View Profile
Re: Removing 9999 limit without use of patch
« Reply #3 on: 2007-03-26 23:09:24 »
Hello, I like to attemp to do this on the PSX version.   I don't have the PC version so i can't compare anything.   So I'm asking for someone to send me a 1.02 version of ff7.exe or post Hex values of the surround areas of ff7.exe that is being modded.

dziugo

  • *
  • Posts: 1470
    • View Profile
    • A new copy of FF7 thanks to Salk. Pack (zip/rar/etc) your saved game before sending it to me.
Re: Removing 9999 limit without use of patch
« Reply #4 on: 2007-03-27 10:00:18 »
What about downloading the 1.02 patch by yourself? Link is in The Great FF7 FAQ (Game Tweaking subforum).

halkun

  • Global moderator
  • *
  • Posts: 2097
  • NicoNico :)
    • View Profile
    • Q-Gears Homepage
Re: Removing 9999 limit without use of patch
« Reply #5 on: 2007-03-27 10:16:23 »
SaintDragon, I think I know what you are doing, and I don't think it's goinf to work. The PC and PSX executables are WAAAY different.

For example many lookup tables and internal scripts like the tutorial and menu subsystems are in the PC executable, and are in files in the PSX version. Not only this, the PSX executable is hard-coded to data locations on the disc. The PSX does not open any files by filename, only by sector location. The system is very corruptable and resistant to mods. Unless you plan on re-authoring the disk, your mod attempts are going to end in a lot of frustration.

When FF7 was compiled for the PSX, lookup tabes were created, filenames were stripped, a disk was authored at the same time. It's actully really intresting, and also why FF8 has *NO* filenames in it whatsoever, just a big bin block.

That being said, good luck with what you are trying.

ARMs

  • *
  • Posts: 164
    • View Profile
Re: Removing 9999 limit without use of patch
« Reply #6 on: 2007-03-27 15:15:15 »
The link in the Great ff7 faq didn't work so i googled for the patch.   Unfortunately that didn't help me at all, since I dont' have the PC version to patch.  The link that was provided in this thread didn't show the hex values.   It just showed offsets.

It might now work but I'm just trying to check if anything matches in the SLUS file and tinker around with it if any values match.

dziugo

  • *
  • Posts: 1470
    • View Profile
    • A new copy of FF7 thanks to Salk. Pack (zip/rar/etc) your saved game before sending it to me.
Re: Removing 9999 limit without use of patch
« Reply #7 on: 2007-03-27 16:46:14 »
The only thing you need for the patch to work, is the ff7.exe file (and a patcher of course).

ARMs

  • *
  • Posts: 164
    • View Profile
Re: Removing 9999 limit without use of patch
« Reply #8 on: 2007-03-27 19:33:37 »
Yeah I know thats how it works but i'm just saying I don't have a PC version so theirs no way I can patch what I don't have.    And i can't get any of the HEX value information from ff7.exe to compare with the SLUS file from the PSX to see if any thing matches.   If anyhting matches I like to mess around with it and see if the damage limit and HP limit is there.

I'm just hoping the data is not in any of the DAT files.   I manage to do some of the stuff i wanted but there is no way to compress the file back for the PSX.   the file normally has over 240 extra bytes of data when compressed back even if I didn't mod any data.

ARMs

  • *
  • Posts: 164
    • View Profile
Re: Removing 9999 limit without use of patch
« Reply #9 on: 2007-04-08 16:49:27 »
Does anyone have some more information about manually breaking the 9999 damage?  I still don't have PC version of the game, and I dowloaded the 1.02 patch.  It came with the exe file and a configuration file.   I tried to look up the offset and the EXE file doesn't have that offset.    Also someone said that he has FF7 PC with the 1.02 patch and it was patched with the 9999 break patch and still it doesn't have the offsets.

Please help.

Cyberman

  • *
  • Posts: 1572
    • View Profile
Re: Removing 9999 limit without use of patch
« Reply #10 on: 2007-04-08 17:36:07 »
Does anyone have some more information about manually breaking the 9999 damage?  I still don't have PC version of the game, and I dowloaded the 1.02 patch.  It came with the exe file and a configuration file.   I tried to look up the offset and the EXE file doesn't have that offset.    Also someone said that he has FF7 PC with the 1.02 patch and it was patched with the 9999 break patch and still it doesn't have the offsets.

Please help.
I'll give you 'pointers' but I won't do it for you.  You are firstly better off with the PS1 version of FF7 you want too change.  Secondly here is a recommended approach:
Set up ePSXe to use PSX emulation cheater as it's graphics plugin.
Set whatever graphics plugin you like to use with FF7 with the cheater plugin.
Run FF7 in the emulator.
First find what flags need to be checked on the system if you are in battle mode.
Next after you are in a battle search for 9999 or examine Terrance Fergasan's battle mechanics FAQ on game faqs to find out when and how the limit is applied.
Search for what he might suggest instead.  I believe the check is done in several places.
You must then formulate a cheat code to first detect the battle mode state then alter the constants it uses to check for the max hit amount.

If you are STILL set up hacking the PS1 variant you'll need some tools.  The .X files are the binaries that are scattered about the disk. These are modules the FF7 kernel loads to do it's bidding (IE battles magic casting animations etc.)

Cyb

ARMs

  • *
  • Posts: 164
    • View Profile
Re: Removing 9999 limit without use of patch
« Reply #11 on: 2007-04-09 06:56:15 »
Hi again and well I found how to remove the damage limitation but now I have the problem of getting the 5th digit to appear.

I been trying for hours and at this point it seems quite hopeless.   Are there any information about the opcodes?   Or is there any more accurate information about breaking the damage and HP/MP of the PC version?   

As i have stated before I no hacker or programer but i was able to manage scene.bin, kernel.bin, AI scripting and Field Scripts(to an extent) with information form the wikky and terence machanic faqs.

I really think I can do the damage break if I had more information about the damage break from the PC version.

PS.   In dziugo's topic about the break 9999 limit he give a link to another related topic but the link is dead.
« Last Edit: 2007-04-09 07:00:17 by SaintDragon »

Vehek

  • *
  • Posts: 218
    • View Profile
Re: Removing 9999 limit without use of patch
« Reply #12 on: 2007-04-10 07:28:51 »
It went dead because of the forum changeover.
http://forums.qhimm.com/index.php?topic=4726
But there's no technical information in there.

dziugo

  • *
  • Posts: 1470
    • View Profile
    • A new copy of FF7 thanks to Salk. Pack (zip/rar/etc) your saved game before sending it to me.
Re: Removing 9999 limit without use of patch
« Reply #13 on: 2007-04-10 09:46:12 »
While "breaking the limit" was simply finding constants (+other misc stuff) responsible for the cap (-> easy) , changing the damage display mode from 4 digits to 5 was pure assembler job.

ARMs

  • *
  • Posts: 164
    • View Profile
Re: Removing 9999 limit without use of patch
« Reply #14 on: 2007-04-11 06:56:22 »
dziugo I don't really know what you said cause i'm bad with definitions.   But I do know alittle programing.   I have created custom AI's in scene.bin and I have done a few things in the field scripts.   

I even did a few things with RPGmaker 2000 a few years back where I attempted to recreate FF7 battle system and a bit of Xenogears battle system in it.  It was successful,  but somewhere I messed up on elemental damage calculation and with the move form windows melenium to XP I had problem with rm2k and lost interest in rm2k.

So do i just need to tweak a few things to get the 5th digit to appear or do i need to add a couple of lines of codes to get the 5th digit to appear?  And would you be kind enough to post the hex values of th PC version that is being tweaked to break the 9999 limit and a couple of values surrounding it.   Right now i'm onlying aiming to break the 9999 damage and not the HP/MP.

dziugo

  • *
  • Posts: 1470
    • View Profile
    • A new copy of FF7 thanks to Salk. Pack (zip/rar/etc) your saved game before sending it to me.
Re: Removing 9999 limit without use of patch
« Reply #15 on: 2007-04-11 07:11:07 »
So do i just need to tweak a few things to get the 5th digit to appear or do i need to add a couple of lines of codes to get the 5th digit to appear?
tweak
And would you be kind enough to post the hex values of th PC version that is being tweaked to break the 9999 limit and a couple of values surrounding it.
Can't you just... compare the original file, and the patched one? I've got my notes somewhere, but those probably won't help you at all.

ARMs

  • *
  • Posts: 164
    • View Profile
Re: Removing 9999 limit without use of patch
« Reply #16 on: 2007-04-11 07:20:01 »
I would but I have no clue where the offsets are.   And theres tons of data in the EXE file.  not to mention the size form the original and patched ones size is different.

I got the files from help form a few people but I dont have to PC version still sadly.

Edit:  oops my mistake I have the oringinal exe file that came straight form the cd and the 1.02 patch that hasn't been configured.   I can't find the break 9999 patch and i probably can't patch it since FF7 PC is not on my comp.
« Last Edit: 2007-04-11 07:24:17 by SaintDragon »

dziugo

  • *
  • Posts: 1470
    • View Profile
    • A new copy of FF7 thanks to Salk. Pack (zip/rar/etc) your saved game before sending it to me.
Re: Removing 9999 limit without use of patch
« Reply #17 on: 2007-04-11 07:23:54 »
The 9999lb patch doesn't change the size of the exe.

ARMs

  • *
  • Posts: 164
    • View Profile
Re: Removing 9999 limit without use of patch
« Reply #18 on: 2007-04-11 07:28:48 »
ok i'll see if i can get people to give me a hand again with a configured 1.02 patched exe and a 9999 break patch.   

on thing though do you remember aproximately where the tweaked data is at.   Vetek ( probably mispelled it) said that even patched with the break 9999 the exe file doesn't ocntain the ofsets that you posted up on your other 9999 topic.

dziugo

  • *
  • Posts: 1470
    • View Profile
    • A new copy of FF7 thanks to Salk. Pack (zip/rar/etc) your saved game before sending it to me.
Re: Removing 9999 limit without use of patch
« Reply #19 on: 2007-04-11 07:36:01 »
You don't have to compare the original ff7.exe with the patched one if you're using other patches. Just make a copy of the file before patching it with 9999lb and compare it to the newly created one (or better yet, use a backup which is made the first time you use my patcher).

ARMs

  • *
  • Posts: 164
    • View Profile
Re: Removing 9999 limit without use of patch
« Reply #20 on: 2007-04-11 07:56:18 »
Thanks alot for you help.   I'm searching for the changes now.