CVXExtractor - Exporting vector data.

#82
Hi Patrick:

I tested using extraction of one of the largest FSX default CVX vector BGLs:

[FSX install path]\Scenery\1002\scenery\cvx8419.bgl

...with intended output to a ESRI SHP file for tests with ESRI SHP file processing in a 64-Bit FS scenery utility.


While processing Hydro polygons, CVXExtractor halted, but did not crash, with this error message:




This was the status of processing when the error occurred:




I suspected the "CvxExtractorGUI.exe *32" process was running without a LARGE_ADDRESS_AWARE flag set.


I have thus far had success in Windows (64-Bit) with applying the LARGE_ADDRESS_AWARE flag to 32-Bit exe's via the "4GB Patch" program by 'NTCore' (aka "Daniel Pistelli") available at:

http://www.ntcore.com/4gb_patch.php


So I backed up a copy of the original "CvxExtractorGui.exe" into a ZIP file.

Next, I Drag-N'-Dropped the original "CvxExtractorGui.exe" onto "4gb_patch.exe" to set that flag.


Then I repeated the test of extracting [FSX install path]\Scenery\1002\scenery\cvx8419.bgl

...with intended output of a ESRI SHP file.


The test with the "4 GB Patch" applied to set the LARGE_ADDRESS_AWARE flag was successful ! :D


This was the status of processing when the task completed:




I then successfully Appended all of the SHP files output by "CvxExtractorGui.exe" to the 64-Bit FS scenery utility. :cool:



IIUC, the "4 GB Patch" applied to set the LARGE_ADDRESS_AWARE flag may fail on some 32-bit EXE's, largely due to DLL dependencies; however, I suggest this merits testing for compatibility to update "CvxExtractorGui.exe". :idea:


Many thanks again for making CvxExtractorGui available to the FS development community. :)

GaryGB
 

Attachments

Last edited:

rhumbaflappy

Moderator
Staff member
Resource contributor
#83
i'll confirm what Gary has found. I resolved the issue by using corflags:

corflags CvxExtractorGui.exe /32bitpref-

This sets the app to not prefer 32-bits, and frees up the memory.
 

rhumbaflappy

Moderator
Staff member
Resource contributor
#85
Hi Patrick.

In Scenery directory 0302, cvx2817.bgl throws an error on the extraction of RDX2817. This is New York City area.

RDX2817.png
 
#90
Hi Patrick:

My successful results confirm your results reported above ...for CvxExtractorGui_1_0_3_1 ESRI_SHP extraction of:

[FSX install path]\Scenery\0302\scenery\cvx2817.bgl






Name.............Size (bytes)
FWX2817.shx...75,516
FWX2817.shp...1,845,084
FWX2817.dbf...386,636
FWX2817.xml...490
RRX2817.shx...41,316
RRX2817.shp...557,620
RRX2817.dbf...396,801
PKX2817.shx...25,740
RRX2817.xml...539
PKX2817.shp...2,912,548
PKX2817.dbf...246,882
FLX2817.shx...2,676
PKX2817.xml...536
FLX2817.shp...336,596
FLX2817.dbf...24,891
FLX2817.xml...544
STX2817.shx...18,476
STX2817.shp...661,548
STX2817.dbf...176,966
HGX2817.shx...5,420
STX2817.xml...538
HGX2817.shp...391,460
HGX2817.dbf...26,000
HGX2817.xml...371
HPX2817.shx...274,092
HPX2817.shp...25,605,844
HPX2817.dbf...3,527,808
HLX2817.shx...80,316
HPX2817.xml...773
HLX2817.shp...10,210,460
HLX2817.dbf...772,176
HLX2817.xml...541
UTX2817.shx...5,404
UTX2817.shp...72,604
UTX2817.dbf...51,148
UTX2817.xml...540
RDX2817.shx...574,764
RDX2817.shp...9,668,140
RDX2817.dbf...5,531,238
RDX2817.xml...536

FYI: My CVX2817.bgl is the original file from a full install of FSX Deluxe and Acceleration RTM DVDs (not 'FSX Gold').


Dick: IIRC, your FSX install is a "Steam Edition" ? :scratchch


Hope this helps ! ;)

GaryGB
 

Attachments

Last edited:

rhumbaflappy

Moderator
Staff member
Resource contributor
#91
Hi Gary.

Thanks for the heads up as to what I actually was decompiling.

Patrick, it was mistakenly a bgl from Dovetail's FSW! The FSX-SE 2817.bgl decompiles just fine as Gary indicates. Sorry for the scare.
 
#92
This now begs a question as to whether we may see a version of CVXE_GUI that can decompile "FSW" CVX BGLs ! :D

GaryGB
 
Last edited:
Top