Background Files: Difference between revisions

From Zenith
Jump to navigation Jump to search
Content added Content deleted
(Added basic outline)
 
(STB folders note)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Background files are files that the game uses to load the models, textures, and shaders for the backgrounds. These files are located in the distant_view folder.
Most background related files are located in the <code>[[Filesystem/content/Common/distant view|distant_view]]</code> folder.


== Filesystem ==
== Filesystem ==
The main file is a .szs, which is a Yaz0 compressed SARC file, and it can contain the following files:
The main file is a <code>.szs</code>, which is a Yaz0 compressed '''SARC''' file, and it can contain the following subfiles:


=== OPT ===
=== OPT ===
The <code>.opt</code> determines which particle and sound effects are applied to the background.
<code>.opt</code> information


=== BAGLDoF ===
=== BAGLDoF ===
The <code>.bagldof</code> determines to what extent a distant objects within the background should be blurred.
<code>.bagldof</code> information


=== BAGLEnv ===
=== BAGLEnv ===
The <code>.baglenv</code> applies a fog effect to the background, allowing for distant objects to be colored differently from close objects within the background.
<code>.baglenv</code> information


=== SHARC ===
=== SHARC ===
<code>.sharc</code> information
The <code>.sharc</code> is a shaders archive.


=== SHARCFB ===
=== SHARCFB ===
<code>.sharcfb</code> information
The <code>.sharcfb</code> is a shaders archive.


=== BFRES ===
=== BFRES ===
The <code>.bfres</code> may contain up to 3 relevant folders<ref name=":0">This refers Switch Toolbox's pseudo-folders that simply organize files by type, those are not real folders that exist inside the BFRES.</ref>:
The <code>.bfres</code> contains 3 folders:
* A '''Models''' folder, which contains the model(s) for the background in [http://mk8.tockdom.com/wiki/FMDL_(File_Format) BFMDL] format.
* A '''Models''' folder<ref name=":0" />, which contains the model(s) for the background in [http://mk8.tockdom.com/wiki/FMDL_(File_Format) BFMDL] format.
* A '''Textures''' folder, which contains the texture(s) for the background in [http://mk8.tockdom.com/wiki/FTEX_(File_Format) BFTEX] format.
* A '''Textures''' folder<ref name=":0" />, which contains the texture(s) for the background in [http://mk8.tockdom.com/wiki/FTEX_(File_Format) BFTEX] format.
* An '''Animations''' folder, which contains 2 other folders called '''Skeletal Animations''' and '''Texture SRT Animations''' which each contain the animation file(s) for the background in [http://mk8.tockdom.com/wiki/FSKA_(File_Format) BFSKA] and [http://mk8.tockdom.com/wiki/FTXP_(File_Format) BFTXP] formats respectively.
* An '''Animations''' folder<ref name=":0" />, which may contain up to 4 other relevant folders<ref name=":0" /> for '''Skeletal Animations ([http://mk8.tockdom.com/wiki/FSKA_(File_Format) BFSKA]),''' '''Texture SRT Animations''', '''Texture Pattern Animations ([http://mk8.tockdom.com/wiki/FTXP_(File_Format) BFTXP])''' and '''Color Animations.'''


=== Camera ===
=== Camera ===
<code>.camera</code> information
The <code>.camera</code> determines the background's offset and scroll speed.

[[Category:Documentation]]
[[Category:Documentation]]

Latest revision as of 21:03, 13 October 2021

Most background related files are located in the distant_view folder.

Filesystem[edit | edit source]

The main file is a .szs, which is a Yaz0 compressed SARC file, and it can contain the following subfiles:

OPT[edit | edit source]

The .opt determines which particle and sound effects are applied to the background.

BAGLDoF[edit | edit source]

The .bagldof determines to what extent a distant objects within the background should be blurred.

BAGLEnv[edit | edit source]

The .baglenv applies a fog effect to the background, allowing for distant objects to be colored differently from close objects within the background.

SHARC[edit | edit source]

The .sharc is a shaders archive.

SHARCFB[edit | edit source]

The .sharcfb is a shaders archive.

BFRES[edit | edit source]

The .bfres may contain up to 3 relevant folders[1]:

  • A Models folder[1], which contains the model(s) for the background in BFMDL format.
  • A Textures folder[1], which contains the texture(s) for the background in BFTEX format.
  • An Animations folder[1], which may contain up to 4 other relevant folders[1] for Skeletal Animations (BFSKA), Texture SRT Animations, Texture Pattern Animations (BFTXP) and Color Animations.

Camera[edit | edit source]

The .camera determines the background's offset and scroll speed.

  1. 1.0 1.1 1.2 1.3 1.4 This refers Switch Toolbox's pseudo-folders that simply organize files by type, those are not real folders that exist inside the BFRES.