The Witcher 3: Wild Hunt

The Witcher 3: Wild Hunt

View Stats:
Landrick93 Jul 30, 2023 @ 1:27pm
Modding Issue
Error [mod0000_mergedfiles]game\player\r4player.ws(15253): Unexpected end of file found after '{' at line 3432

What does this mean, and how do I correct it?
< >
Showing 1-15 of 17 comments
Landrick93 Jul 31, 2023 @ 5:13pm 
If anyone knows how, be sure to tell me, I swear I found out earlier but have long since forgotten.
Hellfire77 Jul 31, 2023 @ 5:22pm 
Erase your mod file or run the mod merger program found on nexus. That's a bad/outdated merge file.
Landrick93 Jul 31, 2023 @ 5:25pm 
Originally posted by Hellfire77:
Erase your mod file or run the mod merger program found on nexus. That's a bad/outdated merge file.
I'll try that, thanks.
Landrick93 Jul 31, 2023 @ 6:36pm 
Originally posted by Hellfire77:
Erase your mod file or run the mod merger program found on nexus. That's a bad/outdated merge file.
How am I supposed to use the merger though?
Hellfire77 Jul 31, 2023 @ 7:06pm 
Download the file, unzip the file with 7zip or winzip type of program, click the exe file, you have to point it toward your withcher install folder and let it do it's thing. More detailed instructions are on the nexus page you get the mod merger program from.
Landrick93 Jul 31, 2023 @ 8:02pm 
Originally posted by Hellfire77:
Download the file, unzip the file with 7zip or winzip type of program, click the exe file, you have to point it toward your withcher install folder and let it do it's thing. More detailed instructions are on the nexus page you get the mod merger program from.
You have to direct it to 3 different folders though.
Landrick93 Jul 31, 2023 @ 8:05pm 
Originally posted by Hellfire77:
Download the file, unzip the file with 7zip or winzip type of program, click the exe file, you have to point it toward your withcher install folder and let it do it's thing. More detailed instructions are on the nexus page you get the mod merger program from.
and there's no way of knowing how to acually fix the corrupted line of code that's broken the game.
Hellfire77 Jul 31, 2023 @ 8:28pm 
1) Download, extract, & launch Script Merger.

2) Enter your game's installation path in the textbox at the top.

3) Click "Refresh" button above the "Conflicts" list.

4) If mergeable conflicts are detected, repeat these steps until the conflicts are resolved:
> Choose 2 or more versions of any file(s) to merge.
> Click "Create Selected Merge" button.
> If the mods have differences that don't overlap, KDiff3 can merge them automatically.
> If the mods have differences that overlap, KDiff3 will appear so you can merge them manually. See below for tutorial videos.
> If Script Merger can't find the vanilla version of the modded file, you must merge all differences manually when KDiff3 appears.

5) If non-text conflicts are detected, Script Merger displays them but can't merge them. So, one of the mods in each conflict will "win" & override the others. Here's how the winner is decided:
> By default, the game loads mods in order of folder names — numbers first, then underscores, then letters (not case-sensitive).
> Or, you can right-click one of the mods to set its priority (1 to 9999, lower number loads first). Here's an excellent detailed explanation by Kad_Venku.

6) Play!

7) When you uninstall or update one of the mods included in a merge, Script Merger will detect the change & prompt you to delete affected merges. If you update a mod & Script Merger doesn't prompt you delete any of that mod's merges, then they weren't affected by the update.



These are the directions on the nexus so I'm confused on why you are directing it to 3 different files. You only need the install path. For example c:/program files (x86)/steam/steamapps/common/witcher 3
Last edited by Hellfire77; Jul 31, 2023 @ 8:32pm
Landrick93 Aug 1, 2023 @ 12:14pm 
Originally posted by Hellfire77:
1) Download, extract, & launch Script Merger.

2) Enter your game's installation path in the textbox at the top.

3) Click "Refresh" button above the "Conflicts" list.

