Author Topic: [FF7PC-98/Steam] Multiple mods and Modding Framework-The Reunion [R06f]  (Read 3072746 times)

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4100 on: 2018-03-07 13:52:58 »
looks like tonysonicos fix wasnt breaking the game after all (it was making it black though and not a good fix). theres something else going on with you.perhaps related to aali driver. see what happens with no modpath or no model overhaul.

Also, send me the app log after the game hangs.
« Last Edit: 2018-03-07 15:21:49 by DLPB »

knightsoftheround

  • *
  • Posts: 256
    • View Profile
    • Online Art Gallery
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4101 on: 2018-03-08 12:24:28 »
Here's the applog with the Reunion installed: https://drive.google.com/open?id=1lJAnBIKAgqsvCgg_7iGavlvmH7hbwKkV
Here's the applog with just Beacause installed: https://drive.google.com/open?id=1AxzZgrheM-Opo2xMBrVC7q-FFZvAp2hZ

Interestingly, with just Beacause (no model overhaul or any of the optional stuff) the screen goes black again! And start/select does nothing with this particular incarnation of the error. However, I did it by uninstalling Reunion and then reinstalling it with just Beacause, if that makes a difference.

I'm not sure what 'modpath' is so I'll need a more clear way to not include that, sorry about my lack of technical aptitude on that.

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4102 on: 2018-03-08 12:39:49 »
When you reinstalled beacause, you needed to re-add bugin1c, remember :P That's why the screen goes black again. Not that I think that would fix the hang. Modpath is the "mods" folder.  Change mods folder to ModsX  and see if that helps.


knightsoftheround

  • *
  • Posts: 256
    • View Profile
    • Online Art Gallery
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4103 on: 2018-03-08 13:02:37 »
Oh! Well then, at least we have a solution. Odd that it doesn't do that when I have no mods installed, but.

Yeah I'm using the ones from the disc, although I can't see how they would have been altered or corrupted, I'm just plopping them into the movies folder from the CDs. You got a recommended movie pack to download? I'm happy to replace with something you consider true to the original game.

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4104 on: 2018-03-08 13:03:35 »
Yes, now that's puzzling me.  Because it should be an infinite loop regardless.

edit.

Nope.  I have it now.

The original problem is caused by tonysonico.  His fix to another bug caused another bug.  But my fix for tonysonicos bug... caused another bug.  :-D :-D :-D  Because your FMV is smaller than the PC and PSX versions.  I didn't factor that in.  Leave it with me.  I'll get us a F-in fix that will work!

If you use a longer FMV there (rename one to boogstar) - or do as I suggested with Ochu - it should work. 

Quote
f you want a quick fix, go and get Ochu, my tool.  Go to MemLog and in the box, enter t,5=FF - then press Change. Do this when the game hangs.

Also, I'll add a tweak to my FMV skipping function.  Because the frame counter needs to be made FF FF.
« Last Edit: 2018-03-08 13:09:21 by DLPB »

knightsoftheround

  • *
  • Posts: 256
    • View Profile
    • Online Art Gallery
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4105 on: 2018-03-08 13:09:04 »
You can do it! \o/

Wondering why the heck my movie files are weird though, and only weird with mods installed it's so... well, weird. If you've got a link to properly sized FMVs I'd love to plop those in, but for now I can totally use the Ochu trick to at least advance. Where's that located so I can download it?
« Last Edit: 2018-03-08 13:12:39 by mugenginga »

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4106 on: 2018-03-08 13:15:34 »
See Tools.  Ochu is there.  But best you don't use it,.  Let's make sure this fix works ;)

Steam version comes with the best fmv updates, but search qhimms for others.

knightsoftheround

  • *
  • Posts: 256
    • View Profile
    • Online Art Gallery
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4107 on: 2018-03-08 13:18:02 »
Oh, didn't know the Steam ones were good! I don't really trust cash-ins so, good to know at least those are nice. Should I wait on the fix to replace them, though, just so we're sure we're past the bug?

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4108 on: 2018-03-08 14:23:04 »
Yeah!  I'm pretty sure my fix will sort it.  Make sure you use the older FMV too with it.

