Jump to content
The simFlight Network Forums

Recommended Posts

Posted

I've installed the latest FSUIPC7 v.7.3.11.  Is the WASM module installed with it?  If so, I  can't find it in the FSUIPC8.ini  file. Do I need to download it separately.  If so, do I just add the three . zip files to the installation folder or do they need to be  unzipped into it?

Posted

The FSUIPC7 installer will install the WASM module into your MSFS community folder if you select to install this component (selected by default). There is no WASM module or settings in your FSUIPC7.ini file (not FSUIPC8.ini!). You don't need yo do anything else. If you check your InstallFSUIPC7.log file, that will tell you what is installed and where - and also the Installation and Registration guide.

John

Posted

Found  it, thanks.  One further question, if I may, the add on i'm installing asks that the WASM module is enabled (I presume it is) and that there this is present [WAPI]
    EnableWAPI=Yes.  Where should that be?

Posted
1 minute ago, Doc_Z said:

the add on i'm installing asks that the WASM module is enabled (I presume it is) and that there this is present [WAPI]
    EnableWAPI=Yes.  Where should that be?

That goes in the FSUIPC7.ini. But you don't need to add this any more, and the WASM is now enabled by default. It will only not be enabled if you have it explicitly disabled in your FSUIPC7.ini file, i.e.

Quote

[WAPI]
EnableWAPI=No

and if that is the case you can enable it by using the Add-ons->WASM->Enable menu entry. But really you shouldn't need to do anything.

John

  • 1 month later...
Posted

I am having difficulty installing the WASM folders (except the folder that is in the MSFS Community Folder). I have unzipped to the following folders:

FSUIPC_WAPI, fsuipc-lvar-module and WASMClient. I cannot determine where folders FSUIPC_WAPI and WASMClient are supposed to go. In addition, WASM did not install. The log contains the following entry:

Determining Community folder for MS Store install (BTW Determining is spelled wrong in the Log - just thought you would like to know).
**** Cannot determine location of UserCfg.opt: Cannot install WASM module ****
Cannot find UserCfg.opt file (not at )

I have located the UserCfg.opt file within this folder:

C:\Users\dhsim\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe.

Within that folder are a series of shortcuts shown in the attached screen shot.

Within the LocalCache shortcut, is the UserCfg.opt file.

I installed MSFS Flight Sim on my D:/ drive as it is a 1T M.2 SSD.

Questions:

1. Do the FSUIPC_WAPI, fsuipc-lvar-module and WASMClient folders automatically install in the correct locations with the FSUIPC7 install?

2. Is the Readme.md file in the FSUIPC_WAPI folder correct. It uses line items not familiar to most users, e.g. "&nbsp;&nbsp;&nbsp;&nbsp;<code>WASMPtr->setLvar(int id, double value);</code><br>". These items seem to be HTML. How are we supposed to know how to use this information?

3. Is there somewhere in the very comprehensive FSUIPC documentation that takes a user step by step to install and use the WASM facilities? I would like to install and use the LVar and HVar viewers to find the use of these variables in specific aircraft. I use Lua to set variables using a keypad keypress emulator and the Honeycomb Alpha and Bravo. I would like to use the Lua facilities to manipulate LVars and to set HVars.

If I may expound on a reproach of FSUIPC's Documentation. Many issues require the almost memorizing several provided documents to piece together information to troubleshoot. Knowing it is a lot of work, could not the developers of FSUIPC provide a troubleshooting knowledge base.

I am an ex-Naval Aviator, retired consultant and user of Flight Sim since the days of IBM's PS2. Have enjoyed FSUIPC for a very long time.

MSFS is so new!

image.png

UserCfg.opt README.md

Posted
18 hours ago, DrDave- said:

I am having difficulty installing the WASM folders (except the folder that is in the MSFS Community Folder). I have unzipped to the following folders:

FSUIPC_WAPI, fsuipc-lvar-module and WASMClient. I cannot determine where folders FSUIPC_WAPI and WASMClient are supposed to go.

Why are you installing the WASM manually? Are you a developer? The WASM module for users is included in the FSUIPC7 installer, you only need to download/use the WASM/WAPI package if you are not using FSUIPC7, or if you are a developer and want to use the WAPI (the WASM Application Programming Interface).

18 hours ago, DrDave- said:

WASM did not install. The log contains the following entry:

Determining Community folder for MS Store install (BTW Determining is spelled wrong in the Log - just thought you would like to know).
**** Cannot determine location of UserCfg.opt: Cannot install WASM module ****
y file (not at )

