Editing Player Profiles

A complete player editor would be great stuff....definately needed :D
 
Something we have been hoping for since we bought cricket 2004.
 
Well i had some doubt with bowling strike rate and bowling economy rate correct me if i am wrong
Bowling strike rate = total overs bowled * 6 / total wickets
Bowling economy rate = total runs / total overs bowled
 
Originally posted by barmyarmy@Jun 23 2004, 06:44 AM
Prakash has found what all the bytes relate to. The challenge now is cracking the actual values...
Which attributes are yet to be cracked?
 
We have managed to crack all of personal,general and stats, the remaing seems to be a mystery :blink:
 
I cracked out the SKILLS section.

Here is the way to go (confusing though)

197,198,199 byte are the ones which have to be cracked.
Overall there are 17 skills but only 3 bytes have been assigned.

For simplicity I have assigned a number to each of these skills

1.Defensive Wall
2.Driver
3.Stroke Maker
4.Slogger
5.Demon Hooker
6.Spin Expert
7.One Day Expert

8.Breaker
9.Strike Bowler
10.Miser
11.Trickster
12.Workhorse

13.Bullet Arm
14.Acrobat
15.Velcro Hands
16.Talisman
17.Injury Free

Note : The numbers and the order is not arbitrary.

Suppose we want the skills to be Stroke Maker(3),OD Expert(7),
Strike Bowler(9) and Workhorse(12)

take 0 for false and 1 for true

Positions__17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
Values_____0_0__0_0__0__1_0__0 1 0 1 0 0 0 1 0 0

As 3,7,9,12 are true we have 1 below them
Take the number 100101000100
In decimal it is 2372 = 68 + 9 * 256
In general form it is k + x * 256 [K < 256]
Converting to hex 68 = 44, 09 = 09
So we need 44 09 to be put at 197,198 bytes.

NOTE -
1. 199th byte is meant for injury free only.
1 if yes,0 if not
2. 00 00 00 means no skills.

REVERSE WAY
If we have to see what 44 09 00 means Make it 9*256+68(44 in hex)=2372
convert to binary to get 100101000100

From extreme right as 1 is at 3,7,9,12 skills 3,7,9,12 are on.
 
I need a bit of help in cracking "batting 1".

The silly thing here is that only a few values are allowed(and not all).

Someone please do this.

1.Create a new player in a new profile, setting all batting 1(and only batting 1) values to zero.also set captaincy to zero.

2.go to 77th byte change that value and see what happens.
only concentration will change
01 conc.02
02 04
03 06
04 07
05 08
06 10
07 11
08 12
09 14
0a 16
0b 17
0c 19
0d 21
0e 23
0f 24
10(16) 25
11(17) 26
19(25) 38
20(32) 49
30(48) 75
3f(63) 100

are the values i have tested. VALUES UPTO 3f(63) WILL BE ENOUGH. No more needed.

"You could set concentration value to 20 by player creater in game but would see that it automatically changes to 19 on base copy"

these values are not allowed
1 3 5 9 13 15 18 20 22 ...
We have to find 43 more,21 i have done.

I am currently trying to find out how to get two or more attributes, etc.
There is no hurry as I DO NOT NEED THIS DATA to continue
 
For crackiing Batting 1,Bowling 1,Fielding/Misc we need a number system with base 64(as there are 64 values for a particular attribute(not 100)).

Batting 2 could well be cracked in a similar way to skills

BATTING 1

1.there are 11 bytes for (batting 1 + captaincy(overall 14 attributes))
2.i have not yet determined all the order but know the first three, they are
(i)concentration(ii)attack(iii)defense,...
suppose the value is
44 09 00 00 00 00 00 00 00 00 00
now this number would be 2372.
divide by 64 and keep taking remainders(as we do with binary system)
the remainders are (37)4.
which means for first attribute, "(4)=7" and for second, (37)=57(if you find the corresponding number(there are 64 not 100 values))

If you check in game you indeed find this true.
concentraion is 7, and attack is 57.

We now only have to find
I The orders(as in case of skill)
this could be easily found by this way

set all 11 bytes to zero.
find 64 to the power (n-1){where n is the position of unknown}
e.g. you take square of 64(for 3rd position)
which is 4096 {put this in appropriate manner in roster.pak}
and you find that third position is defense (as a value comes in front of it)

II Corresponding values (42 remaining){method in previous post}

So we have the method for cracking all other stats
 
This is what Prakash has discovered. It should be helpful:


