Mordel's Bar & Grill
Export to MegaMek
Post new topic   Reply to topic    Mordel's Bar & Grill Forum Index » Site Bugs and Enhancements
View previous topic :: View next topic  
Author Message
ImperialOne
Clan Wolf
Point Commander
Point Commander


Joined: 13-Feb-2024 00:18
Posts: 24
Location: United States
PostPosted: 18-Mar-2024 15:28    Post subject: Export to MegaMek Reply to topic Reply with quote

Did something change in the last 5 days? I exported a custom mech design as a MTF into my MegaMekLab 0.48 in my home office.

This morning I tried to do the same thing for a different PC running MegaMekLab 0.48 release but upon loading, I get an error statement saying "While Parsing file xyz.mtf, Wrong MTF file version.

Same designs, validated on website and other PC with MegaMekLab 0.48, opened on one PC but not the other, both updated Win11 Pro machines...

As an addendum... I went and got the .MTF file that worked 5 days ago and imported it to the MegaMekLab 0.48 on the other machine... and opened the older (five days ago) .MTF file which was valid and good with this MegaMekLab 0.48 on this PC. The mechs are the same, the sole difference in when the files were generated (5 days ago vs today).

Any ideas?
Back to top View profile Send site message Twitter Username
Mordel
Mordel.Net
Administrator
Administrator


Joined: 03-Feb-2002 00:00
Posts: 6087
Location: United States
PostPosted: 18-Mar-2024 23:01    Post subject: Export to MegaMek Reply to topic Reply with quote

It is entirely possible. Before I give a response, which design was it? I'd like to try myself and see what may be going on.
_________________
Mordel Blacknight - Site Administrator
Back to top View profile Send site message Send e-mail Visit website Facebook Username Twitter Username Steam Custom URL
ImperialOne
Clan Wolf
Point Commander
Point Commander


Joined: 13-Feb-2024 00:18
Posts: 24
Location: United States
PostPosted: 18-Mar-2024 23:31    Post subject: Export to MegaMek Reply to topic Reply with quote

www.mordel.net/tro.php?a=vt&ut=bm&id=36713&fltr=ff.000.Designer~Equals~ImperialOne~ff.000.Source~Equals~Custom%20Mordel.Net%20Units

Zburător-A Next Gen 2 (Wolf's Whisker Primary) Prime [FINAL] [BASE] is the mech.

I'd attach the .MTF but apparently, it is not allowed:)
Back to top View profile Send site message Twitter Username
Mordel
Mordel.Net
Administrator
Administrator


Joined: 03-Feb-2002 00:00
Posts: 6087
Location: United States
PostPosted: 19-Mar-2024 08:03    Post subject: Export to MegaMek Reply to topic Reply with quote

So, indeed I did. One thing I try to do is stay current on MTF file formats (when possible, since it's ever changing). In the 0.49.17 release they changed versioning, added a generator, and did a few other things with the way files are output.

Short of me reverting back to older file formats (which I would really HATE to do), I think you're best off grabbing the latest version of MegaMekLab (megamek.org/downloads.html), which currently sits at 0.49.18. The other option is to manually tweak the MTF file by editing it in a text editor by doing the following:
  • Remove the 'generator:' line
  • Add 'Version: 1.1' as the first line
  • Remove the text 'chassis:' from in front of your unit's primary name
  • Remove the text 'model:' from in front of your unit's model designator



Zburător-A Next Gen 2 (Wolf_s Whisker Primary) Prime [FINAL] [BASE].mtf
 Description: Modified for pre-0.49.17 
Download
 Filename: Zburător-A Next Gen 2 (Wolf_s Whisker Primary) Prime [FINAL] [BASE].mtf 
 Filesize: 2.19 KB 
 Downloaded: 138 Time(s) 

_________________
Mordel Blacknight - Site Administrator
Back to top View profile Send site message Send e-mail Visit website Facebook Username Twitter Username Steam Custom URL
Mordel
Mordel.Net
Administrator
Administrator


Joined: 03-Feb-2002 00:00
Posts: 6087
Location: United States
PostPosted: 19-Mar-2024 08:07    Post subject: Re: Export to MegaMek Reply to topic Reply with quote

ImperialOne wrote:
I'd attach the .MTF but apparently, it is not allowed:)


Also, you should be able to upload MTF files to this forum now.
_________________
Mordel Blacknight - Site Administrator
Back to top View profile Send site message Send e-mail Visit website Facebook Username Twitter Username Steam Custom URL
ImperialOne
Clan Wolf
Point Commander
Point Commander


Joined: 13-Feb-2024 00:18
Posts: 24
Location: United States
PostPosted: 19-Mar-2024 09:20    Post subject: Export to MegaMek Reply to topic Reply with quote

Thanks! I’ll look into this when I lad from my cross-country flight (SFO to BOS).

Going to MegaMek 0.49+ will require me to upgrade Java to 11 or 17, and that may break Citrix which I require to use my (Epic) Electronic Medical Record.
Back to top View profile Send site message Twitter Username
Mordel
Mordel.Net
Administrator
Administrator


Joined: 03-Feb-2002 00:00
Posts: 6087
Location: United States
PostPosted: 19-Mar-2024 11:30    Post subject: Export to MegaMek Reply to topic Reply with quote

We definitely don't want that. How often do you export MTF and import into MML? I'll be honest, I wasn't sure anyone was actually even using that feature!.
_________________
Mordel Blacknight - Site Administrator
Back to top View profile Send site message Send e-mail Visit website Facebook Username Twitter Username Steam Custom URL
ImperialOne
Clan Wolf
Point Commander
Point Commander


Joined: 13-Feb-2024 00:18
Posts: 24
Location: United States
PostPosted: 19-Mar-2024 16:00    Post subject: Export to MegaMek Reply to topic Reply with quote

I'm shocked... I thought it would be used often. I prefer using this site for building as I have experienced a rare glitch once in a great while with MegaMek that I cannot reconcile, but not the same here.

As it turns out, I can build here, import, and it validates in MegaMek... and I am good. The biggest advantage I find in your site is I can access it almost anywhere, whereas I have to install MegaMek on a PC... and the Java thing is... craptastic. However, MegaMek is so much more than a builder, so the comapatability allowing me to flip back and forth is valued by me.

Thanks.
Back to top View profile Send site message Twitter Username
Mordel
Mordel.Net
Administrator
Administrator


Joined: 03-Feb-2002 00:00
Posts: 6087
Location: United States
PostPosted: 20-Mar-2024 14:06    Post subject: Export to MegaMek Reply to topic Reply with quote

I just assume because no one has talked about it or raised any issues with it. And since I don't track data on types or quantities of unit downloads, not hearing anything makes me assume it isn't used. Wink

There's a possible future way to get it to work with an enhancement. I already have a few things that will require a "Generate Options" dialog. This can potentially be added to allow for "Pre-0.49.17 'Version' File Format". It's not an immediate fix, but something I'd have to add to the functionality.
_________________
Mordel Blacknight - Site Administrator
Back to top View profile Send site message Send e-mail Visit website Facebook Username Twitter Username Steam Custom URL
ImperialOne
Clan Wolf
Point Commander
Point Commander


Joined: 13-Feb-2024 00:18
Posts: 24
Location: United States
PostPosted: 20-Mar-2024 16:54    Post subject: Export to MegaMek Reply to topic Reply with quote

THat is wonderful... I will eventually migrate to 0.49
Back to top View profile Send site message Twitter Username
Display posts from previous:
Post new topic   Reply to topic    Mordel's Bar & Grill Forum Index » Site Bugs and Enhancements All times are GMT-05:00

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum