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"

From Rigged Wiki
Jump to navigation Jump to search
Line 8: Line 8:


== Game tip tools ==
== Game tip tools ==
As editing game tips requires to change literally hundreds of strings following a certain pattern, the process quickly goes beyond what the available string editors offer.
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.
<syntaxhighlight>usage: writeTips.py [-h] [-s STRS] [-m MAP] [-t TIPS] [-o OUTPUT] [-N NEWNUM]
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>


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].
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].

Revision as of 18:17, 15 December 2022

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] [-N NEWNUM]

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]

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.