Upgrading GAU's
Moderators: Guru's, The Ministry
Upgrading GAU's
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?
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?
- DaveB
- The Ministry
- Posts: 30457
- Joined: 17 Jun 2004, 20:46
- Location: Pelsall, West Mids, UK
- Contact:
Re: Upgrading GAU's
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:
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:


Old sailors never die.. they just smell that way!
Re: Upgrading GAU's
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....
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.
- DaveB
- The Ministry
- Posts: 30457
- Joined: 17 Jun 2004, 20:46
- Location: Pelsall, West Mids, UK
- Contact:
Re: Upgrading GAU's
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
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:

ATB
DaveB :tab:


Old sailors never die.. they just smell that way!
Re: Upgrading GAU's
Thank you Dave, I'll do that then.... :roll: :kissu: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
(Guess I answered my own question there.... :think: )
- DaveB
- The Ministry
- Posts: 30457
- Joined: 17 Jun 2004, 20:46
- Location: Pelsall, West Mids, UK
- Contact:
Re: Upgrading GAU's
In one Mr H ;-)(Guess I answered my own question there.... :think: )
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:


Old sailors never die.. they just smell that way!
Re: Upgrading GAU's
Only the first time, unless of cause I only allow it to run for one session only....
Re: Upgrading GAU's
I thought this question looked familiar:
(from fsdeveloper.com)
(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
- DaveB
- The Ministry
- Posts: 30457
- Joined: 17 Jun 2004, 20:46
- Location: Pelsall, West Mids, UK
- Contact:
Re: Upgrading GAU's
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:
ATB
DaveB :tab:
There you go Dan. Learn 'C' and make your own or learn XML and make your own.. an obvious choice really :o :think:

ATB
DaveB :tab:


Old sailors never die.. they just smell that way!