can't save bgl
-
- Posts: 17
- Joined: Sat May 14, 2005 10:35 pm
- Location: China
can't save bgl
I've installed the newest SBuilder as per the instructions, including SCASM in the Tools folder and the newest FSUIPC. I've also registered as a private user. I've set the folders to the scenery and left them at the default. No matter what I do I can't export a .bgl. I get an error message every time. All I get are the .scm files.
What am I doing wrong?
Matthew
What am I doing wrong?
Matthew
-
- Posts: 17
- Joined: Sat May 14, 2005 10:35 pm
- Location: China
Weird.
After reading your post I started up SBuilder and loaded my scenery then exported the bgl. Every time before this I got a pop-up saying "There was a compilation error in this project. Do you want to read a SCASM report?" So I checked ok and it opened notepad but the page was blank. Today, the page wasn't blank. So, here's the error log;
Error in line 381
-> VTPTextureList( 3 "001b2wa1.bmp;;001b2wa1.bmp;001b2wa1.bm
-> in expression .. "001b2wa1.bmp;001b2w ..
Scasm compilation status: error(s) 1
Can you shed some light on the problem?
Thanks,
Matthew
After reading your post I started up SBuilder and loaded my scenery then exported the bgl. Every time before this I got a pop-up saying "There was a compilation error in this project. Do you want to read a SCASM report?" So I checked ok and it opened notepad but the page was blank. Today, the page wasn't blank. So, here's the error log;
Error in line 381
-> VTPTextureList( 3 "001b2wa1.bmp;;001b2wa1.bmp;001b2wa1.bm
-> in expression .. "001b2wa1.bmp;001b2w ..
Scasm compilation status: error(s) 1
Can you shed some light on the problem?
Thanks,
Matthew
Hello,
It seems you have a VTP polygon covered by water. But it seems you are using a "named texture". And there is an error on the string that makes the packed name.
You say you can not get a BGL. Before trying other things, please do this exercise: Start SB. Press New. Go to Poly mode. Draw a polygon with the mouse. Right click on a side of the polygon to enter the properties window. Set type = LWM. The polygon should appear in blue. Select the Polygon. Compile (check if LWM box is enabled and check it). Go to the Tools/Work folder and see if a BGL file was generated. If not, do not attempt anyother thing except solving this exercise.
Regards, Luis
Edited later - I think you have no problems with the generation of BGLs as the first post implies! Definitevely is a wrong name for a texture! You can do a Poly search using "type" and kewword = 001b2wa1. That will select all the polygons with the wrong texture. Try to change the texture to an assembled one just for the purpose of testing.
It seems you have a VTP polygon covered by water. But it seems you are using a "named texture". And there is an error on the string that makes the packed name.
You say you can not get a BGL. Before trying other things, please do this exercise: Start SB. Press New. Go to Poly mode. Draw a polygon with the mouse. Right click on a side of the polygon to enter the properties window. Set type = LWM. The polygon should appear in blue. Select the Polygon. Compile (check if LWM box is enabled and check it). Go to the Tools/Work folder and see if a BGL file was generated. If not, do not attempt anyother thing except solving this exercise.
Regards, Luis
Edited later - I think you have no problems with the generation of BGLs as the first post implies! Definitevely is a wrong name for a texture! You can do a Poly search using "type" and kewword = 001b2wa1. That will select all the polygons with the wrong texture. Try to change the texture to an assembled one just for the purpose of testing.
-
- Posts: 17
- Joined: Sat May 14, 2005 10:35 pm
- Location: China
I tried what you suggested with a new file and, lo and behold, I get a bgl! So, there must be a problem with my poly. I did the search but found no offending polys. Still, it must be the way I built the file. I'll try it again and post the results. If I have further questions I'll post them. Thanks for the help.
M
M
Hi,
If you change the texture to one of the "assembled" ones, you will get the BGL. Then, if you want to use "named" textures, you should be careful and read the SDK to see if SBuilder is building the names correctly. That part of the programme is not very robust but it works. When I get a "named texture" working, I allways add it to the set of "assembled" ones, so that I will not make a typing mistake next time that I use the texture.
Luis
If you change the texture to one of the "assembled" ones, you will get the BGL. Then, if you want to use "named" textures, you should be careful and read the SDK to see if SBuilder is building the names correctly. That part of the programme is not very robust but it works. When I get a "named texture" working, I allways add it to the set of "assembled" ones, so that I will not make a typing mistake next time that I use the texture.
Luis
-
- Posts: 17
- Joined: Sat May 14, 2005 10:35 pm
- Location: China
Well, tonight I started from scratch with a new file, added the background map, drew a polygon and added some forest landclass. When I export I get the same message that there's a compilation error would I like to see the SCASM report. Only there's nothing in the report. So I re-tried your original test with a new file and one LWM polygon. Same thing. Compilation error and nothing in the log.
I'm using the default textures from the list, nothing special.
Another thing. I calibrated the map and saved the calibration. When I reopen the file it doesn't use the calibration. Could it be that my program file is corrupt? I downloaded from avsim.
Any suggestions?
I'm using the default textures from the list, nothing special.
Another thing. I calibrated the map and saved the calibration. When I reopen the file it doesn't use the calibration. Could it be that my program file is corrupt? I downloaded from avsim.
Any suggestions?
Hi,
Please check the Tools/Work/ folder. When you compile the following happens:
a) SB builds a project_????.scm file and this file is passed to
b) Scasm which will produce a project_????.BGL
c) and, depending on the setting of the "Copy BGL files ... " the BGL will be copied to the ../Scenery/ folder.
Do you get the 2 files? Only the *.scm? If you only get the *.scm and no BGL, send me the *.scm
About Map calibration - If you calibrate a map and save the project that contains the map, then, when you open the project again, the map will be, of coarse, calibrated. However, if you press "Create data file ... ", you have an extra advantage: you can start a new project and, if you need the same map on this new project, you simple go to Map Mode, point to the bitmap and that is it! no need to calibrate!
Luis
Please check the Tools/Work/ folder. When you compile the following happens:
a) SB builds a project_????.scm file and this file is passed to
b) Scasm which will produce a project_????.BGL
c) and, depending on the setting of the "Copy BGL files ... " the BGL will be copied to the ../Scenery/ folder.
Do you get the 2 files? Only the *.scm? If you only get the *.scm and no BGL, send me the *.scm
About Map calibration - If you calibrate a map and save the project that contains the map, then, when you open the project again, the map will be, of coarse, calibrated. However, if you press "Create data file ... ", you have an extra advantage: you can start a new project and, if you need the same map on this new project, you simple go to Map Mode, point to the bitmap and that is it! no need to calibrate!
Luis
-
- Posts: 17
- Joined: Sat May 14, 2005 10:35 pm
- Location: China
I get only the .scsm file, no bgl. Here are the contents of the files;
________________________________________
FILLS_shenzhen_v3_LWM2.scm
Header( 1 23 22 114 113 )
LWMFileHeader
:cell00
macro( Area01X01Poly.scm 0 28 16 0 )
macro( Area01X01Poly.scm 1 29 17 0 )
macro( Area01X01Poly.scm 1 28 17 0 )
macro( Area01X01Poly.scm 1 27 17 0 )
LWMIndexList( 1
626 191 3 0 0
)
LWMEnd
shenzhen_v3_VTPP.scm
Set( BUF 8192 )
Header( 1 23 22 114 113 )
VTPFileHeader( 0x100 )
:cell00
VTPArea( 1 1 18 31 )
VTPLayer( 4 1 1 0 )
VTPTexID( 0 0 )
VTPPolyCount( 1 )
VTPPoly( 2 4 0 )
VTPPointXY( 12240 8318 )
VTPPointXY( 11744 8312 )
VTPPointXY( 12042 7276 )
VTPPointXY( 12240 7200 )
:cell01
VTPArea( 1 1 19 31 )
VTPLayer( 4 1 1 0 )
VTPTexID( 0 0 )
VTPPolyCount( 2 )
VTPPoly( 2 3 0 )
VTPPointXY( 4080 7200 )
VTPPointXY( 4549 7021 )
VTPPointXY( 4633 7348 )
VTPPoly( 2 4 0 )
VTPPointXY( 4080 7200 )
VTPPointXY( 4633 7348 )
VTPPointXY( 4924 8328 )
VTPPointXY( 4080 8318 )
VTPIndexList( 2
626 191 0
627 191 0
)
VTPTextureList( 1
34 0 0 0 4
)
VTPEnd
_________________________________________
shenzhen_v3_LWM2.scm
Set( BUF 8192 )
Header( 1 23 22 114 113 )
LWMFileHeader
:cell00
LWMAreaDrawPoly( 1 3 29 16 )
LWMPoly( 4 1 0
255 228
114 224
104 0
255 0
)
LWMAreaDrawPoly( 1 3 30 16 )
LWMPoly( 4 1 0
255 236
0 228
0 0
255 0
)
LWMAreaDrawPoly( 1 3 31 16 )
LWMPoly( 4 1 0
255 245
0 236
0 0
255 0
)
LWMAreaDrawPoly( 1 3 29 15 )
LWMPoly( 4 1 0
104 255
93 0
255 0
255 255
)
LWMAreaDrawPoly( 1 3 30 15 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 31 15 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 29 14 )
LWMPoly( 4 1 0
93 255
82 0
255 0
255 255
)
LWMAreaDrawPoly( 1 3 30 14 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 31 14 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 29 13 )
LWMPoly( 4 1 0
82 255
72 0
255 0
255 255
)
LWMAreaDrawPoly( 1 3 30 13 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 31 13 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 29 12 )
LWMPoly( 4 1 0
72 255
62 33
255 23
255 255
)
LWMAreaDrawPoly( 1 3 30 12 )
LWMPoly( 4 1 0
0 23
255 10
255 255
0 255
)
LWMAreaDrawPoly( 1 3 31 12 )
LWMPoly( 5 1 0
0 10
206 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 31 11 )
LWMPoly( 3 1 0
206 255
255 253
255 255
)
:cell01
LWMAreaDrawPoly( 1 3 1 17 )
LWMPoly( 3 1 0
255 6
77 0
255 0
)
LWMAreaDrawPoly( 1 3 2 17 )
LWMPoly( 4 1 0
108 0
108 9
0 6
0 0
)
LWMAreaDrawPoly( 1 3 0 16 )
LWMPoly( 4 1 0
255 253
0 245
0 0
255 0
)
LWMAreaDrawPoly( 1 3 1 16 )
LWMPoly( 5 1 0
77 255
0 253
0 0
255 0
255 255
)
LWMAreaDrawPoly( 1 3 2 16 )
LWMPoly( 4 1 0
98 0
108 255
0 255
0 0
)
LWMAreaDrawPoly( 1 3 0 15 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 1 15 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 2 15 )
LWMPoly( 4 1 0
87 0
98 255
0 255
0 0
)
LWMAreaDrawPoly( 1 3 0 14 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 1 14 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 2 14 )
LWMPoly( 4 1 0
77 0
87 255
0 255
0 0
)
LWMAreaDrawPoly( 1 3 0 13 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 1 13 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 2 13 )
LWMPoly( 4 1 0
67 0
77 255
0 255
0 0
)
LWMAreaDrawPoly( 1 3 0 12 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 1 12 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 2 12 )
LWMPoly( 4 1 0
57 0
67 255
0 255
0 0
)
LWMAreaDrawPoly( 1 3 0 11 )
LWMPoly( 4 1 0
0 253
255 240
255 255
0 255
)
LWMAreaDrawPoly( 1 3 1 11 )
LWMPoly( 4 1 0
0 240
255 227
255 255
0 255
)
LWMAreaDrawPoly( 1 3 2 11 )
LWMPoly( 4 1 0
0 227
56 224
57 255
0 255
)
LWMIndexList( 2
626 191 3 0 0
627 191 3 0 0
)
LWMEnd
__________________________________________
PROJECT_LWM2.scm
Set( BUF 8192 )
Header( 1 23 22 115 114 )
LWMFileHeader
:cell00
LWMAreaDrawPoly( 1 3 6 31 )
LWMPoly( 4 0 0
255 127
191 123
163 0
255 0
)
LWMAreaDrawPoly( 1 3 7 31 )
LWMPoly( 4 0 0
255 144
0 127
0 0
255 0
)
LWMAreaDrawPoly( 1 3 8 31 )
LWMPoly( 4 0 0
255 160
0 144
0 0
255 0
)
LWMAreaDrawPoly( 1 3 9 31 )
LWMPoly( 4 0 0
255 177
0 160
0 0
255 0
)
LWMAreaDrawPoly( 1 3 10 31 )
LWMPoly( 4 0 0
103 0
99 183
0 177
0 0
)
LWMAreaDrawPoly( 1 3 6 30 )
LWMPoly( 4 0 0
163 255
104 0
255 0
255 255
)
LWMAreaDrawPoly( 1 3 7 30 )
LWMPoly( 4 0 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 8 30 )
LWMPoly( 4 0 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 9 30 )
LWMPoly( 4 0 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 10 30 )
LWMPoly( 4 0 0
109 0
103 255
0 255
0 0
)
LWMAreaDrawPoly( 1 3 6 29 )
LWMPoly( 4 0 0
104 255
45 0
255 0
255 255
)
LWMAreaDrawPoly( 1 3 7 29 )
LWMPoly( 4 0 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 8 29 )
LWMPoly( 4 0 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 9 29 )
LWMPoly( 5 0 0
239 0
255 17
255 255
0 255
0 0
)
LWMAreaDrawPoly( 1 3 10 29 )
LWMPoly( 4 0 0
0 17
112 135
109 255
0 255
)
LWMAreaDrawPoly( 1 3 6 28 )
LWMPoly( 4 0 0
45 255
32 199
255 209
255 255
)
LWMAreaDrawPoly( 1 3 7 28 )
LWMPoly( 4 0 0
0 209
255 221
255 255
0 255
)
LWMAreaDrawPoly( 1 3 8 28 )
LWMPoly( 4 0 0
0 221
255 233
255 255
0 255
)
LWMAreaDrawPoly( 1 3 9 28 )
LWMPoly( 4 0 0
0 233
228 243
239 255
0 255
)
LWMIndexList( 1
628 191 3 0 0
)
LWMEnd
_____________________________________
I do understand the calibration. The problem I had last night was I calibrated the map, saved the data file, and when I re-opened the project the map is back in the same shape as when I first loaded it - namely square and squashed. None of the lat/long points were correct.
????
I'm stumped.
Thanks for your help, though.
Matthew
________________________________________
FILLS_shenzhen_v3_LWM2.scm
Header( 1 23 22 114 113 )
LWMFileHeader
:cell00
macro( Area01X01Poly.scm 0 28 16 0 )
macro( Area01X01Poly.scm 1 29 17 0 )
macro( Area01X01Poly.scm 1 28 17 0 )
macro( Area01X01Poly.scm 1 27 17 0 )
LWMIndexList( 1
626 191 3 0 0
)
LWMEnd
shenzhen_v3_VTPP.scm
Set( BUF 8192 )
Header( 1 23 22 114 113 )
VTPFileHeader( 0x100 )
:cell00
VTPArea( 1 1 18 31 )
VTPLayer( 4 1 1 0 )
VTPTexID( 0 0 )
VTPPolyCount( 1 )
VTPPoly( 2 4 0 )
VTPPointXY( 12240 8318 )
VTPPointXY( 11744 8312 )
VTPPointXY( 12042 7276 )
VTPPointXY( 12240 7200 )
:cell01
VTPArea( 1 1 19 31 )
VTPLayer( 4 1 1 0 )
VTPTexID( 0 0 )
VTPPolyCount( 2 )
VTPPoly( 2 3 0 )
VTPPointXY( 4080 7200 )
VTPPointXY( 4549 7021 )
VTPPointXY( 4633 7348 )
VTPPoly( 2 4 0 )
VTPPointXY( 4080 7200 )
VTPPointXY( 4633 7348 )
VTPPointXY( 4924 8328 )
VTPPointXY( 4080 8318 )
VTPIndexList( 2
626 191 0
627 191 0
)
VTPTextureList( 1
34 0 0 0 4
)
VTPEnd
_________________________________________
shenzhen_v3_LWM2.scm
Set( BUF 8192 )
Header( 1 23 22 114 113 )
LWMFileHeader
:cell00
LWMAreaDrawPoly( 1 3 29 16 )
LWMPoly( 4 1 0
255 228
114 224
104 0
255 0
)
LWMAreaDrawPoly( 1 3 30 16 )
LWMPoly( 4 1 0
255 236
0 228
0 0
255 0
)
LWMAreaDrawPoly( 1 3 31 16 )
LWMPoly( 4 1 0
255 245
0 236
0 0
255 0
)
LWMAreaDrawPoly( 1 3 29 15 )
LWMPoly( 4 1 0
104 255
93 0
255 0
255 255
)
LWMAreaDrawPoly( 1 3 30 15 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 31 15 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 29 14 )
LWMPoly( 4 1 0
93 255
82 0
255 0
255 255
)
LWMAreaDrawPoly( 1 3 30 14 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 31 14 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 29 13 )
LWMPoly( 4 1 0
82 255
72 0
255 0
255 255
)
LWMAreaDrawPoly( 1 3 30 13 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 31 13 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 29 12 )
LWMPoly( 4 1 0
72 255
62 33
255 23
255 255
)
LWMAreaDrawPoly( 1 3 30 12 )
LWMPoly( 4 1 0
0 23
255 10
255 255
0 255
)
LWMAreaDrawPoly( 1 3 31 12 )
LWMPoly( 5 1 0
0 10
206 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 31 11 )
LWMPoly( 3 1 0
206 255
255 253
255 255
)
:cell01
LWMAreaDrawPoly( 1 3 1 17 )
LWMPoly( 3 1 0
255 6
77 0
255 0
)
LWMAreaDrawPoly( 1 3 2 17 )
LWMPoly( 4 1 0
108 0
108 9
0 6
0 0
)
LWMAreaDrawPoly( 1 3 0 16 )
LWMPoly( 4 1 0
255 253
0 245
0 0
255 0
)
LWMAreaDrawPoly( 1 3 1 16 )
LWMPoly( 5 1 0
77 255
0 253
0 0
255 0
255 255
)
LWMAreaDrawPoly( 1 3 2 16 )
LWMPoly( 4 1 0
98 0
108 255
0 255
0 0
)
LWMAreaDrawPoly( 1 3 0 15 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 1 15 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 2 15 )
LWMPoly( 4 1 0
87 0
98 255
0 255
0 0
)
LWMAreaDrawPoly( 1 3 0 14 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 1 14 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 2 14 )
LWMPoly( 4 1 0
77 0
87 255
0 255
0 0
)
LWMAreaDrawPoly( 1 3 0 13 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 1 13 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 2 13 )
LWMPoly( 4 1 0
67 0
77 255
0 255
0 0
)
LWMAreaDrawPoly( 1 3 0 12 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 1 12 )
LWMPoly( 4 1 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 2 12 )
LWMPoly( 4 1 0
57 0
67 255
0 255
0 0
)
LWMAreaDrawPoly( 1 3 0 11 )
LWMPoly( 4 1 0
0 253
255 240
255 255
0 255
)
LWMAreaDrawPoly( 1 3 1 11 )
LWMPoly( 4 1 0
0 240
255 227
255 255
0 255
)
LWMAreaDrawPoly( 1 3 2 11 )
LWMPoly( 4 1 0
0 227
56 224
57 255
0 255
)
LWMIndexList( 2
626 191 3 0 0
627 191 3 0 0
)
LWMEnd
__________________________________________
PROJECT_LWM2.scm
Set( BUF 8192 )
Header( 1 23 22 115 114 )
LWMFileHeader
:cell00
LWMAreaDrawPoly( 1 3 6 31 )
LWMPoly( 4 0 0
255 127
191 123
163 0
255 0
)
LWMAreaDrawPoly( 1 3 7 31 )
LWMPoly( 4 0 0
255 144
0 127
0 0
255 0
)
LWMAreaDrawPoly( 1 3 8 31 )
LWMPoly( 4 0 0
255 160
0 144
0 0
255 0
)
LWMAreaDrawPoly( 1 3 9 31 )
LWMPoly( 4 0 0
255 177
0 160
0 0
255 0
)
LWMAreaDrawPoly( 1 3 10 31 )
LWMPoly( 4 0 0
103 0
99 183
0 177
0 0
)
LWMAreaDrawPoly( 1 3 6 30 )
LWMPoly( 4 0 0
163 255
104 0
255 0
255 255
)
LWMAreaDrawPoly( 1 3 7 30 )
LWMPoly( 4 0 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 8 30 )
LWMPoly( 4 0 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 9 30 )
LWMPoly( 4 0 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 10 30 )
LWMPoly( 4 0 0
109 0
103 255
0 255
0 0
)
LWMAreaDrawPoly( 1 3 6 29 )
LWMPoly( 4 0 0
104 255
45 0
255 0
255 255
)
LWMAreaDrawPoly( 1 3 7 29 )
LWMPoly( 4 0 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 8 29 )
LWMPoly( 4 0 0
0 0
255 0
255 255
0 255
)
LWMAreaDrawPoly( 1 3 9 29 )
LWMPoly( 5 0 0
239 0
255 17
255 255
0 255
0 0
)
LWMAreaDrawPoly( 1 3 10 29 )
LWMPoly( 4 0 0
0 17
112 135
109 255
0 255
)
LWMAreaDrawPoly( 1 3 6 28 )
LWMPoly( 4 0 0
45 255
32 199
255 209
255 255
)
LWMAreaDrawPoly( 1 3 7 28 )
LWMPoly( 4 0 0
0 209
255 221
255 255
0 255
)
LWMAreaDrawPoly( 1 3 8 28 )
LWMPoly( 4 0 0
0 221
255 233
255 255
0 255
)
LWMAreaDrawPoly( 1 3 9 28 )
LWMPoly( 4 0 0
0 233
228 243
239 255
0 255
)
LWMIndexList( 1
628 191 3 0 0
)
LWMEnd
_____________________________________
I do understand the calibration. The problem I had last night was I calibrated the map, saved the data file, and when I re-opened the project the map is back in the same shape as when I first loaded it - namely square and squashed. None of the lat/long points were correct.
????
I'm stumped.
Thanks for your help, though.
Matthew
Hi,
I could not see what could be wrong. You move (copy) Scasm.exe into to folder where the shown files exist (Tools/Work). Then drag each of the files and release them over the SCasm item. They will compile or not (if there are errors). Then you will know which is the wrong file (if there is one).
If you calibrate the map and save the project, then, if you reopen the SAME project the map is calibrated.
Luis
I could not see what could be wrong. You move (copy) Scasm.exe into to folder where the shown files exist (Tools/Work). Then drag each of the files and release them over the SCasm item. They will compile or not (if there are errors). Then you will know which is the wrong file (if there is one).
If you calibrate the map and save the project, then, if you reopen the SAME project the map is calibrated.
Luis
-
- Posts: 17
- Joined: Sat May 14, 2005 10:35 pm
- Location: China
Ok. I get it. I was thinking that the bgl files were generated automatically. Duh.
As for the map calibration I must have entered the coordinates wrong. I started over with a new file and voila!, it works fine.
Thanks for all your help. I'll post you a note when I finish my scenery project. I'm building Shenzhen, a big Chinese city just north of Hong Kong. I live here and it's a real high-rise place. MS default scenery is an empty field with an airport in the middle of nowhere.
Thanks again.
As for the map calibration I must have entered the coordinates wrong. I started over with a new file and voila!, it works fine.
Thanks for all your help. I'll post you a note when I finish my scenery project. I'm building Shenzhen, a big Chinese city just north of Hong Kong. I live here and it's a real high-rise place. MS default scenery is an empty field with an airport in the middle of nowhere.
Thanks again.