Friday, May 27, 2016

RSG Editing Tutorial : How To Crte Fixtures in Cricket07




So, ever wondered how we make fixtures for our and others' ? Well, it's the .RSG files we edit! The RSG files contain Cricket07 fixtures. They include all the tms, loions, date(s) and possibly overs. It might be hectic to edit, so we are publishing a Cricket07 Fixture Editing (RSG File) editing tutorial by Yudi from PlanetCricket! After this tutorial, you will know how to edit fixtures and crte/edit fixtures of our ! (.RSG files is their extension).

[caption id="attachment_301" align="aligncenter" width="320"] A fixture our fan crted with this tutorial![/caption]


What is an RSG file?

RSG files for Cricket 07 contain the fixtures. They control the tms participating, the loions, the time, the date and possibly the overs (match length).


How to edit an RSG file?

They can be sily edited by the Notepad.


A simple understanding of an RSG file.

Every RSG has a particular set of itself and that cannot be changed. Changing it will cause the game to crash. So, there is a big limitation in editing the RSGs. Let us see how the tms and stadiums (loions) can be edited/added/deleted.

Pool games are added in the <pool> tags followed by the of games and the pool (ID).

For example, this tag represents that this is the first round and the pool has 6 matches. The IDs begin from 0 and so the first pool has the ID 0, second has the ID 1 and so on.

Quote:



<pool games="6" id="0">
</pool>




Similarly, if its a round robin stage, the tags used are <round>. <round> tags are useful in ues have format like the IPL.


How the games inside the <pool> and <round> tags are?

They are in the tags <game>.

Consider this example. This states that it is the first match, being played at the first loion, between the first and the second tm on 26th October, 2010 and is a day match.

Quote:



<game id="0" loion="0" hometm="0" awaytm="1" yr="2010" month="10" day="26" night="0" overs="2" />




How to get the tm IDs and Loion IDs?

This is the most important part. Before the start of the pools or rounds, the loions and the tms have to be mentioned.

Loions are in the <loions> tag. For example, if the loions are Barbados (Game index 34) and Adelaide (Game index 2), then the <loions> tage looks like this.

Quote:



<loions>
<loion id="0" alias="Barbados" Index="34" />
<loion id="1" alias="Adelaide" Index="2" />
</loions>




The ID can be of our choice but the Index is specific for ch stadium. Its the Index which identifies the stadium and not the alias.


Similarly for the tms. If the tms participating are Australia (Game index 0), Scotland (Game Index 61), South Africa (Game Index 30) and Netherlands (Game index 21), then the <tms> tag looks like this,

Quote:



<tms>
<tm id="0" alias="Australia" Index="0" />
<tm id="1" alias="Scotland" Index="61" />
<tm id="2" alias="South Africa" Index="30" />
<tm id="3" alias="Netherlands" Index="21" />
</tms>




The maximum we can do by editing an RSG is to edit the tms, stadiums, time and date.

Tms and stadiums can be edited through editing the contents of the <tms> and <loions> tags respectively and the time can be edited by change the "Night" booln value. Date can be edited by editing the "Day", "Month" and the "Yr" value in numerics.

Resources:

The RSG files

Quote:



The RSGs for various tournaments can be found from the 247th to the 271st rows of the fshlist




The Tms' Index s

Quote:



The Tms' Index s can be found in the "be2970b0ada8e42cf891ce60ffe69575.xml" file from data.gob.

For example:
The Index for Australia is 0.

<tm Index="0" TmName="Australia" TmNameShort="Australia" Abbreviation="AUS" LogoAbbreviation="AUS" StandardOfCricket="0" /> <!-- ID_AUSTRALIA -->




The Stadiums' Index s

Quote:



The Stadium Index s can be found in "20f6cf749d42dd0fe5f86519a095.xml" file from data.gob.

For example:
The Index for Auckland is 2

<stadium name="Adelaide" loion="adelaide" id="2" sky="1" ScoreboardType="0"/>




I know that it is very difficult to understand editing RSGs at one go, but trying it out again and again would make one understand it quickly. The possibilities of discovering new things from RSGs are endless.

If any doubts, feel free to post here.



NOTE: ch and every text of the tutorial belongs to Yudi, a member of PlanetCricket. I am just publishing for knowledge purposes, knowledge is free after all!

No comments:

Post a Comment