Sign in to follow this  
Guest HotShot

LWMViewer update imminent

Recommended Posts

Hi all.I'm planning to update LWMViewer over the next week or so - nothing earth-shattering, mainly bugfixes and speed improvements. I recently found that my ISP provides a newsletter feature so if you'd like to be kept informed about this and future updates, you can subscribe on the program's [a href=http://www.jimkeir.co.uk/FlightSim/LWMViewer.html]support page[/a].Usual deal, subscribe/unsubscribe as you feel like it. It's not updated very often any more, so you won't be deluged!Cheers,Jim Keir.

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Jim,Can I suggest you add a switch on the command line so that we can have the source code put out directly to file. For eksample if I type LWMViewer /decode Mybglfile.bgl this would decode the file and save it as Mybglfile.asm. As it is today the LWMViewer only opens the file in the Viewer.This feature would be really helpfull for other programmers when trying to automate the process of editing the default lwm files in FS.Thanks for a easy and relly helpfull program.Finn

Share this post


Link to post
Share on other sites

Hi.Sure. I think someone asked for this before - completely forgot. I won't be able to stop the window appearing because the save-to-disk functions are part of the drawing code but I should be able to make it save and then close automatically. No guarantees, but I'll try and get it in this update.One of the other things I've changed is to merge the Bitmap and Source output functions. This means that you can easily export *part* of a file by giving area boundaries - handy for creating subsets of the default files minus bits you've modified :) Of course, you can still export bitmaps and source separately, it's just that they share the same area selection dialog now.Cheers,Jim Keir.

Share this post


Link to post
Share on other sites

Jim, many thanks for a very useful program! Just one small thing: when called from AutoAsm the latest version (from March) asks "Load matching files?" not once but twice - in the previous versions it didn't show at all, which is much better. As the files are called from the command line then the requester probably isn't needed. Once again, many thanks. LWMViewer is a great boon for program development as I can quickly check the results without having to run FS. Best regards, Chris

Share this post


Link to post
Share on other sites

Hi.Yes, that dialog gets a little annoying, doesn't it? The new version doesn't ask at all for files given on the command line.I've added the 'disassemble from command line' feature. I just want to test a little more before releasing it - it works under 'normal' conditions, but I've not done any deliberate failure testing yet.HTHJim Keir

Share this post


Link to post
Share on other sites

Thanks Jim,What can we say? Splended work..Finn

Share this post


Link to post
Share on other sites

Hi all.I've posted a new version of LWMViewer to my website. I'd appreciate it if some people could give it a go - there are always a few things I miss which need correcting.I'll make the formal release next week, if there's no outstanding problems.The URL is : http://www.jimkeir.co.uk/FlightSim/LWMViewer1.3a.zipThanks,Jim Keir.

Share this post


Link to post
Share on other sites

Using 1.3aI export a .BMP and get a response "0 files created" but in fact the .bmp and .txt files are created. Export source works as expected.nv*.bgl display works for me. Nice feature, although I'm not sure how I would use it.Is there a practical size of a dem file to display? I have one from FSG that's 51 Meg, and it kind of causes fits.scott s..

Share this post


Link to post
Share on other sites

Hi.I missed the "0 files created" for a bitmap. It's talking about the number of *source* files exported, so I'll need to patch that. Thanks.> nv*.bgl display works for me. Nice feature, although I'm not sure how I would use it.Um, yeah. I know what you mean. I put it in mainly because I got fed up of going into the FS Map display to find the nearest airport or navaid frequency :) (If you hover the mouse-pointer over a navaid it will show you the name and freq.)> DEMs - I have one from FSG that's 51 MegElevation display does need a *lot* of memory. It should only decode the bit that's on screen at the time and it tries to minimise the memory required when it's zoomed out so there shouldn't really be any problem with most files. I've had it displaying some DEMs at around 30Mb and it coped on my PC with 1Gb RAM; it's also had no problems with three smaller files at a total of around 40Mb.If you move the display around a lot when it's zoomed in, it will use a lot of memory very fast because it stores the decoded versions of the DEM tiles. The more you move, the more it stores. You can clear the store by switching the elevation display off and on, or by changing the display type (i.e. from colour to greyscale and back again).Anyway, thanks for the report, I'll try and get the dialog-box bug fixed this weekend and try it again with some large files.Cheers,Jim.

Share this post


Link to post
Share on other sites

Jim - Congrats and thanks a bunch for a great program...Upon opening the Viewer the very first time, I promptly opened and viewed at the same time, 38 bgl's I created for our Portland scenery...Upon turning on the points, I sat back in awe at the realization that if these nodes or points, as some call them, could be edited ie: added, deleted, moved, etc, this program could become one of the most important scenery design tools available to all of us today...All I can say is Wow, the potential of this program is incredible, and the other utilities you demo on your web site are equally impressive...I'm ready to buy this one in a heartbeat... Ohhh if those vectored points and poly's were editable... Everything is in place to take this program to King-of-the-hill for scenery design...You are sitting on a potential gold mine here... As soon as you add the drawing tools you should also open up a new checking account... You'll need it...Thank You very much...bnick

