Oblivion Mod talk:Save File Format/QUST

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

stageNum[edit]

From some personal research I found that the value of stageNum was actually a uint8/ubyte. I don't feel sufficently authoritative to edit the spec, though - I'd appreciate it if one of the reverse-engineers responsible for the project would check this. 68.226.102.134 03:09, 3 June 2013 (GMT)

I found the same thing, at least when looking at the save files from a few different points in one playthrough. If I interpret stageNum as a 16-bit integer, sometimes parsing the rest of the record doesn't make sense, but if interpret it as an 8-bit integer, parsing the rest of the record always makes sense. I am not one of the reverse engineers, but I went ahead and made the edit. (Just in case you're checking back after 8+ years.) 73.3.58.200 09:31, 7 September 2021 (UTC)

Patterns for EntryVal in Quest Stages data[edit]

Looking through my own save files, I'm not sure that stage.stageEntry.EntryVal is a float. The values I see would be a really tiny number if interpreted as a float - around 6.5 x 10-38. There is kind of a pattern that I wanted to document, though. About 30% of the time, all four bytes are zero.

The other 70% of the time, the first byte is always 01. The second byte can be b1, b2, or b3 (24%, 42%, and 4% of the total, respectively). The third byte is either 00 or 01 (36% and 34% of total), and the fourth byte can be nearly anything from 00 to ff (213 out of 256 possible seen). 73.3.58.200 10:00, 7 September 2021 (UTC)