I have located the UserCfg.opt file within this folder:

C:\Users\dhsim\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe.

Please attach your full InstallFSUIPC7.log file, not paste extracts. The folder $LOCALAPPDATA\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache is the first one checked for the UserCfg.opt file for an MS Store installation. If the installer could not fund that file, then either your LOCALAPPDATA environment variable is not set correctly, or you have permissions issues somewhere that are preventing the installer from seeing this file. Please check that environment variable first.

Anyway, there is no problem manually installing the WASM into your Community folder. You may also have issues with auto-start installation if your MSFS EXE.xml file cannot be found, but you can also set this up manually (see the FAQ entry on auto-start for details).

I will correct the spelling mistake, thanks.

18 hours ago, DrDave- said:

Within that folder are a series of shortcuts shown in the attached screen shot.

Within the LocalCache shortcut, is the UserCfg.opt file.

I installed MSFS Flight Sim on my D:/ drive as it is a 1T M.2 SSD.

None of this is of any importance.

18 hours ago, DrDave- said:

1. Do the FSUIPC_WAPI, fsuipc-lvar-module and WASMClient folders automatically install in the correct locations with the FSUIPC7 install?

The WAPI is NOT installed by the installer - as I said, you only need this for developing WASM clients. The WASM is also not installed by the installer, but you do not need this either - everything that that provides is also provided by FSUIPC. The WASMClient is provided as an example client using the WAPI, and standard FSUIPC users don't need this, or need to know anything about this really...

18 hours ago, DrDave- said:

2. Is the Readme.md file in the FSUIPC_WAPI folder correct. It uses line items not familiar to most users, e.g. "&nbsp;&nbsp;&nbsp;&nbsp;<code>WASMPtr->setLvar(int id, double value);</code><br>". These items seem to be HTML. How are we supposed to know how to use this information?

Yes it is correct. It is for developers.

18 hours ago, DrDave- said:

3. Is there somewhere in the very comprehensive FSUIPC documentation that takes a user step by step to install and use the WASM facilities? I would like to install and use the LVar and HVar viewers to find the use of these variables in specific aircraft. I use Lua to set variables using a keypad keypress emulator and the Honeycomb Alpha and Bravo. I would like to use the Lua facilities to manipulate LVars and to set HVars.

The WASM is installed by the FSUIPC7 installer (which I know you are having issues with - we can sort that out). Please see the provided document Installing and Registering FSUIPC7. That should tell you all you need to know about installation.

18 hours ago, DrDave- said:

If I may expound on a reproach of FSUIPC's Documentation. Many issues require the almost memorizing several provided documents to piece together information to troubleshoot. Knowing it is a lot of work, could not the developers of FSUIPC provide a troubleshooting knowledge base.

It doesn't seem to matter what documentation I provide, as many users don't seem to use or refer to it anyway....

You should read the Installing and Registering FSUIPC7 document, as well as the User Guide. You should take a look at the Advanced User guide to be familiar with what's available, and read the WASM section there. The FAQ questions are available here. and this forum is the knowledge base. Please use it to search for any issues BEFORE posting (and after having checked the provided documentation).

John

Posted
On 11/19/2022 at 10:33 AM, John Dowson said:

Why are you installing the WASM manually? Are you a developer? The WASM module for users is included in the FSUIPC7 installer, you only need to download/use the WASM/WAPI package if you are not using FSUIPC7, or if you are a developer and want to use the WAPI (the WASM Application Programming Interface).

Thank you John for your quick reply. I thought I stated that the location of the UserCfg.opt wasn't found on the install (below):

Determining Community folder for MS Store install
**** Cannot determine location of UserCfg.opt: Cannot install WASM module ****
Cannot find UserCfg.opt file (not at )

Not having an example of a "generic" install log, it is hard to tell what a normal instalation log looks like.

In August this year I purchased MSFS 2020 and FSUIPC7 to run as a test on a new business computer. As there wan't enough graphics card memory and speed to run the 6 monitors I want to use, I purchased a gaming computer for the purpose and reinstalled MSFS and FSUIPC7. In retrospect and not being able to find how WASM was installed, the FSUIPC7 installer never installed WASM on either machine. And I cannot find why not.

I decided I'd better attempt it manually. Thus the confusion.

I have been using FSUIPC since its beginning thru FSX and P3D. Just started with MSFS. Many of us want to just plug and play and perhaps add a few buttons and knobs to fly the sim. Not that interested in developing new functionality. As an ex-aviator, just want to fly, observe and deal with ATC and Airports.