Share this post


Link to post
Share on other sites

>I'm ready to buy this one in a heartbeat... Ohhh if those>vectored points and poly's were editable... Everything is in>place to take this program to King-of-the-hill for scenery>design...Hi,If Jim decides to add an export file with a list of lat/lon pairs, I will imediatelly implement a matching import to SBuilder! :-)Regards, Luisps: Jim - I feel like suggesting many things to you (see the VTP/LWM patch). Please forgive me if I should not do so.

Share this post


Link to post
Share on other sites

Hallo all,A little bit off topic.Thanks Jim, for this great tool.We need almost every information, you can get, in your tool.Not only for scenery designer, also for the user to repeat the failures in sceneries.It is easy to handle, and it is reading the information right.We will have better forum discussions, what user really see in the Sim.I do not like, when designer manipulating my original files with an installer (see the

Share this post


Link to post
Share on other sites

Hi Jim, I just tried the latest version. The dialog has gone, which is great. But there's a new problem. When I call it from AutoAsm, LWMViewer opens behind the AutoAsm window, so it's invisible! Many thanks. Best regards, Chris

Share this post


Link to post
Share on other sites

Hi all,Thanks for the flattery, I'm blushing!Lat/long export : It's been on the cards for a long time now but there's always been something else just ahead of it. There was a message around a week or so ago with details of a suitable scheme for this export. I promise I'll take a look at least!> When I call it from AutoAsm, LWMViewer opens behind the AutoAsm window, so it's invisible!That's odd. It should open just like anything else, at the front. OK, I'll check it out. I usually use it on its own, so I wouldn't have noticed any changes there.I've patched the 'Files Saved' dialog to say "Bitmap saved" instead of "0 files saved" and added cell/coord information to the disassembly of VTP lines/polys. Same URL as before.Cheers,Jim

Share this post


Link to post
Share on other sites

Hi.I tested last night with an elevation BGL of 91Mb with no problems. How much memory do you have? I don't think there's any easy way to squeeze the memory requirements any more, I'm afraid.Alternatively, if you can tell me how to find the BGL you're having trouble with I can test with that one in case it's just not being read correctly.Cheers,Jim

Share this post


Link to post
Share on other sites

Hi Jim,thanks for the updates but I'm getting an "error 403: forbidden" when trying the link for LWMViewer above. Anyone else having this problem?Cheers, Holger

Share this post


Link to post
Share on other sites

Hello,Same currently here. (download and AutoAsm)Holger, maybe Jim but you on the forbidden list? (Austrian humor :))For lat/long export:I have the same concern, then with tmfdecompress.Maybe only for the MS original files (I think, this will not work). The nice guys from Microsoft should give us the possibility to change the flatten

Share this post


Link to post
Share on other sites

Hi.Duh. Copied the new files, forgot to set access rights. Both are now visible - I think :(BTW, there's a small problem with the VTP exports - there's a missing linefeed before VTPPolyMethod2Ex. Fixed, but not uploaded.Cheers,Jim

Share this post


Link to post
Share on other sites

Hi all.OK, V1.3 is now out officially. Thanks for the feedback. There are one or two new things which may be of use, mainly the ability to load an entire folder structure by dragging the folder onto the window instead of individual files.It seems there's a slight incompatibility with AutoASM in this version. It's not serious - it opens up minimised so you need to enlarge the window.http://www.jimkeir.co.uk/FlightSim/LWMViewer.html , as usual. All feedback welcome!Cheers,Jim Keir.

Share this post


Link to post
Share on other sites

Lots of features... quite impressive. Thanks Jim !(btw, the Help > About still displays '1.3a')edit: Huh ?! Nothing shows up when loading Bgls... ?!

Share this post


Link to post
Share on other sites

Jings, that was fast!Damn, there's always one! The 1.3a is minor, I'll fix that tonight. I'm puzzled about nothing showing up though, I think I'd have spotted that! Which BGLs are you loading? There are a few types it won't display. You *do* have the display enabled for the type of file you're loading?JK

Share this post


Link to post
Share on other sites

>Jings, that was fast!>>Damn, there's always one! The 1.3a is minor, I'll fix that>tonight. I'm puzzled about nothing showing up though, I think>I'd have spotted that! Which BGLs are you loading? There are a>few types it won't display. You *do* have the display enabled>for the type of file you're loading?>>JK>(the 1.3a is purely cosmetic indeed :D)I tried to load some HP950160.bgl file from the FS9 Eurw default directory... LWM etc. checked of course... the filename in the window title is OK, but all menus are still disabled. I tried right-clicking to 'load this area' but it returns a message 'Didn't find any file matching C:Prog[...]Flight Simulator 9Scenery*??950160.bgl'.edit: hmmm... when using the Open by location and entering the coords, it works fine... weird.edit

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this