At 218 byte Team 20-Zim, 4-Saf,1-aus
At 211 byte Bat
At 206 Face
At 207 Body Type
At 209 Hair
At 210 Face Hair
At 107 and 108 Batting order 131/0-middle order aggresive, 131/8-moderate, 131/16-def
3/0-oppener aggresive,3/8-moderate,3/16-def
3/1-lower order aggresive,3/9-moderate,3/17-def
131/1-tailender aggresive,131/9-moderate,131/17-def

At 109 And 110 Bowling Style
For Defensive
33/0-OffSpin,32/0-LegSpin, 34/2-Left Off Spin,35/2-chinaman
39/0-RM,40/0-RMF,41/0-RF, 36/2-LM,37/2-LMF,38/2-LF
For Aggresive
17/0-OffSpin,16/0-LegSpin 18/2-LeftOff,19/2-chinaman
23/0-RM,24/0-RMF,25/0-RF, 20/2-LM,21/2-LMF,22/2-LF
FOr Moderate
1/0-OffSpin,0/0-LegSpin 2/2-LeftOff,3/2-chinaman
7/0-RM,8/0-RMF,9/0-RF, 4/2-LM,5/2-LMF,6/2-LF

At 110 Hand R/L 1-LeftBat,2-LeftBowling,4-LeftField,All-7
LeftBat+LeftField-5,LeftBat+leftBowl-3,LeftBowl+LeftField-6
0-RightBat,0-RightBowl,0-RightField,All-0

Position 1 hand-> batting,bowling,fielding--->Right,Right,Right&Position 2-General
0-General,8-Wicket,16-Slips,24-COvers,32-Outfielder,40-Gully,48-Closein,56-SquareLeg

Position 1 hand-> batting,bowling,fielding--->Left,Right,Right&Position 2-General
1-General,9-Wicket,17-Slips,25-COvers,33-Outfielder,41-Gully,49-Closein,57-SquareLeg

Position 1 hand-> batting,bowling,fielding--->Right,Left,Right&Position 2-General
2-General,10-Wicket,18-Slips,26-COvers,34-Outfielder,42-Gully,50-Closein,58-SquareLeg

Position 1 hand-> batting,bowling,fielding--->Left,Left,Right&Position 2-General
3-General,11-Wicke,19-Slips,27-COvers,35-Outfielder,43-Gully,51-Closein,59-SquareLeg

Position 1 hand-> batting,bowling,fielding--->Right,Right,Left&Position 2-General
4-General,12-Wicket,20-Slips,28-COvers,36-Outfielder,44-Gully,52-Closein,60-SquareLeg

Position 1 hand-> batting,bowling,fielding--->Left,Right,Left&Position 2-General
5-General,13-Wicket,21-Slips,29-COvers,37-Outfielder,45-Gully,53-Closein,61-SquareLeg

Position 1 hand-> batting,bowling,fielding--->Right,Left,Left&Position 2-General
6-General,14-Wicket,22-Slips,30-COvers,38-Outfielder,46-Gully,54-Closein,62-SquareLeg

