Pro Evolution Soccer 2021/Game Tips

From Rigged Wiki
Jump to navigation Jump to search
2021 4chanlogo.png
Pro Evolution Soccer 2021
This is still a work in progress.
Please be patient.
Game
Rules
Info
Tools
Modding

Game tips are certain strings found within PES. They show up during the loading screen before a match starts (usually one or two).

Submitting a game tip

Game tip ideas for major cups may be submitted through the game tip submission form.

Game tip tools

As editing game tips requires changing hundreds of strings following a certain pattern, the process quickly goes beyond what the available string editors offer. Instead, a Python script has been written to deal with them.

usage: writeTips.py [-h] [-s STRS] [-m MAP] [-t TIPS] [-o OUTPUT]

This script reads in an unzlibbed PES strings file, a TSV file mapping between
(gametip) string indexes and gametip numbers, and a TSV file of gametip
headers and bodies. It replaces the existing gametip strings with those from
the input list, then saves the edited string file.

optional arguments:
  -h, --help            show this help message and exit
  -s STRS, --strs STRS  PES strings file [./unzlib_all.str]
  -m MAP, --map MAP     TSV map between gametip string indexes and gametip
                        numbers [./gametip_map.txt]
  -t TIPS, --tips TIPS  TSV list of gametips; the first column is the header,
                        the second the main body [./gametips.txt]
  -o OUTPUT, --output OUTPUT
                        Output strings file [./tips.str]

The input PES strings file (unzlib_all.str by default) must be extracted from the PES DLC (Data/dt20_eng_x64.cpk is the default English pack; an edited version may be extracted from the 4cc DLC, e.g. 4cc_25_gametips.cpk) and unzlibbed before use. The output strings file should be named /eng/string/all.str when compiled into a CPK.

In order to use the script with a PES20/21 strings file, you will need the 21 gametips map.

Special characters

It is also possible to use special characters (like images of controller buttons) within game tips. See String: Special characters for a list.