• 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.

FS9 to CFS2 occasionally crashes to desktop

No sir, like i said in my email reply, i didn't get all of your package, so i can't take any credit...you sorted this without my input.


CheerZ! :icon29:
 
Hey uhhh, Bearcat

A couple of days ago I had a personal :censored: fit. Deleted my whole MDLC folder.
I feel better now :d.

There's one thing I still need though. A bat text for a CFS2 scasm file to CFS2 .mdl
Tried making one from memory but that was a no go. It's the one with X. __ in the text.
Dv
 
Done...number 4 is the actual final cfs2 converter. Numbers 1 through 3 are scasm workers. You have to use them to decompile the mdl to scasm and when the editing work is done, recompile it back to an mdk, which is the format MDLC requires to go to CFS2 format using number 4.
 
Can I Pick Your Brain?

First off, your .bats are the cat's pajamas...thanks again Bearcat. :ernae:
What I was working on before I temporarily lost my marbles...the Lockheed XP2V-1 Neptune by JR Lucariny.

I'm again in the process of attempting to get the bomb bay doors to animate.

What was found by your SetMaterial( -- ) method (same as making external ordinance with shadows not be drawn) is that it seems the animation is tied in with the pivoting landing lights.

When all four of the animations below were set to (9 -1), the all zero material addition...not only were the bomb bay doors located (by not being drawn), but also the pesky landing lights were no longer drawn either.

The first two animations with (9 -1) canceled out the bomb bay doors.
The last two animations, (9 -1) killed the pivoting landing lights.
The call for the locations of the animations are quite close to each other.
All four come with r_canopy calls from the DictGUID.

Any clues BC on the edits needed to have the bomb bay doors operational? Maybe a push in the right direction?
Dv