4) If mergeable conflicts are detected, repeat these steps until the conflicts are resolved:
> Choose 2 or more versions of any file(s) to merge.
> Click "Create Selected Merge" button.
> If the mods have differences that don't overlap, KDiff3 can merge them automatically.
> If the mods have differences that overlap, KDiff3 will appear so you can merge them manually. See below for tutorial videos.
> If Script Merger can't find the vanilla version of the modded file, you must merge all differences manually when KDiff3 appears.

5) If non-text conflicts are detected, Script Merger displays them but can't merge them. So, one of the mods in each conflict will "win" & override the others. Here's how the winner is decided:
> By default, the game loads mods in order of folder names — numbers first, then underscores, then letters (not case-sensitive).
> Or, you can right-click one of the mods to set its priority (1 to 9999, lower number loads first). Here's an excellent detailed explanation by Kad_Venku.

6) Play!

7) When you uninstall or update one of the mods included in a merge, Script Merger will detect the change & prompt you to delete affected merges. If you update a mod & Script Merger doesn't prompt you delete any of that mod's merges, then they weren't affected by the update.



These are the directions on the nexus so I'm confused on why you are directing it to 3 different files. You only need the install path. For example c:/program files (x86)/steam/steamapps/common/witcher 3
Script Merger did nothing. It's a different issue, some kind of other non-mod related corruption.
Hellfire77 Aug 1, 2023 @ 1:06pm 
If that's the case then verify files. It should find any missing or corrupt files and fix them. If that doesn't work a full reinstall may be necessary.
Demosthenes424 Aug 1, 2023 @ 1:13pm 
Are you certain all your mods are compatible with 4.04? Every version of the next-gen update has included script changes, though some have been fairly minor. These last two were fairly big ones.
Landrick93 Aug 1, 2023 @ 1:15pm 
Originally posted by Demosthenes424:
Are you certain all your mods are compatible with 4.04? Every version of the next-gen update has included script changes, though some have been fairly minor. These last two were fairly big ones.
I'll try updating all of them then, yeah.
Landrick93 Aug 1, 2023 @ 1:30pm 
Originally posted by Hellfire77:
If that's the case then verify files. It should find any missing or corrupt files and fix them. If that doesn't work a full reinstall may be necessary.
"Error [content0]game\player\playerwitcher.ws(11781): Could not find function 'SetRadialPotionUpperTimer'
Error [content0]game\player\playerwitcher.ws(11787): Could not find function 'SetRadialPotionLowerTimer'
Error [content0]game\gameplay\effects\effects\other\oil.ws(177): Could not find function 'ShouldAutoApplyOil'
Error [content0]game\gui\main_menu\ingamemenu.ws(1516): Could not find function 'SetAutoApplyOils'
Error [content0]game\gui\main_menu\ingamemenu.ws(1518): Could not find function 'SetAutoApplyOils'
Error [content0]game\player\states\vehicles\horseriding.ws(141): Could not find function 'ShouldAutoApplyOil'

Warning [modsharedimports]engine\environment.ws(30): Global native function 'EnableDebugOverlayFilter' was not exported from C++ code.
Warning [modsharedimports]engine\environment.ws(32): Global native function 'EnableDebugPostProcess' was not exported from C++ code.
Warning [content0]engine\showflags.ws(11): Global native function 'DebugSetEShowFlag' was not exported from C++ code."

Erm... what the spruce?
Landrick93 Aug 1, 2023 @ 1:42pm 
Trying to solve these issues just exponentially multiplies them. I can't make anything work, so why bother? I'm done.
Landrick93 Aug 1, 2023 @ 2:28pm 
Originally posted by Demosthenes424:
Are you certain all your mods are compatible with 4.04? Every version of the next-gen update has included script changes, though some have been fairly minor. These last two were fairly big ones.
They were, mods weren't the problem though. Something else corrupted the game, something I've tried twice to root out, but I can't trace it. So I'm done.
< >
Showing 1-15 of 17 comments
Per page: 1530 50

Date Posted: Jul 30, 2023 @ 1:27pm
Posts: 17