News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: .  (Read 2618 times)

creeperton

  • Hero Member
  • *****
  • Posts: 604
    • View Profile
.
« on: February 07, 2011, 01:17:38 pm »
.
« Last Edit: November 16, 2015, 12:22:29 am by creeperton »

Auryn

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Game-specific editor questions
« Reply #1 on: February 07, 2011, 04:09:29 pm »
LOL nice try to translate the PPF LOL

A PPF doesn't deal with pointers or anything!

A ppf is just a file with the differences between 2 files.

Basically ppf patcher go to read the first line of the ppf (in your case "4AD4C 16 AE") so it will jump to the address 4AD4C and overwrite the following bytes with "16 AE"
then it reads the second line of the ppf and so on.

Try to change the 1E in the second line of the pointer by adding or subtracting the length difference between FIGHTER and your new word (don't forget the 00 at the end of FIGHTER).

If the sum of all characters in your promotion classes is equal or smaller at the one u have in the PPF, u should not have any problems. If it's longer, u need to work on the image itself to see what will u overwrite.

Anyway it's not a good way to make a translations...u are basically working blind and one byte overwritten by error, can crash your game.

melonhead

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: Game-specific editor questions
« Reply #2 on: February 07, 2011, 05:39:59 pm »
FFTPatcher knows the location of certain memory structures in the CD image.
For instance, it knows that propositions are stored in WLDCORE.BIN at offset 0x36380.
Furthermore, it knows that WLDCORE.BIN starts at sector 84041, so it knows where in the ISO it should start reading or writing.