Difference between pages "Help:Marking Articles" and "Type Group Instance"

From SC4D Encyclopaedia
(Difference between pages)
Jump to navigation Jump to search
sc4e>Freedo50
(Updated templates and info)
 
m (10 revisions imported)
 
Line 1: Line 1:
<noinclude>Sometimes you will make a mistake and create a page with a bad name, or you will spot a mis-spelled article title. In these situations, you should mark the article with the appropriate template, which will automatically place the article into one of the [[Requests| requests categories]]. Once there is reasonable certainty that the problem has been alleviated, then the template can be removed.
+
The '''Type Group Instance''', typically abbreviated '''TGI''', is the sorting format of the Database Packed File (DBPF) archive, and is used to identify, reference, and link files within [[DBPF]] files.  A file's TGI consists of three, eight-digit [[hexadecimal]] numbers, the [[Type ID]], [[Group ID]], and [[Instance ID]], respectively. As TGI's are relatively unique to a particular object, they are the preferred method for referencing game objects, which might have multiple names in a variety of languages or naming conventions.  Additionally, objects sometimes have very similar names, making the TGI an ideal way to differentiate between the two.
  
The following table details all of the templates currently available on this wiki:
+
While efforts are generally made to prevent two objects from having the same TGI, this still sometimes occurs, and can cause conflicts or bugs in the game, particularly when it happens with buildings, props, or textures.  Sometimes, particularly in the case of mods, it is desired to give an object the same TGI as another, so that one will override the other.  Typically, this involves creating a mod that has the same TGI as a Maxis object that came with the game, so that the custom mod will overwrite the default settings.
  
</noinclude>{| border="1" cellpadding="3" cellspacing="0" width=100%
+
An object's TGI is commonly written in full as:
! style="background:#1e90ff;"| Template Name
 
! style="background:#1e90ff;"| What you type
 
! style="background:#1e90ff;"| What you see
 
! style="background:#1e90ff;"| Variables
 
|-
 
| {{tll|Review}}
 
| <nowiki>{{review}}</nowiki>
 
|
 
{{request
 
| type = notice
 
| image = Wiki_review.png
 
| headline = This document needs to be reviewed for completeness
 
| text = If you have knowledge on this subject, please review the current content and make comments on the [{{SERVER}}{{localurl:{{NAMESPACE}}_talk:{{PAGENAME}}}} discussion] page.
 
| category = Review_Requests
 
}}
 
| N/A
 
|-
 
| {{tll|Expand}}
 
| <nowiki>{{expand}}</nowiki>
 
|
 
{{request
 
| type = notice
 
| image = Wiki_incomplete.png
 
| headline = This document is incomplete or unfinished
 
| text = If you have knowledge on this subject, please help out by [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} editing this page]. Further information may be found on the [{{SERVER}}{{localurl:{{NAMESPACE}}_talk:{{PAGENAME}}}} discussion] page.
 
| category = Expansion Requests
 
}}
 
| N/A
 
|-
 
| {{tll|Stub}}
 
| <nowiki>{{stub|extracontent}}</nowiki>
 
| {{request
 
| type = notice
 
| image = Wiki_stub.png
 
| headline =
 
| text = '''This article is a stub. You can help by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it]. '''
 
| category = Articles_with_stub_sections
 
}}
 
| '''extracontent''': any information relating to what particular information is required.
 
|-
 
| {{tll|Sectstub}}
 
| <nowiki>{{sectstub|extracontent}}</nowiki>
 
| {{request
 
| type = notice
 
| image = Wiki_stub.png
 
| headline =
 
| text = <span class="plainlinksneverexpand">'''Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this section] by expanding it{{#if:|<br/>with: {{{extracontent}}}}}.''' Further information might be found on the [[{{TALKPAGENAME}}|talk page]].</span>
 
| category = Articles_with_stub_sections
 
}}
 
| '''extracontent''': any information relating to what particular information is required.
 
|-
 
| {{tll|Inappropriate tone}}
 
| <nowiki>{{inappropriate tone}}</nowiki>
 
| {{request
 
| type = warning
 
| image =
 
| headline = The tone, or writing style, of this article does not adhere to style guidelines
 
| text = Specific concerns may be found on the [{{SERVER}}{{localurl:{{NAMESPACE}}_talk:{{PAGENAME}}}} discussion] page. See Wikipedia's [[wikipedia:Guide_to_writing_better_articles| guidelines on article style]] for suggestions.
 
| category = Tone_Requests
 
}}
 
