Difference between revisions of "Mario Kart Wii File Format Comparison"

From MK8
Jump to navigation Jump to search
m
m
Line 1: Line 1:
This page compares the file formats and file structure of '''[[Mario Kart 8]]''' and '''[[mkw:Mario Kart Wii|Mario Kart Wii]]'''.
+
This page compares the file formats and file structure of '''[[Mario Kart 8]]''' and '''[[Mario Kart Wii]]'''.
  
Fundamentally, [[Mario Kart 8]] and [[mkw:Mario Kart Wii|Mario Kart Wii]] are very similar in their use of files and file formats. This may indicate that some of the codebase is shared between the two games.
+
Fundamentally, [[Mario Kart 8]] and [[Mario Kart Wii]] are very similar in their use of files and file formats. This may indicate that some of the codebase is shared between the two games.
  
 
__TOC__
 
__TOC__
Line 7: Line 7:
 
= Courses =
 
= Courses =
  
The courses in [[Mario Kart 8]] are each stored as a subdirectory of the [[Filesystem/content/course|/vol/content/course]] directory. In [[mkw:Mario Kart Wii|Mario Kart Wii]] each course is stored as a compressed [[mkw:U8 (File Format)|U8 Archive]] in the [[mkw:Filesystem/Race/Course|/Race/Course]] directory. The contents of these directories/archives are quite similar.
+
The courses in [[Mario Kart 8]] are each stored as a subdirectory of the [[Filesystem/content/course|/vol/content/course]] directory. In [[Mario Kart Wii]] each course is stored as a compressed [[:mkw:U8 (File Format)|U8 Archive]] in the [[:mkw:Filesystem/Race/Course|/Race/Course]] directory. The contents of these directories/archives are quite similar.
  
 
{| class=wikitable
 
{| class=wikitable
Line 15: Line 15:
 
|-
 
|-
 
| [[course_muunt.byaml]]
 
| [[course_muunt.byaml]]
| rowspan="2" | [[mkw:KMP (File Format)|course.kmp]]
+
| rowspan="2"| [[:mkw:KMP (File Format)|course.kmp]]
| rowspan="2" | These files describe control information about courses such as the lap path. In Mario Kart 8, battles occur on race tracks, hence the need for two separate files, whereas battle tracks are dedicated tracks in Mario Kart Wii, so they also use course.kmp.
+
| rowspan="2"| These files describe control information about courses such as the lap path. In Mario Kart 8, battles occur on race tracks, hence the need for two separate files, whereas battle tracks are dedicated tracks in Mario Kart Wii, so they also use course.kmp.
 
|-
 
|-
 
| [[battle_muunt.byaml]]
 
| [[battle_muunt.byaml]]
 
|-
 
|-
 
| [[KCL (File Format)|course.kcl]]
 
| [[KCL (File Format)|course.kcl]]
| [[mkw:KCL (File Format)|course.kcl]]
+
| [[:mkw:KCL (File Format)|course.kcl]]
 
| The KCL format has changed between Mario Kart 8 and Mario Kart Wii, but the purpose remains the same.
 
| The KCL format has changed between Mario Kart 8 and Mario Kart Wii, but the purpose remains the same.
 
|-
 
|-
 
| [[BFRES (File Format)|course_model.szs]]
 
| [[BFRES (File Format)|course_model.szs]]
| [[mkw:BRRES (File Format)|course_model.brres]]
+
| [[:mkw:BRRES (File Format)|course_model.brres]]
| The course model in Mario Kart 8 is a [[mkw:YAZ0 (File Format)|YAZ0]] compressed [[BFRES (File Format)|BFRES file]]. In Mario Kart Wii, it is a [[mkw:BRRES (File Format)|BRRES file]] which is not compressed as the whole course is. Mario Kart 8 does not include simplified course models for multiplayer as Mario Kart Wii does.
+
| The course model in Mario Kart 8 is a [[:mkw:YAZ0 (File Format)|YAZ0]] compressed [[BFRES (File Format)|BFRES file]]. In Mario Kart Wii, it is a [[:mkw:BRRES (File Format)|BRRES file]] which is not compressed as the whole course is. Mario Kart 8 does not include simplified course models for multiplayer as Mario Kart Wii does.
 
|-
 
|-
 
| {{Unknown|-}}
 
| {{Unknown|-}}
| [[mkw:BRRES (File Format)|vrcorn_model.brres]]
+
| [[:mkw:BRRES (File Format)|vrcorn_model.brres]]
 
| The skybox for Mario Kart 8 is simply an object instantiated by the muunt.byaml file like any other. In Mario Kart Wii it was a special model file in the course folder. The objflow.byaml file has a flag indicating which objects are skybox models (VR) which may indicate that they are treated specially.
 
| The skybox for Mario Kart 8 is simply an object instantiated by the muunt.byaml file like any other. In Mario Kart Wii it was a special model file in the course folder. The objflow.byaml file has a flag indicating which objects are skybox models (VR) which may indicate that they are treated specially.
 
|-
 
|-
 
| [[BFLIM (File Format)|course_maptexture.bflim]]
 
| [[BFLIM (File Format)|course_maptexture.bflim]]
| [[mkw:BRRES (File Format)|map_model.brres]]
+
| [[:mkw:BRRES (File Format)|map_model.brres]]
 
| The minimap in Mario Kart 8 is a [[BFLIM (File Format)|BFLIM image file]]. In Mario Kart Wii it is a 3D model. The change from a model to an image may be down to the map now being displayed on the GamePad.
 
| The minimap in Mario Kart 8 is a [[BFLIM (File Format)|BFLIM image file]]. In Mario Kart Wii it is a 3D model. The change from a model to an image may be down to the map now being displayed on the GamePad.
 
|-
 
|-
Line 43: Line 43:
 
Mario Kart 8 has a global store for objects which is a change from the Mario Kart Wii system in which the files necessary for objects are stored in each track that requires them (leading to duplication). The objects are stored in the directory [[Filesystem/content/mapobj|/vol/content/mapobj]] with one subdirectory per object. Each object may have one or more [[BFRES (File Format)|BFRES models]], zero or more [[KCL (File Format)|KCL collision model]] and other files such as a [[BARS (File Format)|BARS archive]].
 
Mario Kart 8 has a global store for objects which is a change from the Mario Kart Wii system in which the files necessary for objects are stored in each track that requires them (leading to duplication). The objects are stored in the directory [[Filesystem/content/mapobj|/vol/content/mapobj]] with one subdirectory per object. Each object may have one or more [[BFRES (File Format)|BFRES models]], zero or more [[KCL (File Format)|KCL collision model]] and other files such as a [[BARS (File Format)|BARS archive]].
  
In both Mario Kart 8 and Mario Kart Wii, an '''objflow''' file exists which describes object metadata such as simple collision properties and asset names. In Mario Kart 8 this is [[Filesystem/content/data|/vol/content/data]]/[[objflow.byaml]], which is a [[BYAML (File Format)|BYAML file]]. In Mario Kart Wii this is [[mkw:Filesystem/Race/Common.szs/ObjFlow.bin|/Race/Common.szs/ObjFlow.bin]] and is a binary data file.
+
In both Mario Kart 8 and Mario Kart Wii, an '''objflow''' file exists which describes object metadata such as simple collision properties and asset names. In Mario Kart 8 this is [[Filesystem/content/data|/vol/content/data]]/[[objflow.byaml]], which is a [[BYAML (File Format)|BYAML file]]. In Mario Kart Wii this is [[:mkw:Filesystem/Race/Common.szs/ObjFlow.bin|/Race/Common.szs/ObjFlow.bin]] and is a binary data file.
  
 
[[Category:File Format]]
 
[[Category:File Format]]

Revision as of 21:07, 11 August 2014

This page compares the file formats and file structure of Mario Kart 8 and Mario Kart Wii.

Fundamentally, Mario Kart 8 and Mario Kart Wii are very similar in their use of files and file formats. This may indicate that some of the codebase is shared between the two games.

Courses

The courses in Mario Kart 8 are each stored as a subdirectory of the /vol/content/course directory. In Mario Kart Wii each course is stored as a compressed U8 Archive in the /Race/Course directory. The contents of these directories/archives are quite similar.

Mario Kart 8 Mario Kart Wii Description
course_muunt.byaml course.kmp These files describe control information about courses such as the lap path. In Mario Kart 8, battles occur on race tracks, hence the need for two separate files, whereas battle tracks are dedicated tracks in Mario Kart Wii, so they also use course.kmp.
battle_muunt.byaml
course.kcl course.kcl The KCL format has changed between Mario Kart 8 and Mario Kart Wii, but the purpose remains the same.
course_model.szs course_model.brres The course model in Mario Kart 8 is a YAZ0 compressed BFRES file. In Mario Kart Wii, it is a BRRES file which is not compressed as the whole course is. Mario Kart 8 does not include simplified course models for multiplayer as Mario Kart Wii does.
- vrcorn_model.brres The skybox for Mario Kart 8 is simply an object instantiated by the muunt.byaml file like any other. In Mario Kart Wii it was a special model file in the course folder. The objflow.byaml file has a flag indicating which objects are skybox models (VR) which may indicate that they are treated specially.
course_maptexture.bflim map_model.brres The minimap in Mario Kart 8 is a BFLIM image file. In Mario Kart Wii it is a 3D model. The change from a model to an image may be down to the map now being displayed on the GamePad.
This list is incomplete.

Objects

Mario Kart 8 has a global store for objects which is a change from the Mario Kart Wii system in which the files necessary for objects are stored in each track that requires them (leading to duplication). The objects are stored in the directory /vol/content/mapobj with one subdirectory per object. Each object may have one or more BFRES models, zero or more KCL collision model and other files such as a BARS archive.

In both Mario Kart 8 and Mario Kart Wii, an objflow file exists which describes object metadata such as simple collision properties and asset names. In Mario Kart 8 this is /vol/content/data/objflow.byaml, which is a BYAML file. In Mario Kart Wii this is /Race/Common.szs/ObjFlow.bin and is a binary data file.