knightsoftheround

  • *
  • Posts: 256
    • View Profile
    • Online Art Gallery
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4109 on: 2018-03-08 14:25:45 »
Will do! Definitely happy to help sort out an odd bug! (I'll replace after we're sure we're past it cause definitely up for nicer FMVs)!

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4110 on: 2018-03-08 14:55:26 »
Let's give this a try...  It attempts to check if a movie has ended by frame.

Code: [Select]
Var[6][7] = 65535 (16 bit)
Label 56
Wait 2 frame
Save Movie frame in Var[6][5]
If Var[6][5] == Var[6][7] (else goto label 66)
Goto label 57
Label 66
Var[6][7] = Var[6][5] (16 bit)
Goto label 56
LABEL57

What we really need is a "has movie ended" opcode.


https://drive.google.com/file/d/1M4pgRuKRpnoFJWtko5NSX5l0T0VRH7WS/view?usp=sharing
« Last Edit: 2018-03-08 15:14:19 by DLPB »

knightsoftheround

  • *
  • Posts: 256
    • View Profile
    • Online Art Gallery
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4111 on: 2018-03-08 15:12:32 »
Nope, still no dice. Scene still hangs. With just the Beacause mod, as usual.

EDIT: Oh, gotcha. I'll try again with the reup.

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4112 on: 2018-03-08 15:13:59 »
THAT should work.

knightsoftheround

  • *
  • Posts: 256
    • View Profile
    • Online Art Gallery
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4113 on: 2018-03-08 15:19:34 »
IT WORKS! \o/ It fades to black, fades back in, and then after a moment of wait the SCENE ADVANCES! Huzzah! Tested with just Beacause, but I see no reason why it shouldn't work with the rest of the mods.

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4114 on: 2018-03-08 15:23:02 »
It should work with both sized FMVs now. The downside, of course, is that when the FMV is the longer type, the back screen is a little long.  What we need is either a "Movie has finished" or "Frame total" opcode.  I shall check.

knightsoftheround

  • *
  • Posts: 256
    • View Profile
    • Online Art Gallery
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4115 on: 2018-03-08 15:27:19 »
I'll save a backup copy of this save file in case you need me to do any further testing on the scene, but I can go ahead with the game now! Thanks so much for the help/fix!

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4116 on: 2018-03-08 15:27:51 »
np!  You're good now.  I can take it from here.

Quote
and then after a moment of wait the SCENE ADVANCES

This is a strange use of "Wait 80 frames".  I've reduced to 30.  It's too long.

You've also likely worked out why frame skipping wrecks progress in some FMVs.... because the frame count isn't being set to FF FF....  so infinite loops are happening.

Using loops to decide progress with movies is a terrible idea anyway.  And it shouldn't be done in the same script with sfx either...  because if anything happens to stop the movie, it can currently lead to a hang. That's true of the PSX also. This was the worst way to do it.

Turns out that the FMV frame count should return 0 when it has ended.
« Last Edit: 2018-03-09 03:59:14 by DLPB »

Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4117 on: 2018-03-22 10:38:00 »
I have found what is causing trouble to my minigame models for the rerelease. It turns out that the rerelease isn't as tolerant as Aali's driver and the flag in the p-files must set to 1 for vertex rendering mode. I fix this at the moment.

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4118 on: 2018-03-22 12:59:11 »
cheers for that, Kal.  Does this value affect anything, or is it purely a redundant piece of info that needs adding?


Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4119 on: 2018-03-23 07:11:22 »
So far this value affects minigames and textures in battle. In the minigames the models have this strange rainbow shader effect and in battle the texture turns black.

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4120 on: 2018-03-23 08:17:03 »
Aali's driver also has the issue, no?  And if not...  why is the  value needed in the first place?  perhaps just a redundant value?

Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4121 on: 2018-03-23 09:00:10 »
Maybe, maybe not. I haven't experimented with setting it to 2 in the different modules. With Aali's driver 2 results in not rendering the p-file on field. Maybe some magic files do use different values for certain effects, maybe it is used to activate some material effects, which were planed but not implemented. All I know is that the value has to be 1 and I should avoid too long file names or I got trouble with the rerelease. For Aali's driver it doesn't matter if it is 0 or 1 it will always be handled as 1. And I never knew that this value exist if we hadn't had the problems with my models in MakouReactor in the first place.

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4122 on: 2018-03-31 15:37:48 »
In other news.... Aali's driver code is largely worthless to me in terms of expanding on his own code.  First, C is crap (compared to Delphi, the syntax is a joke - and way way over complicated).  Second, he wrote the code and it's very hard to follow (as it usually is when you are following code you didn't write).  Third. All the graphical work he's done is a mystery to anyone who doesn't understand opengl.  So it's a no go there.  Even Luksy is thinking of refactoring it all, so he can follow it.

But the good news is that
1.  It should be fairly easy to add Aali's dll to Steam version
2. The new modding idea I had can be added to Aali's dll, since he's already done all the lgp / modpath / direct mode work.  All I'd need to do is work my design to it.
3. I can add option for his fps limiter, so when using my mod, it can be disabled.  My mod requires that I use my own fps limiters.  Plus I've fixed a lot more than Aali's driver has regardless.  But perhaps I can get my fixes ported over also. 

There's a lot to think about.  And it needs to be resolved before I release The Reunion R06
« Last Edit: 2018-03-31 15:40:32 by DLPB »

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4123 on: 2018-03-31 22:48:14 »
Another piece of text that was flagged up and fixed. Flagged numerous times actually, but we got there in the end.  Even Kaldarasha played a part.

Original:
“Hey!
   President Rufus came here yesterday.”
------------------------------
“He used to be the President's little boy.
   We nicknamed him the little Prez!”{NEW}
“He didn't look much different
   than the surfers on the beach.”

R06
“Did you hear?
  President Rufus visited yesterday.”
------------------------------
“He’s Shinra’s son,all right.
  When he was younger,we
  nicknamed him ‘President
  Brat’!”{NEW}
“He hasn’t changed,either.
  He’d fit in nicely with the
  stuck-up surfers here.”
« Last Edit: 2018-03-31 23:54:05 by DLPB »

Kuraudo.

  • SOLDIER
  • *
  • Posts: 359
  • Maktub
    • View Profile
    • Behemoth Productions
Re: [FF7PC-98/Steam] Multiple mods - The Reunion (R05c)
« Reply #4124 on: 2018-04-02 22:03:39 »
So interesting. Hope to play soon the real Reunion.