Oregon Trail high scores format

From ModdingWiki
Jump to navigation Jump to search
Oregon Trail high scores format
Format typeSaved game
Save locationsUnknown
Elements savedScore

High scores in The Oregon Trail are stored in the HISCORES.REC file. It is simply 10 names, fixed width, prefixed with a length byte.

Data Type Name Description
UINT8 Name Length The number of characters to read for the Name.
char[17] Name The name of this high score record.
10 records

Source Code


This FreeBASIC program will print all 10 of the high score names.

Dim As UByte StringLength
Dim As Integer Record
Dim As String ScoreName

Open "HISCORES.REC" For Binary As #1

For Record = 1 To 10
	Get #1, , StringLength
	ScoreName = Space(17)
	Get #1, , ScoreName
	Print Str(Record) + ".) " + Left(ScoreName, StringLength)
Next Record


This format was reverse engineered by TheAlmightyGuru. If you find this information helpful in a project you're working on, please give credit where credit is due. (A link back to this wiki would be nice too!)