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) (Created page with tool links) |
Noteperson (talk | contribs) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
== Game tip tools == | == Game tip tools == | ||
As editing game tips requires | 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 [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. | ||
In order to use the script with a | <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 | |||
(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]</syntaxhighlight> | |||
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 [https://drive.google.com/file/d/1A-tm3UkzxqSrFJrLR8F43-TCQWaCmtC6/view?usp=sharing 21 gametips map]. | |||
== Special characters == | == Special characters == | ||
It is also possible to use special characters (like images of controller buttons) within game tips. | It is also possible to use special characters (like images of controller buttons) within game tips. | ||
See [[ | See [[User:Aoba/PES_special_characters|String: Special characters]] for a list. | ||
[[Category:Pro Evolution Soccer 2021]] | [[Category:Pro Evolution Soccer 2021]] |
Latest revision as of 18:37, 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 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.