Limit Breaking

  • Thread starter Thread starter Phyltre
  • Start date Start date
Status
Not open for further replies.
P

Phyltre

Guest
How hard would it be to move the maximum health past 9999, or maximum damage?  I know it would be easy to make MP go past 999 since hp-mp switch does that.

Obviously it might change the game dynamic, but for really high-level characters (the only time you'd see a difference in gameplay anyway) it would balance out.  You might have more health, but damage coming to you wouldn't be limited to 9999 packets, either.  I'm one of those people who likes to build really powerful characters, and it's always bothered me that just about every final fantasy game has been stoppered at 9999.  It's possible to break the limit in FFX, but only with a lot of work and it's after you've done most everything.

Breaking 99 as a level cap would be cool, too, although it'd just be cosmetic to document character growth past traditional barriers.  I don't suppose we'd want to change the 255 values, because that's the maximum value in that number system.
 
would be interesting, considering 9999 is 270F is Hex but must be about 39 occurances of FF to reach 9999.
Might either need real time memory patching or something easier
 
HP/MP variables in save file are capped at 0xFFFF so it won't be possible (for now) to break that limit like it was done in FFX.
 
HP/MP variables in save file are capped at 0xFFFF so it won't be possible (for now) to break that limit like it was done in FFX.

So health is saved to a single line of code in the save file?
 
HP/MP variables in save file are capped at 0xFFFF so it won't be possible (for now) to break that limit like it was done in FFX.
So health is saved to a single line of code in the save file?
Yup. It's stored as a Word (2 Bytes). I've managed to remove the cap on health (don't have the save-game with a character/spell powerful enough to do 9999 dmg so it's only health for now) and make it appear correctly in menu/battle. Now the cap is 32767 (since that value is signed, it's the maximum value). I'll post some screenshots soon... Probably...

dziugo
 
wow, of course the fonts etc will need to be realigned or resized to fit the increased HP
Shouldnt be too hard since the saint has to resize textures for his highresolution patch
 
HP/MP variables in save file are capped at 0xFFFF so it won't be possible (for now) to break that limit like it was done in FFX.
So health is saved to a single line of code in the save file?
Yup. It's stored as a Word (2 Bytes). I've managed to remove the cap on health (don't have the save-game with a character/spell powerful enough to do 9999 dmg so it's only health for now) and make it appear correctly in menu/battle. Now the cap is 32767 (since that value is signed, it's the maximum value). I'll post some screenshots soon... Probably...

dziugo

That's great!  You have no idea how much of a wish-fulfillment this is to me in terms of the FF universe!  If I wanted to allow my game to do the same thing, how much data would you need to upload?  I mean, can you make a patch for this?

(off-topic)Heh, I'm surprised that I'm understanding what you're saying.  The only experience I've had with hex/etc. in game code was when I made my own Gameshark cheats with the N64 back in the day.  It was complicated and took hours per code!  But I can remember putting the Arwing into a constant barrel-roll on Starfox64 (and making each wing indestructible), and permanently giving Link 255 hearts in Zelda: OOT.  Ah, those were the days.   In fact, I remember making the clip-size on the rocket launcher in Goldeneye 64 infinite, which meant it never reloaded, which made it a rocket-launcher machine gun...

The Gameshark let you isolate a line of code by using value searches or on/off delimiters.  I think I had to perform 50 of those for the rocket launcher, and maybe 95 for the Arwing barrel roll.  Each search took several minutes, so...(/offtopic)
 
did you patch the exe file to do this, or hack the memory in real time?
and what did you do to increase FF FF to 32000
 
did you patch the exe file to do this, or hack the memory in real time?
Patched the exe and changed the HP when playing.
and what did you do to increase FF FF to 32000
Hmm... 30000 < 0xFFFF (when comparing as unsigned vars). If that was the question of course...

dziugo
 
sorry I was assuming it was FF and FF, nevermind would be too hard to explain
so is it 0xFFFF and not 0xff and 0xff right after it?
 
You're right. It is FF and FF right after it, but it's still the one variable. When PC need to get that var it gets the second FF (actually that's not how it works, but lets pretend that it is :)), multiplies it with 0x100 (256) and adds it to the first byte. In memory those are two seperate bytes, but when you think of it as of variable, it's just FFFF. It's just easier to say "Variable is set to 0xFFFF" than "Variable consists of 0xFF and 0xFF where the second one holds the 0x100-part of the value" and that's what I'm doing (I'm just lazy).

As for the modification... I think I know how to remove the HP-cap and dmg-cap for characters, and dmg-cap for monsters, but... it looks like it is messed up when leveling-up, and when monsters attack other monsters (angry chocobo :P).

If I don't change the level-up HP-cap, it won't allow you to get past the 9999-barrier (can it be done without materia?), and when I set it to 32767 it looks like you get more HP on lvl-up. So it will make the game easier...

I think I'll just post some screenshots and that's it...

dziugo
 
Directly patching FF7 save files will make the game crash. I tried to make clouds HP above 270F (9999) and the game didn't like it :D

So some EXE patching is needed too... Hope that dziugo will help us with it :D
 
yeah, that would be nice to break those limits...
maybe someday bahamut zero will be at least usefull ;]
dziugo sure will help! polacy to zdolne bestie :D
 
Some screenies:

From battle:
Link1
Link2
Link3

And from menu:
Link4
I took some time and moved those numbers a little bit.

So it works. I have to track down one more procedure which is responsible for writing the amount of damage done, but I hope it won't be a problem.

polacy to zdolne bestie :D
8)

dziugo
 
Some screenies:

From battle:
Link1
Link2
Link3

And from menu:
Link4
I took some time and moved those numbers a little bit.

So it works. I have to track down one more procedure which is responsible for writing the amount of damage done, but I hope it won't be a problem.

polacy to zdolne bestie :D
8)

dziugo


If you get tired of trying to work out some of the problems, I'd be more than happy to look at it.  If you'd tell me what you're using to edit the .exe resources and how you're opening the save files (possibly we could add the code to Jenova to make things simple) I could probably work from there.  I just spend about four hours making a simple mod to Half-Life 2,and actually got it to work, so I may have a knack for this sort of thing.  It'd be interesting to find out.
 
For now it requires only messing a little bit with code. I use ollydbg to do it, but any jit debugger will do. Also, I don't modify the save files. All is done by memory editing (I don't know if ff7 would crash when loading modifed save-game though... will need to check that too).

I'll post some info in Tech-Related soon, and ask some1 to take care of it (guess you're interested?).

dziugo
 
how bout solving the crash after the crater movie in disc 2??  :lol:
 
how bout solving the crash after the crater movie in disc 2??  :lol:
I was looking for someone to help me and solve this problem. What I need is a person who is experiencing any FMV-lockup and is willing to waste some time providing me info about it. It would require running a program (my program) on that "unlucky" machine.

By a lockup I mean a problem when a FMV is supposed to be played but it isn't. Characters just stay there blinking their eyes waiting for a pizza guy to come...

Interested? Willing to help? PM me.

dziugo
 
exactly which movie is that? the one when you see the weapons escaping from the crater?
Also good news from looking at those screen shots.
But those characters are level >50? Did you add some HP plus materia? or do they gain too much hp on each level up?
 
Characters are about 45-50 level with pumped-up HP (just changed thei HP while playing the game). Code needs to be modified only in few places, but to make it look good when displaying, some tweaking is necessary... Topic in Tech-Related (maybe today?) will explain everything...

dziugo
 
Status
Not open for further replies.
Back
Top