Upgrading GAU's

A quiet place for budding model makers to share thoughts, get answers to questions and request and share references.

Moderators: Guru's, The Ministry

User avatar
DanKH
Battle of Britain
Battle of Britain
Posts: 3526
Joined: 02 Dec 2004, 10:53
Location: EKCH, Denmark
Contact:

Upgrading GAU's

Post by DanKH »

Hi

I'm using and old GAU, whether it is FS2002 or FS2004 I do not know. But I can say so much that is a HJG GAU ;-)

When importing the aircraft into FSX, I get a warning about it, and a question if I want to run it... If I accept this it runs fine.

But the reason it ask, is that FSX is not certain that it will run correctly.... So do anyone know if there is a quick and dirty way to upgrade a GAU to FSX, or is it only possible if you have the source?
Best Rgds
Dan
Image
Image Image
Who's General Failure, and why is he reading my harddisk?

User avatar
DaveB
The Ministry
Posts: 30457
Joined: 17 Jun 2004, 20:46
Location: Pelsall, West Mids, UK
Contact:

Re: Upgrading GAU's

Post by DaveB »

Hi Dan,

There is no quick way to upgrade a gau (written in C) to FSX. I don't think FSX likes gauges written in C anyway so it'll probably give a warning with any gauge written in this language. Most folk write in XML these days anyway but there are a couple of notable exceptions.

ATB

DaveB :tab:
ImageImage
Old sailors never die.. they just smell that way!

User avatar
DanKH
Battle of Britain
Battle of Britain
Posts: 3526
Joined: 02 Dec 2004, 10:53
Location: EKCH, Denmark
Contact:

Re: Upgrading GAU's

Post by DanKH »

Hm.. there shouldn't be that much difference in a gauge written in C or XML. other than of cause the C-gauge is more protected than a XML-gauge, as this is quite easy to tamber with rather than decompile a c-gauge.

I think that there might be some functionality within a gauge made for previous FS-versions that results in the warning.

XML written in eg. notepad, is more "straight to go at" than programming in C. As C requires some basic programming skills. XML-is a bit more self explanatory. But it is my understanding that a C-compiled gauge is not only safer, but the possibilities are somewhat easier using a "real" programming language. Whether or not a C-gauge performs better than a XML I don't know, but my guess is that is does.

The FSX-SDK mention both methods, but as I have not taken up gauge-programming yet, I haven't read it thoroughly....
Last edited by DanKH on 04 Oct 2007, 13:36, edited 1 time in total.
Best Rgds
Dan
Image
Image Image
Who's General Failure, and why is he reading my harddisk?

User avatar
DaveB
The Ministry
Posts: 30457
Joined: 17 Jun 2004, 20:46
Location: Pelsall, West Mids, UK
Contact:

Re: Upgrading GAU's

Post by DaveB »

Then I guess the simplest thing for you to do is decompile the C gauge and find what functionality was made for the previous sim.. then remove it. That's easy isn't it :lol: XML is, as you say, more a 'laymans' program and it requires no special software to compile/decompile it. It would be interesting to know if it can be used with 3D 'modelled' gauges. I've not read the SDK and have no intention of doing so but my guess would be that it can't as I've yet to see a 3D gauge so programmed (although that could be that there are relatively few out there proficient in C) ;-)

ATB

DaveB :tab:
ImageImage
Old sailors never die.. they just smell that way!

User avatar
DanKH
Battle of Britain
Battle of Britain
Posts: 3526
Joined: 02 Dec 2004, 10:53
Location: EKCH, Denmark
Contact:

Re: Upgrading GAU's

Post by DanKH »

DaveB wrote:Then I guess the simplest thing for you to do is decompile the C gauge and find what functionality was made for the previous sim.. then remove it. That's easy isn't it
Thank you Dave, I'll do that then.... :roll: :kissu:


(Guess I answered my own question there.... :think: )
Best Rgds
Dan
Image
Image Image
Who's General Failure, and why is he reading my harddisk?

User avatar
DaveB
The Ministry
Posts: 30457
Joined: 17 Jun 2004, 20:46
Location: Pelsall, West Mids, UK
Contact:

Re: Upgrading GAU's

Post by DaveB »

(Guess I answered my own question there.... :think: )
In one Mr H ;-)

As you well know, the HJG gauges were not put together with FSX in mind and with each new sim, the net tightens on what can and cannot be done. Are you getting the FSX query each time you load?? I thought once it had been accepted, that was it :think:

ATB

DaveB :tab:
ImageImage
Old sailors never die.. they just smell that way!

User avatar
DanKH
Battle of Britain
Battle of Britain
Posts: 3526
Joined: 02 Dec 2004, 10:53
Location: EKCH, Denmark
Contact:

Re: Upgrading GAU's

Post by DanKH »

Only the first time, unless of cause I only allow it to run for one session only....
Best Rgds
Dan
Image
Image Image
Who's General Failure, and why is he reading my harddisk?

User avatar
DaveB
The Ministry
Posts: 30457
Joined: 17 Jun 2004, 20:46
Location: Pelsall, West Mids, UK
Contact:

Re: Upgrading GAU's

Post by DaveB »

Okey doh ;-)

ATB

DaveB :tab:
ImageImage
Old sailors never die.. they just smell that way!

FelixFFDS
Meteor
Meteor
Posts: 58
Joined: 25 Nov 2004, 23:21
Contact:

Re: Upgrading GAU's

Post by FelixFFDS »

I thought this question looked familiar:

(from fsdeveloper.com)
If the gauge "runs" after you accept it, then nothing more needs to be done. You are being asked if you want to "TRUST" this gauge, because it is not "code-signed." Once you've "Accepted" it, the gauge will be added to your "Trusted List" maintained in the fsx.cfg file. BTW, this is a "Windows thing" and really has nothing to do with FSX per se.

And no, you cannot edit or upgrade a compiled .gau file, unless you have the original source code. Period.
__________________
Bill Leaming
3d Modeler Max/GMax
C & XML Gauge Programmer
Eaglesoft Development Group
http://eaglesoftdg.com
Felix/FFDS

User avatar
DaveB
The Ministry
Posts: 30457
Joined: 17 Jun 2004, 20:46
Location: Pelsall, West Mids, UK
Contact:

Re: Upgrading GAU's

Post by DaveB »

That nails it Felix ;-)

There you go Dan. Learn 'C' and make your own or learn XML and make your own.. an obvious choice really :o :think: :worried:

ATB

DaveB :tab:
ImageImage
Old sailors never die.. they just smell that way!

Post Reply