PREF.DAT (Witchaven)

From ModdingWiki
Jump to: navigation, search
PREF.DAT (Witchaven)
Format typeConfiguration
StoringSound
Games

The Witchaven PREF.DAT contains settings that can be changed within the game (as opposed to in the configuration utility), and is written to as well as read from in the main game EXE.

File structure

Offset Type Description
0 INT16 Extra gore on (1) / off (0)
2 INT16 brightness ! Explain, valid range?
4 INT16 gbrightness ! Explain, valid range?
6 INT16 Sound effects volume ! Valid range?
8 INT16 Music volume ! Valid range?
10 INT16 Difficulty setting (1-4)

Source

The Witchaven source code was consulted.