benilla-re systems structs docs

s_textCameraSettingsTxt

global · unassigned

Address
0x84fa00 · 20 bytes, up to 0x84fa13
Type
char[20]
Meaning
Holds the string "camera-settings.txt", the file name the camera settings load from
Confidence
verified, proof one
Finding
uicamera/view#the-settings-file

Finding: The settings file in uicamera: the camera's saved view

The camera saves cameraDistance and cameraPitch to camera-settings.txt in the character's folder, WTF\Account\<account>\<realm>\<character>\. The file has exactly two lines, the distance first, each ended by a line feed alone: cameraDistance %f and cameraPitch %f, six decimals. The distance is the camera's target distance, so it is the zoom the player chose and never the distance a wall pulled the camera in to. The pitch is written in degrees. The camera reads the file when it is made and writes it when it is destroyed.

The derivation is in the doc.