Author Topic: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 1.1)  (Read 50613 times)

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
[FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 1.1)
« on: 2014-07-27 15:56:09 »
THIS IS NOW PART OF THE REUNION.

Download HERE

This mod will restore the battle system to how the PSX version operated.  That means that the camera is 2x smoother, the menu 4x smoother, but the animations are unchanged (their frames are quadrupled, just like the PSX game).

The menu and camera were broken by the decision to make the PC frame rate 15 (most noticeable when viewing Cait/Tifa/Battle Arena slots).  This mod is a basic fix that can be installed easily using HextLaunch.

1. Download DLPB_Tools, which contains HextLaunch HERE
2. Place HextLaunch.exe into FF7's root folder, if it isn't there.  Name it what you like.
3. Run HextLaunch.  It will create the correct folders and settings file.
4. Go into HL_Files, which has now been created, and change settings.ini to read the following:



1998
Code: [Select]
[HextLaunch]
File=ff7.exe
Process=
Window=
LoadHext=1
InjectDLL=1
NoInput=1
Delay=3000

Steam
Code: [Select]
[HextLaunch]
File=ff7_launcher.exe
Process=ff7_en.exe
Window=
LoadHext=1
InjectDLL=1
NoInput=1
Delay=3000

5. Place the downloaded text file from the top of this post into HL_Files\Hext_in
6. Run HextLaunch.

If you know what you're doing, you can also use this to edit the exe directly.

Issues

1. Because this mod uses the pause var to quadruple animation frames, the pause function will not work with this mod.  I will be adding that function back very soon.

2. Very minor graphical glitch at start of the very first battle.  Unknown cause.

3. Possible issues with camera.  Please note any.

4. Battle arena intro to battle will skip (probably needs the same fix that normal battles do)

If you find any other problems, please let me know.
« Last Edit: 2015-03-16 18:13:15 by DLPB »

obesebear

  • *
  • Posts: 1389
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #1 on: 2014-07-27 17:18:20 »
Did you get textures operating correctly?  I've been very busy this weekend unfortunately.  Hopefully tomorrow I'll have time to get back to work on my side of things

Sega Chief

  • *
  • Posts: 4085
  • These guys is sick
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #2 on: 2014-07-27 18:29:14 »
Just gave this a whirl, it's good to see the PS1's smooth battle menus on PC.

A couple of issues, though; this is from the 1998 version:

-) The texture used for gun-related attacks, like machine-guns and Rufus' shotgun, is now invisible (though I'm guessing from Bear's post that this is a known issue).

-) Slow causes targets to visually 'freeze' but they behave as normal.  However, if a spell  is used the Slowed actor's Idle will start playing before freezing again. It's back to normal when Slow is removed. Also, in some instances the actor under Slow will use their normal speed Idle after an attack is made.

-) Tifa's reels are difficult to read because of the way they move; it's similar to how they behave on emulators.

-) This is related to the disabled Pause so it'll likely be gone from later releases but it's still quite interesting. Pause has retained a lot of it's functions, including toggling the music and even the ATB Gauges. But enemy attacks that are queued will still be performed and damage calculations are still processed (though it appears they aren't updated visually until 'unpausing'). Counter-attacks also still work. It's a little similar to the Sneak-Attack Revive trick that SuperAcro found.

Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #3 on: 2014-07-27 19:10:27 »
When the camera moves the models animations looks a bit screwed up.
I can't also access the item menu in the main menu. The game will crash if I try to access it.
« Last Edit: 2014-07-27 19:41:24 by Kaldarasha »

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #4 on: 2014-07-27 19:46:52 »
I have no idea why slow would be corrupt, but it seems it is.  The disappearing thing is probably related to the bullshit pause bug (does it do it on a normal installation when you pause?)

The pause function is not entirely removed, I know that :)  It will still pause the menu and stop turns.

Tifa's reels are probably correct...  same as they were on PSX.

The item menu is perfectly accessible so that must be some other issue.

