Difference between revisions of "Pro Evolution Soccer 2019/Edit file"
Giovani1906 (talk | contribs) |
Giovani1906 (talk | contribs) |
||
Line 1,585: | Line 1,585: | ||
! Default value | ! Default value | ||
|- | |- | ||
| 0x000:0 | |||
| 4 bytes | |||
| Team ID | |||
| | |||
| PES: must be unique | |||
| | |||
|- | |||
| 0x004:0 | |||
| 4 bytes | |||
| Manager ID | |||
| | |||
| | |||
| | |||
|- | |||
| 0x008:0 | |||
| 2 bytes | |||
| Team Emblem | |||
| | |||
* 0xFFFF if using default emblem | |||
* References loaded emblem number if not | |||
| | |||
| 0xFFFF | |||
|- | |||
| 0x00A:0 | |||
| 2 bytes | |||
| Home Stadium | |||
| References a Stadium ID | |||
| PES: must be unique | |||
| | |||
|- | |||
| 0x00C:0 | |||
| 2 bytes | |||
| ''Unknown A'' | |||
| Probably unused (always 0xFFFF) | |||
| | |||
| 0xFFFF | |||
|- | |||
| 0x00E:0 | |||
| 2 bytes | |||
| Team Nationality | |||
| References a Nation ID, 0x0401 = Others | |||
| | |||
| | |||
|- | |||
| 0x010:0 | |||
| 2 bytes | |||
| Team Callname | |||
| References a Callname ID | |||
| | |||
| 0xFFFF | |||
|- | |||
| 0x012:0 | |||
| 54 bytes | |||
| ''Unknown B'' | |||
| Not Yet Mapped | |||
| | |||
| | |||
|- | |||
| 0x048:0 | |||
| 4 bytes | |||
| Rival Team 1 | |||
| References a Team ID | |||
| | |||
| 0xFFFF0300 | |||
|- | |||
| 0x04C:0 | |||
| 4 bytes | |||
| Rival Team 2 | |||
| References a Team ID | |||
| | |||
| 0xFFFF0300 | |||
|- | |||
| 0x050:0 | |||
| 4 bytes | |||
| Rival Team 3 | |||
| References a Team ID | |||
| | |||
| 0xFFFF0300 | |||
|- | |||
| 0x054:0 | |||
| 1 byte | |||
| Banner 1 Edited Flag | |||
| Special case, 0x00 always | |||
| | |||
| | |||
|- | |||
| 0x055:0 | |||
| 1 byte | |||
| Banner 2 Edited Flag | |||
| 0x00 if not edited, 0x01 if edited | |||
| | |||
| | |||
|- | |||
| 0x056:0 | |||
| 1 byte | |||
| Banner 3 Edited Flag | |||
| 0x00 if not edited, 0x02 if edited | |||
| | |||
| | |||
|- | |||
| 0x057:0 | |||
| 1 byte | |||
| Banner 4 Edited Flag | |||
| 0x00 if not edited, 0x03 if edited | |||
| | |||
| | |||
|- | |||
| 0x058:0 | |||
| 70 bytes | |||
| Team Name | |||
| Null-terminated string | |||
| | |||
| | |||
|- | |||
| 0x09E:0 | |||
| 4 bytes | |||
| Scoreboard name | |||
| Null-terminated string | |||
| | |||
| | |||
|- | |||
| 0x0A2:0 | |||
| 121 bytes | |||
| Custom Stadium Name | |||
| Null-terminated string | |||
| | |||
| | |||
|- | |||
| 0x11B:0 | |||
| 16 bytes | |||
| Banner 1 Text | |||
| Null-terminated string | |||
| | |||
| | |||
|- | |||
| 0x12B:0 | |||
| 16 bytes | |||
| Banner 2 Text | |||
| Null-terminated string | |||
| | |||
| | |||
|- | |||
| 0x13B:0 | |||
| 16 bytes | |||
| Banner 3 Text | |||
| Null-terminated string | |||
| | |||
| | |||
|- | |||
| 0x14B:0 | |||
| 16 bytes | |||
| Banner 4 Text | |||
| Null-terminated string | |||
| | |||
| | |||
|- | |||
| 0x15B:0 | |||
| 69 bytes | |||
| ''Unknown C'' | |||
| | |||
| | |||
| | |||
|} | |} | ||
Revision as of 18:53, 6 November 2019
Pro Evolution Soccer 2019 This is still a work in progress. Please be patient. | |
---|---|
Game | |
Rules | |
Info | |
Tools | |
Modding |
The Edit file is called EDIT00000000 and can be found in %HOMEPATH%\Documents\KONAMI\PRO EVOLUTION SOCCER 2019\%steamid%\save.
It is encrypted and thus, cannot be simply edited directly.
Refer to the Tools page for decrypting and editing tools.
This page is a work in progress, and currently only contains the parts that are somewhat properly mapped out.
Structure
Note: The beginning of the file is considered what pesXcrypter exports as data.dat.
- Header
- Player entries
- Player appearance entries
- Team entries
- Manager entries
- Competitions
- Stadiums
- Undocumented entries
- Team-Player table
- Competition entry entries
- Game plan entries
Header
Length: 124 (0x7C) bytes
Offset (byte:bit) | Length | Description | Format | Enforced limits | Default value |
---|
Player entry
Start: HEX block 7C
End: HEX block 5BCC83
Entry length: 116 (0x74) bytes
Offset (byte:bit) | Length | Description | Format | Enforced limits | Default value |
---|---|---|---|---|---|
0x00:0 | 4 bytes | Player ID | PES: must be unique | >= 1048576 | |
0x04:0 | 4 bytes | Commentary Name | References a player ID (0xFFFFFFFF = None) | PES: apparently none | 0xFFFFFFFF |
0x08:0 | 2 bytes | Nationality/Region | 0x0401 = Others | 0x0401 | |
0x0A:0 | 8 bits | Height (cm) | PES: must be in range [155, 210] | 185 | |
0x0B:0 | 8 bits | Weight (kg) | PES: must be in range [max(30, Height - 129), Height - 81] | 80 | |
0x0C:0 | 8 bits | Motion: Goal Celebration 2 | 0 = OFF | PES: must be in range [0, 140] | 0 |
0x0D:0 | 8 bits | Motion: Goal Celebration 1 | 0 = OFF | PES: must be in range [0, 140] | 0 |
0x0E:0 | 7 bits | Attacking Prowess | PES: must be in range [40, 99] | 77 | |
0x0E:7 | 7 bits | Ball Control | PES: must be in range [40, 99] | 77 | |
0x0F:6 | 2 bits | Weak Foot Usage | In-game value minus one | PES: must be in range [0, 3] | 1 |
0x10:0 | 7 bits | Low Pass | PES: must be in range [40, 99] | 77 | |
0x10:7 | 7 bits | Lofted Pass | PES: must be in range [40, 99] | 77 | |
0x11:6 | 7 bits | Finishing | PES: must be in range [40, 99] | 77 | |
0x12:5 | 7 bits | Place Kicking | PES: must be in range [40, 99] | 77 | |
0x13:4 | 3 bits | Motion: Arm Movement (Dribbling) | In-game value minus one | PES: must be in range [0, 7] (full range) | 0 |
0x13:7 | 1 bit | Unknown A | Presumably unused/padding. | 0 | |
0x14:0 | 7 bits | Header | PES: must be in range [40, 99] | 77 | |
0x14:7 | 7 bits | Defensive Prowess | PES: must be in range [40, 99] | 77 | |
0x15:6 | 7 bits | Ball Winning | PES: must be in range [40, 99] | 77 | |
0x16:5 | 7 bits | Kicking Power | PES: must be in range [40, 99] | 77 | |
0x17:4 | 3 bits | Motion: Arm Movement (Running) | In-game value minus one | PES: must be in range [0, 7] (full range) | 0 |
0x17:7 | 1 bit | Unknown B | Presumably unused/padding. | 0 | |
0x18:0 | 7 bits | Explosive Power | PES: must be in range [40, 99] | 77 | |
0x18:7 | 7 bits | Unwavering Balance | PES: must be in range [40, 99] | 77 | |
0x19:6 | 7 bits | Physical Contact | PES: must be in range [40, 99] | 77 | |
0x1A:5 | 7 bits | Jump | PES: must be in range [40, 99] | 77 | |
0x1B:4 | 3 bits | Motion: Corner Kick | In-game value minus one | PES: must be in range [0, 5] | 0 |
0x1B:7 | 1 bit | Unknown C | Presumably unused/padding. | 0 | |
0x1C:0 | 7 bits | GK Catch | PES: must be in range [40, 99] | 77 | |
0x1C:7 | 7 bits | Clearing | PES: must be in range [40, 99] | 77 | |
0x1D:6 | 7 bits | Reflexes | PES: must be in range [40, 99] | 77 | |
0x1E:5 | 7 bits | Coverage | PES: must be in range [40, 99] | 77 | |
0x1F:4 | 3 bits | Form | In-game value minus one | PES: must be in range [0, 7] (full range) | 3 |
0x1F:7 | 1 bit | Edited/Created player | Whether the player was edited/created (1) or not (0).
Keeping it at 0 may hide edited values in some places. |
PES: must be in range [0, 1] (full range) | 1 |
0x20:0 | 4 bits | Registered Position | Possible values are:
|
PES: must be in range [0, 12] | 1 |
0x20:4 | 1 bit | Unknown D | Presumably unused/padding. | 0 | |
0x20:5 | 5 bits | Playing Styles |
|
PES: must be be in range [0, 21] | 0 |
0x21:2 | 4 bits | Motion: Free Kick | In-game value minus one | PES: must be in range [0, 15] (full range) | 0 |
0x21:6 | 1 bit | Unknown D | Presumably unused/padding. | 0 | |
0x21:7 | 7 bits | Swerve | PES: must be in range [40, 99] | 77 | |
0x22:6 | 7 bits | Speed | PES: must be in range [40, 99] | 77 | |
0x23:5 | 3 bits | Star Rating | Usage Unknown | PES: must be in range [0, 7] (full range) | 4 |
0x24:0 | 7 bits | Stamina | PES: must be in range [40, 99] | 77 | |
0x24:7 | 7 bits | Goalkeeping | PES: must be in range [40, 99] | 77 | |
0x25:6 | 3 bits | Motion: Penalty Kick | In-game value minus one | PES: must be in range [0, 3] (full range) | 0 |
0x26:1 | 7 bits | Dribbling | PES: must be in range [40, 99] | 77 | |
0x27:0 | 2 bits | Weak Foot Accuracy | In-game value minus one | PES: must be in range [0, 3] (full range) | 1 |
0x27:2 | 2 bits | Injury Resistance | In-game value minus one | PES: must be in range [0, 2] | 1 |
0x27:4 | 26 bits | Playable Position (Values 1-3) | An array of 12 2-bit entries with:
Each entry pertains to one position, in the following order:
|
PES: each entry must be in range [0, 2] | 0 |
0x2A:6 | 2 bits | Motion: Hunching (dribbling) | In-game value minus one | PES: must be in range [0, 2] | 0 |
0x2B:0 | 2 bits | Motion: Hunching (running) | In-game value minus one | PES: must be in range [0, 2] | 0 |
0x2B:2 | 6 bits | Age | PES: must be in range [15, 50] | 17 | |
0x2C:0 | 8 bits | Edited Settings | Whether one of the player's settings was edited (1) or not (0).
Bitmask with 8 entries:
|
PES: must be in range [0, 1] (full range) | 0 |
0x2D:0 | 1 bit | Unknown F | Presumably unused/padding. | 0 | |
0x2D:1 | 1 bit | Stronger Foot | Possible values are:
|
PES: must be in range [0, 1] (full range) | 0 |
0x2D:2 | 7 bits | COM Playing Style | Bitmask with 7 entries:
|
PES: at most 5 may be active at once | 0 |
0x2E:1 | 39 bits | Player Skills | Bitmask with 39 entries:
|
PES: at most 10 may be active at once | 0 |
0x33:0 | 8 bits | Unknown G | Presumably unused/padding. | 0 | |
0x34:0 | 46 bytes | Player Name | Null-terminated string | PES: must not exceed 15 characters
Up to 45 characters are handled by the game |
Must not be empty |
0x62:0 | 18 bytes | Print Name | Null-terminated string | PES: must not exceed 15 characters, uppercase letters only | Empty string |
Note: default values are based on a newly created edited player.
Player appearance entry
Note: A player appearance entry always follows the player data entry. That's why the start and end of the entire datablock are the same as the player entry's.
Start: HEX block 7C
End: HEX block 5BCC83
Entry Length: 72 (0x48) bytes
Team entry
Start: HEX block 5BCC84
End: HEX block 5FECBB
Entry Length: 416 (0x1A0) bytes
Offset (byte:bit) | Length | Description | Format | Enforced limits | Default value |
---|---|---|---|---|---|
0x000:0 | 4 bytes | Team ID | PES: must be unique | ||
0x004:0 | 4 bytes | Manager ID | |||
0x008:0 | 2 bytes | Team Emblem |
|
0xFFFF | |
0x00A:0 | 2 bytes | Home Stadium | References a Stadium ID | PES: must be unique | |
0x00C:0 | 2 bytes | Unknown A | Probably unused (always 0xFFFF) | 0xFFFF | |
0x00E:0 | 2 bytes | Team Nationality | References a Nation ID, 0x0401 = Others | ||
0x010:0 | 2 bytes | Team Callname | References a Callname ID | 0xFFFF | |
0x012:0 | 54 bytes | Unknown B | Not Yet Mapped | ||
0x048:0 | 4 bytes | Rival Team 1 | References a Team ID | 0xFFFF0300 | |
0x04C:0 | 4 bytes | Rival Team 2 | References a Team ID | 0xFFFF0300 | |
0x050:0 | 4 bytes | Rival Team 3 | References a Team ID | 0xFFFF0300 | |
0x054:0 | 1 byte | Banner 1 Edited Flag | Special case, 0x00 always | ||
0x055:0 | 1 byte | Banner 2 Edited Flag | 0x00 if not edited, 0x01 if edited | ||
0x056:0 | 1 byte | Banner 3 Edited Flag | 0x00 if not edited, 0x02 if edited | ||
0x057:0 | 1 byte | Banner 4 Edited Flag | 0x00 if not edited, 0x03 if edited | ||
0x058:0 | 70 bytes | Team Name | Null-terminated string | ||
0x09E:0 | 4 bytes | Scoreboard name | Null-terminated string | ||
0x0A2:0 | 121 bytes | Custom Stadium Name | Null-terminated string | ||
0x11B:0 | 16 bytes | Banner 1 Text | Null-terminated string | ||
0x12B:0 | 16 bytes | Banner 2 Text | Null-terminated string | ||
0x13B:0 | 16 bytes | Banner 3 Text | Null-terminated string | ||
0x14B:0 | 16 bytes | Banner 4 Text | Null-terminated string | ||
0x15B:0 | 69 bytes | Unknown C |
Manager entry
Start: HEX block 5FECBC
End: HEX block 61893B
Entry Length: 88 (0x58) bytes
Offset (byte:bit) | Length | Description | Format | Enforced limits | Default value |
---|---|---|---|---|---|
0x00:0 | 4 bytes | Manager ID | PES: must be unique | ||
0x04:0 | 2 bytes | Manager Nationality | |||
0x06:0 | 2 bytes | Manager picture ID | 0xFFFF | ||
0x08:0 | 1 byte | Unknown A | 0x60 | ||
0x09:0 | 79 bytes | Manager Name |
Competitions
Start: HEX block 61893C
End: HEX block 624A33
Entry Length: 760 (0x2F8) bytes
Offset (byte:bit) | Length | Description | Format | Enforced limits | Default value |
---|
Stadium Name
Start: HEX block 624A34
End: HEX block 626AB3
Entry Length: 128 (0x80) bytes
Offset (byte:bit) | Length | Description | Format | Enforced limits | Default value |
---|---|---|---|---|---|
0x00:0 | 4 bytes | Stadium ID | PES: must be unique | ||
0x04:0 | 124 bytes | Stadium Name | PES: must not exceed 40 characters |
Unknown section
This section is located between the Stadium name and Team Player tables, but has not been documented yet.
Start: HEX block 626AB4
End: HEX block 6773C3
Entry Length: 132 (0x84) bytes
Limitations enforced by PES
Even though editing the save files externally technically allows using the full range of all values, PES puts some additional limitations in place. Some of these might be checked and corrected by the game, others are just taken as they are. This might lead to unexpected behaviour or even crash the game. Be sure to check Appendix:Rules or the rules of the invitational in question to find out what is considered legal.