Position 1 hand-> batting,bowling,fielding--->Left,left,Left&Position 2-General
7-General,15-Wicket,23-Slips,31-COvers,39-Outfielder,47-Gully,55-Closein,63-SquareLeg
------------------------------------------------------------------------------------------------
Position 1 hand-> batting,bowling,fielding--->Right,Right,Right&Position 2-wicket keeper
128-General,+8-Wicket,+16-Slips,+24-COvers,+32-Outfielder,+40-Gully,+48-Closein,+56-SquareLeg
=====================================================
111-byte 81
Position 1 hand-> batting,bowling,fielding--->Right,Right,Right&Position 2-Slips
0-General,+8-Wicket,+16-Slips,+24-COvers,+32-Outfielder,+40-Gully,+48-Closein,+56-SquareLeg
------------------------------------------------------------------------------------------------
Position 1 hand-> batting,bowling,fielding--->Right,Right,Right&Position 2-Covers
128-General,+8-Wicket,+16-Slips,+24-COvers,+32-Outfielder,+40-Gully,+48-Closein,+56-SquareLeg
=====================================================
111-byte 82
Position 1 hand-> batting,bowling,fielding--->Right,Right,Right&Position 2-Outfielder
0-General,+8-Wicket,+16-Slips,+24-COvers,+32-Outfielder,+40-Gully,+48-Closein,+56-SquareLeg
------------------------------------------------------------------------------------------------
Position 1 hand-> batting,bowling,fielding--->Right,Right,Right&Position 2-Gully
128-General,+8-Wicket,+16-Slips,+24-COvers,+32-Outfielder,+40-Gully,+48-Closein,+56-SquareLeg
=====================================================
111-byte 83
Position 1 hand-> batting,bowling,fielding--->Right,Right,Right&Position 2-Closein
0-General,+8-Wicket,+16-Slips,+24-COvers,+32-Outfielder,+40-Gully,+48-Closein,+56-SquareLeg
---------------------------------------------------------------------------------------------Position 1 hand-> batting,bowling,fielding--->Right,Right,Right&Position 2-SquareLeg
128-General,+8-Wicket,+16-Slips,+24-COvers,+32-Outfielder,+40-Gully,+48-Closein,+56-SquareLeg
=====================================================
HS and average
test= 119, 120, 121
ODI = 122, 123, 124
FC = 125, 126, 127
OD = 127, 128, 129
----------------------------------
119 and 120 bytes
0 - 0/0
1 - 4/0
2 - 8/0
10 - 40/0
30 -120/0
60 -240/0
63 -252/0
64 - 0/1
127-252/1
128- 0/2
191-252/2
192- 0/3
255-252/3
256- 0/4
------------------------------
121 - Test Average
0 - 0
1 - 1
10-10
40-40
100-100
-----------------------------
122 and 123 ODI HS & Avg=0
0 - 0/0
1 - 4/0
2 - 8/0
63 -252/0
64 - 0/1

-----------------------------
123 and 124 ODI Average & HS=153 then HS=0
0 - 2/0 0 - 0/0
1 - 34/0 1 - 32/0
2 - 66/0 2 - 64/0
3 - 98/0
4 -130/0
5 -162/0
6 -194/0
7 -226/0
8 - 2/1
16- 2/2
24- 2/3
32- 2/4
96- 2/12
100-130/12
----------------------------
125 and 126 FC HS and Average=0
0 - 0/0
1 - 1/0
255-255/0
256- 0/1
-----------------------------
126 and 127 FC Average HS=0
0 - 0/32
1 - 8/32
31-248/32
32- 0/33
64- 0/34
96- 0/35
-----------------------------
127 and 128 OD HS
0 - 1/0
1 - 33/0
2 - 65/0
7 -225/0
8 - 1/1
16- 1/2
-----------------------------
131 and 132 Test Bowling average
0 - 0/0
1 - 32/0
7 -224/0
8 - 0/1
16- 0/2
24- 0/3
32- 0/4
96- 0/12
------------------------------
130 and 88 BBI
0/0 - 0/0
0/1 - 72/0
0/2 - 8/0
0/3 - 12/0

100-224,7
99-208,7
98-192,7
97-176,7 & 96
95-160,7 & 94
93-144,7 & 92
91-128,7 & 90
89-112,7 & 88
87-096,7 & 86
85-080,7 & 84
83-064,7 & 82
81-048,7 & 80
79-032,7 & 78
77-016,7 & 76
75-000,7 & 74
73-224,6 & 72
71-208,6 & 70
69-192,6
68-176,6 & 67
66-160,6 & 65
64-144,6 & 63
62-128,6 & 61
60-112,6
59-096,6
58-080,6 & 57
56-064,6 & 55
54-048,6 & 53
52-032,6 &
51-016,6 & 50
49-000,6
48-240,5 & 47
=====================================================
1, 2 - Player Unique Id
3, 4 - Player Commentary
5-20 - Player Name
21, 22 - Test Innings
23, 24 - Test Not Outs
25, 26 - Test Overs
27, 28 - Test Wickets
29, 30 - Test Bowling Runs
31, 32 - Test Batting Runs
33 - Test 50's
34 - Test 100's
Next 14 ODI, Next 14 FC, Next 14 OD uptill 76

