Razi Posted November 15, 2006 Posted November 15, 2006 I have searched many many forums and sort of found hints at what I'm looking to do. I have one computer, with a 7900gt. I have 2 displays, one 19" widescreen, one 15" crt. I would love to place additional information from lomac onto this 2nd 15" crt monitor if possible, while the 19" displays its default view. I cannot find any, straight forward infomation on how to do this. What I did find was programs and lua scripts that run on a 2nd computer which I do not have access to. I'm also aware of the potential peformance hit running 2 monitors on one computer. The information I place on the 15" crt would depend on what I'm able to actually put on it. I would love to have the tv monitor from the A-10 show up on it or the RWR. If thats possible. Any additional information/gauges from the cockpit that I can quickly glance at on the 15" crt would be just as good. Thank you for your help. Remember I only have ONE, dual core cpu, computer.
Joe Kurr Posted November 15, 2006 Posted November 15, 2006 You can use the lua script solutions on one PC as well. Just edit the scripts and change the addresses which point to the other pc to either 'localhost' or '127.0.0.1' This way you can run the external program on your 15" monitor, whilst flying lockon on your 19" monitor. The performance hit is dependent on the resources the external program takes to run, but if you don't do any really complicated stuff, this should be minimal. I'm planning on building a cockpit with some working buttons, dials and indicators, and plan on getting it to work just like I described here. Dutch Flanker Display Team | LLTM 2010 Tiger Spirit Award
Razi Posted November 15, 2006 Author Posted November 15, 2006 Thanks for the response. Ok, that is good to know. I have great performance now (80-120 fps) so I don't mind some loss there for some extra info. I did try and experiment with the address in the lua scripts, but was unsuccesfull at making it work, so I started wondering if it was even possible. I will go make it work now. I am using a java program called JLockOn written by Flike which I found in the ubi.com forums. If anyone knows of other programs that work great for this please post a link, thanks. I would love to eventually start building a simpit myself, but at the moment I'm cash and knowledge limited, for now I'll be happy with displaying whatever extra info I can on this 15" crt. Particularly happy if I can get the Tv Monitor from the A-10 or Su25T on it!
zorlac Posted November 16, 2006 Posted November 16, 2006 You wont be able to get the TV from the A-10/SU-25T to display on a second screen, there just isnt any data export facility for that.
tflash Posted November 16, 2006 Posted November 16, 2006 Thanks for the response. Ok, that is good to know. I have great performance now (80-120 fps) so I don't mind some loss there for some extra info. I did try and experiment with the address in the lua scripts, but was unsuccesfull at making it work, so I started wondering if it was even possible. I will go make it work now. I am using a java program called JLockOn written by Flike which I found in the ubi.com forums. If anyone knows of other programs that work great for this please post a link, thanks. I would love to eventually start building a simpit myself, but at the moment I'm cash and knowledge limited, for now I'll be happy with displaying whatever extra info I can on this 15" crt. Particularly happy if I can get the Tv Monitor from the A-10 or Su25T on it! Did you get JLockon to work? I can start it with java -jar JLockon.jar, I get the screens etc. but the data just don't seem to write to the socket: nothing happens? [sIGPIC][/sIGPIC]
Triggerhappy69 Posted November 16, 2006 Posted November 16, 2006 I would seriously give the guys at www.simmeters.com a look-see.. I have been running this software for some time now, and can't find much to say about it, other than the fact that IT RULES..! "But (504)Brewber said they were'nt friendly.. So I took'em out.!" [sIGPIC][/sIGPIC]
tflash Posted November 16, 2006 Posted November 16, 2006 In the meantime I got JLockon to work! I had to change the socket part in export.lua: -- 2) Socket dofile "lua.lua" socket = require("socket") host = "localhost" port = 6666 c = socket.try(socket.connect(host, port)) c:setoption("tcp-nodelay",true) -- local path = "./luasocket.dll" -- local f = assert(loadlib(path, "luaopen_socket")) -- f() -- local host = '127.0.0.1' -- local port = 6666 -- if socket then -- c, e = socket.connect(host, port) -- end [sIGPIC][/sIGPIC]
tflash Posted November 16, 2006 Posted November 16, 2006 I would seriously give the guys at www.simmeters.com a look-see.. I have been running this software for some time now, and can't find much to say about it, other than the fact that IT RULES..! Seems very nice, but their website announces a release for US Lockon/FC meters in March 2006! What happened since then? Is the company still alive? Did you buy the Russian meters? [sIGPIC][/sIGPIC]
Fufunka Posted November 17, 2006 Posted November 17, 2006 I'd would be very interested as many others here in the Shkval TV and ABRIS export from BlackShark over LAN without this feature it's kind of pointless to build a pit for it anyway.. Too bad ED devs still decline to comment on these requests, which are IMHO more important for the long term success of the sim than other issues.. The MSFS has got this ability for years as other sims..
zorlac Posted November 18, 2006 Posted November 18, 2006 AFAIK ED are looking at completely recoding the LUA and export data routines for Black Shark, and I am also hoping that they will be generous and let me loose on it after its done... we shall see
Fufunka Posted November 18, 2006 Posted November 18, 2006 Zorlac> The problem is there are not that many options how to proceed with exporting Shkval and ABRIS views. The "easiest approach" just grabbing it from the memory and send as .png or .jpg that's how it has been done in some Falcon and EECH simulators and it's kind of impractical because it costs a lot of resources. The more elegant approach used by MSFS, FlightGear and others is server-client, basically running a second install of the same sim over network on another less powerfull "zombie" PC which is in sync with the main rig. That zombie PC is tweaked to display only the selected panels or views for that matter.. FlightGear even has all this network sync mumbo jumbo code for multidisplay documented on their website so it could be learned a lot from it if not copied entirely by the ED. I think they could make a BS client which would be stripped of every input functions and only able to render the exact views or panels what the server tells him to do.. There might be also other approaches, I'm not sure about simmeters but they most probably fall into the first category in terms how they go after for instance the HUD display. But I doubt you can recreate the complexity of ABRIS only from the LUA data and in the Shkval it's flatout impossible because that's output from the core of the graphics engine.. Probably some better coders might have deeper insight of the issues and offer some viable strategy how to do it. But I'm almost confident that some sort of server-client solution would be necessary.
zorlac Posted November 18, 2006 Posted November 18, 2006 yes, I am fully aware of the limitations of the current LUA export system.... its the future stuff I am hoping that will be coded into BS that want to get to play with (and really woulddnt take that long to add into the core game code). If its just the same LUA data we currently have access to but in a new package, we are OH so screwed for external MFDs, screens, dials, Shkval/ABRIS, etc....
Mnemonic Posted January 3, 2007 Posted January 3, 2007 Hello... I've created soft that you are looking for, not MFDs - that thing are unable to export :(, but other aircraft info are exporting and visualising by my program. It's totally freeware. It will be at LockOnFiles soon, I hope.
Recommended Posts