[Release] Tyrant's Virtual Mission Tools (VMT)
-
Hmm. At least it’s a different error…
So, that looks like it’s in the part of the code where it tries to figure out what theater the mission you just picked is in. Can you post your Data/Terrdata/theaterdefinition/theater.lst file, and the path of the mission file you tried to open? It looks like it couldn’t find either the data directory or the campaign directory for the theater for some reason. Maybe you have an old theater listed in the theater.lst file that you’ve deleted?
Just a follow up, I got the same error with a KTO Joseon save file. I placed the save file into the reg KTO save folder and it loaded without issue.
It appears to be an issue with the Korea/Balkan alt campaigns that have been recently created by Lorik and Kaos.
-
Just a follow up, I got the same error with a KTO Joseon save file. I placed the save file into the reg KTO save folder and it loaded without issue.
It appears to be an issue with the Korea/Balkan alt campaigns that have been recently created by Lorik and Kaos.
Thanks for the followup. I have had another project taking my time away from VMT lately (helping get the 440th VFW up and running), but I’m getting close to the point where I’ll go back to spending more time on VMT, so hopefully I can take a look at this before too long.
Sorry it’s not working for you.
-
Would it be possible in af future version, to be able to seperate the map window from the controls? That way you would be able to show a presentor screen on say, a beamer, and then have the controls on the laptop. Just like powerpoint for example.
-
Hello Tyrant,
I see you’re providing a Mac client, is Linux support on the cards anytime soon? I could help with testing & debugging if you’re interested.
Thanks for this fantastic tool & keep up the great work!
All the best,
Uwe
-
PS: looks like the current version also works rather nicely in WINE, good job!
All the best,
Uwe
-
Would it be possible in af future version, to be able to seperate the map window from the controls? That way you would be able to show a presentor screen on say, a beamer, and then have the controls on the laptop. Just like powerpoint for example.
It’s certainly possible, but unfortunately not easy, for technical reasons. I’ve made a note of the feature request, but I would imagine it would be quite a while before it got implemented. I do agree that there are some nice use cases for it, so perhaps inspiration will strike some day and I’ll think of a way to make it easier.
Thanks for the suggestion!
-
Hello Tyrant,
I see you’re providing a Mac client, is Linux support on the cards anytime soon? I could help with testing & debugging if you’re interested.
Thanks for this fantastic tool & keep up the great work!
All the best,
Uwe
It might be quite easy, in fact. I will try to remember to have a look at adding support.
PS: looks like the current version also works rather nicely in WINE, good job!
All the best,
Uwe
In the meantime this seems like a nice alternative - glad it works.
-
I have been super busy helping to get the 440th up and running, but over the last few weeks I have started to move VMT forward again, albeit slowly. So here we are with the first new release in a while. Hope you find it useful.
First post updated. Downloads available here:
http://org.craigandera.vmt.s3-website-us-east-1.amazonaws.com/stable/
New stuff:
- Build Linux version as well
- Improved map sizing and positioning: controls will never move below
map. Instead, map gets smaller if necessary to accommodate controls
when resizing window. - Titlebar of map is collapsible to increase usable space.
- Tab names now remain visible even when scrolling content.
- Implemented “Save map image as PNG”
- Flights can be opened in their own tabs
- Flight colors and check state are now saved with briefing
Also, VMT now has its own home page: http://www.440thvfw.com/vmt.
Additionally, I’m opening up the beta releases to anyone that cares to suffer with them. You can download them at
http://org.craigandera.vmt.s3-website-us-east-1.amazonaws.com/dev/
You can have a dev/beta release installed at the same time as the release version and they won’t interfere with each other. Support for the dev/beta versions will be via the VMT thread on the 440th forum:
-
I have been super busy helping to get the 440th up and running, but over the last few weeks I have started to move VMT forward again, albeit slowly. So here we are with the first new release in a while. Hope you find it useful.
First post updated. Downloads available here:
http://org.craigandera.vmt.s3-website-us-east-1.amazonaws.com/stable/
New stuff:
- Build Linux version as well
- Improved map sizing and positioning: controls will never move below
map. Instead, map gets smaller if necessary to accommodate controls
when resizing window. - Titlebar of map is collapsible to increase usable space.
- Tab names now remain visible even when scrolling content.
- Implemented “Save map image as PNG”
- Flights can be opened in their own tabs
- Flight colors and check state are now saved with briefing
Also, VMT now has its own home page: http://www.440thvfw.com/vmt.
Additionally, I’m opening up the beta releases to anyone that cares to suffer with them. You can download them at
http://org.craigandera.vmt.s3-website-us-east-1.amazonaws.com/dev/
You can have a dev/beta release installed at the same time as the release version and they won’t interfere with each other. Support for the dev/beta versions will be via the VMT thread on the 440th forum:
Excellent, thank you Tyrant! I love your tool
-
Thanks Tyrant.Really usefull app
-
Thanks for the update Tyrant and most of all thanks for providing a native Linux version
Would it be possible to manually set the BMS installation path? My active BMS installation lives on my final remaining win7 partition for now and when trying to load a TE, I get the following error:
✗Loading mission
✓Locating installation directory
✓Scanning Falcon installation at /media/hoover/SSD250G/bms/bms433u1
✗Determining theater
✗
TypeError: Cannot read property ‘replace’ of null
at clojure.string.replace (file:///media/hoover/HP1TB/00Downloads/bms/tools/VMT/linux/resources/app/mission.html.js:3339:71)
at weathergen.filesystem.normalize (file:///media/hoover/HP1TB/00Downloads/bms/tools/VMT/linux/resources/app/mission.html.js:5864:177)
at Function.weathergen.filesystem.path_combine.cljs$core$IFn$_invoke$arity$2 (file:///media/hoover/HP1TB/00Downloads/bms/tools/VMT/linux/resources/app/mission.html.js:5866:186)
at weathergen.filesystem.path_combine (file:///media/hoover/HP1TB/00Downloads/bms/tools/VMT/linux/resources/app/mission.html.js:5865:196)
at Function.weathergen.falcon.files.mission.campaign_dir.cljs$core$IFn$_invoke$arity$2 (file:///media/hoover/HP1TB/00Downloads/bms/tools/VMT/linux/resources/app/mission.html.js:6603:132)
at weathergen.falcon.files.mission.campaign_dir (file:///media/hoover/HP1TB/00Downloads/bms/tools/VMT/linux/resources/app/mission.html.js:6601:319)
at file:///media/hoover/HP1TB/00Downloads/bms/tools/VMT/linux/resources/app/mission.html.js:6622:303
at file:///media/hoover/HP1TB/00Downloads/bms/tools/VMT/linux/resources/app/mission.html.js:2229:277
at cljs.core.LazySeq.sval (file:///media/hoover/HP1TB/00Downloads/bms/tools/VMT/linux/resources/app/mission.html.js:1907:154)
at cljs.core.LazySeq.cljs$core$ISeqable$_seq$arity$1 (file:///media/hoover/HP1TB/00Downloads/bms/tools/VMT/linux/resources/app/mission.html.js:1913:343)The theater in question is “Aegean”. Loading a custom TE created in stock KTO seems to work fine OTOH although VMT claims that it “Cannot find a matching installation of Falcon BMS for this mission.” on the “create briefing” section.
All the best, Uwe
-
Right. Extra steps are required for OS X/Linux installations and I forgot to write them down somewhere visible.
For Linux, you’ll need to create a file at ~/.config/craigandera.org/VMT/settings.edn. (On OS X, this should be at ~/Library/Application Support/craigandera.org/VMT/settings.edn)
The contents should be as below. Obviously you will need to change the path to be correct for your system.
{ :installations {"Falcon BMS 4.33 U1" "/path/to/falcon/4.33.3" ;; ;; Some people have more than one install pointing to the same directory ;; "Falcon BMS 4.33" "/path/to/falcon/4.33.3" } }
The reason for this is that under Windows (which 99.9% of the users are using), we get the BMS location from the registry. We don’t have that on the other operating systems, so we simulate it with this file.
-
Nice App, first off. I have a request in the annotations. i am wanting to put a box with a text label and also have it able to brought to front on the map. currently it is displayed behind all my steerlines for my flights. Is this possible?
Also i have a question on the weather tab. i was trying to figure out how the forcast is projected. i wanted to create a map update fmap file and use it but it doesn’t seem to pick up that update file for the forcast.
thanks for your help
Jambo
-
i am wanting to put a box with a text label and also have it able to brought to front on the map. currently it is displayed behind all my steerlines for my flights. Is this possible?
That’s not currently possible due to technical limitations, but I’ll think about it and see if I can figure something out. Sorry.
Also i have a question on the weather tab. i was trying to figure out how the forcast is projected. i wanted to create a map update fmap file and use it but it doesn’t seem to pick up that update file for the forcast.
I’m not sure I understand, but I’ll try to answer the question I think you’re asking.
Basically, there’s a model for the weather that VMT maintains. You can do a few things with this: you can show it on the VMT map, you can generate one or more FMAPs to have that weather show up in your sim world, and you can create a forecast. They’re all generated from the same info, which is maintained by VMT. What you can’t do is go the other way: from an FMAP to any sort of info inside of VMT, including forecasts or wind stability regions, or whatever. All the weather has to start in VMT and flow out to BMS.
Hopefully that answered your question. If not, please clarify and I’ll be happy to try again.
-
So, I’ve run into a bit of an Error with VMT, Specifically with the New Somalia Theater. When loading .cam files into VMT From it I get this Error
✗Preparing views
✗Error: Failed to open file
at new cljs.core.ExceptionInfo (file:///C:/Users/owner/Desktop/VMT-win32-x64-v058-stable/resources/app/mission.html.js:3144:47)
at Function.cljs.core.ex_info.cljs$core$IFn$_invoke$arity$3 (file:///C:/Users/owner/Desktop/VMT-win32-x64-v058-stable/resources/app/mission.html.js:3147:200)
at Function.cljs.core.ex_info.cljs$core$IFn$invoke$arity$2 (file:///C:/Users/owner/Desktop/VMT-win32-x64-v058-stable/resources/app/mission.html.js:3147:88 )
at cljs.core.ex_info (file:///C:/Users/owner/Desktop/VMT-win32-x64-v058-stable/resources/app/mission.html.js:3146:162)
at weathergen.filesystem.file_buf (file:///C:/Users/owner/Desktop/VMT-win32-x64-v058-stable/resources/app/mission.html.js:5874:294)
at weathergen.falcon.files.images.read_image (file:///C:/Users/owner/Desktop/VMT-win32-x64-v058-stable/resources/app/mission.html.js:6168:73)
at weathergen.ui.common.get_image (file:///C:/Users/owner/Desktop/VMT-win32-x64-v058-stable/resources/app/mission.html.js:7894:497)
at file:///C:/Users/owner/Desktop/VMT-win32-x64-v058-stable/resources/app/mission.html.js:12078:246
at a.thunk (file:///C:/Users/owner/Desktop/VMT-win32-x64-v058-stable/resources/app/mission.html.js:3186:224)
at javelin.core.propagate_STAR (file:///C:/Users/owner/Desktop/VMT-win32-x64-v058-stable/resources/app/mission.html.js:3178:699)What’s Stranger though, is some .tac files load fine with no Issues into VMT, But others give me the error above. Not sure if it’s on VMT’s Side, or the Theater’s side. In which case, I’ll go drop this into their bug thread if it is.
-
Hey, thanks for the bug report. My best guess is that it’s a combination of unusual theater data and VMT not handling it well - that has happened before, especially with the less-common theaters. The only thing I can tell for sure is that it seems to be failing to open a .rsc file, and that I should fix the error message so it tells you which one…
Unfortunately my dev setup is pretty busted right now, but once I get that fixed I’ll look into this issue.
-
Hello Tyrant,
currently we are working on the redesign of our website. Only a few details are missing.
One of them is the briefing. Since we often offer CTTs (Combined Tactical Training),
we would like to present the content of the training to the event. I hoped to be able to read the .vmbt file
to import into the website. Unfortunately the file seems to be binary. Would it be possible for you to implement
an xml export? Maybe there are more Squadrons who want such a feature;).Best Regards
MadDoc
-
Hello Tyrant,
currently we are working on the redesign of our website. Only a few details are missing.
One of them is the briefing. Since we often offer CTTs (Combined Tactical Training),
we would like to present the content of the training to the event. I hoped to be able to read the .vmbt file
to import into the website. Unfortunately the file seems to be binary. Would it be possible for you to implement
an xml export? Maybe there are more Squadrons who want such a feature;).Best Regards
MadDoc
It’s an interesting suggestion, and one that I’m open to. I would probably use JSON, not XML, since it is, after all, 2019. Although I have a whole “JSON is just a worse XML” rant I could bore you with some time.
I’ve recorded the suggestion. I am unlikely to implement it any time soon, however, just because a) I have had hardly any time to put into VMT lately, and 2) there are a ton of other features I would also like to implement, and it’s not clear to me that this one is the most important.
All that said, the best outcome would therefore be for someone else to do this. The format is indeed binary, but the source code is open source. https://github.com/candera/vmt. It’s written in a somewhat uncommon language called ClojureScript, but I’m happy to answer questions about it. More concretely, a VMTB is just a Transit file that has been gzipped. Transit is a dialect of JSON that solves a lot of the shortcomings of JSON. So you can gunzip it and then parse it either with a JSON reader directly or a Transit library - there are implementations in many languages available at https://github.com/cognitect/transit-format.
If you do decide to do something with the files, please let me know - I’d love to hear about it. It would also help me decide not to break any existing tooling as I make future changes, although as it is not documented, I make no guarantees about the VMTB layout.
-
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
-
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!