Background Files: Difference between revisions

From Zenith
Jump to navigation Jump to search
Content added Content deleted
(Added basic outline)
 
(Added desciptions to the files located within backgrounds other than the bfres)
Line 5: Line 5:


=== 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 ===
Line 26: Line 26:


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

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

Revision as of 14:59, 17 March 2021

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.

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 contains 3 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 contains 2 other folders called Skeletal Animations and Texture SRT Animations which each contain the animation file(s) for the background in BFSKA and BFTXP formats respectively.

Camera

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