how do i use this to patch a specific .esp for darker nights level 0 (darkest level)? all it does is try to do it to all my plugins and then crash with this error: Program error: Exception has been thrown by the target of an invocation.
Opening File D:\SteamOND\SteamApps\common\Fallout 4\Data\logs\Patcher-demos.esp.log for writing. Patcher 1.9.4 Options: --rules-demos --apend=False --debug=* --consoleLogLevel4 Program error: Unable to determine a suitable data context. System.IO.InvalidDataException: Unable to determine a suitable data context. at Pathcer.Data.DataContext.CreationContext(IDataFileProvider dataFileProvider) at Patcher.App.Main(ProgramOptions options)
Press ESC to quit.
2016/08/07 09:01:31.730447 INFO Patcher 1.9.4 2016/08/07 09:01:31.732449 FINE Options: --append=False 2016/08/07 09:01:31.751776 ERROR Program error: Unable to determine a suitable data context. 2016/08/07 09:01:31.752766 ERROR System.IO.InvalidDataException: Unable to determine a suitable data context. at Patcher.Data.DataContext.CreateContext(IDataFileProvider dataFileProvider) at Patcher.App.Main(ProgramOptions options)
This means the current data path does not lead to the Fallout 4 Data folder. Default is '..' (parent folder) which works when Patcher is run in path Data/Patcher/, can be set with '--data' argument, path in quotes if it contains spaces.
OK that solved that issue. But it seems that TERM is not supported.
Basically I'm looking for a way to parse out sections of my mod in to smaller XMLs/YAMLs/Something so that version control can happen a lot better than me just committing an ESP to our repo.
Also, if there was a way to parse XMLs, I could rapidly prototype the menus and subsequent scripts if the parser could also handle incoming papyrus fragments from the XML.
Yeah, I like the way you think, putting some sort of sources for mods under some meaningful version control.
I began to work on this tool several months before Fallout 4 was released and I did plan to support all kinds of forms eventually. So far I ended up supporting only a handful of forms, mainly those I needed for my own mods. Thing is I played the game once and I think that's it for me. I may sooner replay Fallout 3, New Vegas or Skyrim for the 10th time, actually. Not a big fan you see.
The only hope is mods so I want to help and support mod authors in any way. When I say mods I don't mean little tweaks here and there. I mean serious, major overhauls.
The current phase is that I fix bugs I or others may find and I want to add support for forms people request. It should be much easier now when the CK has been released and F4Edit is getting up to speed too. The earliest I can add TERM forms is September, due to vacations and stuff. It will be possible to attach existing scripts to forms and set their properties. Merging or patching and then compiling scripts will probably never be a function of this tool. I never really thought about it.
I'm trying to get my head around the rules stuff... but I can't figure out how to edit the actual values. The rules stuff just goes over my head. What I'm working on is making an exp mod that raises the fXPModBase value... But FO4edit gives me no info on what that value is or anything other than it being a value under Game Settings. Any help would be appreciated. And if you're wondering what I'm aiming for, it's a 100 X exp gain mod...
If you want to just change a value and be done with it than I recommend using FO4Edit instead. Patcher is more suitable in case you want to change multiple records and for batch processing.
Can this tool edit basic stats, like Super Mutant hit points, the weapons they carry, etc? I am imagining a command line version of FO3Edit in my head as I consider your tool. I want to make a Fallout 4 version of the Fallout 3's BaddA** Super Mutants mod to make them canon again as the Alpha predators they were in Fallout 1-2. Heavy weapons only (Super Sledge, Mini-Gun, Rocket Launcher, etc.) and high hitpoints.
It probably will be possible but not now. I haven't had much time to work on the tool, adding new forms and so on because I have been busy with the Darker Nights mod. /:
Hello, and thanks for all u have done. I've some problem, when it try to load the second time Fallout4.esm, it done nothing... The log :
2015/11/21 01:03:20.082194 FINE Indexing forms in all plugins finished in 1601ms 2015/11/21 01:03:20.093195 FINE Opening file C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\Data\Patcher\cache\Patcher.Rules.Compiled.dll for reading. 2015/11/21 01:03:20.095195 FINE Cached file C:\Progra
Nothing after that, and in the console Patcher : Loading Forms (full) Opening file C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\Data\Fallout4.esm for reading. Using 2 background job for load 208947 forms.
Thanks for trying this tool out. Are you sure it isn't working? Maybe you just need to wait a minute for the loading to finish. Did the progress bar appear and is it filling up?
If it's stuck then I honestly can't tell what could be wrong but it looks like the background loader worker threads crashed for some reason. I will take another look tomorrow but you can try changing --maxloadingthreads=2 to --maxloadingthreads=1.
Yeah the record loading threads crashed. I will do a better job at trapping errors in the threads and release a new minor version in a bit. Won't fix it but at least we will know why they keep crashing. Thanks for your patience.
You're welcome! The new version is up and it should report errors properly. Also --maxloadingthreads=0 should disable async loading altogether now but I don't think it will help it this case.
FINE Opening file C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\Data\Fallout4.esm for reading. 2015/11/21 13:33:44.677902 FINE Using 1 background jobs to load 208947 forms 2015/11/21 13:33:45.321939 FINE Loading forms finished in 641 ms 2015/11/21 13:33:45.494949 ERROR Program error: One or more locale string file(s) could not be located for plugin: Fallout4.esm 2015/11/21 13:33:45.511950 ERROR System.IO.InvalidDataException: One or more locale string file(s) could not be located for plugin: Fallout4.esm at Patcher.Data.Plugins.FormLoader.get_IsBusy() at Patcher.Data.Plugins.FormLoader.WaitForCompleted() at Patcher.Data.Plugins.FormLoader.Dispose() at Patcher.Data.Plugins.Plugin.LoadForms(Boolean lazyLoading, Func`2 predicate) at Patcher.Data.DataContext.LoadForms(Boolean lazyLoading, Func`2 predicate) at Patcher.App.Main(ProgramOptions options)
36 comments
Program error: Exception has been thrown by the target of an invocation.
Patcher 1.9.4
Options: --rules-demos --apend=False --debug=* --consoleLogLevel4
Program error: Unable to determine a suitable data context.
System.IO.InvalidDataException: Unable to determine a suitable data context.
at Pathcer.Data.DataContext.CreationContext(IDataFileProvider dataFileProvider)
at Patcher.App.Main(ProgramOptions options)
Press ESC to quit.
2016/08/07 09:01:31.730447 INFO Patcher 1.9.4
2016/08/07 09:01:31.732449 FINE Options: --append=False
2016/08/07 09:01:31.751776 ERROR Program error: Unable to determine a suitable data context.
2016/08/07 09:01:31.752766 ERROR System.IO.InvalidDataException: Unable to determine a suitable data context.
at Patcher.Data.DataContext.CreateContext(IDataFileProvider dataFileProvider)
at Patcher.App.Main(ProgramOptions options)
Basically I'm looking for a way to parse out sections of my mod in to smaller XMLs/YAMLs/Something so that version control can happen a lot better than me just committing an ESP to our repo.
Also, if there was a way to parse XMLs, I could rapidly prototype the menus and subsequent scripts if the parser could also handle incoming papyrus fragments from the XML.
Is TERM support coming soon?
I began to work on this tool several months before Fallout 4 was released and I did plan to support all kinds of forms eventually. So far I ended up supporting only a handful of forms, mainly those I needed for my own mods. Thing is I played the game once and I think that's it for me. I may sooner replay Fallout 3, New Vegas or Skyrim for the 10th time, actually. Not a big fan you see.
The only hope is mods so I want to help and support mod authors in any way. When I say mods I don't mean little tweaks here and there. I mean serious, major overhauls.
The current phase is that I fix bugs I or others may find and I want to add support for forms people request. It should be much easier now when the CK has been released and F4Edit is getting up to speed too. The earliest I can add TERM forms is September, due to vacations and stuff. It will be possible to attach existing scripts to forms and set their properties. Merging or patching and then compiling scripts will probably never be a function of this tool. I never really thought about it.
I can not get the demo to work nor the rules file from Darker nights. Same error I believe. The files are in ...\Fallout 4\Data\Patcher\
New error now. Demo & Darker Nights won't "compile"
Any help is good help. Thanks guys & gals
A question, If i want to make a darker level with FO4Edit do I have to change all the values for the forms manually by hand one by one???
What I'm working on is making an exp mod that raises the fXPModBase value... But FO4edit gives me no info on what that value is or anything other than it being a value under Game Settings. Any help would be appreciated. And if you're wondering what I'm aiming for, it's a 100 X exp gain mod...
Kind Regards,
Koinonos
I've some problem, when it try to load the second time Fallout4.esm, it done nothing...
The log :
2015/11/21 01:03:20.082194 FINE Indexing forms in all plugins finished in 1601ms
2015/11/21 01:03:20.093195 FINE Opening file C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\Data\Patcher\cache\Patcher.Rules.Compiled.dll for reading.
2015/11/21 01:03:20.095195 FINE Cached file C:\Progra
Nothing after that, and in the console Patcher :
Loading Forms (full)
Opening file C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\Data\Fallout4.esm for reading.
Using 2 background job for load 208947 forms.
It's the same with the demo.
I've done something wrong?
If it's stuck then I honestly can't tell what could be wrong but it looks like the background loader worker threads crashed for some reason. I will take another look tomorrow but you can try changing --maxloadingthreads=2 to --maxloadingthreads=1.
It do it every time, with my script or the demo script, 1 2 or 4 thread.
The .bat I use :
start patcher --data=.. --rules=demos --debug=* --consoleloglevel=4 --maxloadingthreads=1
Maybe cause due to the specific conf of my laptop... I can try again tomorrow with my desktop computer.
Thanks for answering this fast
stack trace :
FINE Opening file C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\Data\Fallout4.esm for reading.
2015/11/21 13:33:44.677902 FINE Using 1 background jobs to load 208947 forms
2015/11/21 13:33:45.321939 FINE Loading forms finished in 641 ms
2015/11/21 13:33:45.494949 ERROR Program error: One or more locale string file(s) could not be located for plugin: Fallout4.esm
2015/11/21 13:33:45.511950 ERROR System.IO.InvalidDataException: One or more locale string file(s) could not be located for plugin: Fallout4.esm
at Patcher.Data.Plugins.FormLoader.get_IsBusy()
at Patcher.Data.Plugins.FormLoader.WaitForCompleted()
at Patcher.Data.Plugins.FormLoader.Dispose()
at Patcher.Data.Plugins.Plugin.LoadForms(Boolean lazyLoading, Func`2 predicate)
at Patcher.Data.DataContext.LoadForms(Boolean lazyLoading, Func`2 predicate)
at Patcher.App.Main(ProgramOptions options)
Because, the patcher need the file :
Data\Strings\Fallout4_en.STRINGS
Data\Strings\Fallout4_en.ILSTRINGS
Data\Strings\Fallout4_en.DLSTRINGS
Hope that can help you.
Work correctly for me now.
Is 10:30pm not realistic for Boston, though?