Author Topic: [PC FF7 2012] Files that changed in the recent FF7 ReRelease  (Read 23712 times)

dziugo

  • *
  • Posts: 1470
    • View Profile
    • A new copy of FF7 thanks to Salk. Pack (zip/rar/etc) your saved game before sending it to me.
Yeah, it could well be that they just ended at the same conclusions... but I am a little suspicious :P

I will carry on documenting the new exe today.  Can you tell me which addresses are to do with the mdef fix?
The one made by NFITC1 (YAMP based) is around 006C51DE - Aali's driver supposedly patches it differently, never cared to look how (I see 006C5154 address in your list, maybe there?).

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
very likely... it does use the menu system at a lot (when setting equip/materia etc).
The new game jumps to its driver there too.

dziugo

  • *
  • Posts: 1470
    • View Profile
    • A new copy of FF7 thanks to Salk. Pack (zip/rar/etc) your saved game before sending it to me.
Ok, I've installed the Aali's driver. The new version is a rip-off.

Here is the dump of the destination jump of the MDef fix (from Aali's):
Code: [Select]
Address   Hex dump                  Command                                  Comments
1004A190    8B4424 04               MOV EAX,DWORD PTR SS:[ESP+4]
1004A194    8B0D 485A0910           MOV ECX,DWORD PTR DS:[10095A48]
1004A19A    0FB69401 F8040000       MOVZX EDX,BYTE PTR DS:[EAX+ECX+4F8]
1004A1A2    A1 B85B0910             MOV EAX,DWORD PTR DS:[10095BB8]
1004A1A7    8B0490                  MOV EAX,DWORD PTR DS:[EDX*4+EAX]
1004A1AA    8B5424 08               MOV EDX,DWORD PTR SS:[ESP+8]
1004A1AE    83FA 03                 CMP EDX,3
1004A1B1    77 5D                   JA SHORT 1004A210
1004A1B3    FF2495 14A20410         JMP DWORD PTR DS:[EDX*4+1004A214]
1004A1BA    8B15 485C0910           MOV EDX,DWORD PTR DS:[10095C48]
1004A1C0    69C0 84000000           IMUL EAX,EAX,84
1004A1C6    0FBE4C08 70             MOVSX ECX,BYTE PTR DS:[ECX+EAX+70]
1004A1CB    6BC9 2C                 IMUL ECX,ECX,2C
1004A1CE    0FB64411 04             MOVZX EAX,BYTE PTR DS:[EDX+ECX+4]
1004A1D3    C3                      RETN
1004A1D4    69C0 84000000           IMUL EAX,EAX,84
1004A1DA    0FBE4408 71             MOVSX EAX,BYTE PTR DS:[ECX+EAX+71]
1004A1DF    8B0D 4C5C0910           MOV ECX,DWORD PTR DS:[10095C4C]
1004A1E5    8D04C0                  LEA EAX,[EAX*8+EAX]
1004A1E8    0FB64481 02             MOVZX EAX,BYTE PTR DS:[EAX*4+ECX+2]
1004A1ED    C3                      RETN
1004A1EE    833D 14CA0810 00        CMP DWORD PTR DS:[1008CA14],0
1004A1F5    74 19                   JE SHORT 1004A210
1004A1F7    69C0 84000000           IMUL EAX,EAX,84
1004A1FD    0FBE4408 71             MOVSX EAX,BYTE PTR DS:[ECX+EAX+71]
1004A202    8D14C0                  LEA EDX,[EAX*8+EAX]
1004A205    A1 4C5C0910             MOV EAX,DWORD PTR DS:[10095C4C]
1004A20A    0FB64490 03             MOVZX EAX,BYTE PTR DS:[EDX*4+EAX+3]
1004A20F    C3                      RETN
1004A210    33C0                    XOR EAX,EAX
1004A212    C3                      RETN

From dOTEMU:
Code: [Select]
Address   Hex dump                  Command                                  Comments
1000EB20    8B4424 04               MOV EAX,DWORD PTR SS:[ESP+4]
1000EB24    8B0D A4B00210           MOV ECX,DWORD PTR DS:[1002B0A4]
1000EB2A    0FB69401 F8040000       MOVZX EDX,BYTE PTR DS:[EAX+ECX+4F8]
1000EB32    A1 68B10210             MOV EAX,DWORD PTR DS:[1002B168]
1000EB37    8B0490                  MOV EAX,DWORD PTR DS:[EDX*4+EAX]
1000EB3A    8B5424 08               MOV EDX,DWORD PTR SS:[ESP+8]
1000EB3E    83FA 03                 CMP EDX,3
1000EB41    77 5D                   JA SHORT 1000EBA0
1000EB43    FF2495 A4EB0010         JMP DWORD PTR DS:[EDX*4+1000EBA4]
1000EB4A    8B15 74B10210           MOV EDX,DWORD PTR DS:[1002B174]
1000EB50    69C0 84000000           IMUL EAX,EAX,84
1000EB56    0FBE4C08 70             MOVSX ECX,BYTE PTR DS:[ECX+EAX+70]
1000EB5B    6BC9 2C                 IMUL ECX,ECX,2C
1000EB5E    0FB64411 04             MOVZX EAX,BYTE PTR DS:[EDX+ECX+4]
1000EB63    C3                      RETN
1000EB64    69C0 84000000           IMUL EAX,EAX,84
1000EB6A    0FBE4408 71             MOVSX EAX,BYTE PTR DS:[ECX+EAX+71]
1000EB6F    8B0D 78B10210           MOV ECX,DWORD PTR DS:[1002B178]
1000EB75    8D04C0                  LEA EAX,[EAX*8+EAX]
1000EB78    0FB64481 02             MOVZX EAX,BYTE PTR DS:[EAX*4+ECX+2]
1000EB7D    C3                      RETN
1000EB7E    833D 706E0210 00        CMP DWORD PTR DS:[10026E70],0
1000EB85    74 19                   JE SHORT 1000EBA0
1000EB87    69C0 84000000           IMUL EAX,EAX,84
1000EB8D    0FBE4408 71             MOVSX EAX,BYTE PTR DS:[ECX+EAX+71]
1000EB92    8D14C0                  LEA EDX,[EAX*8+EAX]
1000EB95    A1 78B10210             MOV EAX,DWORD PTR DS:[1002B178]
1000EB9A    0FB64490 03             MOVZX EAX,BYTE PTR DS:[EDX*4+EAX+3]
1000EB9F    C3                      RETN
1000EBA0    33C0                    XOR EAX,EAX
1000EBA2    C3                      RETN

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Yup.  They've basically been looking at Aali's driver to make their own!

dziugo

  • *
  • Posts: 1470
    • View Profile
    • A new copy of FF7 thanks to Salk. Pack (zip/rar/etc) your saved game before sending it to me.
Hmm... Considering that the Aali's work is not actually a driver (it's a rendering engine), they mindlessly ripped even that were surely inspired even by the name.

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Yeah, I did think that too when I first saw it. That even the name was the same.  So far I have found no real fixes that we don't already have.  Those differences there are, seem to be mostly concerned with how their driver changes the key config screen.