| N/A
 
|-
 
| {{tll|Wikify}}
 
| <nowiki>{{wikify}}</nowiki>
 
| {{request
 
| type = warning
 
| image =
 
| headline = This article needs to be wikified
 
| text = Specific concerns may be found on the [{{SERVER}}{{localurl:{{NAMESPACE}}_talk:{{PAGENAME}}}} discussion] page.
 
| category = Wikify_Requests
 
}}
 
| N/A
 
|-
 
| {{tll|Cleanup}}
 
| <nowiki>{{cleanup}}</nowiki>
 
| {{request
 
| type = warning
 
| image = Wiki_clean.png
 
| headline = This article needs cleanup to comply with [[Wikipedia:Manual_of_style| quality standards]]
 
| text = Specific concerns may be found on the [{{SERVER}}{{localurl:{{NAMESPACE}}_talk:{{PAGENAME}}}} discussion] page. See the [[Wikipedia:Manual_of_style| Wikipedia Manual of Style]] for suggestions.
 
| category = Cleanup_Requests
 
}}
 
| N/A
 
|-
 
| {{tll|Rename}}
 
| <nowiki>{{rename|newname|reason}}</nowiki>
 
| {{request
 
| type = info
 
| image =
 
| headline = It has been suggested that this article should be renamed to {{{newname}}}
 
| text = The current title of this article is inappropriate because {{{reason}}}. See the [{{SERVER}}{{localurl:{{NAMESPACE}}_talk:{{PAGENAME}}}} discussion] page for more info.
 
| category = Pending_Rename
 
}}
 
| '''rename''': your suggestion for the new name of the article
 
<br>'''reason''': why you think the article should be renamed
 
|-
 
| {{tll|Remove}}
 
| <nowiki>{{remove|reason}}</nowiki>
 
| {{request
 
| type = severe
 
| image =
 
| headline = This document is marked to be removed because {{{reason}}}
 
| text = If you edit this page, your changes may be lost. Further information may be found on the [{{SERVER}}{{localurl:{{NAMESPACE}}_talk:{{PAGENAME}}}} discussion] page.
 
| category = Removal_Requests
 
}}
 
| '''reason''': why you think the article is no longer necessary
 
|}<noinclude>
 
  
[[Category:Maintenance]][[Category:Help]]</noinclude>
+
AAAAAAAA BBBBBBBB CCCCCCCC
 +
 
 +
where "AAAAAAAA" is the Type ID, "BBBBBBBB" is the Group ID, and "CCCCCCCC" is the Instance ID.
 +
 
 +
During certain modding operations, a [[TGI File]] may be generated.  These are not native to the game and serve no purpose in modding SC4.
 +
 
 +
 
 +
Maxis official name for TGI is "Persistant Resource Key", and the debug symbols present on the Mac version refer to TGI data as GZPersistResourceKey
 +
 
 +
 
 +
See also:
 +
* [[InstanceFormats]]
 +
 
 +
[[Category:Modding]]

Revision as of 22:40, 3 August 2019

The Type Group Instance, typically abbreviated TGI, is the sorting format of the Database Packed File (DBPF) archive, and is used to identify, reference, and link files within DBPF files. A file's TGI consists of three, eight-digit hexadecimal numbers, the Type ID, Group ID, and Instance ID, respectively. As TGI's are relatively unique to a particular object, they are the preferred method for referencing game objects, which might have multiple names in a variety of languages or naming conventions. Additionally, objects sometimes have very similar names, making the TGI an ideal way to differentiate between the two.

While efforts are generally made to prevent two objects from having the same TGI, this still sometimes occurs, and can cause conflicts or bugs in the game, particularly when it happens with buildings, props, or textures. Sometimes, particularly in the case of mods, it is desired to give an object the same TGI as another, so that one will override the other. Typically, this involves creating a mod that has the same TGI as a Maxis object that came with the game, so that the custom mod will overwrite the default settings.

An object's TGI is commonly written in full as:

AAAAAAAA BBBBBBBB CCCCCCCC

where "AAAAAAAA" is the Type ID, "BBBBBBBB" is the Group ID, and "CCCCCCCC" is the Instance ID.

During certain modding operations, a TGI File may be generated. These are not native to the game and serve no purpose in modding SC4.


Maxis official name for TGI is "Persistant Resource Key", and the debug symbols present on the Mac version refer to TGI data as GZPersistResourceKey


See also: