Jump to content
The simFlight Network Forums

Alhard Horstmann

Members
  • Posts

    170
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Alhard Horstmann

  1. You are right, as always. My FSUIPC version was 3.989p. You are so fast with new versions and functions. Great thanks. Now I can read in FS9 the correct GUIDs. Last question: Where can I get this information without FSUIPC, just with WIN7 on board utilities? Or what function call shall I use in my VB program? thanks again Alhard
  2. Thanks Pete, in my FSUIPC V4 I can now read the GUID reference, but not in FSUIPC V3 for FS2004. Is there another function to be enabled for this information in FSUIPC V3? IF NOT, is the GUID provided by FSX and FSUIPC V4 the same as for FS2004 ? Then this would help on my system, but not on others with only FS2004 installed. regards Alhard
  3. Hi, Can anyone please tell me, how I can identify my gamecontroller product name via the multi-digit-id in section "JOYSTICK:MAIN" used in FS2004- or FSX-CFGs? thanks Alhard
  4. Thanks Pete. How can I do what you proposed with AI traffic (offset 0250, right?)? Do you have an example for a script which changes AI Traffic dependant of the area? Would help. regards Alhard
  5. Hi Pete, as I have big losts of FPS during flight over MEGA airports, I am thinking of how to change FSX values, e.g. disable "Autogen", during flight in dependance of the area. Is it possible to do this via FSUIPC? I saw e.g. in your older Programmers Manual of FSUIPC for FS2002 that there was an offset 0C92 for Texture Quality. In your newest FSX Offset document there are "NO's" for FSX READ / WRITE. I checked the forum, but didn't find similar topic. thanks again for your comments regards Alhard
  6. Pete, great thanks for your proposals. As I need this for the moment just for the axis elevator and aileron then it should work. I will try and let you know how it works. regards Alhard
  7. Hi Pete, I am currently on the same path with a two controller equipment, one for the PF the other for PNF. Question: I am using 2 different yokes (from different manufacturers) so I need two different calibrations for the same FS function (e.g. Elevator). How can I implement this? I got FSUIPC for FS9/X since years and I have experience with LUA. Possibly you remember my conversation with you last year ;-) . Thanks and best regards form Erlangen, Germany Alhard
  8. Thanks Pete, I apologize, I wasn't aware that I was in the wrong forum. How can I move my topic? Thanks for your response. I assumed that the only way to solve my requirement is by batch files, as proposed by you and in one of the later responses to my topic. Thanks again Regards Alhard
  9. Hi Pete, I want to load special scenery.cfg's for different FSX-YYY.cfg's. Your "profile" feature in FSUIPC could be a good container for my requirement. Let me explain my requirement in more detail: For performance issues in FSX, I store the current "C:\ProgramData\Microsoft\FSX\Scenery.CFG", then I disable some scenery entries in scenery.cfg, save the changed file as e.g. "scenery_heli.cfg" for later usage and start then my FSX by starting e.g. my FSX_HELI.CFG by calling "fsx_heli.exe". I am using your excellent FSUIPC feature for multiple INI files. So I don't know whether it's possible to load the scenery.cfg by a different filename. This could be done by a different FSUIPC profile ??? Please give me an advise as you did in the years before :-). thanks and Mit freundlichen Grüßen Alhard
  10. Hi Pete, after long research I found the "bug". LUA Sound is working as designed! As I wrote before I have two sound cards. One is the C-Media (four channels) and the other is the Realtek Audio 5.1 (six channels). The Realtek was configured with 6 speakers and what happened? LUA was playing always on the Center Speaker, which was NOT connected. The Realtek sound card was running in a 2 box stereo HARDWARE configuration without correct SOFTWARE configuration. More details of my research see in attached pdf file. The difference between FS9 and FSX behaviour (I reported before) was due to different default sound card assignments in Windows XP sound config. Additionally I found that in FSX sound section we have two entries for sound devices, which I could assign different GUIDs. Now I hear the engine sound via one sound card and the pilots and controller voice via another sound card (see details in attached paper). It is still open to me to assign two sound cards in FS9 ??????? Can somebody help?? Thanks for your help Regards Alhard PS: I used your additional debug feature during my research. Thanks. Sound Tests.pdf
  11. Pete, I will try all what you proposed. In the meantime I started testing with FSX. Surprisingly device 2 sounds (which is default sound) but not device 3 ??!! Question: can I change in FS9/X.CFG the sound device? Where can I find descriptions fro the "SOUND" parameter there?? regerds Alhard
  12. Hi Pete, good to hear from again you after your absence. I tested your new update for FS9 (version 3.989e) but without success. Tests on FSX will follow later these days. As you can read, I tested with two soundcards and on soundcard 2 (device 3) sound works. I changed all possible devices, but no sound on main sound card (device 2). My PC runs with XP SP2 and FS9.1 Here is my code and log: Sound section in FSUIPC.INI [Sounds] Path=Y:\FS9\Sound\ Device1=Primärer Soundtreiber Device2=Realtek HD Audio output Device3=C-Media PCI Audio LUA script -- "PlaySound" V1 example LUA plug-in, by AH, 10-10-16 -- --set message window to left side ipc.setdisplay(0) ipc.setdisplay(20,100,500,500) --show message for tracing ipc.lineDisplay("",0) -- Display löschen und warten ipc.sleep(2000) ipc.lineDisplay("sound starts",1) -- message line 1 -- -- now sound to be played -- ref = sound.play("barn_fx.wav",3) --sound played on device 3 while sound.query(ref) do ipc.sleep(3000) end -- ipc.lineDisplay("sound starts now device 3 rear speaker",2) -- message line 2 -- ref = sound.play("caapdis.wav",3,90,180) --sound played on device 3 rear while sound.query(ref) do ipc.sleep(3000) end -- ipc.lineDisplay("sound starts now device 2",3) -- message line 3 ref = sound.play("barn_fx.wav",2) --sound played on device 2 while sound.query(ref) do ipc.sleep(3000) end -- --show message for tracing ipc.lineDisplay("sound ends",5) -- message line 5 LUA LOG file ********* LUA: "ahPlaySound" Log [from FSUIPC version 3.989e] ********* 3186750 System time = 19/10/2010 13:49:13, FS2004 time = 16:07:13 (14:07Z) 3186750 LUA: 0 3186750 LUA: Y:\FS9\MODULES\ipcDebug.lua 3186750 LUA: return 3186766 LUA: 3186766 LUA: 0 3186766 LUA: Y:\FS9\MODULES\ipcDebug.lua 3186766 LUA: call 3186766 LUA: 3186766 LUA: Y:\FS9\MODULES\ipcDebug.lua:38 3186766 LUA: beginning "Y:\FS9\MODULES\ahPlaySound.lua" 3186766 LUA: Y:\FS9\MODULES\ahPlaySound.lua:4 3186766 LUA: Y:\FS9\MODULES\ahPlaySound.lua:5 3186782 LUA: Y:\FS9\MODULES\ahPlaySound.lua:7 3186782 LUA: Y:\FS9\MODULES\ahPlaySound.lua:8 3188782 LUA: Y:\FS9\MODULES\ahPlaySound.lua:9 3188782 LUA: Y:\FS9\MODULES\ahPlaySound.lua:13 3188797 LUA: Y:\FS9\MODULES\ahPlaySound.lua:14 3188813 LUA: Y:\FS9\MODULES\ahPlaySound.lua:15 3191813 LUA: Y:\FS9\MODULES\ahPlaySound.lua:14 3191813 LUA: Y:\FS9\MODULES\ahPlaySound.lua:15 3194813 LUA: Y:\FS9\MODULES\ahPlaySound.lua:14 3194813 LUA: Y:\FS9\MODULES\ahPlaySound.lua:18 3194813 LUA: Y:\FS9\MODULES\ahPlaySound.lua:20 3194828 LUA: Y:\FS9\MODULES\ahPlaySound.lua:21 3194844 LUA: Y:\FS9\MODULES\ahPlaySound.lua:22 3197844 LUA: Y:\FS9\MODULES\ahPlaySound.lua:21 3197844 LUA: Y:\FS9\MODULES\ahPlaySound.lua:25 3197844 LUA: Y:\FS9\MODULES\ahPlaySound.lua:26 3197860 LUA: Y:\FS9\MODULES\ahPlaySound.lua:27 3197860 LUA: Y:\FS9\MODULES\ahPlaySound.lua:28 3200860 LUA: Y:\FS9\MODULES\ahPlaySound.lua:27 3200875 LUA: Y:\FS9\MODULES\ahPlaySound.lua:28 3203875 LUA: Y:\FS9\MODULES\ahPlaySound.lua:27 3203875 LUA: Y:\FS9\MODULES\ahPlaySound.lua:32 3203891 LUA: ended "Y:\FS9\MODULES\ahPlaySound.lua" 3203891 System time = 19/10/2010 13:49:30, FS2004 time = 16:07:30 (14:07Z) ********* LUA execution terminated: Log Closed *********
  13. Hi all, I read all the FSUIPC-LUA documentation and this thread. I wrote a LUA script for playing a sound, but nothing to hear ! :-( ! Please help. Here is my code started by key press in FS9 running: -- "PlaySound" example LUA plug-in, by AH, 10-10-13 -- -- require("sound") necessary ??? -- require("fsuipc")not necessary -- --set message window to left side ipc.setdisplay(10,500,200,200) -- --show message for tracing ipc.lineDisplay("sound starts",1) -- -- now sound to be played -- --test command line frozen --ValRet=sound.play("barn_fx.wav",0,90,-1) sound.playloop("Y:\FS9\Sound\barn_fx.wav") -- --show message for tracing ipc.lineDisplay("sound ends",5) and here is the debug logfile: ********* LUA: "ahPlaySound" Log [from FSUIPC version 3.989c] ********* 3660359 System time = 14/10/2010 21:35:03, FS2004 time = 16:09:03 (14:09Z) 3660359 LUA: 0 3660359 LUA: Y:\FS9\MODULES\ipcDebug.lua 3660375 LUA: return 3660375 LUA: 3660375 LUA: 0 3660375 LUA: Y:\FS9\MODULES\ipcDebug.lua 3660375 LUA: call 3660375 LUA: 3660375 LUA: Y:\FS9\MODULES\ipcDebug.lua:38 3660375 LUA: beginning "Y:\FS9\MODULES\ahPlaySound.lua" 3660375 LUA: Y:\FS9\MODULES\ahPlaySound.lua:7 3660390 LUA: Y:\FS9\MODULES\ahPlaySound.lua:10 3660390 LUA: Y:\FS9\MODULES\ahPlaySound.lua:16 3660390 LUA: Y:\FS9\MODULES\ahPlaySound.lua:19 3660406 LUA: ended "Y:\FS9\MODULES\ahPlaySound.lua" 3660406 System time = 14/10/2010 21:35:03, FS2004 time = 16:09:03 (14:09Z) ********* LUA execution terminated: Log Closed ********* All messages are shown but NO SOUND!! What is wrong?? What should I test? BTW the sound from FS9 is played properly in parallel to the script. Thanks and regards Alhard
  14. Thanks! Now everything is clarified !! .... for now ....... :) regards Alhard
  15. Yes, my profile affects also other things than game controllers, eg.: wind, visibility, clouds, battery life and a lot of parameters in FS9/FSX CFG. Pete, please clarify, due to my not very experienced english I do not understand your last sentence: "I don't know from what you describe". Is this another question to me?? regards Alhard
  16. Hi Pete, that solution for FSX is great! Thanks. I installed it immediately, see picture. And I owe you an explanation why I need these different INIfiles: I am flying with a lot of different, let's say "MyProfiles". That is e.g. flying jets, helis, propellers and cars ( :) ). in different conditions: VFR, IFR, bad weather, good weather, realistic, NOT realistic (for kids). Additional I am using test versions for all these "MyProfiles". I start all this with different icons on my desktop. Below these icons I put links to the associated FS.CFG + FSUIPC.INI, so I can jump directly into the configuration files of a specific "MyProfile" (see second picture) for editing the configuration. Your FSUIPC feature "User profiles for all control settings" is very helpful for different aircrafts but not for different profiles as I described above. Does this answer your question about my requirements? Or did I misunderstand the usage of your "Profiles" feature? best regards Alhard
  17. Thanks Pete, here the reason for my post: I want to identify in FSX UI what version of FSUIPC4.INI I am using actually. I did that in FS9 by editing the SubMenu entry (e.g.: SubMenu=&mein Heli FSUIPC 100806 for my helicopter INI file). Now I have an idea: Isn't it possible that you provide a user defined text line in your main "FSUIPC Option and Settings" window. This text line will be filled by an entry in FSUIPC4.INI. What do you think? best regards Alhard
  18. Hi Pete, is the FSUIPC.INI parameter in section [General] MainMenu=&Modules and SubMenu=&FSUIPC … no more available in FSUIPC4.INI ? I found no hint in this forum and I installed the newest version FSUIPC4v4626. How can I change the name in the main (top-level) menu entry in Flight Simulator FSX? regards Alhard
  19. I will check it now on my "virgin" installation. regards Alhard
  20. Hi Pete, I found the "add-on" with fsconnect.dll inside. It's the X52 Pro Interface for FS9 for the SAITEK game controller X52Pro which I have. If you download and install from here : http://blackswift.free.fr/files/Install-en.zip you will find this DLL. I hope this helps. regards Alhard
  21. Yes, it is V 3.0 of FSConnect. Will you recreate the conditions before your holidays? I would prefer to help you after your holidays, cause I am busy tomorrow and on Wednesday. In the meantime i will make some tests using procmon and filemon. BTW: have you heard anything from "alvarado" ? regards Alhard
  22. Hi Pete, I FOUND THE EVIL-DOER !!! It was FSConnect.dll by Russel Dirks. Now shortly back to the last anwers: Yes, I deleted the CFG before. There was no new INI file created. THIS WAS THE MOST IMPORTANT ADVISE !! I compared and I had 14 additional DLLs. I deleted all and moved it back one by one with intermediate test of FS. "FSConnect.dll" was then identified. I don't know what addon installed this DLL. I will find later. Now many thanks and enjoy you holidays. best regards Alhard PS: I hope the originator of this thread "alvarado" is now solving his problem also. Good luck!
  23. Hi Pete, here is a lot to do. I am using now the procmon, as you recommended, and I saw some intersting things. More later. I will do all what you advised before and give you a report asap befor your holiday. Thanks and best regards Alhard
  24. Sorry Pete, I understand that you are angry about me and you are right: I am confused. But now I am cleared, (I hope :D ). I always looked on the schiratti.com site and did not realize that there is a page "Updates and other goodies" in this forum. I was prejudiced reading your advice. Sorry. Until this week I never had problems with your product ( I even made presentations about FSUIPC) so I never needed to go to this forum. Back to our Problem: nothing is solved. I copied your interim version 3.989 in the modules folder --> no positive result -same error message. As I wrote before, the message comes BEFORE a new FS9.CFG was created. Do you know a good process tracker ? Yes, now I am going the process of elimination. I never would ask for support for an old version. I was software developer, I know this. Yes, I did it on a new partition with a complete new FS9 installation, and it WORKED ! I will do that, but do you have any idea what change in your V3.98 DLL could lead to this behaviour. It must be in the first steps FS is running in. You know my system runs with V3.93 and I did not change anything before updating on V3.98. It still runs with V3.93. That is really strange. But now we have isolated a small time slot of the involved processes. I need a process tracker utility. Pete, thank you for your extraordinary patience with me and apologise that I sometimes have problems in understanding the English language. WE WILL FIND THE BUG! regards Alhard
  25. I did that already. Thanks for the advise. As I wrote before I started with no FS9.CFG. But why do you think something is corrupted when everything runs until this Version 3.98 ??? The error messsage comes BEFORE a new FS9.CFG is created !! I think that means, that the FS9.CFG has no impact on this error. By the way, I am flying with 3 different and individual configured FS9.CFGs. That was a lot of work and experience. Why should I start from the scratch simply due to a new FSUIPC update?? Let us find the real reason together. I have to look for a good process tracker. Like the IP sniffer or "Filemon". Do you know one? Regards Alhard
×
×
  • 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.