Sign in to follow this  
Guest christian

arno, dynamic library confusion...

Recommended Posts

I'm finally finished with typing all the FS2000 SDK stuff into my decompiler. However I run into problems right at the start.I tried to decompile dynlib.bgl in the scenery bgl. This is a library, and since I can decompile libraries for a long time, I could have tried this beforehand! Don't know where dyn lib objects are called yet, but one thing after the other.The very beginning of dynlib decompiles fine I get this for the lib header: LIBRARY_HEADER 000C2CDA9h,0A9E100AAh,0596711D0h,0B1A18300h, 100, header_end_0000, object_end_0000, 0, 000000040h, 2, 0, "Dynamic Scenery Cessna"This looks ok. Note that this is a lib object of type 2 which may be significant (I assume this sets dyn lib)!Anyway, then my decompiler fails already and I can't solve this problem. The next entry is 40 00. This is SHADOW_VPOSITION according to the SDK. Then this is followed by 00 00. Now this doesn't make any sense. I found there is a mistake in the SDK too, referring to BGLMAC.INC the command looks different. Anyway, whatever I do, the next commands don't make sense at all. It just won't decompile properly.Ok, let's assume these aren't classic opcodes, but dynamic opcodes. Then this should be LANDING_ABORT. No luck here either, starting with that command doesn't make sense, and the following values don't either.Can you see any light? Anyone else?Cheers, Christian

Share this post


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

The above is complete and utter rubbish. Please disregard. I just read the SCASM docs and SHADOW_VPOSITION is correct (puzzles me though why the address is set to 0, but the SCASM example does the same).It's a coding error I'll have to track down now...Cheers, Christian

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