Jump to content

need help getting fnis to work in mo


patchling

Recommended Posts

Your logs, compared to mine show FNIS is failing to convert the 0_master.xml to .hkx because it (the default 0_master.hkx) is missing. The logs show that it should be in: \Fores New Idles in Skyrim - FNIS\Meshes\actors\character\behaviors\0_master.hkx but it is missing in your installation.

 

0_master.xml is shown in your log as already in temporary_logs before it is used to generate the *.hkx, then when the logs show which behaviours are generated, it is missing.

 

Here's my FNIS log.

 

I have a feeling you have already done this before but you might need to re-install everything again.

 

The JIT error likewise is looking for files that are already shown in the logs as in the temporary folder: 1hm_behavior.xml. It can't find them, fails to see a way to resolve it and throws an error:

System.IO.FileNotFoundException: Could not find file 'C:\Steam\steamapps\common\Skyrim\data\tools\GenerateFNIS_for_Users\temporary_logs\1hm_behavior.xml'

Everything else that follows is just stuff about which system modules were active at the time of the error.

 

Now the question is: why is your installation not handling the temporary folder correctly?

Link to comment
Share on other sites

I have analyzed again the log files you provided, and what tannin said about the problem he can see in the MO log.

His 2nd assessment (unhandled exception after get_length) can only happen because something has already gone terribly wrong. So wrong that I can't even think of a scenario where this could happen. Because either 0_master.hkx is re-created, and get_lenght() is ok. Or it was not re-created, but then a (handled) exception should be thrown just before get_lenth() is called.

But I don't think it's a protection issue either. FNIS has successfully created all behavior xml in temporary logs. So there is no reason why the behavior hkx files should not be created in the next step, using hkxcmd.exe. However these hkx files are missing, both in the temporary_logs and in the behaviors folder.

 

There are 3 reasons why this can happen:

  1. the xml files are badly generated. But that has NEVER happened outside my "development lab". And there is especially no reason why this should happen to ALL behavior files.
  2. hkxcmd.exe doesn't exist (because of installation error or an over-reacting Anti-Virus). But then there is an FNIS check to make sure it exists
  3. hkxcmd.exe is flagged by an AV, but is NOT removed/put into quarantine. But instead the execution rights for this exe are removed, and hkxcmd.exe simply doesn't run. I had this case with one of those cheap free-of-charge AVs about 2 years ago. Unfortunately it is not possible with my Visual Studio to check for exactly this case. Fortunately, during the last 2 year I didn't have any case like that any more.

I think it looks very much like reason 3. Although it is strange that it doesn't happen with NMM as well. But it is possible that AVs don't always find all instances of their prey. It's a false positive anyway. Therefore:

- Which AV do you use?

- Is it possible for you to look for an AV log?

- Are you familiar with execution rights? Can you look for the hkxcmd.exe which is located in MO's mod/FNIS/toolsGenerateFNIS_for_Users?

 

And how about re-installing Skyrim?

 

EDIT: Hi, Grant. I see we are pretty much on the same line. :)

Link to comment
Share on other sites

@fore

 

it is number 3

Spybot - Search & Destroy+AV 2.5 has never given me problems with my games before

start menu > settings > live protection > mode > unticked "scan programs before they start"

 

nothing showed up in a system scan, and checking the files individually turned up nothing. but after i unchecked the scan programs before they start i have not had a problem running fnis. 5 out of 5 successful runs. turned it back on = same problem i had before, back off and it is fine again.

 

i am curious as to why i have this issue in the mo environment but not when i am using nmm.

 

i tried to whitelist hkxcmd.exe but the file did not show up as an option, and as it had never registered in a scan i could not do it from there either. even after both generate.exe files and both hkxcmd.exe files had been set to run as admin i still need to untick that "scan programs before they start" to get it to run.

 

uncheck before i run fnis, recheck after. problem solved, i guess. not much more to do besides update the github issue tracker and then get back to playing skyrim. considering the amount of back and forth this took it is probably a good thing i did not ask for help in your main thread. i was unwilling to risk your ire over ignoring your sticky, even though i had asked for help in two different places. oh! i need to remember to let the folks who work on spybot know about this, they may be able to fix it in an update.

