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: 65896"><p>woosah,</p><p></p><p>You may already have teased this out but I have been attacking the World League data files (because I wanted to transfer a player who wasn't coming onto the market and to get round the irritating error which lists all the pure Number 8s as Backs, which distorts the squad eventually). </p><p></p><p>The team roster data is held in the same structure in .tmt and .ros files.</p><p></p><p>The teams are ordered and numbered as detailed in this file from data.gob:</p><p> be2970b0ada8e42cf891ce60ffe69575.xml </p><p></p><p>(28d3f14b5de7a6923f483cf00683fe1d.xml is the French version).</p><p></p><p>The international sides come first (codes 1-25, starting with Argentina) then Australian Super-14 sides (codes 28-31). Code 26 is a blank block which marks the end of the international sides and 27 is a blank which is the beginning of the Australian category.</p><p></p><p>The list includes teams not implemented (Portugal, Borders, Connacht, Rotherham) and a category of US Colleges!</p><p></p><p>The team codes run to 136 (88h).</p><p></p><p>The data is in blocks of 104 bytes. In a roster file the pattern is as follows:</p><p></p><p>30 pairs of bytes identifying players; 4 bytes identifying the block; 40 bytes of duplicate player entries and zeros. (I believe these last 40 may have a meaning in World League files because they seem to list the players most recently transferred in, but this is uncertain for the time being. I cannot see a meaning for them in a .ros file)</p><p></p><p>Thus:</p><p>Block 0 starts at</p><p><strong>001C</strong>h and contains 104 zeros</p><p></p><p>Block 1 - Argentina - runs as follows:</p><p><strong>0084</strong>h - D6 2C - the ID code which is the first two bytes of Hasan's player record later in the file</p><p><strong>0086</strong>h - 0C 2F - Mendez</p><p> etc ...</p><p><strong>00BE</strong>h - 05 64 - J Miranda</p><p><strong>00C0</strong>h - 01 00 00 00 00 - the block identifier</p><p><strong>00C4</strong>h to <strong>00EB</strong>h - the remainder of the block.</p><p></p><p>Block 2 starts at <strong>00EC</strong>h and its identifier is found at <strong>0128</strong>h.</p><p></p><p>and so on.</p><p></p><p> Hugh</p></blockquote><p></p>
[QUOTE="HDK, post: 65896"] woosah, You may already have teased this out but I have been attacking the World League data files (because I wanted to transfer a player who wasn't coming onto the market and to get round the irritating error which lists all the pure Number 8s as Backs, which distorts the squad eventually). The team roster data is held in the same structure in .tmt and .ros files. The teams are ordered and numbered as detailed in this file from data.gob: be2970b0ada8e42cf891ce60ffe69575.xml (28d3f14b5de7a6923f483cf00683fe1d.xml is the French version). The international sides come first (codes 1-25, starting with Argentina) then Australian Super-14 sides (codes 28-31). Code 26 is a blank block which marks the end of the international sides and 27 is a blank which is the beginning of the Australian category. The list includes teams not implemented (Portugal, Borders, Connacht, Rotherham) and a category of US Colleges! The team codes run to 136 (88h). The data is in blocks of 104 bytes. In a roster file the pattern is as follows: 30 pairs of bytes identifying players; 4 bytes identifying the block; 40 bytes of duplicate player entries and zeros. (I believe these last 40 may have a meaning in World League files because they seem to list the players most recently transferred in, but this is uncertain for the time being. I cannot see a meaning for them in a .ros file) Thus: Block 0 starts at [b]001C[/b]h and contains 104 zeros Block 1 - Argentina - runs as follows: [b]0084[/b]h - D6 2C - the ID code which is the first two bytes of Hasan's player record later in the file [b]0086[/b]h - 0C 2F - Mendez etc ... [b]00BE[/b]h - 05 64 - J Miranda [b]00C0[/b]h - 01 00 00 00 00 - the block identifier [b]00C4[/b]h to [b]00EB[/b]h - the remainder of the block. Block 2 starts at [b]00EC[/b]h and its identifier is found at [b]0128[/b]h. and so on. Hugh [/QUOTE]
Verification
Post reply
Forums
Other Stuff
Rugby Video Games & Apps
who has the best stats???
Top