PDA

View Full Version : Trying to port Isra's Mirage III to FSX, WIP



Daube
April 16th, 2010, 09:51
Hi all,

Those of your who haven't already bought the Skysim Mirage III might know that Isra has been working for several months (years) on a fantastic freeware Mirage III for FS9. The beta version has just been released, so I tried to use it in my FSX.

Of course, I got some problems with the transparent textures and the afterburner effect, very typical from FS9 port-overs, but I'm trying to correct those problems so that the plane displays as good as possible in FSX SP2.

The modelisation of this plane isn't complete yet (thus the BETA version), and not all of the systems are operational, but since they are XML coded, most if not all of the instruments are working quite well in FSX, including the moving map :jump:

This is how the plane looks like actually in my FSX, after having edited the alpha channels of a few textures:

http://sapdaube.free.fr/fsx/daube_image1037.jpg

http://sapdaube.free.fr/fsx/daube_image1038.jpg

http://sapdaube.free.fr/fsx/daube_image1039.jpg

As you can see in the cockpit shot above, there are some transparency issues that I cannot correct. For example the levers for the parachute and the canopy have a transparent square attached to them for an unknown reason, and their transparency allow me so completely see the ground/scenery through the airplane :/

Also, there is another modelisation problem that cause a reflective square to appear in front/around each gauge or rotative button as soon as a light is activated, like in this shot:

http://sapdaube.free.fr/fsx/daube_image1036.jpg

Since the plane is still in dveloppment, I hope Isra corrects those problems. The plane flies nicely and the cockpit quality is trully impressive. The impact on the performance is impressive as well but it gets more reasonnable once some gauges are deactivated in the panel.cfg.

Once my modifications are done, and if the above mentionned problems can be solved, then I will provide a complete set of instructions to explain how to convert the plane to FSX-compatible. Else, we'll have to forget about it...

Bjoern
April 16th, 2010, 11:31
Cool!

As for the weird transparency stuff, it looks like they're rectangles for (mouse-) clickspots which got effed up in FSX.

Might be worth taking a closer look at the textures and at *what* exactly gets alpha "channeled" in them...

Tim_Horton
April 16th, 2010, 11:50
if anything it may come down to the poly's that got selected in Gmax/3ds and using the sdk told that these are click spots. From this code and the fact that something has to be there just behind the texture to click on, and is usually invisible to the FSX eye. This is what is causing the block and can only be adjusted by using the FSX sdk while Compiling the aircraft. Landable platforms from fs9 have the same issues due to the same thing.

peter12213
April 16th, 2010, 12:26
This is a must have even for those with the Skysim version like me, however I cannot even get this aircraft to load in fsx at all!

Isra
April 17th, 2010, 01:05
Hello!
Thanks for your Work!
In the meantime I found out what causes the Problems in FSX and I have at least for the Gauges at the Frontpanel and invisible Clickspots a solution! For the Switches I don't have, exept, moving the Aircraft from FSDS2 into FSDS3.5 and doing all animations new wich would take several months!
For the FPS I also know why they go down so much, I hope to fix them in a Update! In the meantime you can use some Fixes you'll find here: http://www.opus2.ch/miro_patch.htm

Best regards Isra

Daube
April 17th, 2010, 01:54
Thanks a lot for your efforts Isra, very appreciated :)

For the switches, from what I saw I understood that they are not animated. Instead there are two switches, one in position ON, and the other one in position OFF, and depending on the swith status one of them goes transparent while the other becomes visible. Problem is that the transparent one makes a "see-though aircraft" issue.

However, there are not so much switches concerned by this problem, which make it not so noticable. So this is really a minor issue, I would say. ;)
(Also, I could always edit the ransparency of the "disabled" switch to make it opaque, with black or green color... kind of camouflage instead of invisibility... that would do the trick, I'll try that :jump: ).

Isra
April 17th, 2010, 02:02
Thanks!
Someone told me that there is a difference if you use DX10 or DX9....

Daube
April 17th, 2010, 09:27
The planes compiled with FS9 compiler will not work in FSX if the DirectX10 option if activated.
They only work in DirectX9 mode.
I believe it's not only due to the textures, it's also something in the model... it's complex and I can't remember exactely.

But the FSX users that fly with the DirectX10 option are never using planes in FS9 format anyway, so you don't really need to worry about that :)

vonstroheim
October 13th, 2010, 09:18
Hi all,

Those of your who haven't already bought the Skysim Mirage III might know that Isra has been working for several months (years) on a fantastic freeware Mirage III for FS9. The beta version has just been released, so I tried to use it in my FSX. [...] Once my modifications are done, and if the above mentionned problems can be solved, then I will provide a complete set of instructions to explain how to convert the plane to FSX-compatible. Else, we'll have to forget about it...

Hi Daube, I love Isra Mirage III, and since I switched to FSX a few weeks ago, I'd love to be able to port it to FSX, at least have a transparent canopy! How do you "edit the alpha channels of a few textures" as you say? With what software? I have PSP and acces to PS... Is FSrepainter really necessary? Maybe you could explain this or give us the few bmp files you managed to edit.. Thanks for sharing the secret !

Bone
October 13th, 2010, 10:04
I'm interested. I never got the Skysim Mirage, although I liked the looks of it.

Daube
October 13th, 2010, 10:17
It's not a secret at all guys.
The Alpha Channel manipulation is the FSX most famous subject for all those who use FS9 planes, since the days SP2 and Acceleration were released.
You have to use a freeware program nammed DXTBMP that let you see the alpha channel of a texture, and export it to an image editor.

The alpha channel defines the transparency of a texture (if the texture is on an object that is supposed to be transparent, of course). The darker, the more transparent. The lighter, the more opaque. In the FS9 days, it was the exact opposite, thus the problems with the FS9 planes in which all the textures have light alpha channels.

EDIT: and despite all of your efforts, you'll never get the cockpit to show properly. As soon as you'll switch the lights on, you'll get those mirror effects. Same with night flying, afterburners or vapor trail...

Isra
October 13th, 2010, 10:38
Hi
One solution could be to fly with open canopy in VC View hehe..!
Cheers Isra

falcon409
October 13th, 2010, 10:41
Daube, another trick is to go into the panel.cfg file and scroll to the VC section and change the color in VC _01 from 0,0,0 to 1,1,1. That has worked for me on a few occasions. :salute:

vonstroheim
October 13th, 2010, 10:44
It's not a secret at all guys.
You have to use a freeware program nammed DXTBMP that let you see the alpha channel of a texture, and export it to an image editor.

Thanks Daube!
Ok I got DtxBmp, I'll try it later on the real canopy texture (don't have it here), but right now I can see a "invert alpha" in the alpha menu, which is just what we need, isn't it? But once it's done, how do I save the whole texture? Is it windows 24 bit bitmap? Or an Extended bitmap, with DTX3 maybe? Need help from the oldtimers here again...
Maybe the solution is here:
http://blogs.msdn.com/b/ptaylor/archive/2007/12/31/how-to-upgrade-the-propellers-in-fs9-aircraft-for-fsx-sp2.aspx

