Pascal Drac Posted August 24, 2023 Report Share Posted August 24, 2023 Hello, As a beginner, I use P3Dv4 and FSUIPC6. I would like to use Pete Downson's LUA.script "record to csv.lua". In some posts, I read that, in the absence of a "modules" folder, the scripts should be placed, in my case, in "C:\Users\adm_local\Documents\Prepar3D v4 Add-ons\FSUIPC6". In the "Key press" tab, I can't find the script. Have I made one or more mistakes? I've also read that it's possible, via FSUIPC, to trigger a script when the simulator starts up. Could you give me more details? Thank you very much. Best regards. Pascal Link to comment Share on other sites More sharing options...
John Dowson Posted August 24, 2023 Report Share Posted August 24, 2023 49 minutes ago, Pascal Drac said: In some posts, I read that, in the absence of a "modules" folder, the scripts should be placed, in my case, in "C:\Users\adm_local\Documents\Prepar3D v4 Add-ons\FSUIPC6". Lua scripts, by default, just go in your FSUIPC6 installation folder. Note that you seem to have installed FSUIPC6 under your windows Documents folder: C:\Users\adm_local\Documents\Prepar3D v4 Add-ons\FSUIPC6 This is not a good location, as that is the location of your add-on.xml file that is used by P3D to auto-start FSUIPC6 with P3D. Better to re-install into a non-windows protected folder really - but this is not related to your issue. 53 minutes ago, Pascal Drac said: In the "Key press" tab, I can't find the script. Have I made one or more mistakes? If you can't see the script in the drop-down (prefixed by Lua, LuaDebug, etc) then it is not in your FSUIPC6 installation folder with a *.lua extension. Check the extension - sometimes people find that a .txt extension has been added... 55 minutes ago, Pascal Drac said: I've also read that it's possible, via FSUIPC, to trigger a script when the simulator starts up. Could you give me more details? You can do this either using the ipcinit.lua or ipcready.lua files (see the FSUIPC Lua Plug-Ins document for details), or, better, use the [Auto] or profile-specific [Autp.xxx] section in your FSUIPC6.ini file - see the section Automatic running of Macros and Lua plugins on page 41 of the Advanced User guide for details. John Link to comment Share on other sites More sharing options...
Pascal Drac Posted August 25, 2023 Author Report Share Posted August 25, 2023 Thank you John for all your answers. I have reinstalled FSUIPC6 and find myself in the same situation. In copy, the installation file. The LUA scripts are in a ZIP file at "C:\Users\adm_local\Documents\FSUIPC6\Example LUA plugins". Thank you very much. Best regards. Pascal InstallFSUIPC6.log Link to comment Share on other sites More sharing options...
John Dowson Posted August 25, 2023 Report Share Posted August 25, 2023 (edited) 3 hours ago, Pascal Drac said: I have reinstalled FSUIPC6 and find myself in the same situation. But why? 3 hours ago, Pascal Drac said: In copy, the installation file. The LUA scripts are in a ZIP file at "C:\Users\adm_local\Documents\FSUIPC6\Example LUA plugins". Yes, that is where they are installed.... unzip/decompress that file, and copy or move the lua file you want to use to your FSUIPC7 installation folder, which is: C:\FSUIPC6 it will then be available in the assignment menus to be started on a key or button press. Or you can start it automatically using the [Auto] or [Auto.xxx] (where xxx is a profile name) in your FSUIPC7.ini file - see the Advanced User guide for details. John PS. Please see the provided FSUIPC Lua Plug-Ins document... Edited August 25, 2023 by John Dowson PS added Link to comment Share on other sites More sharing options...
Pascal Drac Posted August 30, 2023 Author Report Share Posted August 30, 2023 John, I apologize for taking up your time. I didn't pay attention that the script search had to start with "Lua" and not the filename. I'll be more careful before I bother you. Thank you again. Pascal Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now