Server maintenance/downtime still planned during the offseason pending f4r getting some time to actually do it.
Difference between revisions of "Pro Evolution Soccer 2021/Game Tips"
Noteperson (talk | contribs) |
Noteperson (talk | contribs) |
||
Line 11: | Line 11: | ||
Instead, a [https://drive.google.com/file/d/1TOiE79N9ZpSKESq4vs3VEQCcqD1zrm7o/view?usp=sharing Python script] has been written to deal with them. | Instead, a [https://drive.google.com/file/d/1TOiE79N9ZpSKESq4vs3VEQCcqD1zrm7o/view?usp=sharing Python script] has been written to deal with them. | ||
<syntaxhighlight>usage: writeTips.py [-h] [-s STRS] [-m MAP] [-t TIPS] [-o OUTPUT | <syntaxhighlight>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 | This script reads in an unzlibbed PES strings file, a TSV file mapping between |
Revision as of 18:27, 15 December 2022
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 if using English) and unlibbed 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.