:L1381D2
Jump( :L1382AE )
;Translation Table
Dwx( 0x01 )
Dr4( -1.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dwd( 2 )
Dr4( 0.0000000000 -317.3652343750 -829.1583862305 -662.5280151367 )
Dr4( 100.0000000000 -317.3652343750 -808.0025634766 -662.5280151367 )
;Rotation Table
Dwx( 0x03 )
Dr4( -1.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dwd( 2 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 1.0000000000 )
Dr4( 100.0000000000 -0.0030853255 -0.0030853255 0.7071000338 0.7071000338 )
:L1382AE
VarBase( :[ -216 ] )
;uName: r_canopy uOffset: 0x0152
Animate( :[ -1 ] 0x0152 0x01 0x00 0.0000000000 0.0000000000 0.0000000000 )
VarBase( :[ -1 ] )
VarBase( :[ -154 ] )
;uName: r_canopy uOffset: 0x0152
Animate( :[ -1 ] 0x0152 0x01 0x00 0.0000000000 0.0000000000 0.0000000000 )
VarBase( :[ -1 ] )
Zbias( 2 )
SetMaterial( 9 -1 )
;Model000000/ Part000244 Object000244
DrawTriList( 29631
0 1 2 ;29631 29632 29633 PH4 PH8 PH8
0 2 3 ;29631 29633 29634 PH4 PH8 PH4
3 2 4 ;29634 29633 29635 PH4 PH8 PH6
3 4 5 ;29634 29635 29636 PH4 PH6 PH2
1 6 7 ;29632 29637 29638 PH8 PH8 PH8
1 7 2 ;29632 29638 29633 PH8 PH8 PH8
2 7 8 ;29633 29638 29639 PH8 PH8 PH5
2 8 4 ;29633 29639 29635 PH8 PH5 PH6
)
Zbias( 0 )
TransformEnd
TransformEnd
Return

:L13834E
Jump( :L13842A )
;Translation Table
Dwx( 0x01 )
Dr4( -1.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dwd( 2 )
Dr4( 0.0000000000 319.7583312988 -821.4374389648 -662.5280151367 )
Dr4( 100.0000000000 319.7583312988 -807.3318481445 -662.5280151367 )
;Rotation Table
Dwx( 0x03 )
Dr4( -1.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dwd( 2 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 1.0000000000 )
Dr4( 100.0000000000 -0.0030582841 0.0031121324 -0.7009026408 0.7132436037 )
:L13842A
VarBase( :[ -216 ] )
;uName: r_canopy uOffset: 0x0152
Animate( :[ -1 ] 0x0152 0x01 0x00 0.0000000000 0.0000000000 0.0000000000 )
VarBase( :[ -1 ] )
VarBase( :[ -154 ] )
;uName: r_canopy uOffset: 0x0152
Animate( :[ -1 ] 0x0152 0x01 0x00 0.0000000000 0.0000000000 0.0000000000 )
VarBase( :[ -1 ] )
Zbias( 2 )
SetMaterial( 9 -1 )
;Model000000/ Part000245 Object000245
DrawTriList( 29640
0 1 2 ;29640 29641 29642 PH1 PH5 PH7
0 2 3 ;29640 29642 29643 PH1 PH7 PH3
3 2 4 ;29643 29642 29644 PH3 PH7 PH7
3 4 5 ;29643 29644 29645 PH3 PH7 PH3
1 6 7 ;29641 29646 29647 PH5 PH6 PH7
1 7 2 ;29641 29647 29642 PH5 PH7 PH7
2 7 8 ;29642 29647 29648 PH7 PH7 PH7
2 8 4 ;29642 29648 29644 PH7 PH7 PH7
)
Zbias( 0 )
TransformEnd
TransformEnd
Return

:L1384CA
Jump( :L1385A6 )
;Translation Table
Dwx( 0x01 )
Dr4( -1.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dwd( 2 )
Dr4( 0.0000000000 319.7583312988 -821.4374389648 -662.5280151367 )
Dr4( 100.0000000000 319.7583312988 -807.3318481445 -662.5280151367 )
;Rotation Table
Dwx( 0x03 )
Dr4( -1.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dwd( 2 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 1.0000000000 )
Dr4( 100.0000000000 -0.0030582841 0.0031121324 -0.7009026408 0.7132436037 )
:L1385A6
VarBase( :[ -216 ] )
;uName: r_canopy uOffset: 0x0152
Animate( :[ -1 ] 0x0152 0x01 0x00 0.0000000000 0.0000000000 0.0000000000 )
VarBase( :[ -1 ] )
VarBase( :[ -154 ] )
;uName: r_canopy uOffset: 0x0152
Animate( :[ -1 ] 0x0152 0x01 0x00 0.0000000000 0.0000000000 0.0000000000 )
VarBase( :[ -1 ] )
SetMaterial( 9 -1 )
;Model000000/ Part000246 Object000246
DrawTriList( 29649
0 1 2 ;29649 29650 29651 PH3 PH7 PH5
0 2 3 ;29649 29651 29652 PH3 PH5 PH1
4 5 1 ;29653 29654 29650 PH3 PH7 PH7
4 1 0 ;29653 29650 29649 PH3 PH7 PH3
1 6 7 ;29650 29655 29656 PH7 PH7 PH6
1 7 2 ;29650 29656 29651 PH7 PH6 PH5
5 8 6 ;29654 29657 29655 PH7 PH7 PH7
5 6 1 ;29654 29655 29650 PH7 PH7 PH7
)
TransformEnd
TransformEnd
Return

:L13863E
Jump( :L13871A )
;Translation Table
Dwx( 0x01 )
Dr4( -1.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dwd( 2 )
Dr4( 0.0000000000 -317.3652343750 -829.1583862305 -662.5280151367 )
Dr4( 100.0000000000 -317.3652343750 -808.0025634766 -662.5280151367 )
;Rotation Table
Dwx( 0x03 )
Dr4( -1.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 )
Dwd( 2 )
Dr4( 0.0000000000 0.0000000000 0.0000000000 0.0000000000 1.0000000000 )
Dr4( 100.0000000000 -0.0030853255 -0.0030853255 0.7071000338 0.7071000338 )
:L13871A
VarBase( :[ -216 ] )
;uName: r_canopy uOffset: 0x0152
Animate( :[ -1 ] 0x0152 0x01 0x00 0.0000000000 0.0000000000 0.0000000000 )
VarBase( :[ -1 ] )
VarBase( :[ -154 ] )
;uName: r_canopy uOffset: 0x0152
Animate( :[ -1 ] 0x0152 0x01 0x00 0.0000000000 0.0000000000 0.0000000000 )
VarBase( :[ -1 ] )
SetMaterial( 9 -1 )
;Model000000/ Part000247 Object000247
DrawTriList( 29658
0 1 2 ;29658 29659 29660 PH4 PH8 PH8
0 2 3 ;29658 29660 29661 PH4 PH8 PH4
4 5 1 ;29662 29663 29659 PH2 PH6 PH8
4 1 0 ;29662 29659 29658 PH2 PH8 PH4
1 6 7 ;29659 29664 29665 PH8 PH8 PH8
1 7 2 ;29659 29665 29660 PH8 PH8 PH8
5 8 6 ;29663 29666 29664 PH6 PH5 PH8
5 6 1 ;29663 29664 29659 PH6 PH8 PH8
)
TransformEnd
TransformEnd
Return

Oh yeah, in ACM the wire frame shows two parts for each door. That's why the lights thing is confusing me.
 
Well, without seeing the entire scasm file, i can only advise based on what i would do myself from the top of the situation and go from there. Like so many FS bomber designs, it appears that your bomb doors were assigned to rear canopy anima. Now that you've identified what's what, you can restore the original materials to the doors and leave the calls for the lights nulled. Putting the lights aside, what i would do to the doors is reassign them to spoiler anima in CFS2. First, all r_canopy dict section entries for the doors only should be replaced.

Example:

;FLOAT32 0152 4 {9E5C1C92-D1A9-477F-B78C-68AD64D4AF56} r_canopy

;FLOAT32 0152 4 {E54A2C80-935E-4C5D-8700-1E1E495E0077} l_spoiler


With that done, you then search down into the proceeding body of alphanumeric text and replace of ALL of the r_canopy uName calls for the doors with l_spoiler.

Save your work and recompile to CFS2.mdl
 
Ok bc, I tried the replacements you suggested and it's still a no go.

An item I just came to notice is the original .mdl is Fs8.
Could that have a bearing on things as far as MDLC is concerned?

Dv
 
Don't see any reason why its original state should have any relevance. In any case -- FS8, FS9 or CFS2 -- once you go to scasm, then recompile with MDLC /m x.sca and MDLC /l x.bgl, this generates an MDk file, which is FS8 format. That is then transformed into a CFS2-ready mdl by MDLC /c x.mdk x.md2 F. After this you fix animation and size with other commands.

There must be some handle in the scasm layout that you're missing. I can take a run at it if you send the original zip.
 
Air File Params

Hey Bc, Somebody slap me and call me Happy. :icon_lol:

You know...after your initial reply these doors were set correctly in the sca, via your directions. But, I did not have "spoiler" parameters set in the air file He hee. Oh well, ya live and learn. :salute:

Dave
 
I'm stumped!

Hi M8's

As some of you may know, I'm working on a conversion of Dave Garwood's Hunter.

My problem... getting a CTD in QC or in missions when the AI aircraft hits terra firma.
I've tried all of the usual suspects as in this old thread, but still no joy. :disturbed:

One item I know nothing about is CrashStart and damaged0. This is in the *.sca file.
Have these ever been associated with the CTD problem?

I've read the doc's from Manfred Moldenhauer's website and the only reference found to these commands are for the CrashStart. Mostly it deals with a scenery objects, not aircraft *.mdl's.

Can anyone enlighten me on these commands?

I'd really appreciate any input on this. :encouragement:

If needed, I can make the package available for anyone who may want to take a look at it.

Thanks In Advance,
Dv
 
Hi Dvslats,
It is most likely the "Crash check"
Just find the start of the code and insert a "Return" instruction.

Like so.
:L003570
;uName: crash_check uOffset: 0x0120
IfVarAnd( :L00357C 0x0120 0xFFFF )
Call( :L003588 )

:L003588
Return

Hope this helps.
B24Guy
 
Howdy DV , a little trick that work,s for me , copy Cfs-1 model-C crash model and add to offending model , while back , the Asa_Ai Bf 110 was causing that issue , and that fix worked , was not calling Fx-explosion , no boom , but rather CTD , instead ,
 
Greets All.

I hate to say, the problem still exists. Several other Fs9 models I've tried in the past have had this issue with no known cure short of being compiled from source with no crash [FONT=&quot]OctTree[/FONT].

There's one more thing I'm going to try (a hunch) and if that doesn't work it will be a player only aircraft.

Dv
 
Dave, most likely you have some unpleasant business in your dp as it relates to the the final universal ground explosion effect. I've seen this in other models as well. In my experiences, its commonly caused by uneven numbers being applied to the damage ratio percentages for the system parts in the damage boxes, like below:

[BOXMAPS.15]
; Box = Fuselage 3
boxmap.0=84,-15
boxmap.1=3,19
boxmap.2=3,22
boxmap.3=9,18

[BOXMAPS.16]
; Box = Fuselage 4
boxmap.0=83,-16
boxmap.1=4,19
boxmap.2=4,22
boxmap.3=10,18

The numbers before the commas are the percentages. The numbers after the commas are the system parts. Note that some of the percentages are even and others are uneven numbers. If you do the math for each box, you'll see that Box = Fuselage 3 has a total of 99% and Box = Fuselage 4 has 101%. Both are incorrect, they should be at 100%. These types of discrepancies can randomly cause crash impact CTD's with AI enemies and friendlies. These setups are common in the dp's of 1% models. Using their models or dp setups for other non-1% a/c is how i initially experienced this problem. For all their focus on accuracy, i don't know why or how they slipped on this one in so many a/c.

Also, if you have any dp effect entries containing fx_fatal_explosion_l, fx_fatal_explosion_m or fx_fatal_explosion_s, change the wording to "fx_structural_l". The sim's effects engine overloads the memory allocation somehow when the fatal explosion FX is applied to a plane crash from its dp, because this FX file is already called up universally with every plane crash anyway. So what you get is a doubling effect with this one, huge FX file, causing occasional memory leaks which lead to CTD's.

Before making any mods, confirm dp problems by replacing the dp with that of another non-offending jet model of similar design.
 
Last edited:
Eureka!

Hey Guys,

First, thank you B24Guy, Sarg, And Bearcat. Everything is A-ok now. :encouragement: Your input got me to look in the spot where the trouble was.

It came down to bad code right from the beginning of the conversion.

Here's the Crash_Check from the Fs9 *.sca. This is the Fga9 version.

Code:
:L005384
 ;uName: userdefined0  uOffset: 0xB4
 IfVarAnd( :L005390 0xB4 0xFFFF )
 Call( :L0053A2 )
:L005390
 Jump32( :L005852 )
:L005396
 Jump32( :L1383BA )
:L00539C
 Jump32( :L1696B4 )
:L0053A2
 CrashStart( :L005850 8601 )
 ;Interpolation Table
 Dwd( 176 1192 )
 Dwd( 16 143 )
 Dwd( 6873 -14940 )
 Dwd( -28861 -15180 )
 Dwd( 16400 -14845 )
 Dwd( 7276 17956 )
 Dwd( -22376 17812 )
 Dwd( -797 18014 )
 Dwd( 1 29 )
 Dwd( 56 67 )
 Dwd( 72 100 )
 Dwd( 127 138 )
 Dwd( 0 0 )
 Dwd( 0 0 )
 Dwd( 510 766 )
 Dwd( 1027 1541 )
 Dwd( -258 2046 )
 Dwd( 2312 2826 )
 Dwd( 3340 -258 )
 Dwd( -242 -258 )
 Dwd( -258 -258 )
 Dwd( -258 4111 )
 Dwd( 4606 4862 )
 Dwd( -258 5139 )
 Dwd( -258 -258 )
 Dwd( 5653 6167 )
 Dwd( -2 -258 )
 Dwd( -231 6938 )
 Dwd( -258 -258 )
 Dwd( -258 -1 )
 Dwd( -258 -258 )
 Dwd( -258 -2 )
 Dwd( -258 -258 )
 Dwd( -258 -1 )
 Dwd( -258 -258 )
 Dwd( -2 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -1 -258 )
 Dwd( -2 -258 )
 Dwd( -1 -258 )
 Dwd( -1 -257 )
 Dwd( -2 -258 )
 Dwd( -2 -258 )
 Dwd( -258 -258 )
 Dwd( -2 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -258 )
 Dwd( -258 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -2 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -511 -510 )
 Dwd( 1027 1541 )
 Dwd( -258 -258 )
 Dwd( 2055 2569 )
 Dwd( -501 -258 )
 Dwd( -500 -258 )
 Dwd( 3597 4111 )
 Dwd( -258 4625 )
 Dwd( -258 -258 )
 Dwd( -493 5375 )
 Dwd( 5631 -258 )
 Dwd( -1 5910 )
 Dwd( -258 -258 )
 Dwd( 6399 6681 )
 Dwd( -258 -258 )
 Dwd( -258 -1 )
 Dwd( -258 -258 )
 Dwd( -258 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -257 )
 Dwd( -257 -258 )
 Dwd( -258 -258 )
 Dwd( -257 -257 )
 Dwd( -1 -1 )
 Dwd( -258 -1 )
 Dwd( -258 -258 )
 Dwd( -258 -257 )
 Dwd( -258 -258 )
 Dwd( -1 -258 )
 Dwd( -258 -258 )
 Dwd( -257 -258 )
 Dwd( -258 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -1 )
 Dwd( -258 -257 )
 Dwd( -1 -1 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -258 -258 )
 Dwd( -258 -1 )
 Dwd( -257 -257 )
 Dwd( -257 -257 )
 Dwd( -2 -258 )
 Dwd( -1 -1 )
 Dwd( -257 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -257 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -257 )
 Dwd( -258 -258 )
 Dwd( 513 -509 )
 Dwd( -508 -258 )
 Dwd( 1541 2055 )
 Dwd( -258 -258 )
 Dwd( -503 -258 )
 Dwd( -258 -258 )
 Dwd( -502 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -258 )
 Dwd( -1 -258 )
 Dwd( -1 -1 )
 Dwd( -257 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -257 -257 )
 Dwd( -258 -258 )
 Dwd( -257 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( 513 -258 )
 Dwd( -258 -258 )
 Dwd( 1022 -258 )
 Dwd( -258 -258 )
 Dwd( -508 -258 )
 Dwd( -258 -258 )
 Dwd( -257 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -258 )
 Dwd( 513 1027 )
 Dwd( 1534 1790 )
 Dwd( -258 2055 )
 Dwd( -258 -258 )
 Dwd( -258 2569 )
 Dwd( 3070 3326 )
 Dwd( 3597 4111 )
 Dwd( -258 -258 )
 Dwd( -239 4882 )
 Dwd( -2 -258 )
 Dwd( 5396 5910 )
 Dwd( -258 6398 )
 Dwd( -231 -258 )
 Dwd( 6938 -258 )
 Dwd( -2 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -258 -258 )
 Dwd( -258 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -2 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -258 -2 )
 Dwd( -258 -258 )
 Dwd( -258 -1 )
 Dwd( -258 -258 )
 Dwd( -2 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -258 -1 )
 Dwd( -258 -258 )
 Dwd( -2 -258 )
 Dwd( -2 -258 )
 Dwd( -2 -258 )
 Dwd( -1 -258 )
 Dwd( -1 -257 )
 Dwd( -1 -258 )
 Dwd( 513 1027 )
 Dwd( -507 -506 )
 Dwd( -258 2055 )
 Dwd( 2569 3083 )
 Dwd( -258 3597 )
 Dwd( -258 -258 )
 Dwd( -1 4111 )
 Dwd( 4607 -258 )
 Dwd( 4882 5396 )
 Dwd( -258 -258 )
 Dwd( 5910 6424 )
 Dwd( -258 -258 )
 Dwd( -486 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -1 )
 Dwd( -1 -1 )
 Dwd( -258 -257 )
 Dwd( -258 -258 )
 Dwd( -258 -1 )
 Dwd( -258 -258 )
 Dwd( -258 -257 )
 Dwd( -258 -258 )
 Dwd( -1 -258 )
 Dwd( -258 -258 )
 Dwd( -257 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -258 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -2 -258 )
 Dwd( -1 -1 )
 Dwd( -257 -258 )
 Dwd( -257 -257 )
 Dwd( -257 -257 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -257 )
 Dwd( -258 -258 )
 Dwd( -258 -1 )
 Dwd( -258 -258 )
 Dwd( -258 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -1 -257 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -257 -257 )
 Dwd( 513 -509 )
 Dwd( -258 -258 )
 Dwd( 1284 1798 )
 Dwd( -504 -258 )
 Dwd( -503 -258 )
 Dwd( -258 -258 )
 Dwd( -502 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -1 -258 )
 Dwd( -1 -1 )
 Dwd( -257 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -257 -257 )
 Dwd( -258 -258 )
 Dwd( -1 -258 )
 Dwd( -258 -258 )
 Dwd( -257 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( 513 -258 )
 Dwd( -258 -258 )
 Dwd( 1022 -258 )
 Dwd( -258 -258 )
 Dwd( -508 -258 )
 Dwd( -258 -258 )
 Dwd( -257 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -258 )
 Dwd( -258 -258 )
:L005850
 Return

The text conversion file was showing errors here.

[1] Interpolation Table found at 0x1222B8
[1] BGL_INTERPOLATE (0x9E) found at 0x1222D2
[1] BGL_OVERRIDE (0x9F) found at 0x1222E6
[1] BGL_SET_CRASH (0x99) found at 0x1222EC
[1] BGL_SET_CRASH (0x99) found at 0x1222F0
[1] BGL_CRASH_SPHERE (0

This is where the conversion stopped.
So I made a *.sca file of the two seater Fs9 Pr11. Below.

Code:
:L000600
 ;uName: userdefined0  uOffset: 0xB4
 IfVarAnd( :L00060C 0xB4 0xFFFF )
 Call( :L00061E )
:L00060C
 Jump32( :L000ACE )
:L000612
 Jump32( :L133226 )
:L000618
 Jump32( :L164660 )
:L00061E
 CrashStart( :L000ACC 8601 )
 ;Interpolation Table
 Dwd( 176 1272 )
 Dwd( 16 153 )
 Dwd( 6873 -14940 )
 Dwd( -28861 -15180 )
 Dwd( 16400 -14845 )
 Dwd( 7276 17956 )
 Dwd( -22376 17812 )
 Dwd( -797 18014 )
 Dwd( 1 32 )
 Dwd( 61 72 )
 Dwd( 77 108 )
 Return

 ;Interpolation Table
 Dwd( 0 0 )
 Dwd( 0 510 )
 Dwd( 766 1027 )
 Dwd( 1541 2055 )
 Dwd( 2569 3083 )
 Dwd( 3597 4111 )
 Dwd( -258 -239 )
 Dwd( -258 -258 )
 Dwd( -258 -258 )
 Dwd( 4882 5374 )
 Dwd( 5630 -258 )
 Dwd( 5910 -258 )
 Dwd( -258 6424 )
 Dwd( 6938 -2 )
 Dwd( -258 -228 )
 Dwd( 7709 -258 )
 Dwd( -258 -258 )
 Dwd( -2 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -257 )
 Dwd( -258 -1 )
 Dwd( -2 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -258 )
 Dwd( -2 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -258 -2 )
 Dwd( -258 -1 )
 Dwd( -258 -1 )
 Dwd( -1 -1 )
 Dwd( -258 -2 )
 Dwd( -258 -1 )
 Dwd( -258 -1 )
 Dwd( -257 -2 )
 Dwd( -258 -2 )
 Dwd( -258 -258 )
 Dwd( -258 -2 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -258 -258 )
 Dwd( -258 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -2 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -511 )
 Dwd( -510 1027 )
 Dwd( 1541 -505 )
 Dwd( -504 2569 )
 Dwd( 3083 -499 )
 Dwd( -258 -498 )
 Dwd( -258 4111 )
 Dwd( 4625 -258 )
 Dwd( 5139 -258 )
 Dwd( -258 -491 )
 Dwd( 5887 6143 )
 Dwd( -258 -1 )
 Dwd( 6424 -258 )
 Dwd( -258 6911 )
 Dwd( 7195 -258 )
 Dwd( -258 -258 )
 Dwd( -257 -258 )
 Dwd( -258 -257 )
 Dwd( -257 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -257 -257 )
 Dwd( -258 -258 )
 Dwd( -258 -257 )
 Dwd( -257 -1 )
 Dwd( -1 -258 )
 Dwd( -1 -258 )
 Dwd( -258 -258 )
 Dwd( -257 -258 )
 Dwd( -258 -1 )
 Dwd( -258 -258 )
 Dwd( -258 -257 )
 Dwd( -258 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -1 )
 Dwd( -1 -258 )
 Dwd( -257 -1 )
 Dwd( -1 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -257 )
 Dwd( -257 -257 )
 Dwd( -257 -2 )
 Dwd( -258 -1 )
 Dwd( -1 -257 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -257 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -257 -258 )
 Dwd( -258 513 )
 Dwd( -509 -508 )
 Dwd( -258 1541 )
 Dwd( 2055 -258 )
 Dwd( -258 -503 )
 Dwd( -258 -258 )
 Dwd( -258 -502 )
 Dwd( -258 -258 )
 Dwd( -258 -1 )
 Dwd( -258 -1 )
 Dwd( -258 -1 )
 Dwd( -1 -257 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -257 )
 Dwd( -257 -258 )
 Dwd( -258 -257 )
 Dwd( -258 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 513 )
 Dwd( -258 -258 )
 Dwd( -258 1022 )
 Dwd( -258 -258 )
 Dwd( -258 -508 )
 Dwd( -258 -258 )
 Dwd( -258 -257 )
 Dwd( -258 -258 )
 Dwd( -258 -1 )
 Dwd( -258 513 )
 Dwd( 1027 1534 )
 Dwd( 1790 -258 )
 Dwd( 2055 -258 )
 Dwd( -258 -258 )
 Dwd( 2569 3070 )
 Dwd( 3326 3597 )
 Dwd( 4111 -258 )
 Dwd( -258 -239 )
 Dwd( 4882 -2 )
 Dwd( -258 5396 )
 Dwd( 5910 6424 )
 Dwd( 6938 -228 )
 Dwd( -258 7709 )
 Dwd( -258 -2 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -2 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -258 )
 Dwd( -2 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -258 )
 Dwd( -258 -2 )
 Dwd( -258 -1 )
 Dwd( -258 -1 )
 Dwd( -1 -1 )
 Dwd( -258 -258 )
 Dwd( -2 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -2 -257 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -2 )
 Dwd( -258 -2 )
 Dwd( -258 -2 )
 Dwd( -258 -1 )
 Dwd( -258 -1 )
 Dwd( -257 -1 )
 Dwd( -258 513 )
 Dwd( 1027 -507 )
 Dwd( -506 -258 )
 Dwd( 2055 2569 )
 Dwd( 3083 -258 )
 Dwd( 3597 -258 )
 Dwd( -258 -1 )
 Dwd( 4111 4607 )
 Dwd( -258 4882 )
 Dwd( 5396 -258 )
 Dwd( -258 5910 )
 Dwd( 6424 -486 )
 Dwd( -485 -484 )
 Dwd( -258 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -1 -1 )
 Dwd( -1 -258 )
 Dwd( -257 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -258 )
 Dwd( -258 -258 )
 Dwd( -257 -258 )
 Dwd( -258 -1 )
 Dwd( -258 -258 )
 Dwd( -258 -257 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -2 )
 Dwd( -258 -1 )
 Dwd( -1 -257 )
 Dwd( -258 -257 )
 Dwd( -257 -257 )
 Dwd( -257 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -257 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -258 )
 Dwd( -258 -258 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -1 )
 Dwd( -257 -258 )
 Dwd( -258 -258 )
 Dwd( -257 -258 )
 Dwd( -258 -257 )
 Dwd( -257 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -257 )
 Dwd( -257 513 )
 Dwd( -509 -258 )
 Dwd( -258 1284 )
 Dwd( 1798 -504 )
 Dwd( -258 -503 )
 Dwd( -258 -258 )
 Dwd( -258 -502 )
 Dwd( -258 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -1 )
 Dwd( -258 -1 )
 Dwd( -1 -257 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 -257 )
 Dwd( -257 -258 )
 Dwd( -258 -1 )
 Dwd( -258 -258 )
 Dwd( -258 -257 )
 Dwd( -258 -258 )
 Dwd( -258 -1 )
 Dwd( -1 -258 )
 Dwd( -258 513 )
 Dwd( -258 -258 )
 Dwd( -258 1022 )
 Dwd( -258 -258 )
 Dwd( -258 -508 )
 Dwd( -258 -258 )
 Dwd( -258 -257 )
 Dwd( -258 -258 )
 Dwd( -258 -1 )
 Dwd( -258 -258 )
 Dwd( -258 )
:L000ACC
 Return

Big difference as you can see.

So the Fga9 Crash_check code was replaced with the code from the Pr11
This was the fix.
I do not know why the Fga9's .sca file came out that way...compared to other Fs9 models they all are formatted as the Pr11. !?!?!?
It seems the sim needs all the proper variables with their i's dotted and t's crossed. Even if they are not used.

There was also some errors in the DictGuid. Trimtab elevators were CHAR[12] instead of UINT16 and several others.

The bottom line, all is good. The AI have been burned and crashed a dozen times with no ntdll.dll errors. :very_drunk:

Thanks again for taking the time to reply. Much appreciated gents.
Dave
 
Hi Dvslats,
Glad you got it working.

You don't need all that code after the CrashStart.
I would do it like this.

:L0053A2
Return
CrashStart( :L005850 8601 )
;Interpolation Table
Dwd( 176 1192 )
Dwd( 16 143 )
...............................

Then you can remove the Interpolation Table

Regards
B24Guy
 
Back
Top