77 - Batting Concentration
78 - Batting Attack
78, 79 - Batting Defence
79 - Batting Offside
80 - Batting On Side
81 - Batting Straight
82 - Batting Front Foot
82, 83 - Batting Back Foot
83 - Batting Versus Spin
84 - Batting Versus Pace
85 - Batting Versus Swing
85, 86 - Batting Skill
86, 87 - Captaincy
87 - Batting Resiliance
91 - Bowling Special Ball
92 - Bowling To Left Hander
93 - Bowling To Right Hander
93, 94 - Bowling Discipline
95, 96 - Bowling Accuracy
95 - Bowling Seam Rating
96 - Bowling Boncer
97 - Bowling Slow Ball
98 - Bowling Spin Rating
98 - Bowling Arm Ball
99 - Bowling Googly
100 - Bowling Flipper
101 - Bowling InSwing
101,102 - Bowling OutSwing
102,103 - Fielding ArmStrength
103 - Fielding Accuracy
104 - Fielding Agility
104,105 - Temperement
106,107 - Consistency
111,112 - Fielding Speed
112 - Fielding Throwing
113 - Fielding Catching
197 - Skills Batting ->Defensive Wall,Stroke Maker,Deamon Hooker,One Day expert, Driver, Sloger, Spin Expert Bowling ->Breaker,
198 - Bowling ->Miser, Strike Bowler, Trickster, Work House Fielding -> Bullet Arm, Acrobat, Velcro Hands General -> Tailsman
199 - Injury Free



189 - Batting Weakness Slower Ball, Concentration, Hooking Addict, Short Pitch Bowling, Outside Offstump,Sweeping,Googly, Yorker
193 - Favourite Shots FF -> Square Drive, Cover Drive, Straight Drive, On Drive, Leg Glance, Sweep BF -> Square Cut, Cover Drive
194 - BF -> Straight Drive, On Drive, Hip Glance, Hook, Pull


204 -> 208 028 = (32-28)*64=256-(208/4)= 256-52 =204
257 -> 252 027 320
8 -> 224 031

9C 1D->156 029 =(32-29)*64=192-(156/4)=192-39 =153

ODI HS
120 127 -> 46 - 120 31= 120 (32-31)= 120 1= (1*64)-(120/4)=46
104 254 ->102 - 104 30
204 125 ->141 - 204 29
24 157 ->186 - 24 29


120 127
 
Note all the values are at decimal and i am not sure that they are 100% accurate, btw great job so far ajit :cool
 
that does for all the orders we need, but the orders are slightly different for skills(see a previous post) and maybe for batting weaknesses and favourite shots.

"""so this is the last thing we need to find out in orders"""

and also corresponding values for a few numbers for batting 1,etc.
all this is nearly completed
 
Here's the order for batting 2 (batting weakness and favourite shots)

1.Googly
2.Sweeping
3.Short Pitch
4.Hooking Addict
5.Conentration
6.Yorker
7.Slower Ball
8.Outside Offstump

9.Square Drive
10.Cover Drive
11.Straight Drive
12.On Drive
13.Leg Glance
14.Sweep

15.Square Cut
16.Backfoot Cover Drive
17.Straight Drive
18.On Drive
19.Hip Glance
20.Hook
21.Pull

Bytes are 189,193,194.
Take them all at once(as combinations also make a differrence) as in case of skills.

The method is exactly the same as skills, taking 44 09(2372) at <189> <193> gives
Weaknesses at Short Pitch(3) and Slower Ball(7)
Favourite shots at Front Foot Square Drive(9) and On Drive(12).

Just what was expected. B)
 
Here the number go from 0 to 63 for batting 1, bowling, fielding/misc
You already have the information of the bytes and all orders and the method to crack them as well.

So I think it is all completed.

0 ---------0
1 ---------2
2 ---------4
3 ---------6
4 ---------7
5 ---------8
6 ---------10
7 ---------11
8 ---------12
9 ---------14
10---------16
11---------17
12---------19
13---------21
14---------23
15---------24
16---------25
17---------26
18---------28
19---------29
20---------31
21---------32
22---------34
23---------35
24---------37
25---------38
26---------40
27---------41
28---------43
29---------44
30---------46
31---------47
32---------49
33---------50
34---------52
35---------54
36---------55
37---------57
38---------59
39---------60
40---------62
41---------64
42---------65
43---------67
44---------69
45---------70
46---------72
47---------74
48---------75
49---------77
50---------79
51---------80
52---------82
53---------84
54---------86
55---------88
56---------90
57---------92
58---------94
59---------96
60---------98
61---------99
62---------100
63---------100{May be a still higher value,but display as 100}

Note: Convert to hex for hex editing,e.g. 3f=63

Values that are not allowed are:-
1,3,5,9,13,15,18,20,22,27,30,33,36,39,42,45,48,51,53,56,58,61,
63,66,68,71,73,76,78,81,83,85,87,89,91,93,95,97.

If you don't believe that some values are not allowed, try to create
a player with any of these values, add to database, and do base copy.
You would find that these values get reduced to the nearest one.
 

Users who are viewing this thread

Top