You are on page 1of 6

How to relink a kit in pes2008

Ninuzzu
P3smania staff
www.p3smania.com

Tools needed
-Afs explorer 3.7
-Hexadecimal editor (i use winhex)

Well, kit infos are stored on param.dat,file unnamed_27.bin in cv_1

- You need zlib manager from afsexplorer to uncompress unnamed_27,so open


afsexplorer,go to zlib manager and set header lenght to 16...here a preview

- Now open cv_1.img,select file unnamed_27.bin and press "Get from afs"
from zlib manager menu

ZlibManager will analize the file ,showing you a preview like this

- Now click on ZLIB,then on "unpack" and save the file as param.dat

- Leave afs explorer opened,now open param.dat with winhex (or any other
esadecimal editor),you will find many interesting things now
- Now i explain you how it works...
Teams info starts at offset 30 (in hex),every team has 512 bytes (200 in
hex) splitted in 4 blocks of 128 bytes (80 in hex) ,representing values for
gk_home,pl_home,gk_away,pl_away in order...

The order of teams parameters is the same as pes2008 teamlist,starting with


nationals,then with clubs and so on...

So,for example,we have this order,starting from offset 30:

first 512 bytes---->austria (gk1,home,gk2,away)


next 512 bytes----->belgium (gk1,home,gk2,away)
next 512 bytes----->bulgaria (gk1,home,gk2,away)
....
and so on,following the team list order.

-HERE you can find a useful xls displaying every team offset in
the param.dat(including kit relinking IDs in sheet2),made by my friend Kleimann

- Using this useful map you can manage every information about kits,like
relinking,kit style,collar....

This map is made over France home info ,if i remember right(i've made it 2
or 3 weeks ago)

- Every single value is in hex,so,for example,if you want to assign model 34


to france,then you must write 22 (hex value)...

- Now,let's concentrate on kit relinking...using this afs map,we can see how many free slots we can
assign to unlicensed teams...
Spoiler:

sorry but some team names are in italian

7523 *unused*
7525 rep ceca
7527 inghilterra
7529 francia
7531 italia
7533 olanda
7535 portogallo
7537 spagna
7539 svezia
7541 argentina
7543 brasile
7545 giappone
7547 korea
7549 australia
7551 de graafschap
7553 newcastle
7555 monaco
7557 le mans
7559 lille
7561 rennes
7563 ogc nice
7565 sochaux
7567 psg
7569 lione
7571 nancy
7573 st etienne
7575 *unused*
7577 marsiglia
7579 lens
7581 strasburgo
7583 lorient
7585 *unused*
7587 bordeaux
7589 valenciennes
7591 *unused*
7593 atalanta
7595 *unused*
7597 cagliari
7599 catania
7601 empoli
7603 *unused*
7605 fiorentina
7607 inter
7609 juventus
7611 livorno
7613 milan
7615 *unused*
7617 palermo
7619 parma
7621 reggina
7623 roma
7625 sampdoria
7627 siena
7629 torino
7631 udinese
7633 almeria
7635 *unused*
7637 ajax
7639 az malkmaar
7641 excelsior
7643 feyenoord
7645 groningen
7647 heerenveen
7649 heracles
7651 nac breda
7653 nec
7655 psv
7657 *unused*
7659 roda jc
7661 sparta rotterdam
7663 twente
7665 utrecht
7667 vitesse
7669 willem II
7671 betis
7673 barcellona
7675 deportivo
7677 *unused*
7679 espanyol
7681 getafe
7683 recreativo huelva
7685 *unused*
7687 levante
7689 maiorca
7691 atletico madrid
7693 real madrid
7695 osasuna
7697 racing santander
7699 siviglia
7701 *unused*
7703 valencia
7705 valladolid
7707 saragozza
7709 hjk helsinki
7711 copenaghen
7713 bayern monaco
7715 aek atene
7717 lazio
7719 rosenborg
7721 *unused*
7723 porto
7725 sporting lisbona
7727 celtic
7729 rangers
7731 *unused*
7733 galatasaray
7735 dinamo kiev
7737 croazia
7739 grecia
7741 *unused*
7743 tottenham
7745 caen
7747 *unused*
7749 *unused*
7751 river plate
7753 internacional
7755 irlanda
7757 scozia
7759 turchia
7761 costa d'avorio
7763 ghana
7765 atletico bilbao
7767 metz
7769 tolosa
7771 genoa
7773 napoli
7775 vvv venlo
7777 real murcia
7779 anderlecht
7781 bruges
7783 dinamo zagabria
7785 *unused*
7787 wisla cracovia
7789 spartak mosca
7791 lokomotiv mosca
7793 stella rossa
7795 aik solna
7797 hammarby if
7799 helsingborg
7801 goteborg
7803 besiktas
7805 fenerbahce
7807 *unused*
7809 *unused*
7811 olympiakos
7813 panathinaikos
7815 villareal
7817 basilea
7819 benfica
7821 auxerre
7823->8034 *unused*

Relinking a slot now is very simple,if you notice that

cech republic has 01 00


england has 02 00
france has 03 00
italy has 04 00
netherlands has 05 00
portugal has 06 00
spain has 07 00
sweden has 08 00
argentina has 09 00
brasil has 0A 00

So,according to the cv_0 list,if you want to relink a kit you must assign those ID to
gk_home,pl_home,gk_away,pl_away

Let's make an example:


You want to relink Austria kits to 7523...well,change relink values to 00 00
You want to relink Arsenal kits to 7575...change relink values to 1A 00
..........

To insert param.dat back into unnamed_27.bin,just click on ZLIB,then on compress and select your
edited param.dat,then click on "INSERT INTO AFS" (don't forget to set header lenght to 16 or the game
will have a freeze)...

Ninuzzu
P3smania staff

You might also like