Sign in to follow this  
Guest shep9999

SceneGenx trouble

Recommended Posts

I just had a look at v29 of scenegenx and thought i'd follow the tutorial..I have bglxml and bglanalyze so found the files required to disassemble .. neither prog will put them into xml like in the tutorial for sgx29... it either says old file type or not an afd file.... i must be missing something in their respective help files or sgx...anyone help please ??running fs9 on winMe..thanksgazps... used bglxml 1.50 to get all the stuff from vehicles, generic etc in fs9 ... no problem with them.;(

Share this post


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

There are two versions of bglanalyze, bglana31.zip and newbglanalyze_143281.zip. The former is for FS2002 and earlier scenery files, the latter for FS2004 scenery files and will decompile to the XML schema.W. Sieffert

Share this post


Link to post
Share on other sites

thanks ... will download from avsim newbglanalyze_143281.zip .. the version i got has 1.0.0.1 ...standby for reports....!!!

Share this post


Link to post
Share on other sites

hi again..ran the new one... error msg box.. this programm cannot disassemble BGL files of the old type ... oh dear???? it's fs9 for things sake!!HELP!

Share this post


Link to post
Share on other sites

Could you maybe tell us which files you were trying to decompile with BGLXML/New BGLAnalyzer? Then we might be able to give you some ideas.Are you sure you are trying to decompile correct Fs2004 style AFD files?As SceneGenX is still work in progress, it could very well be that the help file is not always up to date with the current build.

Share this post


Link to post
Share on other sites

Hi Arno,yes, it's the AP918190.BGL and associated files in the sgx tutorialNothing special , like AddonScenery etc,, just the basic tutorial files AP918190.BGL, NV9NAMC0.BGL AND OB9NAMC6.BGL.I get a similar msg with bglxml (not recognizing a non afd file)thanksgaz

Share this post


Link to post
Share on other sites

That is strange.Maybe a stupid question, but are you sure you are not decompiling Fs2002 files? That is the only reason I can think of at the moment that would give you such an error. SceneGenX is for Fs2004 only.

Share this post


Link to post
Share on other sites

:7 No arno, definitely fs9... checked the paths and all..version is ... bglanalyze .. V 1.0.0.1 (2004)thanksgaz

Share this post


Link to post
Share on other sites

I am afraid I have ran out of ideas for now then. I am not at home at the moment, but when I get home this evening I will try to decompile the same files and see what happens.

Share this post


Link to post
Share on other sites

thanks Arno.. sorry to be a pain... I can normally sort these sort of things out (as to why things are bringing errors up).. however this , using 2 different progs is getting frustrating...thanks for your help.. I'll battle on and see what happens.. now, where is the hammer!!!cheersgaz:-samurai

Share this post


Link to post
Share on other sites

Arno,just one other thing .. this is error msg with bglxml 1.50(for the same file in fs9)"BglXml Version 1.5/WIN32-©2003-2004 Alessandro G.AntoniniInput file: not a valid FS2004 facility data BGL!"

Share this post


Link to post
Share on other sites

Here it works with both compilers, without any trouble. But I still have no idea what could have gone wrong in your case.

Share this post


Link to post
Share on other sites

thanks arno,what i will do is switch off everything running , cept for bglxml , and try doing it again. It could be avg anitvirus or something...will let you know. ThanksGaz

Share this post


Link to post
Share on other sites

Hi Arno,Did what I said in above post.. no difference ... However...I read thru the bglxml docs and found this "BGLXML outputs a "this is not a valid fs2004 facility data bgl" and then stops: what does it mean? It means that not all BGL installed under FS2004 uses the new FS2004 format. Instead there are a lot of files using previous FS releases format. It is simply not possible to convert these files to XML (please do believe me!) - see below for a table of all BGL file prefixes dealt by BGLXML. "so I tried some other files.. many don't decompile but bglxml and newbglanalyze work fine on the Generic.bgl, Object bgls and Vehicles.bgl.Looks like I'll have to go thru the lot!!regardsGaz

Share this post


Link to post
Share on other sites

But it is still strange, as the AP*.bgl files are certainly XML AFD files, so they should work without trouble, just like they do at my PC.It is logic that the mesh files or libraries in the old format can not be converted to XML files, as BGLComp and the XML format can not create these files.

Share this post


Link to post
Share on other sites

Thanks Arno..Don't know what can be up with this. All the AP* files in fs9 are unaltered from original installation.I did use the v1.0.0.2 of bglanalyze (for fs2002 I believe)and itdecompiled ap918190.xml to a sca file, which doesn't help when using sgx.these progs are decompiling some stuff in my addon scenery folder, especially those af2 files by PAI.. doesn't seem a problem there.Is there anything I should be looking for in the standard AP* files?btw, why don't you work for MS flight sim team ??:-lol

Share this post


Link to post
Share on other sites

Arno,just one other thing,I used fsreg (library bit) to look thru my scenery dir.Here's what it says....C:Program FilesMicrosoft GamesFlight Simulator 9SceneryNamcSceneryAB918190.bgl This is a Visual/Default data file New file format (fs-7, fs-8) Lat bounds : 33* 45.0004 to 36* 33.7501 Lon bounds : -113* 30.0 to -109* 15.0 UNCOMPRESSED file (FL_Spare2=0) no object data no library data >> TERRAIN data at offset A8 no msa data no VOR data no ADF data no facility data no dynamic data no Ecxeption data no misc data no mag.var.data no afd dataI just used this to see if there was something funny about the headers etc.. As u are the expert , this appears a normal thing to me (found some that refered to Old fs format (fs6 & fs5)..Just a thoughtcheersgaz

Share this post


Link to post
Share on other sites

You should not be able to decompile the AP files to a SCA file anymore, as it is not possible to describe the new format in SCASM code. So that would indicate that the files you are using are not the default Fs2004 files.I will have a look this evening to see what the old BGLAnalyzer does with these files on my PC.

Share this post


Link to post
Share on other sites

Many thanks friend.. meanwhile I shall plod away TRYING to make something come of this!!!thanks v.m.Gaz

Share this post


Link to post
Share on other sites

Look again at the file you are trying to decompile - AB918190.bgl - that says "AB" NOT "AP".The "AB" files are terrain files and are FS2002 style. You can use bglana31.zip or LWMViewer to view and export the code.One has to be careful about the prefix letters of the files. Terrain files are FS2002 SCASM/BGLC style and the remaining files are FS2004 XML styleW. Sieffert

Share this post


Link to post
Share on other sites

Hello u 2 experts!i... er.... that is .... um .... Blooming AP and AB !!!!I really need new glasses:-hang Sorry about that , once u get into something you can't see the wood for the trees...as Mr Sieffert says, I picked AB instead of AP. Many thanks for your timecheersgaz

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