Sign in to follow this  
psolk

Any Effects File experts out there?

Recommended Posts

Reggie, Holger, Allen or anyone else please help me if possible. I would copy the entire thread but you can read it via the link below. Please see this link and let me know if you can assist in any way. I am at a complete loss on this one. It looks like FS is looking for some invalid .fx files and then some non-existant.fx files and I believe they are leading to Out of Memory errors after long haul flights but do not know how to troubleshoot. I can not find a single reference in ANY .cfg nor can FSM find ANY effects errors yet FS is looking for something it can not find... I really have no clue where else to look. Do I create rogue .fx files? Thank you so much in advance,-Paulhttp://forums.avsim.net/dcboard.php?az=sho...sg_id=2390&pagePrimary RigLiquid CooledAMD FX-57 @ 3 gigsAsus A8NSLI-Premium2 gigs Corsair XMS PC3500LL 2 3 2 6 1TXFX 7900 GTX 690/1750XFX 7800 GTX 515/135024 inch Widescreen LCDDual 19 inch LCD'sRaid-0+1PCPower and Cooling 1khttp://home.comcast.net/~psolk/3monitorsa.htmlBackup RigAMD 4000 San Diego @ 2.72 Gigs Kingston Corsair XMS CL2XFX 7800 GTX 515/1350 Raid-0psolk.jpg

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hi Paul, if you only log the errors and uncheck FileMon's success box, the logs should become much shorter and you can maybe reduce it to an uploadable size? Perhaps also pause the FileMon scan before doing anything in Windows again? Switching from FS to Windows triggers a lot of action as you probably noticed. Just some ideas... I wonder what bliss.bmp looks like! :-) Kind regards Jaap PS, one cause for fx-calls are some AI planes btw.

Share this post


Link to post
Share on other sites

Hi Jaap,Thanks so much for the feedback, I appreciate anything I can get at this point.Regarding Success only, Good idea, I had tried that but then I didn't realize that sometimes something will fail once but be successful the next try so I had a lot of false failures if that made sense. As for switching, you are definitely right on that one, i am so impatient I was alt-tab out of FS to see what FileMon was reporting as I was flying :) As for AI, that is what I thought for the Effects files but Flightsim Manager says no missing effects and a cursory search of the FS directory finds no instances of EFFECTS.FX within any files...I have no idea where the calls are coming from?Thank you so much again Jaap,-Paul

Share this post


Link to post
Share on other sites

Welcome, Paul. AFAIK, those strings (or whatever they're called) are generated 'automatically'. So many of the unsuccesful calls mean absolutely nothing (= filename insignificant). It's an individual call amongst similar groups which might provide an indication. As you probably know, FSM can also generate 'false positives'. What's missing in the log you posted - obviously only as far as I would dare to judge - is the event which triggers the search for the effects.cab. FS'whatever' does xxx in c:xxx with a particular name and if it doesn't find it, it goes into loops (resulting in the effects.cab searches you're seeing). AIM, sometimes it's an AI-AC effects file. Hope this adds to thoughts, good luck and kind regards Jaap Edit, please excuse me if I wasn't clear, Paul. I meant to NOT log the successes, only the errors. As you probably saw, incl successes, the log quickly grows to a couple of hundred thousand lines. Ugly boring literature! Litterature? :-) :-)

Share this post


Link to post
Share on other sites

Thanks Again Jaap, I really appreciate the assistance. I am running out to work now but I guess what I need to figure out is WHAT is making those EFFECTS calls. I tried again last night on a short flight around NYC and sure enough there were a ton of those INVALID NAME for the effects calls like the top section of my excerpt...How do we get to root cause?Thank you so much again,-Paul

Share this post


Link to post
Share on other sites

PaulIm playing with this too if you have msn or yahoo send me a PM and maybe we can bang heads together this evening.

Share this post


Link to post
Share on other sites

Hi Jaap,Thanks again for the help. I already PM'd Randy so hopefully we can get this resolved.Here is the dilemma. We only have a certain amount of visibility into the inner workings of FS. For example, I can do a directory search of all file contents for EFFECTS.FX however that only returns results from text based files. It can not search .mdl files, .dll calls, .exe's so I have no clue at all WHAT is actually calling that file.Now as a workaround is that I copied the fx_strobe.fx file from my /effects directory, renamed it EFFECT.FX and copied it to the FS root which is where Filemon was displaying the pointer. I have no way of knowing if this will solve my OOM errors because I do not have time to do a long haul right now but it did result in FS doing three searches for EFFECTS.FX and all three returned success. It never looked again and I did not have a single relevant Not_Found error again. That is definitely a good sign...Thanks again and Randy, I am still up :)-P FilesMicrosoft GamesFlight Simulator 9EFFECTS.FX SUCCESS Attributes: A 8:57:25 PM FS9.EXE:1988 FASTIO_QUERY_STANDARD_INFO C:Program FilesMicrosoft GamesFlight Simulator 9EFFECTS.FX SUCCESS Length: 1372 8:57:25 PM FS9.EXE:1988 IRP_MJ_READ C:Program FilesMicrosoft GamesFlight Simulator 9EFFECTS.FX SUCCESS Offset: 0 Length: 4096 8:57:25 PM FS9.EXE:1988 IRP_MJ_CLEANUP C:Program FilesMicrosoft GamesFlight Simulator 9EFFECTS.FX SUCCESS

Share this post


Link to post
Share on other sites

Although I should be hitting the sack... :-) I'm a bit weary that's the way to go, Paul. Creating random files may eliminate the call quicker, but not be an answer to the cause. Those 'IRP_MJ_Cleanup' messages seem to be related to dlls. As you probably know hardware and software use/have such files. At this point it might be practical if you listed a couple of software and hardware details? Just a wild guess, are you using an older addon which was ported to FS9?Good luck and kind regards Jaap