Link to comment
Share on other sites

I HATE these freeware AVs. Their developers simply don't know how to treat assumed malware in all different situations.

 

It's not the first time that those apparently helpful tools have caused nothing but hassle.

 

Every AV can sometimes have a socalled "false positive". Even my Bitdefender once has flagged one old FNIS generator from my archive (after it had happily existed for like one year). But my Bitdefender will immediately make me aware that it has done something. And have the all information of it's deeds handily available.

 

But what has your Spybot done? Simply refused executing.

 

CHEAP.

 

EDIT:

patchling, could you report to the Spybot folks what has happened to you, and that their tool HAS FAILED to report anything what has happened. Both immediately when Spybot has taken this action, as well as in any problem log. I really would be interested how they explain Spybot's behavior.

Link to comment
Share on other sites

@fore

i already sent spybot's authors some feedback regarding the subject. at a guess when running fnis inside the mod organizer environment it takes enough longer to do the scan before it is allowed to run that fnis does not run when it needs to.

 

please keep in mind that this issue only occurs when i am using mo as a mod manager, it works fine running fnis when i am using nmm. i can run bodyslide and skyproc patchers from within mo just fine, no problems from spybot with them. this is the only issue it has caused me with my games, any other issues that i have that might be/can be caused by av software are 100% reproducible when spybot is completely deactivated. and i do not mean just turning off the scan programs before they start turned off, i mean there-is-nothing-except-luck-keeping-my-system-safe turned off.

 

it works better than both norton and mcaffe, and has been keeping my computer safe for over 15 years. spybot is not freeware, feel free to take a look at it here https://www.safer-networking.org/

Link to comment
Share on other sites

Timing might in fact be a problem with MO. hkxcmd is a special case when running the generator. It's not a function, it's a seperate program which runs as seperate process. The FNIS generator is set up to wait for the end of the hkxcmd process with WaitForExit(). This works well in every case except MO. There have been problems with MO before in the past, and I already had to change the generator by doing some other actions after each hkxcmd, including one otherwise unnecessary copy to the final location.

 

But that cannot be it, because the check for ALL hkx file is made after ALL of them should have been created, and NONE of them is.

 

But for me this case is closed. See the facts:

- you are the only one known who has this issue

- it's only when you use MO

- it's only when you have this AV turned on.

 

Just ONE of these facts would be enough for me to stop working on it. I don't need to make a perfect program that , and I (and tanning and MistakenMystic) have spent more than enough effort on your problem.

Link to comment
Share on other sites

@patchling First problem i see is your skeleton both male and female should have the same amount of bones (something is overwriting the xp32 skeleton for males if i would have to guess its the gender specific stuff) this can cause crashes (in my game even children have xp32 extended skeleton) I notice you already have the xp32 extended skeleton. (if you look at the difference between your outputs in NMM and MO you will notice NMM has the same amount of bones) I would personally reset your steam skyrim directory to its vanilla state if your gonna use MO. then clean masters. then start modding (and keep your overwrite folder clean move things to there proper folder or in the case of patches bash,fnis , etc create a mod from overwrite.

 

second i suggest not running any patches that require anything but the arm fix. so no gender modification. i would remove mojoAJ, Boundwoodchopping, and vampiricthirst. As for animations the only replacers you need is pcea2 link is at top of fnis patcher and creature animations, other animations should be none replacer and unique. make sure skeleton is above fnis behavior and animations below.

 

@mistaken Mystic as for the system IO file not found exception. If your using mod organizer then you have the path set wrong it should be path to steam skyrim then \Mod Organizer\mods\FNIS Behavior\tools\GenerateFNIS_for_Users\ GenerateFNISforUsers.exe it should not be looking into the game data folder this should be untouched.

Edited by Adarcer
Link to comment
Share on other sites

@fore

with the help of you, MistakenMystic and tannin i found out what the problem is. the three of you have my thanks for that help. i do not expect or require you to modify fnis for an issue that is unique to my setup. i can get it to work now, which is what i was asking help with. again, you have my thanks for the help you gave me.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...