Jump to content


UNITREF.DAT check experience counters while running?

  • Please log in to reply
1 reply to this topic

#1 darkrayden



  • Forum Members
  • Pip
  • 0 posts

Posted 25 February 2011 - 08:21 AM


I'd like to do a small program to see whether experience counts have already been maximized for the soldiers being in battle.
Unfortunately it seems the file will only be created and all further things are only present in the RAM.
Can anyone confirm?

Does anyone maybe know a possibility?

Thanks in advance.

Bye for now


#2 NKF



  • [Global Moderators]
  • PipPipPipPipPipPip
  • 4,798 posts

Posted 27 February 2011 - 04:44 PM

The unitref.dat files are only created when the map is generated in the Misdat folder and when you save the game.

To get the data during run-time, you might have to build something like Seb76's loader that works on top of the game ands works on the data in RAM.

Or perhaps just save the game whenever you want to check the experience data and alt-tab out to a separate program that reads and shows this data. It's not something that works at run-time, but I guess it's the next best thing.


Edited by NKF, 27 February 2011 - 04:47 PM.

Lord High Generalissimo Ruler Supreme of Norm's Anti Pedant Society (NAPS).

Number of members: 1