Share this post


Link to post
Share on other sites

Hi Jaap,You can see the system specs below. As for add-ons, not that I know of. I have a pretty trimmed down version of FS using a few sceneries, UTUSA and then my PMDG, LVL-D and PSS birds with FS2Crew. That is about it...I would agree that my "workaround" is not the cure by any means but I have no idea how to get to root cause if it is a dll call.Thanks again Jaap,-PaulPrimary RigLiquid CooledAMD FX-57 @ 3.1 gigsAsus A8NSLI-Premium2 gigs Corsair XMS PC3500LL 2 3 2 6 1TXFX 7900 GTX 690/1750XFX 7800 GTX 515/135024 inch Widescreen LCDDual 19 inch LCD'sRaid-0+1PCPower and Cooling 1khttp://home.comcast.net/~psolk/3monitorsa.htmlBackup RigAMD 4000 San Diego @ 2.72 Gigs Kingston Corsair XMS CL2XFX 7800 GTX 515/1350 Raid-0psolk.jpg

Share this post


Link to post
Share on other sites

Hi Paul, have you had a look at ProcessExplorer from the same company (SysInternals)? Powerful if you like to dig deeper. ;-) Another idea might be, to remove the file you created and then disable all the sceneries. If the message comes again, you can likely exclude sceneries. HST, does this happen with a particular AC or all of them? Have you tried variations? Good luck and kind regards Jaap

Share this post


Link to post
Share on other sites

hi Jaap,Thank you so much for offering your assistance and feedback, I really do appreciate it. Always nice to have others to bounce things off of.I have not tried ProcessExplorer but maybe that is the next step. Will that tell me what dll's or bgl's are making a particular call?I have tried with all-add on a/c and the default 172 and all produced the same results.Last step would be to rename fs to fs.bak, re-install and then start adding add-ons one at a time until the error replicated itself. I like your idea of removing all add-on scenery as well. I have a few things to try to determine root cause. but I also have questions I just do not know the answer to like can a .mdl call an effect or is it only in the config? What else besides text based config files call for the effects files. Is it BGL's, .mdl's, dll's, I just don't know...Thanks again. Incidentally, I am going to try a long haul with my dummy EFFECTS.FX file to see if I still get the OOM error. Will be interesting to see despite not "solving" the issue.Thanks again, Cheers,-PaulPrimary RigLiquid CooledAMD FX-57 @ 3 gigsAsus A8NSLI-Premium2 gigs Corsair XMS PC3500LL 2 3 2 6 1TXFX 7900 GTX 690/1750XFX 7800 GTX 515/135024 inch Widescreen LCDDual 19 inch LCD'sRaid-0+1PCPower and Cooling 1khttp://home.comcast.net/~psolk/3monitorsa.htmlBackup RigAMD 4000 San Diego @ 2.72 Gigs Kingston Corsair XMS CL2XFX 7800 GTX 515/1350 Raid-0psolk.jpg

Share this post


Link to post
Share on other sites

Have you thought about doing a find on all .cfg files containing the text "effects.fx"? You may have an AI aircraft calling this file. You could also search bgl files if you don't find anything in a .cfg file, although you may want to try both upper and lower case in either instance. If I'd guess I'd say there's an AI aircraft.cfg that has a typo in it, and that's why you're getting calls to the dummy file.-John

Share this post


Link to post
Share on other sites

Hi John,Yep, i did a cursory directory search all cases for EFFECTS.FX in the entire fs directory. Not a single hit hence my questions about .mdl files or .bgl files calling an effect. How would you search a .bgl file beyond a text based search for the string like I have already done? I would not think a .bgl has readable text but I could be wrong...-PaulPrimary RigLiquid CooledAMD FX-57 @ 3 gigsAsus A8NSLI-Premium2 gigs Corsair XMS PC3500LL 2 3 2 6 1TXFX 7900 GTX 690/1750XFX 7800 GTX 515/135024 inch Widescreen LCDDual 19 inch LCD'sRaid-0+1PCPower and Cooling 1khttp://home.comcast.net/~psolk/3monitorsa.htmlBackup RigAMD 4000 San Diego @ 2.72 Gigs Kingston Corsair XMS CL2XFX 7800 GTX 515/1350 Raid-0psolk.jpg

