A collection of scripts to generate a database for the Pro Evolution Soccer series of games.
- Python 3.12+
By default, when you generate a new EDIT file, the game for some reason doesn't include the player data.
So it will always load the data from the database instead of modified EDIT data.
It also crashes the save editor due of no players being in the EDIT file.
In order to fix the EDIT file you need to:
- Decrypt it with pesXdecrypter using the
decrypter19.exeexecutable. - Open
data.datfile with your favourite hex editor. - Go to the
0x60offset and set the player count necessary. In my case it's 5060 which is0xC413converted to hexadecimal. - Generate player edit data using the
player_edit_19.pyscript. - Copy the data from the
Player_Edit.binfile to the0x7Coffset ofdata.datand save. - Now encrypt it with pesXdecrypter using the
encrypter19.exeexecutable.
You should now have a working EDIT file.
Note
The hexadecimal in the EDIT file is using the little endian byte order.
Caution
Make sure you replace existing bytes, don't insert new bytes.
Using Competition.bin, CompetitionKind.bin and CompetitionRegulation.bin in the DLC crashes the game.