

Barrakooda
Members-
Posts
82 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Barrakooda
-
[How To] Export ALL Indicators like MFCD via ViewPorts
Barrakooda replied to icemaker's topic in Multi-Display Bugs
They go in monitor.lua as well. But you need to modify corresponding .int files as well. Check back a few pages. -
[How To] Export ALL Indicators like MFCD via ViewPorts
Barrakooda replied to icemaker's topic in Multi-Display Bugs
I used a previous posters idea of printscreen desktop with Helios running. Then use ms paint to find coordinates. While not totally accurate it provided a starting point. Still had to do some resizing/positioning. -
[How To] Export ALL Indicators like MFCD via ViewPorts
Barrakooda replied to icemaker's topic in Multi-Display Bugs
Mine is working using the following Monitor Config: _ = function(p) return p; end; name = _('helios'); Description = 'to suit gadrocs helios profile' Viewports = { Center = { x = 0; y = 0; width = 2560; height = 1440; viewDx = 0; viewDy = 0; aspect = 1.77777777777778; } } RIGHT_MFCD = { x = 1480; y = 1502; width = 380; height = 380; } LEFT_MFCD = { x = 60; y = 1502; width = 380; height = 380; } UHF_REPEATER = { x = 666; y = 2157; width = 102; height = 21; } DIGIT_CLOCK = { x = 517; y = 2267; width = 115; height = 115; } CMSP = { x = 1141; y = 2236; width = 329; height = 66; } CMSC = { x = 827; y = 1573; width = 297; height = 67; } RWR = { x = 515; y = 1553; width = 258; height = 258; } UHF_PRESET_CHANNEL = { x = 311; y = 2121; width = 47; height = 42; } UHF_FREQUENCY_STATUS = { x = 163; y = 2233; width = 214; height = 45; } UIMainView = Viewports.Center RWR Config: dofile(LockOn_Options.common_script_path.."devices_defs.lua") indicator_type = indicator_types.COMMON purposes = {render_purpose.GENERAL, render_purpose.HUD_ONLY_VIEW, render_purpose.SCREENSPACE_OUTSIDE_COCKPIT, render_purpose.SCREENSPACE_INSIDE_COCKPIT} local x_size = 1 local y_size = 1 function update_screenspace_diplacement(zoom_value) local default_width = 0.5 * LockOn_Options.screen.height + (64 * zoom_value) if default_width > LockOn_Options.screen.height then default_width = LockOn_Options.screen.height end if default_width > 0.5 * LockOn_Options.screen.width then default_width = 0.5 * LockOn_Options.screen.width end local default_height = (y_size/x_size) * default_width local default_y = LockOn_Options.screen.height - default_height local default_x = LockOn_Options.screen.width - default_width dedicated_viewport = {default_x,default_y,default_width,default_height} dedicated_viewport_arcade = {default_x, 0 ,default_width,default_height} end update_screenspace_diplacement(0) function set_full_viewport_coverage(viewport) dedicated_viewport = {viewport.x, viewport.y, viewport.width, viewport.height} dedicated_viewport_arcade = dedicated_viewport purposes = {render_purpose.GENERAL, render_purpose.HUD_ONLY_VIEW, render_purpose.SCREENSPACE_OUTSIDE_COCKPIT, render_purpose.SCREENSPACE_INSIDE_COCKPIT} -- set purposes to draw it always render_target_always = true end -- try to find assigned viewport local multimonitor_setup_name = "Config/MonitorSetup/"..get_multimonitor_preset_name()..".lua" local env = {} env.screen = LockOn_Options.screen local f = loadfile(multimonitor_setup_name) if f then setfenv(f,env) pcall(f) local vp = nil vp = env.RWR if vp ~= nil then dbg_print("ok we have directly assigned viewport to MFCD\n") set_full_viewport_coverage(vp) end end ---------------------- rwr_symbols_bound = 0.027 -- coeff to limit indication on RWR when symbol can't be place on RWR entirely -------PAGE IDs------- id_Page = { PAGE_OFF = 0, PAGE_MAIN = 1, PAGE_BIT = 2 } id_pagesubset = { COMMON = 0, MAIN = 1, BIT = 2, } page_subsets = {} page_subsets[id_pagesubset.COMMON] = LockOn_Options.script_path.."AN_ALR69V/Indicator/AN_ALR69V_COMMON_page.lua" page_subsets[id_pagesubset.MAIN] = LockOn_Options.script_path.."AN_ALR69V/Indicator/AN_ALR69V_MAIN_page.lua" page_subsets[id_pagesubset.BIT] = LockOn_Options.script_path.."AN_ALR69V/Indicator/AN_ALR69V_BIT_page.lua" ---------------------- pages = {} pages[id_Page.PAGE_OFF] = {} pages[id_Page.PAGE_MAIN] = {id_pagesubset.COMMON, id_pagesubset.MAIN} pages[id_Page.PAGE_BIT] = {id_pagesubset.COMMON, id_pagesubset.BIT} init_pageID = id_Page.PAGE_OFF use_parser = false --- master modes A10C_ALR69V_OFF = 0 A10C_ALR69V_MAIN = 1 A10C_ALR69V_BIT = 2 ------------------------------------ pages_by_mode = {} clear_mode_table(pages_by_mode, 2, 0, 0) function get_page_by_mode(master,L2,L3,L4) return get_page_by_mode_global(pages_by_mode,init_pageID,master,L2,L3,L4) end pages_by_mode[A10C_ALR69V_OFF][0][0][0] = id_Page.PAGE_OFF pages_by_mode[A10C_ALR69V_MAIN][0][0][0] = id_Page.PAGE_MAIN pages_by_mode[A10C_ALR69V_BIT][0][0][0] = id_Page.PAGE_BIT -
[How To] Export ALL Indicators like MFCD via ViewPorts
Barrakooda replied to icemaker's topic in Multi-Display Bugs
Icemaker Great news, look forward to new version :thumbup: -
Using IE as well, but had to set to show hidden file extensions under folder options in control panel (win 7 64), so i could alter extension, worked well.
-
Coolie hat fwd long - wouldnt that slave all sensors to SPI?
-
Thx mate appreciated
-
ATC can be accessed through the CDU "divert" page not sure about the others Does the new in mission breifing have that info? (havent tried it yet)
-
magnetic variation I watched a vid somewhere explaining that when airport runways were given their designation you have to factor in magnetic variation changes over the years as it shifts with tme i.e. say the runway was given the designation 27 (270) 20 years ago it probably was an exact bearing at that time but due to the shift in magnetic variation its now actually 272 or something but the runway keeps the 27 desigantion. I hope that makes sense
-
Thx Evil that sorted it, was having issues with rapid & couldnt see the link.
-
hmm labels showing up in ramp start mission with labels off in options
-
Nice job Loz, I started on the IFF as well until I read the manual so got rid of it. I have left KY58 panel in (also non functional) hoping I could intergrate TARS when it gets updated somehow.
-
I used Win 7 manager & did a registry clean. Files then installed.
-
In game put in 2960x1050 then select your created/saved EMC file
-
how are your monitors set up in windows/nvidia settings. Do the 2 monitors have their edges together? FYI EMC doesnt have to be left running
-
You need to calculate this, assuming you have them set correctly in windows/nvidia settings What size are your monitors? e.g i Have a 27' 2560x1440 res monitor as my main & i have a 1920x1080 touchscreen underneath my main so: width = 2560 (because second screen is within boundries of the main) Height = 1440 + 1080 = 2520 Therefore res i put into game was 2560 x 2520, then i selected the file name made up in EMC from dropdown box inside the game, just down from where resolution is put in. Another example you have a main 1920 x 1080 & a second 1680 x 1080, the second sits to the RIGHT of main: width = 1920 + 1680 = 3600 height = 1080 (they are side by side not n top like mine so you take the highest screen, similar to my width set up) Therefore in game i would put 3600x1080. Hope that helps. Have a look here for more detail http://forums.eagle.ru/showthread.php?t=60815
-
Marder Have you put your total resolution (area of both screens) in DCS game video options panel? Dont have your second display to the left of main screen DCS doesnt like it. When you say doesnt apprear in the game are you talking about the MFD's on the actual aircraft or the ones you created? Are they black? if so you will need to power aircraft up to get them to show
-
Pcalvert try this if you it installed already (and EMC LUA installer has done its thing writing should all be green) Hit new Put in a name for profile - dont put .lua on the end Put in a desciption on second line if you want Hit save *Error message will come up ignore it* Go to dropdown box on the right & select your named profile (will now have .lua on the end) Hit the load button Select the RWR & resize/reposition to where you want - using mouse & keyboard arrows Hit save Close EMC Done! Crank up A10 to see if it shows, remember it will be black if the aircraft is not powered up This how mine came out after setting it up - all done by EMC. If your wondering my touchscreen is below my 27' monitor to display helios & EMC images. _ = function(p) return p; end; name = _('gadrocsheliosprofile'); Description = 'gadrocsheliosprofile' Viewports = { Center = { x = 0; y = 0; width = 2560; height = 1440; viewDx = 0; viewDy = 0; aspect = 1.77777777777778; } } RIGHT_MFCD = { x = 1484; y = 1504; width = 371; height = 371; } LEFT_MFCD = { x = 64; y = 1505; width = 371; height = 371; } UHF_REPEATER = { x = 665; y = 2117; width = 103; height = 103; } DIGIT_CLOCK = { x = 518; y = 2267; width = 114; height = 114; } CMSP = { x = 1145; y = 2104; width = 327; height = 327; } CMSC = { x = 823; y = 1453; width = 305; height = 305; } RWR = { x = 515; y = 1553; width = 258; height = 258; } UIMainView = Viewports.Center
-
I have disabled UAC if that helps, was driving me nuts errr .. no EMC should / doesnt have to run EMC edits the <monitorprofile>.lua (& options.lua) then DCS runs these files the EMC Test Outputs for placement .. are pics I stand corrected it works! Thank you you edit a Helios profile / profile editor (reset monitors / have/ADD/copied Helios A10 binding (!), Helios needs edited export.lua & config.lua (when installing Helios)(!) or nothing happens with them buttons(!), & Helios profiles will therefore not work on some MP servers (security check) (I found 1 no problem), there is a thread how to place MP menu buttons on main monitor only, or you cannot play MP (when missing bottom right for menu button)) load this Helios with Helios Control Center then you minimize the Control Center (unless you like to look at it) To be honest Maj you have lost me here:unsure: welcome .. had a - important - data harddrive problem on other compu .. using Game box for retrieval/copying for two days .. no play DCS .. nothing else to do :D Soz to hear it mate Time for a beer though :) Gota need it after my rant! Dammit! how do you do the individual quote thing Maj? That looks heaps better
-
ok there was nothing in <DCS install>\Config\MonitorSetup\<monitorprofile>.lua But managed to create & save one gadrocsheliosprofile.lua The error messages were throwing me when selecting "new" & hitting ok, so basically you need to select "new" give it a name & a description, click "ok", then ignore error message, then select profile from dropdown box, select "load" make desired changes, then select "save". I have set in game resolution to 2560 (=width) x 2520 (=height 1440 + 1080). Seems to work so far as all screens go black once in game (training) also found out you have to have EMC running minimised for it to do this:ermm::music_whistling: Thanks for your patience & assistance Maj, was about to go mad:gun_rifle:
-
I just have reinstalled everything including EMC. During install it asked to install lua which i did. I then looked in C:\Program Files\Eagle Dynamics\DCS A-10C\Config\MonitorSetup There is no EasyMonitorConfigurator.lua
-
Maj I did a full uninstall of everything then cleaned registry with win 7 manager, in the process of reinstalling. EMC (prior to this clean up) on install did NOT put the EasyMonitorConfigurator.lua in the monitorsetup file within dcs directory, i created 1 called helios.lua but when resizing.repositioning things when i hit save it said it could not find helios.lua even though it was in the right place (monitorsetup file within dcs directory)
-
Never mind taking a break from this its doing my head in cheers anyway
-
Reinstalled A10C, Helios & EMC I created a helios.lua but if i open & modify positions/sizes then save it says it cannot find the .lua, something to do with 64 bit?