Share this post


Link to post
Share on other sites

I think if it doesnt do anything good or bad, it will in any case loose some i/o burden by not looking for it anymore.Tried it too, saw no difference.. but keep it now.Are there more of these invallid files?JohanA LITTLE LESS CONVERSATION, AND A LITTLE MORE ACTION PLEASE

Share this post


Link to post
Share on other sites

A bgl isn't readable text, but references to files in one are, so you can search a mdl or bgl just like any other file for an ASCII text string. As I noted, you will want to try both upper and lower case. I've used this method when I've found the odd stray bitmap and want to know what bgl is referencing it. Now it's possible when it comes to effects the .FX extension is assumed in a mdl or bgl, so as a last resort you might want to search for "EFFECTS" only.-John

Share this post


Link to post
Share on other sites

Hi Paul, John raised an valid point, AI-AC. That could be cause case you for example use FS9 AI-AC in FSX. As Johan mentioned, an occasional FileMon message causes no harm. If your action solved your OOM message and that's all you were trying to achieve, great. :-) Looking forward to your results, kind regards Jaap

Share this post


Link to post
Share on other sites

So when I did a string search within the files of the entire FS directory if a mdl or bgl file had a reference it would have been returned. The only thing I didn't do was drop the .FX from my search. I can try that real quickly now though... Is there anything specific I need to do when I search?-PaulPrimary RigLiquid CooledAMD FX-57 @ 3 gigsAsus A8NSLI-Premium2 gigs Corsair XMS PC3500LL 2 3 2 6 1TXFX 7900 GTX 690/1750XFX 7800 GTX 515/135024 inch Widescreen LCDDual 19 inch LCD'sRaid-0+1PCPower and Cooling 1khttp://home.comcast.net/~psolk/3monitorsa.htmlBackup RigAMD 4000 San Diego @ 2.72 Gigs Kingston Corsair XMS CL2XFX 7800 GTX 515/1350 Raid-0psolk.jpg

Share this post


Link to post
Share on other sites

OK, did another search, the only thing I got was a bunch of docs. Something caught my eye though, it was a readme from an AI plane that MT2006 must have installed. In the readme for the IL86 it specifically says for FS2k2 and that all effects can be used. I am just wondering if this could be what is calling for the Effect? No mdl or bgl files were returned...PaulPrimary RigLiquid CooledAMD FX-57 @ 3 gigsAsus A8NSLI-Premium2 gigs Corsair XMS PC3500LL 2 3 2 6 1TXFX 7900 GTX 690/1750XFX 7800 GTX 515/135024 inch Widescreen LCDDual 19 inch LCD'sRaid-0+1PCPower and Cooling 1khttp://home.comcast.net/~psolk/3monitorsa.htmlBackup RigAMD 4000 San Diego @ 2.72 Gigs Kingston Corsair XMS CL2XFX 7800 GTX 515/1350 Raid-0psolk.jpg

Share this post


Link to post
Share on other sites

Hi Paul, MT doesn't install any effects apart from a couple for the A330-6th. The other models all use standard effects AFAIK. Which version of MT2006 are you running? Original, SP1 or SP2? How did the test go? Kind regards Jaap

Share this post


Link to post
Share on other sites

Hi Jaap,Thanks again :) MT2006 sp2 and the test failed. I got the OOM again last night. Time to remove all add-on scenery....Soooo frustrating!Thanks again Jaap,-Paul

Share this post


Link to post
Share on other sites

Hi Paul, indeed. Please, don't uninstall, etc. Just uncheck the checkboxes in the 'Scenery library' dialog and perhaps set your traffic to 0%? Well, you were probably going to do this anyway. 'Remove' sounds very dramatic. :-) My next step - if the situation doesn't alter - would be a look at the effects with FSM (analyze AC function). Please note though, that FSM possibly reports a couple of false positives. Another possibility could be, to do an intermediate step and only enable AI? Thinking of AI as a scenery that is. :-) The MyWorldAirports scenery entry is necessary to populate the skies. Again looking forward to your results, Paul. Good luck Jaap

Share this post


Link to post
Share on other sites

Hi Jaap,Just a quick heads up that I haven't had any time to work on this for the past few days. TBH, I have sort of lost the desire to spend hours and hours troubleshooting. I disabled AI, no change, I added a dummy effects.fx file, no change so the only thing left is scenery including the MYTraffic.bgl but I need at least a full day or two to start troubleshooting so it could be a while. That is if I even decide to try again...I just did not want to let this thread die without thanking you again and at least giving you some sort of update with all the help you have been offering.Thanks again Jaap,-Paul

Share this post


Link to post
Share on other sites

Its something buried deep within and without some inside help with it its something thats most likely unsolveable. Ah well was fun workin on it with ya Paul!!

Share this post


Link to post
Share on other sites

You too Randy, Hope you have a great weekend... So much for FS9 LOL...-Paul

Share this post


Link to post
Share on other sites

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
Sign in to follow this