Jump to content

Can you Edit "highscores.dat"

Recommended Posts

Hi all! Do you know if it is possible to edit "highscores.dat" (the log file that shows the tick of the scenario list that you finished the scenario.)

Since I have entered some wrong names/ didn't enter one.........the lines in the list appears as "The scenario is finished by ???" So I wonder is there a way that I can I edit it?


Thank you!

Edited by andy55699
Link to comment
  • 3 years later...

I had to figure this out recently, since I didn't realize you need to enter a name immediately when the scenario completion window appears. If you want to add or change the name that appears for completed scenarios, do the following:

  1. If you don't already have one, install a hex file editor. Search the web for a hex file editor for your operating system. I have macOS and installed Hex Fiend.
  2. Open OpenRCT2, click Game tools (red toolbox), then click Open custom content folder.
  3. In the folder that opens, find highscores.dat.
  4. Create a copy of highscores.dat in case you need to revert back to the original.
  5. Open highscores.dat with the hex file editor. You should see something like the attached image. The hex data is on the left, and the plain text is on the right. You may need to change some display settings in the hex file editor.
  6. Scan the plain text and note where you see sc0.sc4, sc1.sc4, sc2.sc4, and so on. These are the scenarios you've completed, followed by nonsensical information about each scenario. I don't know how to interpret all of the information, but at least some of it corresponds to the company value at the time of completion.
  7. Note how there's a single space after each sc#.sc4, followed by the existing name you entered when the scenario was completed (if you entered a name), followed by another space, followed by additional nonsensical information. If you didn't enter a name, you'll only see two spaces after sc#.sc4.
  8. Find the scenario you want to add or edit the name for. Place the blinking cursor immediately after the first space following sc#.sc4. For example: sc0.sc4[existing space]enter your name here[existing space]additional nonsensical information. Do not add or delete any spaces, or change anything else in the file, since I don't know how it works and you might break it. In the attached image, you can see five completed scenarios (sc0.sc4 through sc4.sc4), each followed by a space, followed by a name (Panamint Valley), followed by another space, followed by the additional nonsensical information.
  9. Save the file.
  10. Restart OpenRCT2.


Edited by PanamintValley
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...