Can't get ContentLib RecipePatches to work

I can't manage to get ContentLib RecipePatches to work, I tried to copy the example from the docs, but the recipe for Solid Biofuel stays unchanged. SchematicPatches work just fine (in fact I made the milestone for Solid Biofuel free so that I could test it). Here are the example given and the change I was trying to use (neither works) and the working Schematic. The path to the folder of the recipes is:
And the path to the folder of the schematic is:
And the path to the folder of the schematic is:
\ContentLib\SchematicPatches```
Solution:
I just figured out the problem, when I created the file automatically it used LF instead of CLRF that it uses when I create it manually, that's why it failed and the issue was inperceptible.
Jump to solution
47 Replies
Hillnor
HillnorOP•4mo ago
Adding Recipes works just fine, only problem is with files that go in RecipePatches 😦
Robb
Robb•4mo ago
Troubleshooting :: Satisfactory Modding Documentation
This page is still a work in progress. Please suggest changes on the Discord or via PRs. Although ContentLib is generally easier to us...
Robb
Robb•4mo ago
also make sure you are using a good text editor because the first recipe patch you sent has an invalid property https://docs.ficsit.app/contentlib/latest/Tutorials/Setup.html#_get_a_good_text_editor
Hillnor
HillnorOP•4mo ago
I'm using VS Code
No description
Hillnor
HillnorOP•4mo ago
and he doesn't seem to dislike it
Robb
Robb•4mo ago
hm, it should be complaining about name because it's lowercase
No description
Robb
Robb•4mo ago
desktop does for me as well
Hillnor
HillnorOP•4mo ago
It did complain about it on one of the previous edits of that file but I guess he no longer cares T.T
Robb
Robb•4mo ago
otherwise those recipes do look like the correct format so let's see what the logs say
Hillnor
HillnorOP•4mo ago
running the game to make sure they're generated just reinstalled COntyentLib and SML just in case and checked game file integrity
Hillnor
HillnorOP•4mo ago
Hillnor
HillnorOP•4mo ago
is this one or the one with _2?
Robb
Robb•4mo ago
looks like it's erroring out on applying the patches because it thinks there is an error with one of the recipe paths, but these should be fine could be a bug from experimental, I haven't tested this update yet myself
Robb
Robb•4mo ago
Hillnor
HillnorOP•4mo ago
About the correcting mistakes, it does inform me about mistakes in the example I copied from the docs, but doesn't in the one I created myself. Idk why is VSCode trolling me
Robb
Robb•4mo ago
I wonder if you somehow accidentally ignored the error for that file
Hillnor
HillnorOP•4mo ago
maybe Still, the other one should work and doesn't
Robb
Robb•4mo ago
@McGalleon | [FexPan / SF+] have you tested any of your CL-based stuff on experimental yet? seems recipe patches may be broken. I can't currently test them
McGalleon
McGalleon•4mo ago
nope, havent yet will attempt soon
Hillnor
HillnorOP•4mo ago
Do I need to change the version of SML/ContentLib to try if the problem persists on stable?
Robb
Robb•4mo ago
yes, but switching to stable should make SMM redownload the right versions for you
Hillnor
HillnorOP•4mo ago
I still need to change them in the dependancy file, but will try on stable to check if that's it
McGalleon
McGalleon•4mo ago
hold on, ill try contentlib on ex real quick
McGalleon
McGalleon•4mo ago
just loaded repan, seems fine so far. but thats new stuff only, didnt try an overwrite yet
No description
Hillnor
HillnorOP•4mo ago
Yeah, new stuff worked for me too it's just specifically patching recipes I can add recipes and patch schematics just fine (haven't tried anything else) I mean, I can work around it by simply removing any recipes I want to edit from being unlocked by schematics and have then unlock my recipes instead. It's kind of weird, but should work and not be that much extra work.
McGalleon
McGalleon•4mo ago
give me a moment, ill try some edits now
McGalleon
McGalleon•4mo ago
works fine on my end
No description
No description
McGalleon
McGalleon•4mo ago
is it about specific fields only?
McGalleon
McGalleon•4mo ago
even names work
No description
McGalleon
McGalleon•4mo ago
No description
Hillnor
HillnorOP•4mo ago
I tried to change the materials needed and amouts but it didn't work can you send me that json?
McGalleon
McGalleon•4mo ago
Hillnor
HillnorOP•4mo ago
maybe I'm doing something wrong, so let me try copy-paste
McGalleon
McGalleon•4mo ago
i know its silly but have you tried uppercase "Name"
Hillnor
HillnorOP•4mo ago
do I need to start a new game to test this? because that's maybe my mistake
McGalleon
McGalleon•4mo ago
no you shouldnt it should work right out of the box for any safe that has the recipes unlocked
Hillnor
HillnorOP•4mo ago
should probably have a file with things unlocked tbh, always played with a friend and he has all our saves T.T
McGalleon
McGalleon•4mo ago
use advanced game settings you can just set the phase and enable all alts and whatnot
Hillnor
HillnorOP•4mo ago
where is that?
McGalleon
McGalleon•4mo ago
advanced game settings, its visible when you click on a save its beneath the "Load save button"
McGalleon
McGalleon•4mo ago
No description
Hillnor
HillnorOP•4mo ago
found it yours works
McGalleon
McGalleon•4mo ago
try replacing the recipe path of mine with that of the recipe you want to change and then adjust the parts
Hillnor
HillnorOP•4mo ago
Solution
Hillnor
Hillnor•4mo ago
I just figured out the problem, when I created the file automatically it used LF instead of CLRF that it uses when I create it manually, that's why it failed and the issue was inperceptible.
Robb
Robb•4mo ago
ah yup that's why it's on this page. guessing that's where you saw it https://docs.ficsit.app/contentlib/latest/Tutorials/Troubleshooting.html#_always_use_crlf_line_endings hopefully we can make it not care about that in future versions but hasn't been a big priority yet
Hillnor
HillnorOP•4mo ago
I saw it when I read the guide, but didn't realise it was the problem until I asked Gemini why would copying the file work but generating it wouldn't. Gemini told me it might be troublesome cause maybe my program wasn't encoding in UTF-8, so I went to check and luckily in VS Code the encoding is right next to the CL/CLRF, so swapping between the 2 files I realised that was what changed and remembered the troubleshooting guide 😛

Did you find this page helpful?