ahmedisdecent114 Posted November 29, 2024 Posted November 29, 2024 (edited) So i've been using skyrim se for quite some time and can troubleshoot most of it's issues but this time I'm facing a sort of unique error which most ppl haven't had (due to lack of forums and technical talks about it) when i run FNIS it works fine but in the end gives a nasty error 2012 about missing hkx files. Here's the fnis report: Spoiler FNIS Behavior V7.6 XXL 11/28/2024 8:54:01 PM Skyrim SE 64bit: 1.5.97.0 - E:\Games\The Elder Scrolls V Skyrim - Special Edition\ Skeleton(hkx) female: XPMS2HDT (126 bones) male: XPMS2HDT (126 bones) Patch: "GENDER Specific Animations" Patch: "SKELETON Arm Fix" Reading Billyy_CreatureBeasts V1.0 ... ChAnims:374 CTD:2.3% pOpt:0.6% Reading Billyy_CreatureConstructs V1.0 ... ChAnims:150 CTD:0.9% pOpt:0.2% Reading Billyy_CreatureFurniture V1.0 ... ChAnims:56 CTD:0.4% pOpt:0.1% Reading Billyy_CreatureHumanoids V1.0 ... ChAnims:644 CTD:3.9% pOpt:1.0% Reading Billyy_CreatureInsects V1.0 ... ChAnims:260 CTD:1.6% pOpt:0.4% Reading Billyy_CreatureMisc V1.0 ... ChAnims:110 CTD:0.7% pOpt:0.2% Reading Billyy_Human V1.0 ... ChAnims:942 CTD:5.7% pOpt:1.4% Reading Billyy_HumanFurniture V1.0 ... ChAnims:182 CTD:1.1% pOpt:0.3% Reading Billyy_HumanLesbian V1.0 ... ChAnims:300 CTD:1.9% pOpt:0.5% Reading Billyy_HumanOrgy V1.0 ... ChAnims:222 CTD:1.3% pOpt:0.3% Reading Defeat V5 ... ChAnims:39 CTD:0.5% pOpt:0.2% Reading FlufyFoxC V1.0 ... ChAnims:93 CTD:0.6% pOpt:0.1% Reading FlufyFoxH V1.0 ... ChAnims:398 CTD:2.5% pOpt:0.6% Reading FNISBase V7.6 ... ChAnims:0 CTD:0.0% pOpt:0.0% Reading FNISCreatureVersion V7.0 ... ChAnims:0 CTD:0.0% pOpt:0.0% Reading FunnyBizAmp V8.0 ... ChAnims:55 CTD:0.4% pOpt:0.1% Reading FunnyBizBeastly V1.0 ... ChAnims:90 CTD:0.6% pOpt:0.1% Reading FunnyBizFC V10.0 ... ChAnims:146 CTD:0.9% pOpt:0.2% Reading FunnyBizFun V12.0 ... ChAnims:334 CTD:2.0% pOpt:0.5% Reading FunnyBizGroup V8.0 ... ChAnims:471 CTD:3.0% pOpt:0.8% Reading FunnyBizGuro V5.0 ... ChAnims:108 CTD:0.7% pOpt:0.2% Reading FunnyBizLover V7.0 ... ChAnims:156 CTD:1.0% pOpt:0.2% Reading FunnyBizMC V1.0 ... ChAnims:45 CTD:0.3% pOpt:0.1% Reading FunnyBizMolag V1.0 ... ChAnims:339 CTD:2.1% pOpt:0.5% Reading FunnyBizMtb V3.0 ... ChAnims:23 CTD:0.2% pOpt:0.0% Reading FunnyBizNecro V10.0 ... ChAnims:442 CTD:2.8% pOpt:0.7% Reading FunnyBizRape V11.0 ... ChAnims:310 CTD:1.9% pOpt:0.5% Reading FunnyBizUn V12.0 ... ChAnims:590 CTD:3.6% pOpt:0.9% Reading HCOSBestiality V1.0 ... ChAnims:160 CTD:1.0% pOpt:0.3% Reading HCOSVore V1.0 ... ChAnims:80 CTD:0.5% pOpt:0.1% Reading ImmersiveAnimatedLooting V?.? ... ChAnims:13 CTD:0.1% pOpt:0.0% Reading MoreNastyCritters V1.0 ... ChAnims:344 CTD:2.2% pOpt:0.6% Reading SexLab V1.63 ... ChAnims:882 CTD:5.6% pOpt:1.5% Reading SexLabAP V1.63 ... ChAnims:142 CTD:0.9% pOpt:0.2% Reading SexLabAroused V?.? ... ChAnims:5 CTD:0.1% pOpt:0.0% Reading SexLabCreature V1.63 ... ChAnims:177 CTD:1.2% pOpt:0.3% Reading XPMSE V7.2 ... ChAnims:164(164) CTD:2.2% pOpt:0.0% Reading ZaZAnimationPack V7.00 ... ChAnims:829 CTD:3.6% pOpt:0.0% All Anim Lists scanned. Generating Behavior Files.... 24 GENDER modifications for Animations\male 22 GENDER modifications for Animations\female ERROR(2012): Could not generate: defaultfemale.hkx defaultmale.hkx weapequip.hkx staggerbehavior.hkx sprintbehavior.hkx shout_behavior.hkx mt_behavior.hkx magicmountedbehavior.hkx magicbehavior.hkx magic_readied_direction_behavior.hkx 1hm_locomotion.hkx 1hm_behavior.hkx 0_master.hkx it shouts that some .hkx files are missing i've reinstalled fnis multiple times, turned off my anti-virus and tried everything else like looking at conflicting files, changing overwrite directory and moving it up and down the load order. alas, all in vain! I looked into it and found out that the folders that are missing are actually being deleted by FNIS itself. they're there before running it and disappears one by one after i run it until eventually i get presented with this error. Here's a snapshot of FNIS Spoiler the error is not a false-flag and i do get T-posing when i run the game. any help would be appreciated. Thanks! Edited November 29, 2024 by ahmedisdecent114 simplifying for better reading
Kastagir Posted November 29, 2024 Posted November 29, 2024 (edited) Did you install FNIS properly? Are you running FNIS through Mod Organizer? If so, did you run Mod Organizer as administrator? Did you ever consider running the GenerateFNISforUsers.exe directly (i.e. not through Mod Organizer) from its properly installed location (\data\tools\GenerateFNISforUsers.exe)? 1 hour ago, ahmedisdecent114 said: So i've been using skyrim se for quite some time and can troubleshoot most of it's issues but this time I'm facing a sort of unique error which most ppl haven't had (due to lack of forums and technical talks about it) I'm not sure what to make of this means because I don't use SE much and I did a Google search on your issue, e.g. "skyrim+se+fnis+error+2012+could+not+generate" and found half a dozen posts/threads from people suggesting INCORRECTLY to put FNIS in the data folder because they don't know how to use their enthusiast level mod manager. Hint: when FNIS is run normally (not through mod organizer) it looks for .hkx files in the proper paths because that's how it's written. When run through mod organizer it looks for them in relative paths starting from where the tool is run. This is why mod organizer has this option to choose a starting folder. Edited November 29, 2024 by Kastagir
MadMansGun Posted November 29, 2024 Posted November 29, 2024 that looks like windows defender (or another AV) may be blocking it. 1
traison Posted November 29, 2024 Posted November 29, 2024 (edited) 4 hours ago, Kastagir said: If so, did you run Mod Organizer as administrator? I normally do not comment on this but figured I'd make an exception now. This may fix the issue, sure, but make sure you understand what you're doing before you do this. Be aware of the following things: Mod Organizer can now access the kernel (among other low-level systems), the memory of other processes and change system settings. You, and your anti-virus can do nothing about anything it wants to do - compromised or not. Any application you run through Mod Organizer will inherit the elevated privileges. This includes (but is not limited to) Skyrim, Creation Kit, BodySlide, FNIS and xEdit. The directory from which Mod Organizer is launched is probably not write-protected from normal users - this is a serious privilege escalation vulnerability. Anyone (including you) can swap out the exe with a malicious one for you to trigger next time you run MO. Any dll loaded into Mod Organizer will inherit the elevated privileges. The directory from which they are loaded is probably not write-protected from normal users - this is also a serious privilege escalation vulnerability. Any dll loaded into any of the utilities launched by Mod Organizer will inherit the elevated privileges. This includes all SKSE plugins. The directories from which these are loaded is probably not write-protected from normal users - this is also a serious privilege escalation vulnerability. Just like a program can detect if its running in a virtual environment, a program (this includes dlls) can detect whether they're running elevated or not; and appear benign until its criteria for attack is met. Depending on your settings, running a program elevated may change certain environment variables, causing things to not behave as expected. Saving things on the desktop in this mode is not guaranteed to save things on *your* desktop for instance. In certain situations, files created from an elevated application may be inaccessible from non-elevated applications. Meaning it's totally possible for BodySlide to create files you can no longer remove without again getting elevated privileges. TL;DR: I see no reason to run MO elevated, in any situation nor at any time. At best all its gonna do is mask the underlying problem and potentially cause more issues. At worst its going to compromise your system. 2 hours ago, MadMansGun said: that looks like windows defender (or another AV) may be blocking it. +1 Edited November 29, 2024 by traison
ahmedisdecent114 Posted November 30, 2024 Author Posted November 30, 2024 On 11/28/2024 at 11:38 PM, MadMansGun said: that looks like windows defender (or another AV) may be blocking it. i have my windows defender off-ed and have no other AV that might be blocking it.
ahmedisdecent114 Posted November 30, 2024 Author Posted November 30, 2024 On 11/28/2024 at 10:10 PM, Kastagir said: Did you install FNIS properly? Are you running FNIS through Mod Organizer? If so, did you run Mod Organizer as administrator? Did you ever consider running the GenerateFNISforUsers.exe directly (i.e. not through Mod Organizer) from its properly installed location (\data\tools\GenerateFNISforUsers.exe)? I'm not sure what to make of this means because I don't use SE much and I did a Google search on your issue, e.g. "skyrim+se+fnis+error+2012+could+not+generate" and found half a dozen posts/threads from people suggesting INCORRECTLY to put FNIS in the data folder because they don't know how to use their enthusiast level mod manager. Hint: when FNIS is run normally (not through mod organizer) it looks for .hkx files in the proper paths because that's how it's written. When run through mod organizer it looks for them in relative paths starting from where the tool is run. This is why mod organizer has this option to choose a starting folder. 1)I have installed FNIS many times and am certain it's done correctly 2) Yes, running through MO2. 3)I've tried that but still get the same error message 4) Yes, i did run it directly without MO2 and it seems to work? not sure if it deleted the files like it did with MO2 but i didn't get 2012 error. I've searched on google too but no progress so far, the thread you suggested was of no use either Quote When run through mod organizer it looks for them in relative paths starting from where the tool is run. This is why mod organizer has this option to choose a starting folder. not sure what you mean by that, i selected the same FNIS folder (with the FNISforUsers.exe) as my starting folder, don't think it's the problem cus what's fnis is doing is deleting the .hkx files and starting folders don't seem to have any connection with it. Thanks for the response!
Kastagir Posted November 30, 2024 Posted November 30, 2024 25 minutes ago, ahmedisdecent114 said: Yes, i did run it directly without MO2 and it seems to work? not sure if it deleted the files like it did with MO2 but i didn't get 2012 error. Then you have your solution and identified the culprit. You should mention this to the MO team.
ahmedisdecent114 Posted November 30, 2024 Author Posted November 30, 2024 (edited) 34 minutes ago, Kastagir said: Then you have your solution and identified the culprit. You should mention this to the MO team. what makes you so sure that it isn't the doings of one of my mods? afterall, running fnis without MO2 doesn't load in other mods present in VFs. I've been googling it and it seems like the minority of ppl that got the issue fixed is by pasting the "tools" folder in Data directory. but im not so sure abt it. though, i might do it as my last resort edit: welp, that didn't work, tried 2 other methods which ALSO didn't work.. still the same error....I'm gonna go nuts Edited November 30, 2024 by ahmedisdecent114
Kastagir Posted November 30, 2024 Posted November 30, 2024 2 hours ago, ahmedisdecent114 said: what makes you so sure that it isn't the doings of one of my mods? afterall, running fnis without MO2 doesn't load in other mods present in VFs. The error reported by FNIS says it can't generate the .hkx files - this is because it can't access the files it needs to generate them. If the error were caused by a particular mod or animation pack there would be a report of missing files associated with that pack and this is not present in your FNIS log. An error like that would cause this problem for everyone using said pack. This error is caused by one of two things preventing FNIS from being able to access the files it needs to generate behaviors - 1) an antivirus/firewall/Windows security feature is blocking the application(s), or 2) Mod Organizer is not configured properly. There are a couple of different methods to configure FNIS to work in Mod Organizer. I don't use Mod Organizer for various reasons but you can find instructions on both methods of setting up FNIS in Mod Organizer here and here.
ahmedisdecent114 Posted December 1, 2024 Author Posted December 1, 2024 17 hours ago, Kastagir said: The error reported by FNIS says it can't generate the .hkx files - this is because it can't access the files it needs to generate them. If the error were caused by a particular mod or animation pack there would be a report of missing files associated with that pack and this is not present in your FNIS log. An error like that would cause this problem for everyone using said pack. This error is caused by one of two things preventing FNIS from being able to access the files it needs to generate behaviors - 1) an antivirus/firewall/Windows security feature is blocking the application(s), or 2) Mod Organizer is not configured properly. There are a couple of different methods to configure FNIS to work in Mod Organizer. I don't use Mod Organizer for various reasons but you can find instructions on both methods of setting up FNIS in Mod Organizer here and here. brother, I think you mis-read the original post cus i said there that the missing files aren't actually missing, these .hkx files are BEING DELETED by FNIS when running the app. the said hkx files are present before running fnis and when i run the fnis and it finishes reading the mods/animations and access the "gender directory" it takes a pause for a few seconds and deletes the mentioned hkx files until eventually ends up with the error 2012, so i don't think it's an accessibility issue since the files are being erased/removed during the process of running fnis. Thanks.
Kastagir Posted December 1, 2024 Posted December 1, 2024 (edited) Did you watch the video linked? Look at the errors section. I would suggest trying the 3 things mentioned: 2012 error due to antivirus/antimalware/firewall blocking the application. Add FNIS generator to all exception lists. If this doesn't work uninstall FNIS, delete all FNIS output and overwrite, then reinstall FNIS and all patches. Use alternative method of installing FNIS with the FNIS - Output folder Delete FNIS Output, verify that overwrite folder is empty and re-run FNIS If that doesn't work, you'll need to get support from the MO discord where this error is reported often. Edited December 1, 2024 by Kastagir
ahmedisdecent114 Posted December 3, 2024 Author Posted December 3, 2024 On 12/1/2024 at 12:16 PM, Kastagir said: Did you watch the video linked? Look at the errors section. I would suggest trying the 3 things mentioned: 2012 error due to antivirus/antimalware/firewall blocking the application. Add FNIS generator to all exception lists. If this doesn't work uninstall FNIS, delete all FNIS output and overwrite, then reinstall FNIS and all patches. Use alternative method of installing FNIS with the FNIS - Output folder Delete FNIS Output, verify that overwrite folder is empty and re-run FNIS If that doesn't work, you'll need to get support from the MO discord where this error is reported often. 1) tried but didn't work 2) re-installing, re-doing the output and changing overwrite directory had no effect 3) did that. still the fnis deletes the .hkx files and yells that they're missing! never faced such a terrible error in my life.
traison Posted December 3, 2024 Posted December 3, 2024 (edited) 45 minutes ago, ahmedisdecent114 said: still the fnis deletes the .hkx files and yells that they're missing! Think of it this way instead: It deletes the files to write new ones. It's not deleting them before expecting them to be there. Get Process Monitor from Sysinternals (Microsoft). Set it to only show file IO traffic. Run FNIS, wait for it to fail. Search the log for one of the hkx files that failed to generate for the reason why. Edited December 3, 2024 by traison
ahmedisdecent114 Posted December 7, 2024 Author Posted December 7, 2024 On 12/3/2024 at 12:19 PM, traison said: Think of it this way instead: It deletes the files to write new ones. It's not deleting them before expecting them to be there. Get Process Monitor from Sysinternals (Microsoft). Set it to only show file IO traffic. Run FNIS, wait for it to fail. Search the log for one of the hkx files that failed to generate for the reason why. Hey, can you provide a little bit more detail on how to only show IO traffic? I'm not familiar with process monitor and I've been trying to figure it out but it's all too complex. Thanks!
traison Posted December 7, 2024 Posted December 7, 2024 (edited) Setup: Start Process Monitor. OK out of the filter dialog that immediately pops up. If you already messed with the filters, press the Reset button first. Ctrl + E (or Capture button in the toolbar) to disable capture, as its on by default. Ctrl + X (or Clear button in the toolbar). Disable all but "Show File System Activity" in the toolbar. Prepare system and FNIS. Optional items just make your life easier: Make sure your mod manager is already running, and ready to run FNIS. (optional) Make sure you don't have any unecessary applications running that are doing things. This includes media players playing music, web browers with active content such as videos, ... (optional) Make sure nothing is currently updating. No incoming keyboard software updates, no Windows updates, ... Get a log. The longer this takes, the larger your resulting log will be (faster is better): Ctrl + E (or Capture). Start FNIS. Wait for FNIS to fail. Ctrl + E (or Capture). File -> Save, choose a location for the log file. Do not upload procmon logs online unless you know what you're doing. Analyze the log: Tools -> File Summary... By Folder (tab) Browse to one of the hkx files giving you trouble. Double click it. Remember that MO2 and Vortex both have file redirection capabilities. You may see entries for your file both where the game would expect them to be, and where they actually are. Consider both when analyzing this problem. Analyze the log entries that remain in procmon. You're most likely looking for a CreateFile call (with disposition "Create") that did not return SUCCESS. Note that CreateFile is also (unintuitively) used to open files for writing and reading etc. but the disposition is different on these. Edited December 7, 2024 by traison
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