Qhimm.com Forums

Miscellaneous Forums => Troubleshooting => Topic started by: satsuki on 2019-03-17 09:59:56

Title: Center screen bug
Post by: satsuki on 2019-03-17 09:59:56
Hello.

I try to use the center screen patch DLPB made.
Code: [Select]
..\ff7.exe

{by DLPB

-400C00

{centre field

60D86B = 6A 10

60D9CA = 6A 08

640C77 = B8 E8 00 00 00

640FD4 = B8 E8 00 00 00

641397 = B8 E8 00 00 00

#10045A32 = BB E8 00 00 00

#cursor

60D8A5 = F0



{correct x pos of dialogue boxes

630CC7 = E8 34 2E 2E 00 90 90



{centre field - these values are placed in by the above code at game start.

#CFF1E4 = 10 00

#CFF1EC = C0 01

#cursor

#CFFAE0 = 10 00

#CFFAE8 = C0 01



////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

..\ff7_opengl.fgd



{needed to centre field properly by DLPB

44E32 = BB E8 00 00 00



{centre fmv by JWP

3EAD0 = D0 EB 02 DD D2 31 F6 C7 04 24 00 00 00 40 D8 E2

3EAE0 = D8 34 24 DC C2 89 74 24 50 D9 54 24 14 89 74 24

3EAF0 = 70 D9 5C 24 74 89 74 24 2C D9 54 24 10 89 74 24

3EB00 = 68 D9 5C 24 30 89 B4 24 88 00 00 00 D9 54 24 34

3EB10 = 89 B4 24 8C 00 00 00 D9 5C 24 54 83 C8 FF 89 44

3EB20 = 24 20 D9 E8 89 74 24 24 D9 54 24 18 89 44 24 40

3EB30 = D9 54 24 1C 89 74 24 44 D9 54 24 28 89 44 24 60

3EB40 = D9 54 24 38 89 74 24 64 D9 54 24 3C 89 84 24 80

3EB50 = 00 00 00 89 B4 24 84 00 00 00 C7 44 24 08 00 00

3EB60 = 01 00 C7 44 24 0C 02 00 03 00 D9 54 24 48 D9 54

3EB70 = 24 4C D9 54 24 58 D9 54 24 5C D9 54 24 6C D9 54

3EB80 = 24 78 D9 5C 24 7C 90 90 90 90
I get the screen centered but if any dialog box open, the game crash (with the "something bad appens.." messagebox).

I think the problematic value are:
{correct x pos of dialogue boxes
630CC7 = E8 34 2E 2E 00 90 90
Because if i don't use there value at all, the game isn't crashing anymore, but the dialog box are not positionned well

Any idea ?

Thanks a lot
Title: Re: Center screen bug
Post by: DLPB_ on 2019-03-17 11:16:32
It's part of R06 by default (and made better), which you're probably best waiting for.  That code above will only work with English version and also requires edits to the dlls .p and .fgd - depending on Steam / 1998.

{correct x pos of dialogue boxes
630CC7 = E8 34 2E 2E 00 90 90

<  This is jumping (calling) to code I added to correct the text box.  Without R05 installed, it will jump to nothing.
Title: Re: Center screen bug
Post by: satsuki on 2019-03-17 11:27:02
In fact i'm using it for the 98 french version.
But i gess it's useless as i can't use reunion 05 with the french version T_T

Thanks for answering
Title: Re: Center screen bug
Post by: DLPB_ on 2019-03-17 11:49:09
The good news is R06 allows for all languages to use English exe... ;)  So you can port your French language over.
Title: Re: Center screen bug
Post by: satsuki on 2019-03-17 12:27:11
Yes you said that earlier and it's a good new.
Just need to wait for its release and test it with the french retranslation projet witch already patch the french exe.
And if it's working i'll have to remade all my own trainer patchs witch are french exe based (save everywere, disable random battle, fast hard reset, a hard mod based on random poisoning....)
Title: Re: Center screen bug
Post by: DLPB_ on 2019-03-17 13:10:32
fast hard reset,

<  R06 has a soft reset option like old psx game did. As well as fast hard.
Title: Re: Center screen bug
Post by: satsuki on 2019-03-17 13:23:49
Cool.
Is this option usable with a shorcut ?
Title: Re: Center screen bug
Post by: DLPB_ on 2019-03-17 16:52:02
Select and Start for 5 seconds is hard reset OR Alt+F4 - leave game
Soft is same combo as psx
Title: Re: Center screen bug
Post by: satsuki on 2019-03-17 19:01:39
Ok thanks.
Will you share your source code and tools once released ?
Title: Re: Center screen bug
Post by: DLPB_ on 2019-03-17 19:04:32
Source - prob not. The tool will be part of Reunion.
Title: Re: Center screen bug
Post by: Kaldarasha on 2019-03-17 21:52:36
You could use the game converter to patch the game to use the English exe with the French localisation. That's actually the real purpose of the GC.
Title: Re: Center screen bug
Post by: DLPB_ on 2019-03-17 22:01:06
The downside is certain parts need manually changing that way... like submarine text.  Not to mention certain texts won't fit.  Much better waiting for R06 so the full solution is there.
Title: Re: Center screen bug
Post by: satsuki on 2019-03-18 08:09:54
If you need a beta tester for the auto translation feature, feel free to ask me ^^
Title: Re: Center screen bug
Post by: satsuki on 2019-03-18 17:02:37
Cool.
If you want me to send you a retranslated french exe, feel free to ask it too  ;D