There are a few other driver jumps that aali doesn't jump with though.
Quote
[17:03] <Aali> you think this is news to me?

[and in response to the question if he had been asked for his driver]

[17:21] <Aali> there was no funny business from their side
[17:21] <Aali> enough said

So there we have it.  The new driver is really just aali's driver in large part :)  Heavily based on it (at the least), and the fixes used too.

This means there are unlikely to be any new fixes with this "new driver".  Which is a real shame because I had hoped there would be some stuff we could use from the new game.  But that's Enix for you these days.  Quick fix.  Quick buck. They can't even be bothered using their own work these days when it comes to FF7.

I suppose that also means they may have the source code, but just couldn't be arsed.
« Last Edit: 2012-08-21 18:47:59 by DLPB »

dziugo

  • *
  • Posts: 1470
    • View Profile
    • A new copy of FF7 thanks to Salk. Pack (zip/rar/etc) your saved game before sending it to me.
Yeah, I did think that too when I first saw it. That even the name was the same.  So far I have found no real fixes that we don't already have.  Those differences there are, seem to be mostly concerned with how their driver changes the key config screen.

There are a few other driver jumps that aali doesn't jump with though.
So there we have it.  The new driver is really just aali's driver in large part :)  Heavily based on it (at the least), and the fixes used too.

This means there are unlikely to be any new fixes with this "new driver".  Which is a real shame because I had hoped there would be some stuff we could use from the new game.  But that's Enix for you these days.  Quick fix.  Quick buck. They can't even be bothered using their own work these days when it comes to FF7.

I suppose that also means they may have the source code, but just couldn't be arsed.
Yes, that woud be possible - they might still have it and just decided not to give it out to 3rd party.

syntax error

  • *
  • Posts: 147
    • View Profile
Could it be that they only found the FFVII PSX sourcecode in their basement?

InuRa

  • *
  • Posts: 78
    • View Profile
Could it be that they only found the FFVII PSX sourcecode in their basement?
That reminds me; anyone tried to reverse the whole pc engine back to code before with any success?
Guess it can't be done until every single thing in the engine has been figured out?

Still can't believe that they scrap the original code.
Maybe the other company just approached them and said they "could do something to make it work on the newest windows" and they just went along to make a quick buck like everyone has been saying. And no sources were shared.
« Last Edit: 2012-08-21 20:00:11 by InuRa »

Bosola

  • Fire hazard!
  • *
  • Posts: 1752
    • View Profile
    • My YouTube Channel
Could it be that they only found the FFVII PSX sourcecode in their basement?

Unlikely, else the fixes would be integral to the executable.

That reminds me; anyone tried to reverse the whole pc engine back to code before with any success?

FF7.exe is an x86 binary. There are x86 disassemblers. Draw your own conclusions.

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
In light of the fact this driver is likely to have exact same fixes as aalis driver does, I will leave the excel document I made as is.  If anyone wants to add to it or work with it, let me know and I will clear you for editing.