goon3r Posted June 24, 2009 Posted June 24, 2009 Hi All, While it hurts me to create a thread for something that has been discussed a million times, I am at a loss for how to get past this problem. Spent about 4 hours fiddling and researching last nite. I have read through a few hundred posts and been using this wiki as a guide. I simply cannot get BS to display on my second monitor. I have edited both of my lua files with Notepad++ and also tried the phantom monitor fix. I am attempting to run camera at 1920 x1080 and the second monitor on the right 1440 x 900 with skhval and abris. Phantom doesn't do anything at all for me. The files below give me the camera smushed on the right side of my main monitor, with no abris or skhval anywhere on the main screen. My second monitor just shows the desktop. 1920 x 1080 , 1440 x 900 I am running vista ultimate 64, 4870 crossfireX (disabled for BS). Here are my .lua files :helpsmilie:: options.lua ["graphics"] = { ["multiMonitorSetup"] = "My_Shkval+Camera+ABRIS", ["color"] = "32", ["heatBlr"] = 1, ["scenes"] = "high", ["water"] = 3, ["fullScreen"] = false, ["visibRange"] = "High", ["aspect"] = 4.444, ["textures"] = 2, ["shadows"] = 3, ["display_mode"] = { ["avi"] = { ["bpp"] = 32, ["resolution"] = "640x480", ["full_screen"] = false, ["aspect"] = 4.4444, ["height"] = 480, ["width"] = 640, }, -- end of ["avi"] }, -- end of ["display_mode"] ["effects"] = 3, ["lights"] = 2, ["haze"] = 1, ["terrPrld"] = "20", ["height"] = 1080, ["resolution"] = "4800x1080", ["civTraffic"] = 0, ["width"] = 4800, }, -- end of ["graphics"] } -- end of options My_Shkval+Camera+ABRIS.lua Description = 'ABRIS and Shkval on the right and camera on the center' Viewports = { Center = { x = 1440; y = 0; width = 1920; height = 1080; viewDx = 0; viewDy = 0; aspect = 1.77778; } } Shkval = { x = 4080; y = 0; width = 720; height = 450; } ABRIS = { x = 3360; y = 0; width = 720; height = 900; }
Schwinn Posted June 24, 2009 Posted June 24, 2009 My understanding is it won't work if you just use windows to extend the desktop to the second monitor. You have to use software that "spans" the desktop. Nvidia has their own control panel and ATI does it as well I am not sure what the ATI one is called. If i used the Nvidia multi monitor wizard it worked. If i used the Windows extend feature it did not. I am not 100% sure but I also think you have to run BS in windowed mode in order for multi monitor to work under Vista.
goon3r Posted June 24, 2009 Author Posted June 24, 2009 From what I've been reading there is no way to span in vista. I've unchecked the the full screen option in the menus in the GUI as well. Is there some other way to get into "windowed" mode that I am missing ?
JG14_Smil Posted June 24, 2009 Posted June 24, 2009 it has been a long time since I messed with this... first, need to make sure you have the phantom monitor fix in the bin/stable folder
Kurtz Posted June 24, 2009 Posted June 24, 2009 (edited) Setup your extended desktop in the windows control panel then try this with phantom fix active- options.lua ["graphics"] = { ["multiMonitorSetup"] = "My_Shkval+Camera+ABRIS", ["color"] = "32", ["heatBlr"] = 1, ["scenes"] = "high", ["water"] = 3, ["fullScreen"] = false, ["visibRange"] = "High", ["aspect"] = 3.11, ["textures"] = 2, ["shadows"] = 3, ["display_mode"] = { ["avi"] = { ["bpp"] = 32, ["resolution"] = "640x480", ["full_screen"] = false, ["aspect"] = 1.33, ["height"] = 480, ["width"] = 640, }, -- end of ["avi"] }, -- end of ["display_mode"] ["effects"] = 3, ["lights"] = 2, ["haze"] = 1, ["terrPrld"] = "20", ["height"] = 1080, ["resolution"] = "3360x1080", ["civTraffic"] = 0, ["width"] = 3360, }, -- end of ["graphics"] } -- end of options ps- I think your other lua is incorrect as well. My_Shkval+Camera+ABRIS.lua Description = 'ABRIS and Shkval on the right and camera on the center' Viewports = { Center = { x = 0; y = 0; width = 1920; height = 1080; viewDx = 0; viewDy = 0; aspect = 1.777; } } Shkval = { x = 1920; y = 90; width = 720; height = 450; } ABRIS = { x = 2640; y = 90; width = 720; height = 450; } Give that a shot :) Edited June 25, 2009 by Kurtz correct Y values 1
goon3r Posted June 25, 2009 Author Posted June 25, 2009 Thanks alot for that. Some rep for you ++ My Problem was actually two fold: First my lua files were a bit off, the ones you made were exactly what I was looking for. The second problem which was actually worse was that I was actually using the options.lua file that is located @ C:\Program Files (x86)\Eagle Dynamics\Ka-50\BlackShark\data\scripts But instead I should have been using the one found @ C:\Users\{USER}\AppData\Local\VirtualStore\Program Files (x86)\Eagle Dynamics\Ka-50\BlackShark\data\scripts It's funny because I spent a good 6hrs or so researching for the past two days and I don't remember seeing that mentioned before. I guess this is a vista UAC issue but I'm surprised more people haven't had this confusion before.
Slick Twitchy Posted June 25, 2009 Posted June 25, 2009 I have a multimonitor set up and Vista, and used your first path (in Program Files). Never went into the appdata folder. Wierd that you had to. CRX-Intel(R) Core(TM) i9-13900K;4090; Varjo Aero; Winwing UFC/HUD/MFDs/Throttle/PTO Panel/Combat Panel; Winwing F-18 joystick; Buttkickers; Monstertech flight seat; PointCTRL.
Kurtz Posted June 25, 2009 Posted June 25, 2009 Im a Vista user and I use the first path as well. Anyway im glad you got things sorted :)
goon3r Posted June 25, 2009 Author Posted June 25, 2009 Yeah, it was weird. None of my options file changes seemed to have any effect until I switched paths. I think it's caused by the UAC in Vista. I've noticed that if I disable UAC most of my games including BS will lose almost all settings and configs. So I've just left it enabled to avoid the hassles.
Acedy Posted June 25, 2009 Posted June 25, 2009 If UAC is enabled the programs that run with non-admin rights are not allowed to write into the Program Files directory, instead all their write (and subsequent read) accesses are redirected to copies of the original files, which are automatically created in the VirtualStore folder you mentioned above. It's a security feature that should prevent malicous software from altering program data on your HD. :) [sIGPIC][/sIGPIC] *** SERVMAN SERVER MANAGEMENT MOD V2 FOR DCS:BS V1.0.1 *** *** VERSION FOR FC2 ***
goon3r Posted June 25, 2009 Author Posted June 25, 2009 Yeah, I figured there was something like that going on. Thanks for the explanation. I'm guessing that most vista users here just have UAC turned off. I'll probably just disable it next time I reformat, can't be bothered to fix it right now.
Recommended Posts