Gauge translplant - how to use gauges in .cab files
Results 1 to 20 of 20

Thread: Gauge translplant - how to use gauges in .cab files

  1. #1
    Charter Member 2015 delta_lima's Avatar
    Join Date
    Jun 2005
    Location
    Vancouver, BC, Canada
    Age
    53
    Posts
    3,427
    Blog Entries
    1

    Gauge translplant - how to use gauges in .cab files

    So, the goal: fix some missing gauges on otherwise perfectly flyable FS9 planes.

    Transplant recipients:

    1) FS9 Mig-29F-13 (needs only an attitude indicator gauge).

    2) CS Mig-21UM (needs everything)

    3) AS Mig-25 (needs everything)

    I experimented and added some stock FSX (Baron, Lear) gauges - but honestly, it sucks for immersive value. So, after looking at a bunch of different candidates (including a funky beta Su-7 I had never even heard of - thanks to Frank) I found a suitable donor:

    Iris Mig-27 Flogger. Obviously, I'd like to post the final result, and would seek David B's approval for any of those ...

    But my problem is that that whereas simple gauge substition makes easy sense, I don't know how I'd pull out the right gauge out of a .cab file.

    Anyone able to point me in the direction of a tutorial where I can learn how to do this? Will post successful fixes for the above as I get them ...

    dl

  2. #2
    Charter Member 2012
    Join Date
    Jan 2008
    Location
    Newark England
    Age
    56
    Posts
    697
    DL,

    You can open any cab file with winrar, copy these files to a new folder on your desktop renaming the folder the same as the original cab file, you add/remove the gauges that you do/do not want. to recompile the cab folder use Cabdir.exe found in the SDK, all you have to do is drop the folder over the exe file, you will then find the new cab file on your decktop.

    Bruce

  3. #3
    Let's say your MyCab.cab file is in the gauges folder inside another folder called MyGauges. If the gauge you want is altitudeindicator then here's the entry in your panel.cfg file.


    gauge01=MyGauges\MyCab!altitudeindicator, 394,570,60,30

    The last four numbers will change according to gauge placement in your individual panel.
    Matt

  4. #4
    Charter Member 2015 delta_lima's Avatar
    Join Date
    Jun 2005
    Location
    Vancouver, BC, Canada
    Age
    53
    Posts
    3,427
    Blog Entries
    1
    Thanks for the replies,

    In your example, Aero, it's easy because the you can see in that particular .cab archive what gauge you want (altitude). My problem is that I can't tell from the contents in the .cab archive that Danny Garnier used - which one is the attitude indicator. They're all numbered, not named ....

    Bruce, thanks for the reply - it looks like this project may need the building of a new .cab file, and whilst I have the ability to open (winrar), you point out another complexity I hadn't considered - recompiling - and I'll have to get that tool you mention.

    cheers,

    dl

  5. #5
    If the gauges are numbered, check the panel.cfg in FSPanel Studio or similar program, locate the gauge you want and the name should be obvious.
    Matt

  6. #6
    You do NOT have to "reCAB" the gauge folder. Just leave it alone until you've finished working with it.

    FS doesn't care whether it's reading an un.CABbed "foldername" or a .CAB file!
    Bill Leaming
    3d Modeler Max/GMax
    C & XML Gauge Programmer

    Military Visualizations
    http://milviz.com

    Intel® Core™ i7-3770k 4.2GHz - Crucial 16GB DDR3 - Dual Radeon HD770 1GB DDR5 (Crossfire) - Eco II Watercooling - Win7 64bit
    Intel® Core™ i7-2600k 3.4GHz - Crucial 8GB DDR3 - NVIDIA EVGA GTX-770 SC 4GB - Win7 64bit

  7. #7
    Charter Member 2015 delta_lima's Avatar
    Join Date
    Jun 2005
    Location
    Vancouver, BC, Canada
    Age
    53
    Posts
    3,427
    Blog Entries
    1
    Arrgh ... yet another tool I need to buy (unless the demo tool can give me the bare basics) .... these things are always trickier than they appear ...

    thanks - will try that.

    dl

  8. #8
    I don't have the demo FSPS, so, I don't know if it will ID a gauge by double clicking it with the panel loaded like the full version. You could try opening the panel that has the gauge you want, dbl click it, and maybe ID it's number. Then you could copy/rename it for easier ID. Worth a shot...Don

    Attachment 43976

  9. #9
    HeHe, love that Tu-154 panel!
    Matt

  10. #10
    Charter Member 2015 delta_lima's Avatar
    Join Date
    Jun 2005
    Location
    Vancouver, BC, Canada
    Age
    53
    Posts
    3,427
    Blog Entries
    1
    OK - possible breakthrough ...

    Stumbled across a freeware E-166 at avsimrus earlier today ... and it may be the key to some, or possibly most, of the gauges required for these three projects.

    In fact, the Mig-21F-13 may be almost resolved - looks like I have found a fairly painless gauge to sub in. The contents of the E-166's panel are below.

    My question is for any of our folks who have knowledge of Czech, can I please request translation for the function of the gauges below?

    I started with the ones I could figure out ...


    gauge00=DCN44DT!Attitude, 3,607,220,220 = ATTITUDE INDICATOR
    gauge01=DCN44DT!DA200, 445,4,235,251 =
    gauge02=DCN44DT!ACS, 21,423,200,182 =
    gauge03=DCN44DT!PPS_2MK, 68,830,340,191 =
    gauge04=DCN44DT!KUS-2500K, 651,653,369,367 =
    gauge06=DCN44DT!Automat motoru2, 0,0,0,0 =
    gauge07=DCN44DT!M_2.5K, 429,800,220,221 =
    gauge08=DCN44DT!2EDM250, 4,4,201,199 = G METER
    gauge09=DCN44DT!Gmeter, 885,4,135,135 =
    gauge10=DCN44DT!UI1-8_kontrolka, 375,221,59,59 =
    gauge11=DCN44DT!Uragan, 703,446,201,199 =
    gauge12=DCN44DT!Kanal, 458,261,224,354 =
    gauge13=DCN44DT!hydro_kontrolkaS, 5,961,59,59 =
    gauge14=DCN44DT!hydro_kontrolkaH, 5,961,59,59 =
    gauge15=DCN44DT!MV-12, 468,617,180,180 =
    gauge16=DCN44DT!2M-150K, 4,204,220,220 =
    gauge17=DCN44DT!SS_kontrolkaL, 6,900,59,59 =
    gauge18=DCN44DT!Vyrabotka_baka, 6,900,59,59 =
    gauge19=DCN44DT!IK-52, 224,364,220,220 =
    gauge20=DCN44DT!ARU3V, 222,222,144,137 =
    gauge22=DCN44DT!SS_kontrolkaR, 6,900,59,59 =
    gauge23=DCN44DT!Podveska_baka, 6,900,59,59 =
    gauge24=DCN44DT!ISA-K, 224,588,220,220 =
    gauge25=DCN44DT!T-4U2, 908,379,100,230 =
    gauge26=DCN44DT!cerpadla12, 6,900,59,59 =
    gauge27=DCN44DT!ARK_signal, 221,4,220,220 =
    gauge28=DCN44DT!Automat motoru, 0,0,0,0 =


    Many thanks to anyone who can help. Meanwhile, tonight I'll try the above Att Ind and see if that works well.

    best,

    dl

    ps NG - thanks for clarifying. It'll be helpful to simply pop a subfolder into the main gauges folder and be done with it ...

  11. #11
    Members +
    Join Date
    Jun 2010
    Location
    xxxxxxxxxxxxxxxxxxxxxxxxx
    Posts
    1,461
    Blog Entries
    1
    Yoy may also look at the freeware SU-7 and SU-15 at FS.com- I think the gauges are compatable. Been a while since I had those out of the hanger.

  12. #12
    Charter Member 2015 delta_lima's Avatar
    Join Date
    Jun 2005
    Location
    Vancouver, BC, Canada
    Age
    53
    Posts
    3,427
    Blog Entries
    1
    Yes, I tried those already ... alas, they don't seem to work well in FSX (at least for me).

    dl

  13. #13
    Members +
    Join Date
    Jun 2010
    Location
    xxxxxxxxxxxxxxxxxxxxxxxxx
    Posts
    1,461
    Blog Entries
    1
    OK. Couldn't remember if the gauges were good or not in those.

  14. #14
    Charter Member 2015 delta_lima's Avatar
    Join Date
    Jun 2005
    Location
    Vancouver, BC, Canada
    Age
    53
    Posts
    3,427
    Blog Entries
    1

    Unhappy skunked - so close...but not close enough

    Well, this plane has a nice set of gauges that would work nicely .... except the Att Ind is only reading pitch - not roll.



    Attachment 44013
    So, all the others appear to be good, and I'll keep for the other instruments .. but still looking to finish off the FSX Mig-21F-13 upgrade with a simple Russian Att Ind, and I'm back to hunting for one of those ....

    Won't give up quite yet ...

    dl

  15. #15
    Charter Member 2015 delta_lima's Avatar
    Join Date
    Jun 2005
    Location
    Vancouver, BC, Canada
    Age
    53
    Posts
    3,427
    Blog Entries
    1

    ok partial success

    Through experimentation, found which gauge from the Alphasim Mig-23 was the ATT IND ... and subbed that into the Mig-21F-13 panel.cfg.

    entry looks like this:

    gauge02=ALPHA_MiG-23!KPP, 336,175,160,182

    The results: gauges work ... but it sits "behind" the panel texture, not on top ...



    Attachment 44021

    tried playing with the 4 coordinates, it moved it around and made it bigger, but I need to "bring to front" (for those familiar with PowerPoint), as an analogy ....

    thoughts?

    dl

  16. #16
    ...but I need to "bring to front"...
    Unfortunately, WYSIWYG. The model dictates what will be viewed in front or behind the panel surface in a VC.
    If you have decided on a particular gauge, you can always scale its parent bitmap or a screenie of it in 2d and modify the VC texture accordingly for a good visual match.
    Lots of T&E though to get the texture and the visible components of the gauge to coincide and in the case of an Att with steering info outside of the "window" those animations in the gauge won't show through...Don

  17. #17
    Charter Member 2015 delta_lima's Avatar
    Join Date
    Jun 2005
    Location
    Vancouver, BC, Canada
    Age
    53
    Posts
    3,427
    Blog Entries
    1
    Quote Originally Posted by fxsttcb View Post
    Unfortunately, WYSIWYG. The model dictates what will be viewed in front or behind the panel surface in a VC.
    If you have decided on a particular gauge, you can always scale its parent bitmap or a screenie of it in 2d and modify the VC texture accordingly for a good visual match.
    Lots of T&E though to get the texture and the visible components of the gauge to coincide and in the case of an Att with steering info outside of the "window" those animations in the gauge won't show through...Don
    Great response - disappointing, but clearly helps me understand the situation. Well, I'm going to play a bit with the positioning - if you all can live with redundancy in the bank angles on your ATT IND, and if you have the Mig-23 gauge, then this little fix will give you at least a bit more of a complete experience.

    On the plus side, this gauge looks PERFECT on the MiG-25 ... hoping I can pick away at the other gauges.

    Again, any help on translating the meaning of E-166 gauges above would be great - they'll likely be the basis for the upgrades for the CS MiG-21 and AS MiG-25 ...

    dl

  18. #18
    Charter Member 2015 delta_lima's Avatar
    Join Date
    Jun 2005
    Location
    Vancouver, BC, Canada
    Age
    53
    Posts
    3,427
    Blog Entries
    1

    MiG-21F-13 - done!

    OK - within the limits of my own (dis)ability on gauges, I've come to a solution that best approximates a suitable fix.

    First, the finished product:

    Attachment 44137



    So, the gauge sizing is a bit oval - that's because if I widen the gauge it gets pushed to the right ... and I can't shift over any further to the left, as those familiar with gauge placement can see from the coords below - the "X" position in the gauge spot is already "0", so this is the best I can do.

    So, to get this fix, you need to

    1) have the payware Alphasim Mig-23 Flogger

    2) Pop the Alpha Mig-23.cab gauge archive into your main FSX gauge folder

    3) Go into your Mig-21F-13 folder, to the panel folder, to the panel cfg, and identify the section below - paying attention to the line I've highlighted - that's the one you'll be editting.

    //--------------------------------------------------------
    [VCockpit02]
    size_mm=1024,1024
    pixel_size=1024,1024
    texture=$panel2
    background_color=0,0,0
    visible=1
    gauge00=MiG21F13!Attitude, 0,718,158,171
    gauge01=MiG21F13!ARK_stitek, 0,0,706,717
    gauge02=MiG21F13!budik, 159,718,200,181
    gauge03=MiG21F13!Kanal, 707,0,180,285
    gauge04=MiG21F13!VD28K, 707,286,260,240

    4) Edit the above line to read as follows:

    gauge00=ALPHA_MiG-23!KPP, 0, 670,175, 250

    Save your panel.cfg file

    As always, save the original, in case you prefer the stock, albeit only partially functional ATT IND.

    I'll post the Mig-21F-13 thread for anyone who mightn't have read this here ...

    good luck.

    Now, onto the CS-21UM ....

    dl

  19. #19
    Thank you. That'll work. I just happen to have a copy of the AS MiG-23.
    :ernae:

  20. #20
    Charter Member 2015 delta_lima's Avatar
    Join Date
    Jun 2005
    Location
    Vancouver, BC, Canada
    Age
    53
    Posts
    3,427
    Blog Entries
    1
    Glad it works. It's a miniscule contribution, but it's still nice to give, rather than take, for a change.

    cheers,

    dl

Similar Threads

  1. coverting MP3 files to wav files for fs9
    By PhantomP in forum FS 2002/2004 General Discussion
    Replies: 13
    Last Post: June 4th, 2020, 10:52
  2. RWD 8 Expansion files and problems with searching for files
    By P38man in forum FSX General Discussion
    Replies: 2
    Last Post: November 1st, 2011, 17:42
  3. Sound files, config files, and adjusting them
    By OleBoy in forum FS 2002/2004 General Discussion
    Replies: 2
    Last Post: January 11th, 2011, 13:10
  4. MY ANIMATION GIF FILES (WARNING BIG FILES)
    By Cirrus N210MS in forum Ickie's NewsHawks
    Replies: 6
    Last Post: November 2nd, 2010, 19:54
  5. CAB files for gauges
    By MaddogK in forum Panel Design & Tips
    Replies: 5
    Last Post: February 21st, 2009, 10:51

Members who have read this thread: 0

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •