Background Files: Difference between revisions

From Zenith
Jump to navigation Jump to search
Content added Content deleted
(Added desciptions to the files located within backgrounds other than the bfres)
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>distant_view</code> folder.


== Filesystem ==
== Filesystem ==
Line 20: Line 20:


=== BFRES ===
=== BFRES ===
The <code>.bfres</code> contains 3 folders:
The <code>.bfres</code> may contain up to 3 relevant 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, 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, 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, which may contain up to 4 other relevant folders 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 ===

Revision as of 20:56, 13 October 2021

Most background related files are located in the distant_view folder.

Filesystem

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

OPT

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

BAGLDoF

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

BAGLEnv

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

SHARC

The .sharc is a shaders archive.

SHARCFB

The .sharcfb is a shaders archive.

BFRES

The .bfres may contain up to 3 relevant folders:

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

Camera

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