Daube
October 13th, 2010, 15:16
Thanks Daube!
Ok I got DtxBmp, I'll try it later on the real canopy texture (don't have it here), but right now I can see a "invert alpha" in the alpha menu, which is just what we need, isn't it? But once it's done, how do I save the whole texture? Is it windows 24 bit bitmap? Or an Extended bitmap, with DTX3 maybe? Need help from the oldtimers here again...
Maybe the solution is here:
http://blogs.msdn.com/b/ptaylor/archive/2007/12/31/how-to-upgrade-the-propellers-in-fs9-aircraft-for-fsx-sp2.aspx

Yes, invert Alpha works most of the times !
To save, I usually choose extended bitmap, then DTX3.

Daube
October 13th, 2010, 15:18
Hi
One solution could be to fly with open canopy in VC View hehe..!
Cheers Isra

Hehe, that reminds me of this famous picture of the tomcat flying without canopy :jump:



Daube, another trick is to go into the panel.cfg file and scroll to the VC section and change the color in VC _01 from 0,0,0 to 1,1,1. That has worked for me on a few occasions. :salute:

Ah ? Interesting... I have to check that. Thanks for the info, Falcon :)

vonstroheim
October 14th, 2010, 14:26
Yes, invert Alpha works most of the times !
To save, I usually choose extended bitmap, then DTX3.

At last I succeded in making the canopy glass transparent in FSX ! Thanks Daube ! The panel.cfg color trick doesn't work here...

This post explain it all:
http://blogs.msdn.com/b/ptaylor/archive/2007/12/31/how-to-upgrade-the-propellers-in-fs9-aircraft-for-fsx-sp2.aspx

I changed the alpha channel of these three files:

HUD = window.bmp
Inside glass = innerglassing5.bmp
Outside glass = window_glazing.bmp

Yes the HUD was quite opaque too. Now I'll try to do something about these canopy handles, they are way too much transparent ! But I can't find the proper file names. Isra can you help me here? Thanks ! My german is non existant...

For anybody interested, I can send them the bmp files (Isra you want them for the patch page?) And I've made a 2d panel for wide aspect ratio monitors... Works in FS9 and FSX (Isra I already sent them to you a while ago)

Now I going to fly a bit in the Mirage III over the Swiss Alps, and with the canopy closed... warmer this way...

peter12213
October 14th, 2010, 14:35
If you can fix this you've made an admirer on me lol! The mirage IIIS has to be the sexiest jet ever made and I fly Swiss Pro X almost exclusively! I wish you the best of luck! :wavey: :salute:
+ please PM me with your current updates vonstroheim!

Daube
October 14th, 2010, 14:39
I'm afraid you won't succeed with the open levers.
If I remember the explanations from Isra, the transparent square is not textured, it is meant to be an invisible trigger area, so that the user can manipulate the lever without having to aim too precisely :)

peter12213
October 14th, 2010, 14:40
Always the bearer of bad news Daube ... Ya barred! hahahaha :ernae:

Isra
October 15th, 2010, 07:34
Hello Guys!

Wait a minute hehe!
I just sent the new Version 1 to Frank from mirage4fs.com to check the Frames! If I get a positive Feedback the overworked Version will be released soon. (just have to do the manual)
What I fixed for the FSX Version is the Handles for Canopy and Chute, also the Knobs on the Radar.
But there are still some Switches wich look a bit strange, have to look at this later.
Anyway, please send me this Files for the Canopy etc. to my contact Mail at my Page.

Thanks a lot!!!

Cheers Isra

vonstroheim
October 15th, 2010, 08:34
...Anyway, please send me this Files for the Canopy etc. to my contact Mail at my Page...


Ok I just did that. Will you include them in a "patch for fsx" when you'll release the Mirage III version 1 for good? You'll make a lot of new friends then...