Qhimm.com Forums

Miscellaneous Forums => Troubleshooting => Topic started by: Hikigaya on 2016-07-30 19:43:25

Title: [FF7PSX] Removing Barrier Limits.
Post by: Hikigaya on 2016-07-30 19:43:25
I searched  the forum for some time now and didn't find anything regarding this, so if it already exist, i would like a link of the post.

My questions this time is: There's any way to remove the Time limit of Barrier/MBarrier/Haste and the number of times that the Reflect Spell effect is used like the Reflect Ring do?

And a enormous thanks to the guys that have made the Makou Reactor/Hack7/WallMarket/Proudclod programs. You guys are truly genius.
Title: Re: [FF7PSX] Removing Barrier Limits.
Post by: nfitc1 on 2016-07-31 13:00:54
This isn't a troubleshooting question. This is more of a gameplay mod request.

I could alter this on the PC, but I've never done PSX code editing.
Title: Re: [FF7PSX] Removing Barrier Limits.
Post by: Sega Chief on 2016-07-31 14:21:42
Sounds interesting; how do you stop it from ticking down? Permanent Barriers would be a great solution for Active ATB.
Title: Re: [FF7PSX] Removing Barrier Limits.
Post by: Hikigaya on 2016-07-31 18:14:26
Sorry, next time i will put the question on the correct board.

After a long search through the forums, i have found this.

http://forums.qhimm.com/index.php?topic=13649.msg193233#msg193233

If i could found the overlay where the Status Data is located a simple Hex-editing could do the job, right?

Exactly, Sega Chief, and in my case, i have made some enemies with inherit dispel attacks, this would be a enormous improvement to the modding scene.
Title: Re: [FF7PSX] Removing Barrier Limits.
Post by: DLPB_ on 2016-08-01 00:07:34
It's all executable based. Stopping the barrier countdown and so on is a piece of piss. Just search for decreasing number when barrier is applied and nop the part that is reducing that number. I'll have a look later.
Title: Re: [FF7PSX] Removing Barrier Limits.
Post by: nfitc1 on 2016-08-01 02:21:07
It's all executable based. Stopping the barrier countdown and so on is a piece of piss. Just search for decreasing number when barrier is applied and nop the part that is reducing that number. I'll have a look later.
Except that will make all statuses permanent. You need to find the actual initial timer value in the data and make that a -1.
Title: Re: [FF7PSX] Removing Barrier Limits.
Post by: DLPB_ on 2016-08-01 02:58:03
Whoops.  I Need to pay attention to heading.
Title: Re: [FF7PSX] Removing Barrier Limits.
Post by: Hikigaya on 2016-08-01 04:40:51
Remember, i'm using the PSX version.

And the only statuses that i want permanent are the Barrier ones, but i think that a permanent Regen would be something interesting too, and in this scene,  there's also the permanent Stop problem, 'cause Stop doesn't have a Death Flag like Petrify have, but i think this could be easily added in the Characther AI section of the Kernel right?

So, using the debbuger software i've found some addresses.

Mainly these ones.
these are stored with 32767 Long bytes 
0x01D47C74 
0x01D47C30
0x01D47BEC
these are stored with 196605 Long bytes
0x01CF0108
0x01CEFCC8
0x01CEF888

When i lock these addresses using the debbuger, the Barrier and MBarrier gauges stop decreasing.
But the problem is how to lock then completely in the game, without knowing the correct overlay that load them.

Something noteworth that i found by accident is the fact that you can apply the "Stop-Time-Progression-that-the-Wait-Status -Have byte" to the time gauge, making something similar to a CTB System from Final Fantasy X, but i will leave this to the guys that know assembly and etc, 'cause i think you guys already know this.
Title: Re: [FF7PSX] Removing Barrier Limits.
Post by: Hikigaya on 2016-08-02 05:16:41
Yeah, You REALLY should read the header before.  :-D :-D

So, after hours of work, i have found that the status Timer and Bit are stored in the battle.X File.

Furthermore, following NFITC1 instructions at the old post, i have found 5 strings of 7F 7Fs.

The doubt now is wich one is responsible for barrier and mbarrier?
Title: Re: [FF7PSX] Removing Barrier Limits.
Post by: nfitc1 on 2016-08-02 13:19:45
Five results is enough to start testing.
Title: Re: [FF7PSX] Removing Barrier Limits.
Post by: Hikigaya on 2016-08-02 19:54:29
So, i have found the status timer but what i should put on it? 00 ? the handler bits are not stored in any of the BATTLE Directory overlays.....
Title: Re: [FF7PSX] Removing Barrier Limits.
Post by: Hikigaya on 2016-08-03 05:10:15
Thank you very much for your attention, sirs, I have done it  :lol: :lol: :lol:

It's working perfectly.