Sign in to follow this  
Guest PaulL01

HPxx.bgl decompiled with LWMViewer ...can recompile?

Recommended Posts

Hi,If this seems dumb it probably is...But using LWMViewer I decompiled some HPxxxxx.bgls and have two questions:Can I remove date from a whole cell? another words can I just remove the whole "cellstart_xxxx....Cellend" data field or should I leave the referance but delete all the point in between?Second question pertains to the example below; Can this data be recompiled as is? and what would be best to use? are there 3rd party programs to check for errors or do I just use BGLcomp?Thanks all!; Created by LWMViewer at 08/21/04 01:06:48; Original filename : E:fs2004SceneryNameSceneryHP927160.bgl; Original boundary :; N 45.00002; S 42.18752; E -75.00000; W -79.21875;; Please note that only LWMs and VTPs are disassembled. Any other; information in the original file is not here.include TDFMacros.incinclude TDFHeaders.inc_Water_ EQU 0_Land_ EQU 1_Flatten_ EQU 2_Transparent_ EQU 3BGLHeader 45,41,-74,-79, LWMHeader, TerrainHeaderStartLWMHeader label word LWMFileHeader 768, LWMIndexStart, LWMStart, LWMEndLWMStart label word; Start of cell 215 x 128 dataCELLSTART_000000 label wordCellID_000000 EQU LWMCellID 0, 0, _Transparent_, 215, 128 LWMDataAreaDrawPolygons 1,_Transparent_,1,31,31 LWMPoly3 3, 0, _Water_, 273, 0, 273, 0 ; 44.670410, -78.779297 LWMPoint3 253, 58, 0 LWMPoint3 255, 32, 0 LWMPoint3 255, 81, 0CELLEND_000000 label word; End of cell 215 x 128 data; Start of cell 216 x 128 dataCELLSTART_000001 label wordCellID_000001 EQU LWMCellID 0, 0, _Transparent_, 216, 128 LWMDataAreaDrawPolygons 1,_Transparent_,1,3,0 LWMPoly3 11, 0, _Water_, 309, 0, 309, 0 ; 45.000000, -78.720703 LWMPoint3 103, 157, 0 LWMPoint3 124, 118, 0 LWMPoint3 140, 108, 0 LWMPoint3 157, 107, 0 LWMPoint3 191, 128, 0

Share this post


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

Nevermind I'm all set, just trying to figure out Cell and areas in some of these BGLs...

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