Difference between revisions of ".ymap"
Jump to navigation
Jump to search
() |
|||
Line 3: | Line 3: | ||
'''.ymap''' is compressed file format which is used as map system placement. Since GTA5, this format has XML structure. | '''.ymap''' is compressed file format which is used as map system placement. Since GTA5, this format has XML structure. | ||
− | |||
− | + | == CMapData == | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | {{Research}} | |
− | + | CMapData is a parent section. It includes file description, flags and entities | |
− | + | <name> </name> | |
− | |||
− | |||
− | |||
− | |||
− | |||
This tag is used to put the name of ymap file. e.g: | This tag is used to put the name of ymap file. e.g: | ||
Line 31: | Line 18: | ||
File must be named as bt1_01.ymap | File must be named as bt1_01.ymap | ||
− | + | <parent></parent> | |
− | + | Parent section is used to link _strm, _long or other subfiles to the main ymap file. Main ymap file links to .ytyp file that include LOD objects only. | |
− | <parent> | + | <parent>bt1_lod</parent> |
− | + | It links bt1_01.ymap to bt1_lod.ytyp. | |
− | + | <Flags Value> | |
− | It's unknown what | + | It's unknown what flags do. Some external formats uses value "2" and other - "0". |
− | == <entities> == | + | === <entities> === |
This section enumerate objects and sections in ymap file. | This section enumerate objects and sections in ymap file. | ||
Line 62: | Line 49: | ||
<hash_A687AC89> - unknown | <hash_A687AC89> - unknown | ||
<hash_2691F019> - unknown | <hash_2691F019> - unknown | ||
− | |||
− | |||
− | |||
− | |||
− | {{N|V}} | + | |
+ | |||
+ | ====<extensions>==== | ||
+ | |||
+ | This subsection includes other additional sections. | ||
+ | |||
+ | ====<CExtensionDefLightEffect>==== | ||
+ | |||
+ | {{incomplete}} | ||
+ | |||
+ | {{N|V}} | ||
+ | [[Category:File Formats]] |
Revision as of 16:26, 22 October 2016
.ymap is compressed file format which is used as map system placement. Since GTA5, this format has XML structure.
Contents
CMapData
CMapData is a parent section. It includes file description, flags and entities
<name> </name>
This tag is used to put the name of ymap file. e.g:
<name>bt1_01</name>
File must be named as bt1_01.ymap
<parent></parent>
Parent section is used to link _strm, _long or other subfiles to the main ymap file. Main ymap file links to .ytyp file that include LOD objects only.
<parent>bt1_lod</parent>
It links bt1_01.ymap to bt1_lod.ytyp.
<Flags Value>
It's unknown what flags do. Some external formats uses value "2" and other - "0".
<entities>
This section enumerate objects and sections in ymap file.
<CEntityDef>
<archetypeName> - Model name hash <flags value/> - Flag object <guid value> <position x="" y="" z=""> - object coordinates <rotation x="" y="" z="" w=""> - object rotation <hash_9CA32637> - unknown <hash_10FB7C42> - unknown <parentIndex value="" /> - Lod Index (?) <lodDist value="" /> - Lod Distance <hash_CA974BCD> - unknown <hash_6C8F1715> - unknown <hash_A687AC89> - unknown <hash_2691F019> - unknown
<extensions>
This subsection includes other additional sections.
<CExtensionDefLightEffect>
This section is incomplete. You can help by fixing and expanding it.
Grand Theft Auto V | |
---|---|
File Formats | .awc • .dat • .gfx • .gxt2 • .ide • .meta/.ymt/.xml • .mrf • .patch • .rpf • .ybn/.ybd • .ycd • .ydd • .ydr • .yed • .yfd • .yft • .yld • .ymap • .ymf • .ynd • .ynv • .ypdb • .ysc • .ytd • .ytyp • .yvr |
Documentation | Bink Video • Native functions • Weather types |
Tools | OpenIV • GIMS Evo • CodeWalker |
Multiplayer | GTAForums: GTA Online |
Useful links | Community portal • Discussion forums • GTA V Modding Forum • GTA5-Mods • Native Functions Database (alloc8or) |