Chicki Posted September 16, 2017 Posted September 16, 2017 Geeeez asta! This app is great. If only for the INS in the Mirage. I set it up and it worked! Connected fine. Unfortunately, it shut down everything else in the "export.lua". My Jetseat, and Simple Radio. Doesn't seem to wanna play with other stuff. Any help? Hope so 'cause this is way cool. Thanks.
astazou Posted September 16, 2017 Author Posted September 16, 2017 Geeeez asta! This app is great. If only for the INS in the Mirage. I set it up and it worked! Connected fine. Unfortunately, it shut down everything else in the "export.lua". My Jetseat, and Simple Radio. Doesn't seem to wanna play with other stuff. Any help? Hope so 'cause this is way cool. Thanks. Hi Chicki, hum... that's weird, on my side, Cockpit++, SimpleRadio and TacView are all working together. Can you show me your export.lua please? Here is mine : local Cockpitpp=require('lfs');dofile(Cockpitpp.writedir()..'Scripts/Cockpit++.lua') local dcsSr=require('lfs');dofile(dcsSr.writedir()..[[scripts\DCS-SimpleRadioStandalone.lua]]) local Tacviewlfs=require('lfs');dofile(Tacviewlfs.writedir()..'Scripts/TacviewGameExport.lua') My DCS contributions: - My mods/skins: here - My server/missions scripts: there - My Discord bot: this place If you want to thank me buying a coffee/beer, feel free: https://www.buymeacoffee.com/Astazou
Chicki Posted September 16, 2017 Posted September 16, 2017 Not sure if I got this file attached or not. Yeah, working with tacview. Not sure about simple radio this test. Don't think it likes Simshaker somehow. I'm not much of a trouble shooter. Sure love the app. Need my Simshaker more though. Thanks.Export.lua
astazou Posted September 16, 2017 Author Posted September 16, 2017 Not sure if I got this file attached or not. Yeah, working with tacview. Not sure about simple radio this test. Don't think it likes Simshaker somehow. I'm not much of a trouble shooter. Sure love the app. Need my Simshaker more though. Thanks. I don't get where is the mistake, I can give you two things to try : 1) move the Cockpit++'s line in the export.lua for example: local SimShakerlfs=require('lfs'); dofile(SimShakerlfs.writedir()..'Scripts/SimShaker.lua') dofile(lfs.writedir()..[[scripts\SimShaker-export-core\ExportCore.lua]]) local Tacviewlfs=require('lfs');dofile(Tacviewlfs.writedir()..'Scripts/TacviewExportDCS.lua') local dcsSr=require('lfs');dofile(dcsSr.writedir()..[[scripts\DCS-SimpleRadioStandalone.lua]]) local Cockpitpp=require('lfs');dofile(Cockpitpp.writedir()..'Scripts/Cockpit++.lua') 2) I don't know how is working SimShaker, but maybe it's using the same ports than Cockpit++. So I suggest you to use other ports in the Cockpit++.lua and in the Settings of the app My DCS contributions: - My mods/skins: here - My server/missions scripts: there - My Discord bot: this place If you want to thank me buying a coffee/beer, feel free: https://www.buymeacoffee.com/Astazou
Chicki Posted September 16, 2017 Posted September 16, 2017 Yeah I tried moving the Cockpit++ line. Didn't seem to help. I'll try the ports. How much should I change them? I'll try asking Andre at Simshaker about it. Thanks. Sure a great app. Love to get it working with the shaker.
=Andre= Posted September 16, 2017 Posted September 16, 2017 Hi astazou, I've got a look at your lua script. I think you do a right thing with LuaExportStart() function, as it was kindly explained by [FSF]Ian here https://forums.eagle.ru/showpost.php?p=2431726&postcount=5 I suggest you should try to do the same with the other callback functions LuaExportBeforeNextFrame(), LuaExportAfterNextFrame(), LuaExportStop(), in order to let other apps to work. Gametrix JetSeats thread (in English) , SimShaker addon for bass-shakers thread (in English), Andre's blog, downloads, manuals (in English). [sIGPIC][/sIGPIC]
astazou Posted September 16, 2017 Author Posted September 16, 2017 Hi astazou, I've got a look at your lua script. I think you do a right thing with LuaExportStart() function, as it was kindly explained by [FSF]Ian here https://forums.eagle.ru/showpost.php?p=2431726&postcount=5 I suggest you should try to do the same with the other callback functions LuaExportBeforeNextFrame(), LuaExportAfterNextFrame(), LuaExportStop(), in order to let other apps to work. Hi, thank you for your feedback, I had no idea I was doing this mistake, you learned me something :smartass: so if I understand well, my code should be: Cockpit++.lua? I tested, Cockpit++ is still working for me, if you confirm I did the right correction, I push the new version ;) My DCS contributions: - My mods/skins: here - My server/missions scripts: there - My Discord bot: this place If you want to thank me buying a coffee/beer, feel free: https://www.buymeacoffee.com/Astazou
=Andre= Posted September 16, 2017 Posted September 16, 2017 Looks good :) I think it would be great if Chicki tested this new script at his configuration and reported the result. Gametrix JetSeats thread (in English) , SimShaker addon for bass-shakers thread (in English), Andre's blog, downloads, manuals (in English). [sIGPIC][/sIGPIC]
Chicki Posted September 16, 2017 Posted September 16, 2017 I'm in guys. I'll try to get it tested before the day is out. Thanks Andre for your help. And thank you asta for a great app.
carraro0127 Posted September 16, 2017 Posted September 16, 2017 Hi Astazou: outstanding job... but i have some setting problem need to solve about 6) In the app, go to Settings, add your computer's IP and the two ports which are in the Cockpit++.lua" where can find ... 1.computer's IP (virtual IP??) 2.two ports(dcs & android) need set my router ??
Chicki Posted September 16, 2017 Posted September 16, 2017 Ok guys. Thrilled to report it worked like a charm. Didn't test Simple Radio but the Jetseat worked and Tacview worked so I'm sure SR works also. Man, how fun. Had the PCA on my phone and the INS on my tablet. Just to have access to the INS is great, frekin' GREAT!! Thanks for a great app astazou. Special thanks to Andre for the help. Thank you Andre and astazou.
=Andre= Posted September 17, 2017 Posted September 17, 2017 You are welcome :) Thank you for the update. Gametrix JetSeats thread (in English) , SimShaker addon for bass-shakers thread (in English), Andre's blog, downloads, manuals (in English). [sIGPIC][/sIGPIC]
astazou Posted September 17, 2017 Author Posted September 17, 2017 Nice, I pushed the fix, thank you for your contribution :thumbup: Hi Astazou: outstanding job... but i have some setting problem need to solve about 6) In the app, go to Settings, add your computer's IP and the two ports which are in the Cockpit++.lua" where can find ... 1.computer's IP (virtual IP??) 2.two ports(dcs & android) need set my router ?? Hi carraro0127, You don't need to set your router. For the two ports, they are in the Cockpit++.lua file. So in your app, you have to set these ports: local DCS_PORT = 14801 local ANDROID_PORT = 14800 you will have to change them if these ports are already used by another program. To get you computer's IP, as said in the "Install guide" in the app, you have to do: - Windows touch + "R" - a window appear, type "cmd" and press "ok" - a console window appears, type "ipconfig" and press enter - you get your Ipv4 address (IP address) - then, copy this IP in the "Settings" of the app, after that your Android will be able to send command to DCS when you will press a button on the app Good flight! :pilotfly: My DCS contributions: - My mods/skins: here - My server/missions scripts: there - My Discord bot: this place If you want to thank me buying a coffee/beer, feel free: https://www.buymeacoffee.com/Astazou
carraro0127 Posted September 17, 2017 Posted September 17, 2017 astazou really thx ur quickly feedback... i follow ur trick and setting...(app & pc) then... 1.start app first 2.start dcs 3.but state connection still display "not connected " in app setting page which step did not do it??
HiJack Posted September 17, 2017 Posted September 17, 2017 Hey astazou, great job on this Android app. Do you think you could make a Radio set with 3 radios for DCS Simple Radio that works for all aircrafts? Including the FC3 one's. Tablet mode app please. :thumbup:
astazou Posted September 17, 2017 Author Posted September 17, 2017 astazou really thx ur quickly feedback... i follow ur trick and setting...(app & pc) then... 1.start app first 2.start dcs 3.but state connection still display "not connected " in app setting page which step did not do it?? Start a mission, the panels will work only when you will be in the cockpit ;) My DCS contributions: - My mods/skins: here - My server/missions scripts: there - My Discord bot: this place If you want to thank me buying a coffee/beer, feel free: https://www.buymeacoffee.com/Astazou
astazou Posted September 17, 2017 Author Posted September 17, 2017 Hey astazou, great job on this Android app. Do you think you could make a Radio set with 3 radios for DCS Simple Radio that works for all aircrafts? Including the FC3 one's. Tablet mode app please. :thumbup: This is possible, but not my priority, I want to make the project openSource first, then contributors will do what they want :) My DCS contributions: - My mods/skins: here - My server/missions scripts: there - My Discord bot: this place If you want to thank me buying a coffee/beer, feel free: https://www.buymeacoffee.com/Astazou
Ala12Rv-watermanpc Posted September 18, 2017 Posted September 18, 2017 Do you have plans on releasing a version for iOS mate?...thanks for your GREAT job, works perfect for me!:thumbup: Take a look at my MODS here
astazou Posted September 18, 2017 Author Posted September 18, 2017 Do you have plans on releasing a version for iOS mate?...thanks for your GREAT job, works perfect for me!:thumbup: I personnaly will not do an iOS version, for these reasons: - iOS is very different from Android, I would have to re-write everything in its specific language - I try to keep this project as a hobby for the weekends, I like to dev' with Android, I keep iOS for work only, I don't really enjoy it on my free time - I would have to buy a mac, and ipad, and an annual Apple licence developper, quite expensive for a free app :p But as I saied, the project will be openSource, so anyone who wants to contribute with an iOS version can do it. ;) 1 My DCS contributions: - My mods/skins: here - My server/missions scripts: there - My Discord bot: this place If you want to thank me buying a coffee/beer, feel free: https://www.buymeacoffee.com/Astazou
Ala12Rv-watermanpc Posted September 18, 2017 Posted September 18, 2017 Ok, I understand mate :), the main reason for asking you for an iOs version was indeed that having a big screen ipad would be nicer but I can live with my note 4 screen instead so no problem at all. Thanks a lot dude :thumbup: Take a look at my MODS here
LURKINGBADGER Posted September 19, 2017 Posted September 19, 2017 wow what a great addition to dcs, thank you [sIGPIC][/sIGPIC]
astazou Posted November 15, 2017 Author Posted November 15, 2017 Hello guys, I've a small update for you! Here is the changelog: • Better stability for Android 7 users • Fix bug of freeze after ejection • User can't anymore enter text in ports • Added explanations in the installation guide For this update, please, update the LUA, or the app' will not work anymore (need to update it to enjoy the fixes ;) ) If you are a new user, you will find every links/info/instructions for installation here: https://forums.eagle.ru/showpost.php?p=3152502&postcount=1 I've hope of making the app openSource before the end of the year. Enjoy the app! Astazou My DCS contributions: - My mods/skins: here - My server/missions scripts: there - My Discord bot: this place If you want to thank me buying a coffee/beer, feel free: https://www.buymeacoffee.com/Astazou
Guest Posted November 18, 2017 Posted November 18, 2017 This sound very very interesting. :thumbup: So you need to create the gauges/graphics in the Android software? How fast can it update the gauges? Is 40fps realistic? I am looking into alternatives to Saitek's FIP gauges and this might be a good alternative. I have some Android experience so if you would get this to GitHub it would be super.
astazou Posted November 18, 2017 Author Posted November 18, 2017 This sound very very interesting. :thumbup: So you need to create the gauges/graphics in the Android software? How fast can it update the gauges? Is 40fps realistic? I am looking into alternatives to Saitek's FIP gauges and this might be a good alternative. I have some Android experience so if you would get this to GitHub it would be super. 40 FPS on the device ? possible, depends of your CPU, it also depends of your fps in game because lua scripts is executed at each frame in game : function LuaExportAfterNextFrame()And as you probably saw it in the lua : https://github.com/frasta/luaForCockpitPlusPlus/blob/master/Cockpit%2B%2B.lua I use a delay to not overexecute the script (it could make DCS a little slower). You can try to change this delay to '1' to get a maximum info' from the game. If you have Android xp, it's awesome, you will be welcome to contribute to the project :) (just wait I finish to make it openSource, I'm writing some docs to explain some stuffs and give guide lines) My DCS contributions: - My mods/skins: here - My server/missions scripts: there - My Discord bot: this place If you want to thank me buying a coffee/beer, feel free: https://www.buymeacoffee.com/Astazou
Recommended Posts