June 22, 200223 yr hi all, has anyone see a utility that converts bgl to sca? i cant seem to get fsregen to work right and it would seem easier if i had a sca file to convert to api for use in fssc.odog
June 23, 200223 yr It seems that you are looking for a decompiler.I use BGLAnalyze.exe, by Winfried Orthmann. A very good disassamble program. You need scasm to compile again.Remember: IT IS NOT ALLOWED TO CHANGE/USE SOMEONE ELSES FILES WITHOUT HIS PERMISSION.You can find it under bglana21.zip, but not avsim I see. Try some of the other flightsimboards.Bert Kuyper
June 23, 200223 yr Author Commercial Member Do I understand it correct that you want to use it to decompile a BGL made with GMax, because you can't get FsRegen to work? I can help you out of that dream, that won't work. SCASM doesn't support most of the new commands GMax uses and you can not make a macro out of it. That is the reason we are using the work around with the library.Otherwise I would also recommend BGLAnalyzer.ArnoMember NL2000 Teamhttp://home.wanadoo.nl/arno.gerretsen 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
June 24, 200223 yr That's not entirely true, Arno. Theoretically, one can program ANY BGL command in SCASM as long as you know the opcode and parameter structure, by using the dbx() etc. commands. You can also turn these into parameterised macros as a direct substitute for the full-blown command by using a SCASM Macro(). SCASM macros have a much wider range of potential uses than just making API's.The biggest problem, though, is the 32-bit real data types used by many of the new commands ...Roll on the scenery SDK - do you think it might be out before FS2004 ?!?CheersGerrish>Do I understand it correct that you want to use it to >decompile a BGL made with GMax, because you can't get >FsRegen to work? I can help you out of that dream, that >won't work. SCASM doesn't support most of the new commands >GMax uses and you can not make a macro out of it. That is >the reason we are using the work around with the library. >Otherwise I would also recommend BGLAnalyzer. >>Arno >Member NL2000 Team >http://home.wanadoo.nl/arno.gerretsen
June 24, 200223 yr Author Commercial Member Yes, that's true Gerrish. If you make a simple object in GMax and leave out the crash detection and other special options, the latest version of BGLAnalyzer can already decompile it to SCASM code. But more complex objects don't work yet with BGLAnalyzer.And about the SDK. I have given up hope a little know. If they wait long the next version of FS is there bt the time we have learned to use the new features. I think this is really a bad thing from M$ as it makes it less fun the make addons.ArnoMember Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a] 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
June 25, 200223 yr all i really want is a way to use my gmax scenery models in a program like airport or fssc i thought i read of someone doing this but maybe its beyond my current abilities...im new to scasm...it seems like it should be easier than im making it
June 25, 200223 yr Author Commercial Member I think the fastest and easiest way of doing it is to make a library BGL of your objects using FsRegen and then call them with a simple macro. I can give you an example of such a macro if you want.ArnoMember Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a] 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
June 25, 200223 yr i have a copy of the sample mac you posted earlier, but i dont know what to do with it where do i paste it and how do i call it? when i try to get library tool to work i get the error "cant find _0.asm the program seems to add the _0 to my filename...? if i rename and add the _0 it cant find _0_0.asm wierd.
June 25, 200223 yr >And about the SDK. I have given up hope a little know. If >they wait long the next version of FS is there bt the time >we have learned to use the new features. I think this is >really a bad thing from M$ as it makes it less fun the make >addons. > Arno, I think it's pretty appalling. How long can it take to write a Word document? It's now nine months since they finished work on FS2002. If they could at least give some idea when the scenery SDK will be released it would help. Yet another SDK has just been released. I'm reminded of that well known saying: another day, another useless SDK. Best regards, Chris
June 25, 200223 yr Author Commercial Member You must paste the example macro in an empty text file. You can do that with notepad or so. Then you must adjust the ID to the value you want.And for your other question. Make sure you have the latest version of MakeMDL. Then you select the asm file of your project (test.asm for example). GMax also has made a test_0.asm and that file is also loaded then. But you must select the file without the _0.ArnoMember Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a] 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
June 25, 200223 yr Author Commercial Member It almost looks if you can read my mind :).And they have also spend some time on making an addon scenery. If at least they would tell us which SDK's are still going to come that would make things a lot easier.ArnoMember Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a] 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
July 14, 200322 yr Arno, I didn't belive I ever have to say it, but You're a bit wrong. It IS possible to decompile an object exported from gmax. When exporting, make sure crash detection is turned off. Decompile the source with BglAnalyze and there! You'll see nice SCASM code.
July 15, 200322 yr Author Commercial Member Remember that this was written a year ago :D, by now there is a newer version of BGLAnalyzer that can indeed read some, but not all, of the new commands used by GMax. 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
Create an account or sign in to comment