How do I edit save ver?

  • Videogamer555
    22nd May 2012 Member 0 Permalink

    I have just made a save file CPS file, in the Beta version of TPT. I want to use it in the previous version (that is the release, not Beta). Just copying the file to the save folder of my release-version of TPT tells me that it's a save from a later version (Beta is at 79.2 but release is only at 78.1) yet I have not used ANY feature or element that isn't already in the release version, so if I can edit the version number of the save file I SHOULD be able to get it to load in the release-version of TPT. Where in the save file will I need to use a hex editor to set it to the current release version 78.1 (instead of Beta 79.2)?

  • mniip
    22nd May 2012 Developer 0 Permalink
    byte #5
  • Videogamer555
    23rd May 2012 Member 0 Permalink

    HOw is the number handled in that byte? 79.2 could correspond to 792 but that number is bigger than 255, and the max value of a byte is 255. 79.2 is smaller than one byte, but a byte value isn't a floating-point value so that wouldn't work either. Please explain the way the version number is stored. Thanks.

  • vanquish349
    23rd May 2012 Member 0 Permalink
    @Videogamer555 (View Post)
    It doesn't take into account minor version, just major.
  • Videogamer555
    23rd May 2012 Member 0 Permalink

    But a save from 79.2 won't work with 79.1, so it must be stored in the save SOMEHOW.

  • Simon
    23rd May 2012 Administrator 0 Permalink

    @Videogamer555 (View Post)

     No, a save from 79.2 will work in 79.1, the major number (79) is generally only incremented when a change to the save format (Either its structure or new elements) is made, thus rendering older clients unable to read saves correctly.

  • jacksonmj
    23rd May 2012 Developer 0 Permalink
    @Videogamer555 (View Post)
    Nope, only the major version number is stored and used to determine whether a save is from a newer version. That's why the major version number is increased every time a new element is added - to prevent saves that could contain the new element being opened in old versions and working incorrectly.

    All 79.x saves should open fine in any 79.x version.


    Edit: pfft, beaten by Simon :(