Menu

#166 Warning:Invalid unit, it might load incorrectly! Wrong MTF file version.

Stable
closed
None
fixed
1
2015-04-19
2015-02-17
No

This is what i did :

-Switch to tank type
-Load from cache
-Load a bulldog medium tank (Standard), the one with LL and 2 SRM-4s
-Click "save"
-File is saved as a .mtf

Both MM and MM lab will refuse to load the .mtf with the above error (wrong MTF file version). This only seems to happen if i load from cache AND select to "save" instead of "save as". If i select to "save as", it will save the file as a .blk instead of a .mtf.

I think what is happening is that the "save" function is incorrectly saving as a .mtf when it should be a .blk.

Discussion

  • Rushyo

    Rushyo - 2015-03-02

    Can't re-create this with latest trunk. Is this still happening?

     
    • stopcomplaining2

      The latest version is .38 right? I have that and it's still doing it.

      I just tried it again : http://i.imgur.com/lx7Q2Ul.png

      It's saving it as a .mtf for some reason.

       
  • Nicholas Walczak

    I think that this might be fixed with [r1496]. I had looked into this before, but didn't get around to fixing it. Basically it looked liked the Entity instance in MenuBarCreator was getting out of sync with the Entity in the current panel, so while you might be editing a Mech, the menu bar might think it's an Aero or something. I'm going to tentatively mark this as fixed.

     

    Related

    Commit: [r1496]

    • stopcomplaining2

      But either way MML shouldn't be saving it as a .mtf right?

       
      • Sebastian Brocks

        The part of MML that was doing the saving thought your unit was a mech, and thus tried to save as MTF.

         
  • Nicholas Walczak

    • assigned_to: Nicholas Walczak
    • resolution: none --> fixed
     
  • Nicholas Walczak

    • Milestone: --> Stable
     
  • Nicholas Walczak

    • Status: open --> closed
     

Log in to post a comment.