Jump to content
The simFlight Network Forums

Save state of VAS logging window?


Recommended Posts

Is it possible to save the size and position of the VAS logging window in P3D2.5. It always starts with the green bar across the screen and I must resize and move it.

 

Sorry, I don't know how you are logging it there? That's the FS message window, I think? Doesn't it get defined in the FS/P3D CFG file someplace?

 

Easiest would be via a little Lua plug-in with its own display. They are sizeable and positionable. Or best on a separate PC via WideFS. Here's the one I use, which runs under WideClient and shows frame rate and VAS free. You'll need to set the window position and size in the wn.opn function (the four numbers are x,y,cx,cy):

w = wnd.open("VAS Monitor", WND_FIXED, 2455,1075,425,100)
wnd.backcol(w, 0x000)
wnd.textcol(w, 0x6c0)
wnd.font(w, WND_ARIAL,-2)

-- Update the display at 500 msec intervals (see event at end)
function mytimer(time)

    wnd.clear(w)

    fr = ipc.readUW(0x0274)
    if fr ~= 0 then fr = 32768/fr end
    fr = math.floor((fr * 10) + 0.5)/10
    mem = ipc.readUD(0x024C)
    memmb = math.floor((mem/1024) + 0.5)
    
    wnd.text(w, "Frame Rate " .. fr .. " fps\nVAS free " .. memmb .. " Mb")

end

-- Adjust timing to taste: 500 = 1/2 second
event.timer(500, "mytimer")

Regards

Pete

Link to comment
Share on other sites

I am using offset 024C Type S32 with FS WIndow checked 

 

I don't think there's any way of telling FS to save a different position for that window. But try re-positioning it, then saving a flight. Theoretically it MAY just get restored to the same place on a flight reload.

 

But don't hold me to it. If the ATIS and other messages can't be so re-positioned, then neither can these!

 

Pete

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.