PDA

View Full Version : From bitmap to xml



Localizer
01-19-2007, 07:25 AM
Hi,

I've extracted a bmp file from a FS98 gau file.Now I want to make a xml to make a new gauge compatible with FSX.What is the next step?

Regards,

Val

n4gix
01-19-2007, 12:20 PM
>Hi,
>
>I've extracted a bmp file from a FS98 gau file.Now I want to
>make a xml to make a new gauge compatible with FSX.What is the
>next step?

Have you extracted ALL the bitmaps from that gauge? Which gauge is it?

The next step would be to read the "creating xml gauges.html" document found in the ..\SDK\SimObject Creation Kit\Panels and Gauges SDK, which will lead you through a tutorial series teaching you how to use the ACE.EXE XML Gauge Creation program.

andyjohnston
01-19-2007, 12:22 PM
Really? I'll have to look at that. I'm still wrinting all my code in Notepad.

Localizer
01-19-2007, 07:26 PM
>
>The next step would be to read the "creating xml gauges.html"
>document found in the ..\SDK\SimObject Creation Kit\Panels and
>Gauges SDK, which will lead you through a tutorial series
>teaching you how to use the ACE.EXE XML Gauge Creation
>program.
>
Hi, Bill,

I'm ready for takeoff.But I'll be back soon.
Thanks

>Have you extracted ALL the bitmaps from that gauge? Which
>gauge is it?

What do you mean ALL the bit maps? I just got the bmp file, 256 colors, 8 bits, extracted from the gauge file (Just an air speed indicator).

n4gix
01-20-2007, 12:14 PM
>I'm ready for takeoff.But I'll be back soon.
>Thanks
>
>>Have you extracted ALL the bitmaps from that gauge? Which
>>gauge is it?
>
>What do you mean ALL the bit maps? I just got the bmp file,
>256 colors, 8 bits, extracted from the gauge file (Just an air
>speed indicator).

Well, it seems to me that to be useful, an airspeed indicator would need a needle, eh? ;)

Localizer
01-20-2007, 04:11 PM
>>I'm ready for takeoff.But I'll be back soon.
>>Thanks
>>
>>>Have you extracted ALL the bitmaps from that gauge? Which
>>>gauge is it?
>>
>>What do you mean ALL the bit maps? I just got the bmp file,
>>256 colors, 8 bits, extracted from the gauge file (Just an
>air
>>speed indicator).
>
>Well, it seems to me that to be useful, an airspeed indicator
>would need a needle, eh? ;)

Hi, Bill

Now, after hours trying, I realized that this gau has much more than a background and a needle, but a dozen bitmap files.It will be a very hard job to make all those fs98 gau compatible with FSX.This is a job for a "Super Hero".

Regards,

Val

n4gix
01-20-2007, 10:59 PM
>Now, after hours trying, I realized that this gau has much
>more than a background and a needle, but a dozen bitmap
>files.It will be a very hard job to make all those fs98 gau
>compatible with FSX.This is a job for a "Super Hero".

Oh, you must have click on the "Show all bitmaps" option in FSPS, eh?

You are dealing with a "multi-gauge cluster," meaning that all the gauges are bundled in one file.

Don't panic! All those bitmaps don't go into ONE airspeed gauge!

As each gauge is (re)built, only a few of the bitmaps at a time are used. Start with modest goals and build on them.

That's why I suggested something simple like VSI or Airspeed as a good place to start.

Localizer
01-21-2007, 06:01 AM
>
>Oh, you must have click on the "Show all bitmaps" option in
>FSPS, eh?
>
>You are dealing with a "multi-gauge cluster," meaning that all
>the gauges are bundled in one file.
>
>Don't panic! All those bitmaps don't go into ONE airspeed
>gauge!
>
>As each gauge is (re)built, only a few of the bitmaps at a
>time are used. Start with modest goals and build on them.
>
>That's why I suggested something simple like VSI or Airspeed
>as a good place to start.

Hi, Bill

Clicking on the "Show all bitmaps" I got 19 bitmaps.Otherwise, 14 bitmaps.The question is:How to know what bitmaps select?
Perhaps I've started with a very complex Airspeed gauge, one from a third part panel from a B727.

Regards,

Val

n4gix
01-21-2007, 01:07 PM
Hmmm.. send the .gau to me a n4gix@comcast.net and I'll try to sort it out for you...

Once you've been successful with a couple of simple gauges, you'll be amazed at what you can accomplish! ;)

Localizer
01-21-2007, 02:27 PM
>Hmmm.. send the .gau to me a n4gix@comcast.net and I'll try
>to sort it out for you...
>
Hi, Bill

Done.And thanks for your attention.

Regards,

Val

Calpino
02-06-2007, 04:31 PM
Hello Bill,

I have a big problem with my Safeline Flight Console, because the FSX doesn't accept the FS98 gauge, that is needed, to bring the FS in contact with the Console.

Can you please have a look at the gauge and try to convert it, because otherwise I would have to put the Console aside.

I have sent you an e-mail with the gauge attached to it.

My name: Rainer Arensmann. I sent the e-mail to "Bill moderator:gauges and panels" at your e-mail adress: n4gix@comcast.net

You would make me very happy, if you could find a solution for the problem


Regards

Rainer

n4gix
02-07-2007, 01:51 PM
For the benefit of those reading the forum, as I explained in my reply to Rainer's email, without the original source code for any C gauge or other module (.dll) file, it is impossible to recreate the internal logic used...

In fact, it's not even possible to determine WHAT the gauge/module does... :(