December 9, 200322 yr Hello,I've been progressing very very well with my Lancashire project. But I'm now getting a problem with instant crashes to desktop. My last known good configuration of this scenery was on sunday and since that time I've just added more roads to the last corner of my project.Well since then, I couldn't load the scenery, fs2004 crashed instantly when it got to 43% whilst loading terrain. So I progressively deleted scenery files from my project folder. I tried deleting landclass, no effect. I deleted the exclude file, no effect. I then deleted the a file called lancs_9.bgl - the one containing all the lines scenery. Bingo! I got to load fs2004.So with the problem isolated to the lines drawn, I progressively deleted the roads I added and reloaded fs2004 after copying the scenery over again. Sometimes the scenery would load successfully, but then it would crash unexpectedly. Subsequent attempts would see the sim failing to load at 43%. It was only when I re-copied the scenery across to the folder in fs2004 that the sim would load again, but it would crash all over again within 4-5minutes from startup.I finally deleted all the roads that I added since Sunday, my last good stable product. Arggghh! Still problems. The sim still crashes.Has anyone else had this problem before? If so, what solutions are there for it. The LVM file is 140kb zipped, but the administrator has set a max file size of 125kb. If anyone wants to analyse it, send me an email (in my profile details) and I'll email it as a zipped attachment.
December 9, 200322 yr Exactly: Bingo!That's the same problem as I had had today and I also work with many VTP2 lines. So I would also be very interested in a sollution. :)Sasa
December 9, 200322 yr >Exactly: Bingo!>That's the same problem as I had had today and I also work>with many VTP2 lines. So I would also be very interested in a>sollution. :)I never had a problem with compilation problems or errors, but one thing I noticed was that if I cut back on the roads, the crashes would take longer to happen. Also, some roads wouldn't appear. To me, it could be a compilation error - the manual does say:"Important : all the possibilities have not been tested; more, you can face difficulties due the fact we don
December 10, 200322 yr Perhaps the #9 BGL is calling for a texture that does not exist. Not sure where Ground2k finds the textures for roads...Dick Boley KLBE regards, Dick near Pittsburgh, USA
December 10, 200322 yr Commercial Member Ussually these crashes mean that you are missing a texture (or something is really wrong with the source code, but I expect that Ground2k makes good code :)). I don't know how you made your roads, did you use a default texture? If you have a custom texture also make sure it is DXT and has mipmaps, otherwise you can also get crashes. Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper.com | Former Microsoft FS MVP | Blog
December 10, 200322 yr Hi Arno,I have the same problem but I didn't use any default textures. It seems that most crashes happen if I get close to many railroads or to a point where the railroads get close to the cell border. But I am sure about it because I also have created hundreds of roads.Sasa
December 10, 200322 yr Hi Christian,Thanks for the offer. But one thing more: Do you also need the BMP file? Mine has 15 MB (packed!).Sasa
December 10, 200322 yr >>I don't know how you made your roads, did you use a default texture?My roads are VTP2 lines, in Ground2k4 (Version 5.1) I'm using the following roads:1163 - Two Lanes undivided Meridian1143 - Four Lanes divided Meridian1147 - Six Lanes divided Meridian1159 - One Lane undivided MeridianI can't see any lines that use custom textures in the list.>>but I expect that Ground2k makes good code :)).I'm not so sure. 1. Last night I recompiled the scenery and copiied it over. It worked fine - flying around for 15minutes before getting bored.2. Tonight I recompiled it again without alterations. Again, fine in fs2004.3. I added 3 more roads, recompiled and then loaded fs2004. This time it crashed repeatedly on loading either at 43% Terrain or 60% Terrain.4. I removed the exact 3 roads I added in step 3, recompiled and loaded fs2004. In theory this scenery should be identical to that in steps 1 and 2. But the scenery crashed at 60% Terrain on loading.5. Without making alterations, I recompiled the scenery and reloaded fs2004. This time I got in and flew - but then fs2004 crashed after about 4 minutes.I've emailed dick (rhumbaflappy) and christian the LWM file from last night, hopefully they'll be able to pick out the problem.Anthony
December 10, 200322 yr Author Hi Anthony.I'll play with the files a bit tonight ( I hope ). One problem I noted was the name of your exclude file.I changed "lancs-exclude.bgl" to "aaEx_lancs.bgl". Your files are named like "lancs_5.bgl", and the exclude could actually exclude the very things you have drawn! The draw order of BGLs within the same scenery folder is alpha-numeric... so the excludes were being made after your scenery was drawn. You want to name the exclude so it is executed first in the folder.I have compiled the scenery, and flown for a bit ( maybe 15 minutes with another 10 at dusk ). So far so good. LWMViewer shows the scenery just fine.If I load the landclassfile into TMFViewer, and then the lanc_9.bgl, theree is a crash of TMFViewer! So the search may start there.Dick
December 11, 200322 yr Commercial Member This is interesting. How many roads do you have in your file then? If there are more then a certain amount of objects (can remember the number now) the list of them should be split. Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper.com | Former Microsoft FS MVP | Blog
December 11, 200322 yr Hi Arno,As far is I know the limit was somthing like 280 roads per BGL. I think that I have a lot more but how is it possible to count them if not manually?Sasa
December 11, 200322 yr Commercial Member From our NL2000 test we came up with problems when we had more then 127 VTP polygons or roads if I remember correct. So if you have much more already, I doubt it is the same problem.All the roads you talk about use the same texture? Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper.com | Former Microsoft FS MVP | Blog
December 11, 200322 yr >This is interesting. How many roads do you have in your file>then? If there are more then a certain amount of objects (can>remember the number now) the list of them should be split.I think I have solved the problem. 1. I deleted a certain number of roads, recompiled and then ran fs2004. FS2004 loaded and ran fine without problem but then this wasn't concrete evidence.2. I opened the Landclass bgl, then the lines bgl file in tmfviewer. Now tmfviewer used to crash with every problem bgl file, but this time it was fine.3. I progressively added more roads, compiling and running tmfviewer after every few lines added. It worked up until my last good road configuration on Sunday evening.4. Then I added one more line, I ran tmfviewer, it crashed. I opened fs2004, it crashed. Bingo!5. So I deleted that road and ran tmfviewer again, it ran fine. But hold on, what if it was a one off crash? So I added another random line, ran tmfviewer and hey presto it crashed again. So I deleted the line and both tmfviewer and fs2004 ran fine.To Cristian and Dick (Rhumbaflappy), I've emailed you both the solved LWM file, if you compile and run it, all should be fine. Add one line, recompile and then open in tmfviewer - it should crash.So, the solution, I'll need to create a new LWM project to create a new lines bgl file. I don't know how many lines I've got in my file, I don't know any tools to count them, but there are certainly lots of them.All's well!Anthony Dyer
December 11, 200322 yr Author Hi Anthony.I think the number of lines is in line 100 of the LWM... and the fixed file reads 471.However that is not the number of VTP lines, but of the LWM pseudocode number of lines.This might need some looking into.Dick
Create an account or sign in to comment