MO2 VERSION 2.5.X MIGHT NOT BE FULLY COMPATIBLE YET READ THE README FILE, THAT'S WHAT THE README IS FOR DO NOT RUN PACT THROUGH MO2 OR VORTEX, JUST RUN THE EXE
TROUBLESHOOTING PACT SHOULD ONLY CLEAN ONE ( 1 ) PLUGIN AT A TIME AND ONLY HAVE ONE ( 1 ) INSTANCE OF XEDIT OPEN IF YOU ARE USING MOD ORGANIZER 2, MAKE SURE THAT MO2 IS COMPLETELY CLOSED BEFORE RUNNING PACT - If you keep getting ❌ ERROR : PLUGIN IS DISABLED OR HAS MISSING REQUIREMENTS... for every plugin, close PACT and open XEDIT yourself, you'll likely see that Patreon / Support reminder pop-up message, select don't show for a while and close the pop-up, then exit XEDIT and start PACT again, it should now work. Many thanks to user formamid for pointing this out.
- If any plugin takes longer than *5 minutes* to clean, PACT will automatically close XEDIT and skip that plugin. (You can adjust the timeout value. If it occurs, the plugin will be also added to the ignore list in PACT Ignore.txt)
If you get a message in XEDIT saying "Exactly one module must be selected for Quick Clean mode", this means either:
The plugin name is invalid. Simply press OK to close XEdit and PACT will continue cleaning other plugins.
You didn't set the Mod Organizer 2 exe path correctly and PACT is running in Vortex mode instead.
If you get an error in MO2 saying "This application failed to start because no Qt Platform...", this means either:
You are trying to run PACT with MO2 already open. Don't do that. Close all MO2 instances and run PACT normally.
Your MO2 might be missing some files. Make sure to reinstall latest 2.4 version of MO2 or try the portable version.
Isn't there already a mo2 script that does the exact same thing as PACT that's been around for years? I thought this tool was for folks that DONT use mo2.
Do like we did in the old days and mod manually, LIKE A MAYUHN.
Well, if you're a clown then I must be too. PACT processes nothing for me:
✔️ REQUIRED FILE PATHS FOUND! CHECKING IF INI SETTINGS ARE CORRECT...✔️ MO2 EXECUTABLE WAS FOUND! SWITCHING TO MOD ORGANIZER 2 MODE...✔️ CLEANING STARTED... ( PLUGINS TO CLEAN: 0 )✔️ CLEANING COMPLETE! FO4Edit.exe processed all available plugins in 0.0 seconds. FO4Edit.exe successfully processed 0 plugins and cleaned 0 of them.
Hey there hi there ho there, bud. Not sure if this is a bug or just an oversight, but a couple of quirks:
If you set your filepaths in the settings .INI, they appear to get deleted/ignored and you need to manually set them again via the GUI anytime you want to run the .bat.
If you have a lot of plugins, after a while the process will just end because it was running for too long. Not getting hung up on a plugin, I mean in general. Mine stops at 230-something. I had to add the first 230 plugins to the ignore list to auto clean the last 100 plugins.
Neither one break anything, it's more inconvenient than anything. Anyways, thanks again for derpin this tool. Much appreciated. Bingus bingus.
So I've done what you suggested for the Qt Platform issue, except my MO2 installation *has* the Qt folders it needs? I even tried cleaning and repairing my version of Windows, just to be sure it wasn't that. I see in your pinned post that 2.5.2 might not be compatible, that might be it
You know what's funny, I recall a conversation a long time ago in the xEdit discord where I lamented that though I want to clean all my plugins, doing it for hundreds of them is very tedious. And they offered the mo2 script. Which is nice... But I don't use mo2. Or vortex. I have my reasons. So when I asked about a .bat, they said something to the effect of "that's not possible" or "it's possible, but would be such a huge undertaking that no one has or would ever do it".
And then this legend kicked in the door, crapped on the floor and proceeded to walk the dinosaur.
I might have embellished the ending, but, ya know. Thanks for making this you rockstar from mars.
Worked great for both FO4 and FNV. Thank you so much!
Also, quick note for Vortex users: After cleaning your modlist, don't forget to go back to the Mods tab and deploy your mods again. Vortex will ask if you want to save the changes. Hit Save Changes and Confirm.
Error at start clean CURRENTLY RUNNING : "P:/VortexPrograms/Xedit/xFOEdit.exe" -a -fo4 -QAC -autoexit -autoload "XDI.esm" Traceback (most recent call last): File "PACT_Interface.py", line 312, in run File "PACT_Start.py", line 482, in clean_plugins File "PACT_Start.py", line 361, in run_auto_cleaning File "subprocess.py", line 951, in __init__ File "subprocess.py", line 1420, in _execute_child FileNotFoundError: [WinError 2] The system cannot find the file specified
Originally I downloaded the Xedit from the Xedit website that gives you all the XFO and TESSx and the like, which gave me this error above. Basically, PACT.exe was deleting the XFO4edit.exe at runtime, so then it could not find it again. Possible culprits: The files.py that are the source code of the PACT.exe had an issue. - Therefore, unless I try to reconstruct the source code from the machine code or the code is in GitHub, there's nothing I can do except wait.
The antivirus detected funky business with the PACT.exe and XFO4edit.exe and consequently deleted it. Ran PACT.exe as administrator, added both folders to the exemption rule, and disabled Real-Time-Protection. None of these worked.
Solution: Download FO4Editt from here. https://www.nexusmods.com/fallout4/mods/2737 Reason: idk, it just be.
178 comments
MO2 VERSION 2.5.X MIGHT NOT BE FULLY COMPATIBLE YET
READ THE README FILE, THAT'S WHAT THE README IS FOR
DO NOT RUN PACT THROUGH MO2 OR VORTEX, JUST RUN THE EXE
TROUBLESHOOTING
PACT SHOULD ONLY CLEAN ONE ( 1 ) PLUGIN AT A TIME AND ONLY HAVE ONE ( 1 ) INSTANCE OF XEDIT OPEN
IF YOU ARE USING MOD ORGANIZER 2, MAKE SURE THAT MO2 IS COMPLETELY CLOSED BEFORE RUNNING PACT
- If you keep getting ❌ ERROR : PLUGIN IS DISABLED OR HAS MISSING REQUIREMENTS... for every plugin, close PACT and open XEDIT yourself, you'll likely see that Patreon / Support reminder pop-up message, select don't show for a while and close the pop-up, then exit XEDIT and start PACT again, it should now work. Many thanks to user formamid for pointing this out.
- If any plugin takes longer than *5 minutes* to clean, PACT will automatically close XEDIT and skip that plugin.
(You can adjust the timeout value. If it occurs, the plugin will be also added to the ignore list in PACT Ignore.txt)
If you get a message in XEDIT saying "Exactly one module must be selected for Quick Clean mode", this means either:
If you get an error in MO2 saying "This application failed to start because no Qt Platform...", this means either:
Thanks in advance.
OR go to: C:\Users\*user*\AppData\Local\Fallout4
Replace *user* with your windows user name.
OR just go to: %localappdata%\Fallout4
Do like we did in the old days and mod manually, LIKE A MAYUHN.
✔️ REQUIRED FILE PATHS FOUND! CHECKING IF INI SETTINGS ARE CORRECT...✔️ MO2 EXECUTABLE WAS FOUND! SWITCHING TO MOD ORGANIZER 2 MODE...✔️ CLEANING STARTED... ( PLUGINS TO CLEAN: 0 )✔️ CLEANING COMPLETE! FO4Edit.exe processed all available plugins in 0.0 seconds. FO4Edit.exe successfully processed 0 plugins and cleaned 0 of them.
If you set your filepaths in the settings .INI, they appear to get deleted/ignored and you need to manually set them again via the GUI anytime you want to run the .bat.
If you have a lot of plugins, after a while the process will just end because it was running for too long. Not getting hung up on a plugin, I mean in general. Mine stops at 230-something. I had to add the first 230 plugins to the ignore list to auto clean the last 100 plugins.
Neither one break anything, it's more inconvenient than anything. Anyways, thanks again for derpin this tool. Much appreciated. Bingus bingus.
And then this legend kicked in the door, crapped on the floor and proceeded to walk the dinosaur.
I might have embellished the ending, but, ya know. Thanks for making this you rockstar from mars.
Also, quick note for Vortex users: After cleaning your modlist, don't forget to go back to the Mods tab and deploy your mods again. Vortex will ask if you want to save the changes. Hit Save Changes and Confirm.
CURRENTLY RUNNING : "P:/VortexPrograms/Xedit/xFOEdit.exe" -a -fo4 -QAC -autoexit -autoload "XDI.esm"
Traceback (most recent call last):
File "PACT_Interface.py", line 312, in run
File "PACT_Start.py", line 482, in clean_plugins
File "PACT_Start.py", line 361, in run_auto_cleaning
File "subprocess.py", line 951, in __init__
File "subprocess.py", line 1420, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified
Originally I downloaded the Xedit from the Xedit website that gives you all the XFO and TESSx and the like, which gave me this error above. Basically, PACT.exe was deleting the XFO4edit.exe at runtime, so then it could not find it again.
Possible culprits:
The files.py that are the source code of the PACT.exe had an issue. - Therefore, unless I try to reconstruct the source code from the machine code or the code is in GitHub, there's nothing I can do except wait.
The antivirus detected funky business with the PACT.exe and XFO4edit.exe and consequently deleted it. Ran PACT.exe as administrator, added both folders to the exemption rule, and disabled Real-Time-Protection. None of these worked.
Solution: Download FO4Editt from here. https://www.nexusmods.com/fallout4/mods/2737
Reason: idk, it just be.