Menu
Forums
New posts
Search forums
What's new
New posts
Latest activity
Log in
Register
What's new
Search
Search
Search titles and first posts only
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Help Support The Rugby Forum :
Forums
Other Stuff
Rugby Video Games & Apps
who has the best stats???
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="HDK" data-source="post: 63524"><p>EA SPORTS Rugby 2006 â€" player record data structure</p><p></p><p>What follows sets out the Offset from the start of the record, Structure, Data and my comments. (Its more readable in a table but I can't post it that way.)</p><p></p><p>The file df1c3d146fe8c3fb56c661409dadac7b.rdf in data.gob contains the 1751 player records, each of 100 bytes. The first player is R.Roncero and the last L.Hinton.</p><p></p><p><strong>Offset</strong> 0</p><p>2 bytes</p><p>ID number</p><p></p><p><strong>Offset</strong> 2</p><p>2 bytes</p><p>Commentary name ID number</p><p></p><p><strong>Offset</strong> 4</p><p>16 bytes</p><p>Player name</p><p>In form “S.Taylor†padded with zeros; 'Star' players have ^ appended to the string, eg “Y.Nyanga^â€.</p><p></p><p><strong>Offset</strong> 20</p><p>4 bits - Secondary position</p><p>4 bits - Primary position</p><p>4 bits - Not used</p><p>4 bits - Tertiary position</p><p></p><p>(2 bytes)</p><p></p><p>0001 â€" prop</p><p>0010 â€" hooker</p><p>0011 â€" prop</p><p>0100 â€" second row</p><p>0101 â€" flanker</p><p>0110 â€" flanker</p><p>0111 â€" number 8</p><p>1000 â€" scrum half</p><p>1001 â€" fly half</p><p>1010 â€" winger</p><p>1011 â€" centre</p><p>1100 â€" full back</p><p>1101-1111 â€" not used</p><p></p><p><strong>Offset</strong> 22</p><p>1 byte</p><p>Weight</p><p>In lbs minus 100; the lightest player is Campeggia at 151lbs, coded as 51.</p><p></p><p><strong>Offset</strong> 23</p><p>1 byte</p><p>Not used</p><p></p><p></p><p><strong>Offset</strong> 24</p><p>24 bits (3 bytes) </p><p></p><p>Nationality </p><p>1000 0000 0000 0000 0000 0000 â€" Georgia</p><p>0100 0000 0000 0000 0000 0000 â€" France</p><p>0010 0000 0000 0000 0000 0000 â€" Fiji</p><p>0001 0000 0000 0000 0000 0000 â€" France</p><p>0000 1000 0000 0000 0000 0000 â€" England</p><p>0000 0100 0000 0000 0000 0000 â€" Canada</p><p>0000 0010 0000 0000 0000 0000 â€" Australia</p><p>0000 0001 0000 0000 0000 0000 â€" Argentina</p><p></p><p>0000 0000 1000 0000 0000 0000 â€" Samoa</p><p>0000 0000 0100 0000 0000 0000 â€" Russia</p><p>0000 0000 0010 0000 0000 0000 â€" Romania</p><p>0000 0000 0001 0000 0000 0000 â€" New Zealand</p><p>0000 0000 0000 1000 0000 0000 â€" Namibia</p><p>0000 0000 0000 0100 0000 0000 â€" Japan</p><p>0000 0000 0000 0010 0000 0000 â€" Italy</p><p>0000 0000 0000 0001 0000 0000 â€" Ireland</p><p></p><p>0000 0000 0000 0000 1000 0000 â€" Wales</p><p>0000 0000 0000 0000 0100 0000 â€" USA</p><p>0000 0000 0000 0000 0010 0000 â€" Uruguay</p><p>0000 0000 0000 0000 0001 0000 â€" not used</p><p>0000 0000 0000 0000 0000 1000 â€" Tonga</p><p>0000 0000 0000 0000 0000 0100 â€" Spain</p><p>0000 0000 0000 0000 0000 0010 â€" South Africa</p><p>0000 0000 0000 0000 0000 0001 â€" Scotland</p><p></p><p><strong>Offset</strong> 27</p><p>1 byte</p><p>Not used</p><p></p><p></p><p><strong>Offset</strong> 28</p><p>1 byte</p><p>Height</p><p>In inches minus 60; the tallest player is Charteris at 7' 10â€, coded as 22</p><p></p><p><strong>Offset</strong> 29</p><p>1 byte </p><p>Birth year</p><p>Range 68-87</p><p></p><p><strong>Offset</strong> 30</p><p>1 byte</p><p>Birth month</p><p>Range 1-13 (!). The error is Ajroud.</p><p></p><p><strong>Offset</strong> 31</p><p>1 bit - Left- or Right-footed</p><p>0 â€" left; 1 â€" right</p><p></p><p>7 bits - Birth day</p><p>Range 1-31</p><p></p><p>This looks bizarre. The effect is that the byte-value for a right-footed player born on the first of the month appears as 129.</p><p></p><p><strong>Offset</strong> 32</p><p>1 byte</p><p>Unknown</p><p>Range 0-10</p><p></p><p><strong>Offset</strong> 33</p><p>1 byte</p><p>Unknown</p><p>Range 25-98</p><p></p><p><strong>Offset</strong> 34</p><p>1 byte</p><p>Unknown</p><p>Range 21-96</p><p></p><p><strong>Offset</strong> 35</p><p>1 byte</p><p>Speed</p><p>Range 31-98</p><p></p><p><strong>Offset</strong> 36</p><p>1 byte</p><p>Acceleration </p><p>Range 24-99</p><p></p><p><strong>Offset</strong> 37</p><p>1 byte</p><p>Agility </p><p>Range 10-98</p><p></p><p><strong>Offset</strong> 38</p><p>1 byte</p><p>Handling</p><p>Range 20-96</p><p></p><p><strong>Offset</strong> 39</p><p>1 byte</p><p>Passing </p><p>Range 10-98</p><p></p><p><strong>Offset</strong> 40</p><p>1 byte</p><p>Kicking</p><p>Range 2-93</p><p></p><p><strong>Offset</strong> 41</p><p>1 byte</p><p>Kicking power</p><p>Range 0-98</p><p></p><p><strong>Offset</strong> 42</p><p>1 byte</p><p>Goal kicking</p><p>Range 0-96</p><p></p><p><strong>Offset</strong> 43</p><p>1 byte</p><p>Tackling</p><p>Range 18-94</p><p></p><p><strong>Offset</strong> 44</p><p>1 byte</p><p>Strength</p><p>Range 23-98</p><p></p><p><strong>Offset</strong> 45</p><p>1 byte</p><p>Rucking</p><p>Range 5-97</p><p></p><p><strong>Offset</strong> 46</p><p>1 byte</p><p>Scrummaging</p><p>Range 0-96</p><p></p><p><strong>Offset</strong> 47</p><p>1 byte</p><p>Hooking</p><p>Range 0-97</p><p></p><p><strong>Offset</strong> 48</p><p>1 byte</p><p>Lineout</p><p>Range 0-95</p><p></p><p><strong>Offset</strong> 49</p><p>1 byte</p><p>Unknown </p><p>Range 4-95</p><p></p><p><strong>Offset</strong> 50</p><p>1 byte</p><p>Aggression</p><p>Range 21-98</p><p></p><p><strong>Offset</strong> 51</p><p>3 bytes</p><p>Not used</p><p></p><p><strong>Offset</strong> 54</p><p>1 byte</p><p>Not known</p><p>Range 30-97 </p><p></p><p><strong>Offset</strong> 55</p><p>1 byte</p><p>Not known</p><p>Range 22-97</p><p></p><p><strong>Offset</strong> 56</p><p>1 byte</p><p>Not known</p><p>Range 20-97</p><p></p><p><strong>Offset</strong> 57</p><p>1 byte</p><p>Not known</p><p>Range 8-98</p><p></p><p><strong>Offset</strong> 58</p><p>1 byte</p><p>Not known</p><p>Range 24-100</p><p></p><p><strong>Offset</strong> 59</p><p>1 byte</p><p>Not known</p><p>Range 50-100</p><p></p><p><strong>Offset</strong> 60</p><p>1 byte</p><p>Not known</p><p>Range 40-100</p><p></p><p><strong>Offset</strong> 61</p><p>1 byte</p><p>Not known</p><p>Range 45-100</p><p></p><p><strong>Offset</strong> 62</p><p>22 bytes</p><p>Not used</p><p></p><p><strong>Offset</strong> 84</p><p>16 bits (2 bytes)</p><p></p><p>Special abilities</p><p>1000 0000 0000 0000 â€" Tackle breaker </p><p>0100 0000 0000 0000 â€" Crash ball</p><p>0010 0000 0000 0000 â€" Tactical kicker</p><p>0001 0000 0000 0000 â€" Goal Kicker</p><p>0000 1000 0000 0000 â€" Scoring</p><p>0000 0100 0000 0000 â€" Playmaker</p><p>0000 0010 0000 0000 â€" Passing</p><p>0000 0001 0000 0000 â€" Command</p><p>0000 0000 1000 0000 â€" not known</p><p>0000 0000 0100 0000 â€" not known</p><p>0000 0000 0010 0000 â€" not known</p><p>0000 0000 0001 0000 â€" Jumper</p><p>0000 0000 0000 1000 â€" Scrummager</p><p>0000 0000 0000 0100 â€" Defensive organiser</p><p>0000 0000 0000 0010 â€" Ball winner</p><p>0000 0000 0000 0001 â€" Tackler</p><p></p><p><strong>Offset</strong> 86</p><p>2 bytes</p><p>Not used</p><p></p><p><strong>Offset</strong> 88</p><p>1 byte</p><p>Unknown</p><p>Range 0-6</p><p></p><p><strong>Offset</strong> 89</p><p>1 byte</p><p>Unknown</p><p>Either 0 or 4</p><p></p><p><strong>Offset</strong> 90</p><p>1 byte</p><p>Unknown</p><p>Range 2-255</p><p></p><p><strong>Offset</strong> 91</p><p>1 byte</p><p>Unknown</p><p>Range 0-175</p><p></p><p><strong>Offset</strong> 92</p><p>1 byte</p><p>Unused</p><p></p><p><strong>Offset</strong> 93</p><p>1 byte</p><p>Unknown</p><p>Either 0, 32, 64 or 96</p><p></p><p><strong>Offset</strong> 94</p><p>1 byte</p><p>Unknown</p><p>Either 0, 1, 2, 3, 24, 26 or 27</p><p></p><p><strong>Offset</strong> 95</p><p>5 bytes</p><p>Unknown</p><p>Unused</p><p></p><p>Note that when I suggest bytes are unused, that refers only to the player database. They may be used for player data (such as form and morale) in saved tournament files or for created players in rosters (especially their appearance). I have yet to investigate that far.</p><p></p><p>Some of what I label 'not used' bytes are likely to result from the use of multi-byte integer types in the original programme coding (ie using a long integer type for a value when a shortint would have been sufficient). </p><p></p><p>Hugh Kernohan</p></blockquote><p></p>
[QUOTE="HDK, post: 63524"] EA SPORTS Rugby 2006 – player record data structure What follows sets out the Offset from the start of the record, Structure, Data and my comments. (Its more readable in a table but I can't post it that way.) The file df1c3d146fe8c3fb56c661409dadac7b.rdf in data.gob contains the 1751 player records, each of 100 bytes. The first player is R.Roncero and the last L.Hinton. [b]Offset[/b] 0 2 bytes ID number [b]Offset[/b] 2 2 bytes Commentary name ID number [b]Offset[/b] 4 16 bytes Player name In form “S.Taylor†padded with zeros; 'Star' players have ^ appended to the string, eg “Y.Nyanga^â€. [b]Offset[/b] 20 4 bits - Secondary position 4 bits - Primary position 4 bits - Not used 4 bits - Tertiary position (2 bytes) 0001 – prop 0010 – hooker 0011 – prop 0100 – second row 0101 – flanker 0110 – flanker 0111 – number 8 1000 – scrum half 1001 – fly half 1010 – winger 1011 – centre 1100 – full back 1101-1111 – not used [b]Offset[/b] 22 1 byte Weight In lbs minus 100; the lightest player is Campeggia at 151lbs, coded as 51. [b]Offset[/b] 23 1 byte Not used [b]Offset[/b] 24 24 bits (3 bytes) Nationality 1000 0000 0000 0000 0000 0000 – Georgia 0100 0000 0000 0000 0000 0000 – France 0010 0000 0000 0000 0000 0000 – Fiji 0001 0000 0000 0000 0000 0000 – France 0000 1000 0000 0000 0000 0000 – England 0000 0100 0000 0000 0000 0000 – Canada 0000 0010 0000 0000 0000 0000 – Australia 0000 0001 0000 0000 0000 0000 – Argentina 0000 0000 1000 0000 0000 0000 – Samoa 0000 0000 0100 0000 0000 0000 – Russia 0000 0000 0010 0000 0000 0000 – Romania 0000 0000 0001 0000 0000 0000 – New Zealand 0000 0000 0000 1000 0000 0000 – Namibia 0000 0000 0000 0100 0000 0000 – Japan 0000 0000 0000 0010 0000 0000 – Italy 0000 0000 0000 0001 0000 0000 – Ireland 0000 0000 0000 0000 1000 0000 – Wales 0000 0000 0000 0000 0100 0000 – USA 0000 0000 0000 0000 0010 0000 – Uruguay 0000 0000 0000 0000 0001 0000 – not used 0000 0000 0000 0000 0000 1000 – Tonga 0000 0000 0000 0000 0000 0100 – Spain 0000 0000 0000 0000 0000 0010 – South Africa 0000 0000 0000 0000 0000 0001 – Scotland [b]Offset[/b] 27 1 byte Not used [b]Offset[/b] 28 1 byte Height In inches minus 60; the tallest player is Charteris at 7' 10â€, coded as 22 [b]Offset[/b] 29 1 byte Birth year Range 68-87 [b]Offset[/b] 30 1 byte Birth month Range 1-13 (!). The error is Ajroud. [b]Offset[/b] 31 1 bit - Left- or Right-footed 0 – left; 1 – right 7 bits - Birth day Range 1-31 This looks bizarre. The effect is that the byte-value for a right-footed player born on the first of the month appears as 129. [b]Offset[/b] 32 1 byte Unknown Range 0-10 [b]Offset[/b] 33 1 byte Unknown Range 25-98 [b]Offset[/b] 34 1 byte Unknown Range 21-96 [b]Offset[/b] 35 1 byte Speed Range 31-98 [b]Offset[/b] 36 1 byte Acceleration Range 24-99 [b]Offset[/b] 37 1 byte Agility Range 10-98 [b]Offset[/b] 38 1 byte Handling Range 20-96 [b]Offset[/b] 39 1 byte Passing Range 10-98 [b]Offset[/b] 40 1 byte Kicking Range 2-93 [b]Offset[/b] 41 1 byte Kicking power Range 0-98 [b]Offset[/b] 42 1 byte Goal kicking Range 0-96 [b]Offset[/b] 43 1 byte Tackling Range 18-94 [b]Offset[/b] 44 1 byte Strength Range 23-98 [b]Offset[/b] 45 1 byte Rucking Range 5-97 [b]Offset[/b] 46 1 byte Scrummaging Range 0-96 [b]Offset[/b] 47 1 byte Hooking Range 0-97 [b]Offset[/b] 48 1 byte Lineout Range 0-95 [b]Offset[/b] 49 1 byte Unknown Range 4-95 [b]Offset[/b] 50 1 byte Aggression Range 21-98 [b]Offset[/b] 51 3 bytes Not used [b]Offset[/b] 54 1 byte Not known Range 30-97 [b]Offset[/b] 55 1 byte Not known Range 22-97 [b]Offset[/b] 56 1 byte Not known Range 20-97 [b]Offset[/b] 57 1 byte Not known Range 8-98 [b]Offset[/b] 58 1 byte Not known Range 24-100 [b]Offset[/b] 59 1 byte Not known Range 50-100 [b]Offset[/b] 60 1 byte Not known Range 40-100 [b]Offset[/b] 61 1 byte Not known Range 45-100 [b]Offset[/b] 62 22 bytes Not used [b]Offset[/b] 84 16 bits (2 bytes) Special abilities 1000 0000 0000 0000 – Tackle breaker 0100 0000 0000 0000 – Crash ball 0010 0000 0000 0000 – Tactical kicker 0001 0000 0000 0000 – Goal Kicker 0000 1000 0000 0000 – Scoring 0000 0100 0000 0000 – Playmaker 0000 0010 0000 0000 – Passing 0000 0001 0000 0000 – Command 0000 0000 1000 0000 – not known 0000 0000 0100 0000 – not known 0000 0000 0010 0000 – not known 0000 0000 0001 0000 – Jumper 0000 0000 0000 1000 – Scrummager 0000 0000 0000 0100 – Defensive organiser 0000 0000 0000 0010 – Ball winner 0000 0000 0000 0001 – Tackler [b]Offset[/b] 86 2 bytes Not used [b]Offset[/b] 88 1 byte Unknown Range 0-6 [b]Offset[/b] 89 1 byte Unknown Either 0 or 4 [b]Offset[/b] 90 1 byte Unknown Range 2-255 [b]Offset[/b] 91 1 byte Unknown Range 0-175 [b]Offset[/b] 92 1 byte Unused [b]Offset[/b] 93 1 byte Unknown Either 0, 32, 64 or 96 [b]Offset[/b] 94 1 byte Unknown Either 0, 1, 2, 3, 24, 26 or 27 [b]Offset[/b] 95 5 bytes Unknown Unused Note that when I suggest bytes are unused, that refers only to the player database. They may be used for player data (such as form and morale) in saved tournament files or for created players in rosters (especially their appearance). I have yet to investigate that far. Some of what I label 'not used' bytes are likely to result from the use of multi-byte integer types in the original programme coding (ie using a long integer type for a value when a shortint would have been sufficient). Hugh Kernohan [/QUOTE]
Verification
Post reply
Forums
Other Stuff
Rugby Video Games & Apps
who has the best stats???
Top