Why did you assume that I wanted to develop? I downloaded the FSUIPC_WAPI and WASMClient folders as there was no clear indication it was for developers only and was trying to figure out how to use WASM with no install.

The two questions I wanted answers to were:

1. How does one install and use WASM when FSUIPC7 didn't install it?

2. Where can one find any accurate discussion or tutorial on FSUIPC7's WASM for users?

As you well know, there is much inaccurate data on the internet. You try something and obviously it doesn't work. And there is no documentation on how to troubleshoot. So, one asks in this forum.

You would have much more time on your hands if you just answered the questions instead of tearing my indequate request apart. 

InstallFSUIPC7.log

Posted
15 hours ago, DrDave- said:

I thought I stated that the location of the UserCfg.opt wasn't found on the install (below):

Determining Community folder for MS Store install
**** Cannot determine location of UserCfg.opt: Cannot install WASM module ****
Cannot find UserCfg.opt file (not at )

Yes, and I said:

On 11/19/2022 at 4:33 PM, John Dowson said:

The folder $LOCALAPPDATA\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache is the first one checked for the UserCfg.opt file for an MS Store installation. If the installer could not find that file, then either your LOCALAPPDATA environment variable is not set correctly, or you have permissions issues somewhere that are preventing the installer from seeing this file. Please check that environment variable first.

Can you please do that, i.e open a command prompt  and type
    dir %LOCALAPPDATA%
and then
   dir %LOCALAPPDATA%\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache

Can you see the file?

15 hours ago, DrDave- said:

Why did you assume that I wanted to develop? I downloaded the FSUIPC_WAPI and WASMClient folders as there was no clear indication it was for developers only and was trying to figure out how to use WASM with no install.

I didn't assume this - I was just pointing out that the WASM/WAPI download is intended for developers, or WASM users that do not use FSUIPC7.

15 hours ago, DrDave- said:

1. How does one install and use WASM when FSUIPC7 didn't install it?

It is better to correct the WASM installation problem. However, if you want to install it manually, you extract the file fsuipc-lvar-module.zip from the file SDK\FSUIPC-WASM.zip (in your case, this would be C:\FSUIPC7\SDK\FSUIPC-WASM.zip). Copy that to your Community folder, unzip it and then delete it.

15 hours ago, DrDave- said:

2. Where can one find any accurate discussion or tutorial on FSUIPC7's WASM for users?

The information on the WASM is provided in the Advanced User guide. There is no tutorial. The WASM is just used to provide functionality for FSUIPC7, such as providing access to lvars/hvars and calculator code. So, for example, if you assigned a button to a preset, when you activate that button, the calculator code defined by that preset is sent to the WASM to be executed in the FS.

15 hours ago, DrDave- said:

You would have much more time on your hands if you just answered the questions instead of tearing my indequate request apart. 

What questions of yours have I not answered? I would have more time if you read my replies and followed my advice...

John

  • 1 month later...
Posted (edited)

Hello John,
it seems, that I have also the problem of installing the fsuipc7. Your advices of executing "dir %LOCALAPPDATA%" and "dir %LOCALAPPDATA%\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache" show for the later command the found UserCfg.opt. But the installation of the fsuipc7 says that it cannot determine location of my UserCfg.opt file. As you told above, that it's better to solve the problem than to make manual installation, I try to do so by contacting you.

I am using MSFS2020 and wanted to use fsuipc7 to use mobiflight for some hardware-trials.
Kind regards, Gerald

Edited by gk144
Posted
17 hours ago, gk144 said:

it seems, that I have also the problem of installing the fsuipc7. Your advices of executing "dir %LOCALAPPDATA%" and "dir %LOCALAPPDATA%\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache" show for the later command the found UserCfg.opt. But the installation of the fsuipc7 says that it cannot determine location of my UserCfg.opt file.

Please attach your InstallFSUIPC7.log file. This is essential for all installation issues.

John

 

 

  • 2 weeks later...
Posted

I don't understand why the installer cannot read that file if it is in the correct location (I think it must be related to either windows permissions or anti-virus software blocking access), but I  don't think there is anything I can do about this. There have been several similar reports.

You will have to install the WASM manually. Unzip the  file
    D:\Programme_Flugsi\FSUIPC7\SDK\FSUIPC-WASM.zip
and then unzip the file fsuipc-lvar-module.zip and then copy or move the folder fsuipc-lvar-module to your MSFS Community folder.

John

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.