Jump to content

Profile Statistic (Dat File)

Recommended Posts

Recently I managed to obtain all Stronghold Legends trophies. The most annoying one for me was, without a doubt, the "10 days in-game" award. I tried to poke around the dat file for my game profile but couldn't figure it out, so instead I just left the game on overnight and while at work for a few weeks. Feels great to finally have all the awards, but I still want to figure out the dat file.

Since in-game time is the one thing I really wanted to work out, I have decided to start there. My efforts so far have been to use two profiles. This way I can read my in-game time for one profile, and ensure it does not change by using the other profile to exit the game. Then I examined the dat file with a hex editor to look for a number that would equal the game time. This gave me no results.

I looked for hexadecimal values that would equal my in game:

  • seconds
  • seconds + minutes (converted to seconds)
  • seconds + minutes + hours (converted to seconds)
  • seconds + minutes + hours + days (converted to seconds)
  • hours
  • days
  • days + hours (converted to hours)

None of these gave me any results. My worry is that the dat file is not pure binary data of profile stats, but possibly compressed. Still, I don't want to give up so I will change my approach. I will check in-game time for one profile, then make a copy of the dat file at that state. Then increase in-game time, and make another copy of the dat file. Then I intend to compare the files and see if the increase in game time has resulted in an equivalent increase in some value, hopefully equaling the difference in seconds. Provided I find an easily identified change, I intend to change it directly and then see how it affects profile statistics in-game.

EDIT: Forgot to mention, I'm doing this on the Steam Edition. I don't know if there is a big difference between the editions, but for now I don't feel like digging out my old SHL disc.

Edited by Daerandin

Share this post

Link to post
Share on other sites

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

  • Similar Topics

    • Problem in Uploading Download File

      Im done working on stronghold crusader night mod and its ready for upload now but 4 days ago I tried to upload it to the downloads hub I gave all the info and tap on upkosd buttom it showed a loading icon in the screen I  thinked: maybe because it wad 62mb sized its uploading now but one hour later it was still in that loading screen why? Pls help me I worked really hard on the mod I want it to? Be released with no problems

      in Site Questions and Support

    • Modding With Any Image File

      Can I file with any image file that I want to use on Stronghold 2? I want to know what to do step by step to make the armoAle to save it correctly. When I use the alpha channels nothing seems to work.

      in Stronghold 2

    • Configuration/settings file

      I know it is still early in some countries, so good morning/afternoon/evening! I've tried browsing Internet for any information on how to edit (if possibel at all) some SH 2 files so as to adjust some economy buildings to produce more. (Sorry, if there is already an answer somewhere on the forum) For example, I personnaly don't like it when a candle worker only makes a couple candles at a time, which is so little!(Often there is not enough space on the map to provide optimal production to mainta

      in Stronghold 2

    • Server error when viewing user profile.

      I get the following error when attempting to view my profile.   The server encountered an internal error or misconfiguration, we've been unable to display the page you requested. We apologise for the inconvenience this may have caused, use the link below to try again, alternatively you can return to the board index. Errno [ 8 ]: Undefined variable: panther_users in /home/path/to/profile.php on line 1833

      in Site Questions and Support

    • Unable to submit file

      Hello,you can help me? I can't upload my custom map here.I'm try; winrar winzip 7zip   But when i try upload coming this error message; ''you are only allowed to upload zip archive''

      in Site Questions and Support

  • Create New...