Jump to content
Sign in to follow this  
Shaka

Effect of libraries vs. single API's

Recommended Posts

Guest meyrowings

Hi Gurus,two questions this time:1) Is there a way to move EOD-created API objects to some kind of library BGL file?2) Is there a significant performance effect on doing so or am I just saving space?Thanks,Torsten

Share this post


Link to post
Share on other sites

Hi Torsten,1. At the moment I think you need to tweak some SCASM code manual to create a library from an EOD object (I have some ideas to make a tool that can do it automatically, but haven't had the time yet to work on it).2. If you use the object only once I don't expect there to be a big difference, but if you use it more often then it will make the scenery more efficient (and also make the BGL file smaller).


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

Share this post


Link to post
Share on other sites
Guest meyrowings

Hi Arno,thanks for answering. Can You tell me (or do You have a link where to read about it) what to tweak? If You lke, You can also contact me by mail at meyro@myskoda.deMy problem: I'm designing an airport with quite a bunch of service vehicles. As Pax bridges, Catering trucks, Busses, some blast walls, some vans/cars and smaller stuff will be around a few times each, there'd be potential for getting it more efficient...Thanks again,Torsten

Share this post


Link to post
Share on other sites

I will post (or mail you) a piece of example code when I am back home.I have also written a small tutorial about it, but it is in Dutch, I still need to translate it :).


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

Share this post


Link to post
Share on other sites

Torsten,I recently started converting my macros into libraries. Although I use FSDS2, I think I can still finger my way through other macros. I learned this by searching way back in the forum for some help, and then some trial and error. The good thing is that this forced me to learn a little bit about SCASM. Feel free to peruse the SCASM manual for a detailed explanation of what the commands do, especially in regards to library objects.I started typing a short explanation here, but I just figured out that this is not possible. A detailed tutorial is necessary, but in the meantime, you can email me your macro if like, and I cam send it back to you showing you what I did. It's pretty easy, but it's one of those things that just seems to take much longer to explain, than to actually do it.In the meantime, you might want to check out these threads:http://forums.avsim.net/dcboard.php?az=sho...ing_type=searchhttp://forums.avsim.net/dcboard.php?az=sho...ing_type=searchhttp://forums.avsim.net/dcboard.php?az=sho...ing_type=searchhttp://forums.avsim.net/dcboard.php?az=sho...ing_type=searchhttp://forums.avsim.net/dcboard.php?az=sho...ing_type=searchAlso, Andreas Klisch uploaded a API library "somewhere" that had a decent little tutorial with it. The information is a little dated and some of the SCASM commands look strange, but the material is still relevant.- Martinemail me at martinstrong@martinstrong.com

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...