[Release] Tyrant's Virtual Mission Tools (VMT)
-
Tyrant:
I have an error in Lorik’s Korea 1.10 and 1.11 (signature). I have a clue of the reason, but I wouldn’t be against knowing a bit more.
✗Reading objectives
✗
RangeError: Offset is outside the bounds of the DataView
at DataView.getUint32 (<anonymous>)
at DataView.octet$buffer$IBufferInt$read_uint$arity$2 (file:///D:/GOG%20Galaxy/Games/Falcon%20BMS%204.33%20U1/VMT-win32-x64-v058-stable/resources/app/mission.html.js:5549:88)
at octet.buffer.read_uint (file:///D:/GOG%20Galaxy/Games/Falcon%20BMS%204.33%20U1/VMT-win32-x64-v058-stable/resources/app/mission.html.js:5483:109)
at undefined.octet.spec.basic.t_octet$spec$basic37773.octet.spec.basic.t_octet$spec$basic37773.octet$spec$ISpec$read$arity$3 (file:///D:/GOG%20Galaxy/Games/Falcon%20BMS%204.33%20U1/VMT-win32-x64-v058-stable/resources/app/mission.html.js:5629:352)
at octet.spec.read (file:///D:/GOG%20Galaxy/Games/Falcon%20BMS%204.33%20U1/VMT-win32-x64-v058-stable/resources/app/mission.html.js:5569:475)
at octet.spec.AssociativeSpec.octet$spec$ISpec$read$arity$3 (file:///D:/GOG%20Galaxy/Games/Falcon%20BMS%204.33%20U1/VMT-win32-x64-v058-stable/resources/app/mission.html.js:5577:305)
at octet.spec.read (file:///D:/GOG%20Galaxy/Games/Falcon%20BMS%204.33%20U1/VMT-win32-x64-v058-stable/resources/app/mission.html.js:5569:475)
at octet.spec.AssociativeSpec.octet$spec$ISpec$read$arity$3 (file:///D:/GOG%20Galaxy/Games/Falcon%20BMS%204.33%20U1/VMT-win32-x64-v058-stable/resources/app/mission.html.js:5577:305)
at octet.spec.read (file:///D:/GOG%20Galaxy/Games/Falcon%20BMS%204.33%20U1/VMT-win32-x64-v058-stable/resources/app/mission.html.js:5569:475)
at undefined.octet.spec.t_octet$spec37659.octet.spec.t_octet$spec37659.octet$spec$ISpec$read$arity$3 (file:///D:/GOG%20Galaxy/Games/Falcon%20BMS%204.33%20U1/VMT-win32-x64-v058-stable/resources/app/mission.html.js:5597:354)</anonymous>I added objectives to the saveX.cam files, this is certainly the starting point. Are there too many objectives? Is an objective or several obj parameters being a problem? I’m trying to find if something in particular could be fixed, or if just adding the objectives was the problem. And if so, if something can be done to avoid this, or either it’s just a matter of “space”.
Thank you!
-
What a quick answer and thanks for that.
Sometimes it’s good to live in different time zones.
I followed your advice and unzipped the .vmtb and loaded it into Notepad ++ (incl JSON plugin).
The result is a file with over 2.6 million lines:shock:. Reading and interpreting is a huge challenge. I think it’s better if I wait for a solution from you.
My programming skills are not good enough to develop something myself. I would have a tool that opens the .tac files and creates a list with the required data.
I think your tool would be perfect for that. I hope you will find time soon:pray2:.
So long we will probably have to enter our data by hand …Regards
MadDoc
I just had another thought: VMT can now export CSV. You do it via the export button on the Tools tab.
That might have the info you need. It doesn’t include absolutely everything, but augmenting it to include the data you’re looking would probably be easier than a JSON export and all the filtering of data you’re implying would need to be done.
What data exactly are you trying to get at?
-
Tyrant:
I have an error in Lorik’s Korea 1.10 and 1.11 (signature). I have a clue of the reason, but I wouldn’t be against knowing a bit more.
I added objectives to the saveX.cam files, this is certainly the starting point. Are there too many objectives? Is an objective or several obj parameters being a problem? I’m trying to find if something in particular could be fixed, or if just adding the objective was the problem. And if so, if something can be done to avoid this, or either it’s just a matter of “space”.
Thank you!
How did you add them? The data file formats are quite complex, and because I don’t have access to the BMS source code, I had to guess a lot about the layout. So it could either be a bad assumption in VMT or a corruption in the data files that VMT isn’t handling gracefully. I’ve seen both.
I’m not sure if there’s a limit on objectives, but I wouldn’t think sheer quantity is the issue. More likely it’s that some relationship was not recorded correctly.
-
How did you add them? The data file formats are quite complex, and because I don’t have access to the BMS source code, I had to guess a lot about the layout. So it could either be a bad assumption in VMT or a corruption in the data files that VMT isn’t handling gracefully. I’ve seen both.
I’m not sure if there’s a limit on objectives, but I wouldn’t think sheer quantity is the issue. More likely it’s that some relationship was not recorded correctly.
Added them with Mission Commander. They display and interact correctly when affected in 3D. Thanks for your interest whatever the outcome
-
Added them with Mission Commander. They display and interact correctly when affected in 3D. Thanks for your interest whatever the outcome
Hmm. OK, I’ll have to look into it. It’s likely something that BMS handles gracefully but that VMT doesn’t - there are plenty of examples of that sort of thing. The backlog is pretty big, but I generally give high priority to bugs. Any chance you can provide me a copy of the problematic files?
-
I just had another thought: VMT can now export CSV. You do it via the export button on the Tools tab.
https://i.imgur.com/ZjdIa71.png
That might have the info you need. It doesn’t include absolutely everything, but augmenting it to include the data you’re looking would probably be easier than a JSON export and all the filtering of data you’re implying would need to be done.
What data exactly are you trying to get at?
Which version is this? I currently have version v058 installed. This is the one that is currently available for download. I have no “TOOLS”
-
Which version is this? I currently have version v058 installed. This is the one that is currently available for download. I have no “TOOLS”
Oh haha - I thought that was in the public release. Whoops!
There is a not-very-secret “dev” channel on which I release more frequent (and generally more buggy) versions. It can be found here http://org.craigandera.vmt.s3-website-us-east-1.amazonaws.com/dev/. Dev and stable releases can coexist without any trouble. The 058-2 dev release has the Tools option. It also has some known bugs so I wouldn’t suggest switching to it for general use.
-
Hmm. OK, I’ll have to look into it. It’s likely something that BMS handles gracefully but that VMT doesn’t - there are plenty of examples of that sort of thing. The backlog is pretty big, but I generally give high priority to bugs. Any chance you can provide me a copy of the problematic files?
I can, but without the rest of the theater, I’m not expecting it to run properly anyway. Do you think you can download the theater itself? It’s either one of the saveX.cam file anyway. I’ll try to send you one in your box.
-
A lot of data that needs to be interpreted first. It’s not that easy, I think.
What data exactly are you trying to get at?
To get an idea of what I need, check our website. Navigate to “Kalender” and select an event there (click on the event name).
There you will find the unfinished version of the briefing. Please look at Datacard 1 and datacard 2. I think, then you see what I need. -
I can, but without the rest of the theater, I’m not expecting it to run properly anyway. Do you think you can download the theater itself? It’s either one of the saveX.cam file anyway. I’ll try to send you one in your box.
Received, thanks. And yeah, no need to provide the whole theater - this should be enough. I’ll take a look when I get a chance.
-
A lot of data that needs to be interpreted first. It’s not that easy, I think.
To get an idea of what I need, check our website. Navigate to “Kalender” and select an event there (click on the event name).
There you will find the unfinished version of the briefing. Please look at Datacard 1 and datacard 2. I think, then you see what I need.Ah, I see. Yeah, the CSV data may or may not be helpful. Again, the data format is pretty complex to understand, especially without documentation. Even after working on it for a few years I still have to go look at code to remember how to do things like find a list of flights.
Anyway, have a look at the CSV. The output is pretty weird, since CSV is one of the few data formats that’s worse than JSON. Hope it helps. If not I don’t think there’s probably a ton I can do for you in the short term. Reading the VTMB and interpreting the Transit is going to be the best option I can think of, and as you correctly observed, programming and (harder) much interpretation are required. If you decide to go that route or find someone else who will I’m happy to answer questions if that would be helpful.
-
Just to get in front of the question, let me say that I will be upgrading VMT to support 4.34 as soon as possible after it ships. I don’t have access to pre-release installations, so on the day 4.34 drops, VMT won’t support it. Sorry!
I will be dedicating my free time to getting 4.34 support going as soon as I can get a working copy installed, but as the file formats are radically different, and VMT relies heavily on reading files from your Falcon install, it may take a while. I’m especially interested to get a look at the new weather features, since that’s been a central feature of VMT since it was called WeatherGen.
If this bums you out, it’s because you’re not thinking about all the cool new features you will have to play with while you wait.
-
Just to get in front of the question, let me say that I will be upgrading VMT to support 4.34 as soon as possible after it ships. I don’t have access to pre-release installations, so on the day 4.34 drops, VMT won’t support it. Sorry!
I will be dedicating my free time to getting 4.34 support going as soon as I can get a working copy installed, but as the file formats are radically different, and VMT relies heavily on reading files from your Falcon install, it may take a while. I’m especially interested to get a look at the new weather features, since that’s been a central feature of VMT since it was called WeatherGen.
If this bums you out, it’s because you’re not thinking about all the cool new features you will have to play with while you wait.
Don’t worry, same feeling. I was worried about converting campaigns, but actually a new world’s opening for new things to create.
-
More then enough!
the weather in 4.34 should be amazing
looking forward to you upgrades! -
Don’t worry, same feeling. I was worried about converting campaigns, but actually a new world’s opening for new things to create.
Totally. I think the coolest feature in this release might actually be the one most people won’t care about: there’s that little line in the trailer that says “Database cleanup and XML Schema Migration”…
-
I guess new weather means that old .fmaps won’t work with the 4.34 auto-update weather. I’ll give it a try tho to see what happens……
-
I guess new weather means that old .fmaps won’t work with the 4.34 auto-update weather. I’ll give it a try tho to see what happens……
Confirmed, old fmap files are no more compatible with the new improved weather code
-
Try to convert them with Falcas’ Weather Commander utility, as per his suggestion in ‘Mission Commander’ topic
With best regards.
-
Hello, Tyrant.
Just because I would continue to use your useful utility also with 4.34, I’m wondering if there are some news about its upgrade/conversion…
With best regards.
-
Hello, Tyrant.
Just because I would continue to use your useful utility also with 4.34, I’m wondering if there are some news about its upgrade/conversion…
With best regards.
Hey Jackal. I posted an update the other day over on the 440th forum: http://www.440thvfw.com/viewtopic.php?f=18&t=237&p=1781#p4224 if you want all the details.
TL;DR: I’m making good progress but it’s a big job. Today’s task is to try to figure out what has changed in the units portion of the mission file. Mission Commander is a big help for stuff like this but since I don’t have source access it’s still down to me figuring things out with a byte editor and a bunch of coding. Hopefully there are only a few changes to figure out and I can keep chugging along.