• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

Does Ivan still visit here?

PJMack

Charter Member
I have a question for Ivan about mdlc scasm overflow problems. When converting from an sca file to compile in scasm, is there a switch to prevent overflow errors? If so, what are the peramiters?
 
PJ,

Its complicated if you're not familiar with hex editing mdl files, but there is a possible fix. It depends on the program used to design the mdl. If its an FS2004 Gmax or FSDS 2.2 model giving you overruns, you may need to hex the mdl and replace the ISFT code (see pics below). The trick is to replace the default code of the target FS9 mdl (before conversion) with that from a stock FS9 model that converts easily, like the Bell 206B in my example. You copy the code from the stocker and paste/overwrite the same exact code in the conversion candidate. Then run the converter. Sometimes this works and sometimes not. If the mdl was created with FSDS 3+, forget it - this may even be the sole reason for most overruns.

A good freeware hex editor is Frhed. I use a better payware option called Hex Workshop 5. Its got more bells and whistles, but Frhed will get the job done just as well. What model are you converting? For reasons not entirely clear to me, some FS designer's works are more prone to these overruns in conversion that others, like Alphasim and Aeroplane Heaven, even though they may be using the same design programs as other designers who's works are less problematic to convert. I guess in these cases it just comes to a different technical twist in their processes, rather than software versions.

0001szd.jpg



0002xrn.jpg
 
HI! BC .... now just what the hell is all that stuff? Is this secret code being sent to the planet Remulak or even more scary ... communication with another dimension?:monkies: Good Grief!

Me:kilroy:
 
LOL...that "stuff", as you put it, is the stuff that draws all those cool cartoon planes you love to play with. :icon_lol:

:icon29:
 
It is an overflow in memory try this

Set( LINBUF 1024 )
Set( BUF 600 )
Set( AREAMX 600 )

When i was working on the WWI machine gun for the Thomas Morse project, I had overflow on buffers, research lead me to put this into the .sca (open with notepad and put above the header)

If you are having buffering problems this should fix them.
 
OK ... now I get it! Hell, I though it was all some kind of voodoo magic or something. Now I find out it's all just a bunch of numbers?

Kinda' reminds me of the scene in "Christmas Story" when Ralphie finds out, with the help of his trusty, long awaited "Orphan Annie Decoder Ring" that the "secret" message was just "a crummy commercial!"

Now I'm even more frightened of my computer ... after all I mean that if it can take all those numbers and letters and make airplanes and ships and land and water ... what is it donig when I think it's off and I'm sleeping? Here we go again with the aluminium foil, pointy hat!:isadizzy:
 
bearcat241

Thank you for taking the time to answer in such detail but even though I followed the instructions I believe that this plane was created in a different program.


all the best,
 
Cowboy,

Thank you also for your input but this model is just too %^&&**!!am big to compile.

all the best,:173go1:
 
Back
Top