Can you upload a video of the model animations?

Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #5 on: 2014-07-27 20:30:56 »
I used a previous saved FF7.exe and I haven't the problem to access the item menu. The only change, which the exe had I have used before, are done by the reunion, but I need to verify this first to be sure. Maybe I had installed something else. :-\
I will see if I can bring the video capture tool to work of the razor game booster. At the moment it looks like that the pauses for the camera and the pauses for the animation aren't in sync (or maybe they need to be async?).

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #6 on: 2014-07-27 22:17:06 »
The pauses are definitely in sync.  It's possible that the game just doesn't like having the pause used in this fashion.

Sega Chief

  • *
  • Posts: 4085
  • These guys is sick
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #7 on: 2014-07-27 22:22:28 »
The disappearing thing is probably related to the bullsh*t pause bug (does it do it on a normal installation when you pause?)

Not sure what you mean; something disappears? Everything remained visible when using this mod as far as I could see, with the exception of the machine-gun textures but that was happening whether I paused or not (machine-gun textures are visible when the game is run normally).

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #8 on: 2014-07-27 22:24:09 »
I mean test this with an unmodded game.  Go to that place and use pause.  This bug may exist in the original game. 

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #9 on: 2014-07-27 22:37:52 »
I am fighting Rufus and his shot gun is visible.  Are you sure you are running this mod without any other conflicting mods, like Obesebear's version?

Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #10 on: 2014-07-27 23:40:27 »
This is the best I could record:
https://mega.co.nz/#!7JMDzSSC!6swtAjwPC4osuZnbwdpVV0irNE4YeTcRXTri5Qo5W2o
You will also see the problem Sega Chief has mentioned. The exe is clean and untouched.
It's hard to describe but the game stutters more with the PSX 60 FPS mode on. I recorded the battle without the mode as well for a better reference.

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #11 on: 2014-07-27 23:49:34 »
There is literally no way to tell if that's down to my mod, or just the crappy ff7 limiter that doesn't reach 60fps.  Fraps would report the correct frame rate for you and then you'd know.  Even then, it's not perfect.  The only way to be sure this isn't the limiter is to record with fraps or dxtory.  Set game to run at 120fps and record at 60. Let fraps do the limiting.  Also, turn off vsync in Aalis driver options.  I know it's a pain but that's the only way so far... play wise, or record wise.

Also... what on earth is going on with your battle window?  Why is the bottom part black?

Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #12 on: 2014-07-27 23:56:26 »
As I said that's my backup ff7.exe, but now I wonder why I can see the battle menu properly.... :o
Next test, now with the 1.02 ff7.exe. ::)

Edit:
It isn't better, it still has these stutter effect.
« Last Edit: 2014-07-28 00:21:48 by Kaldarasha »

Sega Chief

  • *
  • Posts: 4085
  • These guys is sick
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #13 on: 2014-07-28 00:22:50 »
I am fighting Rufus and his shot gun is visible.  Are you sure you are running this mod without any other conflicting mods, like Obesebear's version?

The gun effect is working fine with the original. I've got Aali's driver installed (0.8, not the latest one) but that's pretty much it. As for the stutter, I think I know what Kalderasha is describing.

I generally use Fraps for recording FF7 vids, so I had a try at recording and turned on both Aali's overlay and Fraps' overlay for FPS. Without recording, it runs at 57fps in-battle, and goes at about 51 while recording (no menu overhauls, etc). Could upload the footage as an unlisted YT vid if you're interested in seeing it? I showed a few of the animations like Barrier, limits, etc. during it; some seemed a little too sluggish and there's a little of that stutter effect too.

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #14 on: 2014-07-28 00:25:03 »
The fps issue is not related to this mod.  It will happen with Obesebear's also.  The problem is the ff7 limiter itself is broken.  The only way to record (or even play) properly is to set the fps to 120 (or some more than 60 at any rate), as I said above, and record at 60.  With fraps/dxtory doing the limiting. That way you can at least test that this issue is to do with the limiter.  Turn off vsync in Aali's driver.

To make fps 120, change line in battlefps file in Hext_in

from

