Jump to content

Bravo020

Members
  • Posts

    122
  • Joined

  • Last visited

Everything posted by Bravo020

  1. That certainly appears to be the indication, although I am unsure as to how complete the functionality currently is, as there are other elements discussed in the export.lua that do not appear to currently function properly within BS. But certainly an interesting area for further investigation. Regards,
  2. Hi, Thank you for the additional export.lua script, and for also shedding some light as to what is happening. Regards, Bravo.
  3. Hi, Does anyone know of any updates to the export.lua script or of any listing of the statistics that can be exported from Black Shark via lua scripts. From what I can tell so far the ability to export data is lacking in Black Shark in comparison to LockOn. Currently I am working on a small project to export data so as to collect this and display it within the Logitech G15 keyboard display, and a lot of the examples in the export.lua provided with Black Shark do no generate any data. Any assistance would of course be greatly appreciated. Regards,
  4. Hi, Sorry if this is question has been answered already (I've searched the forums and can find no answer), and also sorry for my lack of understanding of export.lua. I am trying to export some statistics for Engine RPM (left and right) via the export.lua script and am encountering difficulty. I have been able to export some default values via the export.lua and config.lua scripts, using some of the examples already provided within export.lua. ie. export.lua function LuaExportStart() package.path = package.path..";.\\LuaSocket\\?.lua" package.cpath = package.cpath..";.\\LuaSocket\\?.dll" socket = require("socket") host = host or "localhost" port = port or 6060 c = socket.try(socket.connect(host, port)) -- connect to the listener socket c:setoption("tcp-nodelay",true) -- set immediate transmission mode end function LuaExportBeforeNextFrame() end function LuaExportAfterNextFrame() local t = LoGetModelTime() local name = LoGetPilotName() local altBar = LoGetAltitudeAboveSeaLevel() local altRad = LoGetAltitudeAboveGroundLevel() local pitch, bank, yaw = LoGetADIPitchBankYaw() [b] local engine = LoGetEngineInfo() [/b] socket.try(c:send(string.format("t = %.2f, name = %s, altBar = %.2f, altRad = %.2f, pitch = %.2f, bank = %.2f, yaw = %.2f, RPMLeft = %f, \n", t, name, altBar, altRad, 57.3*pitch, 57.3*bank,57.3*yaw[b], engine.RPM.left[/b]))) end function LuaExportStop() local tNext = t return tNext end However when I enable the code written above in bold , I am not successful in generating any RPM statistics, without the bold entries added to export.lua then I am successful in exporting the basics. I believe that I must be entering the commands incorrectly to export the table containing the engine information, or in extracting the data to send to the socket. Has anyone had any success in exporting engine information, and can see where my mistakes might lie? On a sidenote, I also made the similar changes to LockOn FC 1.12 and the export is successful, so I can only assume that something has changed with regards to the implementation within BS or the feature has been removed.....? Any assistance would be greatly appreciated. Kind regards, Bravo020.
  5. Vulture, I think that your x value for the Shkval is incorrect, are you sure that you need x = 3328; I think that perhaps x = 2816; might meet your requirements. Regards.
  6. Hi Manta, Best start again, since there are a number of possible issues with the information you have provided. If you are trying to run on a 1680x1050 and a 1024x768 monitor setup then I believe that the following is required, for the Shkval and Abris to reside on a 1024x768 monitor on the left, and the cockpit to reside on a 1680x1050 monitor on the right. Let me know if you still have problems and I'll see what happens, also if you need any additional information on what the values represent and why I have chosen them. Regards. options.lua ["graphics"] = { ["multiMonitorSetup"] = "camera+shkval+abris1280", ["color"] = "32", ["heatBlr"] = 0, ["scenes"] = "medium", ["water"] = 2, ["fullScreen"] = false, ["visibRange"] = "Medium", ["aspect"] = 3.55, -- 3728 / 1050 ["textures"] = 1, ["shadows"] = 1, ["display_mode"] = { ["avi"] = { ["bpp"] = 32, ["resolution"] = "640x480", ["full_screen"] = false, ["aspect"] = 1.333333333, ["height"] = 480, ["width"] = 640, }, -- end of ["avi"] }, -- end of ["display_mode"] ["effects"] = 3, ["lights"] = 2, ["haze"] = 1, ["terrPrld"] = "20", ["height"] = 1050, ["resolution"] = "3728x1050", -- 1024 + 1680 + 1024 ["civTraffic"] = 0, ["width"] = 3728, }, -- end of ["graphics"] camera+shkval+abris1280.lua Description = 'Shkval on the left monitor, camera on the right' Viewports = { Center = { x = 1024; y = 0; width = 1680; height = 1050; viewDx = 0; viewDy = 0; aspect = 1.6; } } Shkval = { x = 0; y = 0; width = 1024/2; height = 768/2; } ABRIS = { x = 1024/2; y = 0; width = 1024/2; height = 768; }
  7. Ooops....you know what I mean....damn Hz....., Aahhh..! Ulukay, many thanks for the pointer with regards to pixel render targets, that would certainly make sense since I am running on a rather ancient nvidia 7800GS as I'm still stuck in the dark ages with a prescott 3.4Ghz, and I have to admit that the frame rate suffers considerably with a dual monitor configuration. Thanks again for the information much appreciated and makes sense of why I was encountering a 4096 limitation. Take care.
  8. Possibly, although I don't know for sure since I only have a single graphics card that provides support for 2 monitors, as my motherboard only has support for a single AGP graphics card. Although perhaps it is possible with 2 graphics card and a motherboard that supports 2 cards. From within XP, when I select the second monitor within the display control panel I checked the box "Extend my Windows desktop onto this monitor", and was then able to configure the screen resolution of each monitor independently. However, the downside to all of this is that when I launch BlackShark in multiplayer mode the screen is garbled across both monitors and not all the buttons are visible, as a result it didn't appear to be possible to connect to an Internet game....I haven't tried further to investigate this issue.
  9. Hi Manta, The answer is yes, I have 2 screens, each at different resolutions, my primary is 1680x1050 with a refresh rate of 60hz, my second monitor has a resolution of 1280 x 1024 with a refresh rate of 75hz. However I am unable to utilise the full width of the smaller monitor, each time that I try to configure BlackShark with a value greater than 4096 (which is required from what I am lead to believe on the basis of the calculations discussed earlier in this thread). Therefore I am limited to running my main screen at it's normal resolution of 1680x1050, my second screen also remains configured at a resolution of 1280x1024, but only 1208 pixels across are used to display the Shkval and Abris. As for running 3 screens, I would assume that this is possible, however with each screen running in their own resolution I think that you might exceed the 4096 limitation that I have been experiencing. Regards, Bravo020.
  10. I hope that I am not hijacking this thread, but since I am encountering a problem with a dual monitor configuration I thought it best to post here. I have what I believe to be a straight forward monitor setup within XP, a primary monitor (1680 x 1050) and a second monitor (1280 x 1024), they work fine in XP as an extended desktop (horizontal). However after reading through this thread I appear to have some difficulty configuring BlackShark's cockpit to display on my main monitor and the Shkval and Abris to display on the secondary monitor. After much trial and error, I can almost get it to work, however any time that I try and create a resolution of 4100 or higher (my aim was 4240 ie 1680 + 1280 + 1280) when I attempt to launch a quick start the binary crashes. An example of a working configuration : upto 4096 ie. 1680 + 1208 + 1208 is as follows: options.lua ["graphics"] = ...snip... ["multiMonitorSetup"] = "camera+shkval+abris1280", ["aspect"] = 3.9, -- 4096 / 1050 ["resolution"] = "4096x1050", ["width"] = 4096, -- 1208 + 1680 + 1208 camera+shkval+abris1280.lua Viewports = { Center = { x = 1208; -- offset of 4096-1680 / 2 y = 0; width = 1680; height = 1050; viewDx = 0; viewDy = 0; aspect = 1.6; } } Shkval = { x = 0; y = 0; width = 1208/2; height = 1024/2; } ABRIS = { x = 1208/2; y = 0; width = 1208/2; height = 1024; } As I've explained the above example works correctly for my current setup, although I am unable to fully utilise the width of the second monitor (1208 pixels max and not 1280). It does strike me as an unusual coincidence that BlackShark should crash anytime that I attempt to make the total screen(s) width more than 4096 (4K) is this perhaps a limitation, or are other folks running successfully with a larger value? Any assistance of course would be greatly appeciated. Kind regards, Bravo020.
  11. Hi FreemanRU, once again thank you very much for the additional information.
  12. Hi FreemanRU, many thanks for the reply, much appreciated.
  13. I'm not sure that there are over 400 flares, I think that the UV-26 is just in programming mode, and is displaying 4 flare sequences with 3 flares released in each sequence and a delay of 4 seconds between each flare sequence. Regards.
  14. Is there any way to assign a shortcut, or is it a switch that can only be operated by using the mouse, as I couldn't find the switch listed in any of the options, and the documentation incorrectly refers to the switch with an incorrect shortcut, and duplicates other switches near to it. I guess that this is a bug of some description. Regards.
  15. Hi, Perhaps someone can help, I am trying to identify the keyboard shortcut for the following switch within BlackShark located on the instrument wall panel. I have attached a screenshot of the specific switch which is labeled as "SA-TFL" with a description of "Radio equipment datalink SA-TLF power switch". Regards, Bravo020.
  16. Hard copy ring bound manuals (price could also include a donation to an international environmental tree fund of some description). With perhaps a yearly subscription of some kind, so as to receive updated pages as and when errata and updates arrive based on changes made to the software as it progresses through hotfixes etc. Sorry for the trees and environment but for a software simulation of this complexity a hard copy manual would be appreciated.
  17. Certainly, any recommendations on which driver to try? The latest driver available from nvidia for the graphics card I have is already installed (Version 178.24, release date 15.10.200). Should I be looking to downgrade to an earlier release? Regards>
  18. Hi, I encountered a crash of BlackShark (English downloaded version). This from what I can tell is a random crash as I have not yet encountered the same issue again. Description: As the Left Engine was beginning to powerup (right engine was already running) BlackShark just quit to a Windows error stating DCS: dcs.exe - Application Error. The instruction at "0x0f459eba" referenced memory at "0x00000000". The memory could not be "read". Click on OK to terminate. I have not tried to reproduce the bug as of yet, but will endeavour to see if I can. PC Configuration: Processor: Intel Pentium 4 3.40E GHz Motherboard: ASUS P4C800-E Deluxe (latest BIOS - 1024.001) RAM : 2GB Video Card: Gainward 7800 GS with 512MB Driver: 178.24 CD/DVD : LiteOn DH-20A4P-09C 20X DVD±RW/DL/RAM Internet Connection: ADSL 8MB Control Devices: Saitek X45, TrackIR Pro (3 + Vector), Logitech G9 & G15 (Saitek Driver: 4.3.3.1705, Software: 4.3.3.1727) (TrackIR driver: 4.1 Build 36 - latest version) (G9 Driver: 4.22.52, Setpoint: 5.00.175) (G15 Driver:2.02.101) Audio: Creative Audigy 2ZS Platinum Pro (latest drivers 6.00.0001.1361). Operating System: Windows XP 32bit SP3 with all latest patches. DirectX Version: 9.0c (4.09.0000.0904) Attachments: DCS-20081216-065433.crash.txt DCS-20081216-065444.crash.txt Obviously, if I encounter the problem again or can provide any additional information I will certainly do so, and if there is any additional information that is required I will do my best to provide it as quickly as possible. Regards.
  19. I got the footage to work with this URL. http://news.bbc.co.uk/media/avdb/news/video/74000/bb/74921_16x9_bb.asx
  20. Any details on what the delay is: Delayed indefinitely or something else? Just noticed that instead of the "autumn" release date it is now shown as "delayed" which doesn't sound particularly inspiring.... Regards.
  21. Looks like the file isn't compressed at all. If you download the file, and then rename it from a .zip file to a .mis file, you can load the mission without any trouble in Lock On. Regards.
  22. Jascha, I know exactly what you are talking about but after just pressing almost every key combo on my keyboard I still can't find it. Weird thing is that I seem to recall encountering this view while using my X45....? If I rediscover the key combo I'll let you know. But as you guess it does NOT involve making changes to any files that I am aware of, as I've never done that. Regards.
  23. Could it be a loose connection on the cable that connects the throttle to the joystick? If you unscrew the connection cable do you see any bent pins that may be the cause of this? Regards.
  24. do you have a joystick or any other devices attached? If you disconnect them do you still encounter the problem? I'm just trying to help isolate the issue since I haven't had that happen to me before. Regards.
  25. Anyone seen this already? http://www.lockon.ru/index.php?end_pos=133&scr=products&lang=en I didn't notice any messages about it before, but perhaps I'm blind and missed it altogether. Enjoy.
×
×
  • Create New...