{Frame limiter = 60fps
7C0B00 = 00 00 00 00 00 00 4E 40

to

7C0B00 = 00 00 00 00 00 00 5E 40


The limiter is something that needs serious attention.  I've been saying this for over 4 years.  Dziugo was in the process of repairing/rewriting it... but then disappeared.

Also, Aali's driver seems to have some issue with vsync.  I can't get near 60fps with it on.
« Last Edit: 2014-07-28 00:28:34 by DLPB »

Sega Chief

  • *
  • Posts: 4085
  • These guys is sick
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #15 on: 2014-07-28 00:41:36 »
I just tested that, it runs at 120fps in-battle without recording (gave me a fright when I turned Fraps off) and steady 60fps when recording. But I'm starting to think I misunderstood what was meant by stuttering; the battle is smooth, there's just this kind of flicker to some of the animations is what I maybe meant to say (it might just be that the animations aren't interpolated yet, it looks very similar to how old 60fps games like Ehrgeiz used to have this flicker in their graphics). But the gun animation still isn't visible, unfortunately.

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #16 on: 2014-07-28 00:51:06 »
Weird...  well I wasn't looking for gun animation.  Best guess, it doesn't show up when game is paused (which is what this mod uses to slow graphics down).

I guess this mod is gonna have to stay a quick fix until Obesebear's mod adds interpolation, and NFITC works out how to sort all the magic counters and what not.

 :)

Sega Chief

  • *
  • Posts: 4085
  • These guys is sick
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #17 on: 2014-07-28 01:27:52 »
They're all just minor issues, nothing serious; it's great to have a smooth interface like the PS1 again (one thing I missed from it).

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #18 on: 2014-07-28 07:24:45 »
This is only meant as a temporary thing anyway... at least it will do for now  8-)  I'm looking forward to full 60fps though.  The issue is going to be that frame limiter...

Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #19 on: 2014-07-28 10:45:42 »
Is it possible to make the battle to 30 FPS? The way I see it is that the pause of the camera does influence the pauses of the animations and vise versa. But it would be good to have some more opinions. I don't think I'm the only one who see this stutter or jitter effect.  :|

Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #20 on: 2014-07-28 10:52:31 »
The fps issue is not related to this mod.  It will happen with Obesebear's also.  The problem is the ff7 limiter itself is broken.  The only way to record (or even play) properly is to set the fps to 120 (or some more than 60 at any rate), as I said above, and record at 60.  With fraps/dxtory doing the limiting. That way you can at least test that this issue is to do with the limiter.  Turn off vsync in Aali's driver.

To make fps 120, change line in battlefps file in Hext_in

from

{Frame limiter = 60fps
7C0B00 = 00 00 00 00 00 00 4E 40

to

7C0B00 = 00 00 00 00 00 00 5E 40


The limiter is something that needs serious attention.  I've been saying this for over 4 years.  Dziugo was in the process of repairing/rewriting it... but then disappeared.

Also, Aali's driver seems to have some issue with vsync.  I can't get near 60fps with it on.

Shouldn't it be possible to unlimited (or set the limit very high) the timer and then use another tiny tool to limit the timer as needed?

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #21 on: 2014-07-28 15:28:09 »
You'd need some tool that can do the limiting... I dunno how to create such a tool. 

As for this project, I'm gonna see if I can sort the pause issue another way, and use NFITC camera fixes to compliment it.  If not, this project stays as it is and can be used as a temporary measure... which is really all it is designed to do anyway...  a quick and easy fix for people who don't want the full 60fps install.

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #22 on: 2014-07-28 15:48:52 »
Also, seems in a rather bone headed move, I've used the same memory addresses that part of the Reunion uses.  I will have to amend.  Don't use this mod with Reunion for now haha.  ;D

How that hasn't crashed the battle is beyond me.  A miracle.
« Last Edit: 2014-07-28 15:55:17 by DLPB »

ProtoX

  • Guest
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #23 on: 2014-08-09 05:03:01 »
link down dude mind reuploading it been wanting to try this since it only effects the camera and battle menus

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] PSX STYLE 60FPS Battles (v 0.9)
« Reply #24 on: 2014-08-09 16:15:38 »
I'm fixing  a few things with it, then I will :)