It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
According to the mod creator this isnt something that he is able to fix on the mod side so i figured id post it here and see if,

a. Any other people with the GOTY edition are having the same issue &
b. If there is something wrong with the GOTY edition that needs to be fixed then hopefully someone who can fix it sees it

I was hoping to do a new playthrough with the mod Witcher 3 Enhanced Edition but when i install the mod and try to start the game i get this script error.

Error [content0]game\gui\commonmainmenubase.ws(73): Could not find function 'GetChosenMainMenuType'
Error [content0]game\gui\main_menu\maincreditsmenu.ws(397): Could not find function 'GetChosenMainMenuType'

Warning [content0]engine\environment.ws(30): Global native function 'EnableDebugOverlayFilter' was not exported from C++ code.
Warning [content0]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.

I have no other mods installed, and i have run script merger just to make sure there wasn't any scripts interfering but that didn't get rid of the error.

Help would be greatly appreciated.
Probably the same problem I had:

The problem is a defective text file, namely telemetryKeywords.ws

Replacing all the text inside (gamedir)\content\content0\scripts\engine\telemetryKeywords.ws with this:

/*
Copyright © CD Projekt RED 2015
*/
import class CR4TelemetryScriptProxy extends CObject
{
import final function LogWithName( eventType : ER4TelemetryEvents );
import final function LogWithLabel( eventType : ER4TelemetryEvents, label : String );
import final function LogWithValue( eventType : ER4TelemetryEvents, value : int );
import final function LogWithValueStr( eventType : ER4TelemetryEvents, value : String );
import final function LogWithLabelAndValue( eventType : ER4TelemetryEvents, label : String, value : int );
import final function LogWithLabelAndValueStr( eventType : ER4TelemetryEvents, label : String, value : String );
import final function SetCommonStatFlt( statType: ER4CommonStats, value : float );
import final function SetCommonStatI32( statType: ER4CommonStats, value : int );
import final function SetGameProgress( value : float );
import final function AddSessionTag( tag : String );
import final function RemoveSessionTag( tag : String );
import final function XDPPrintUserStats( statisticName : String );
import final function XDPPrintUserAchievement( achievementName : String );
}

Completely fixed my problem, mod script compiling working again.
Post edited September 02, 2016 by kaerius
Unfortunately that isn't what is causing my error as i already have the modified telemetryKeywords file and its still giving me the error.

It seems to be tied in someway to the new "feature" in the GOTY edition where it picks a different menu background eachtime you start the game, i have no idea how one would go about fixing it though....
avatar
SvenVolfeid: Unfortunately that isn't what is causing my error as i already have the modified telemetryKeywords file and its still giving me the error.

It seems to be tied in someway to the new "feature" in the GOTY edition where it picks a different menu background eachtime you start the game, i have no idea how one would go about fixing it though....
The mod you are using is simply not compatible with this version of the game. It is not the game, nor the GOTY edition. As the game evolves (patches/updates) so does the script content. There was a major update to the scripts in one of the previous patches, and most other patches have minor or other changes that require mod authors to update their mods -- most don't. It is not up to CDP -- mod errors and updates are not supported -- it is up to the authors to maintain their mods. If the author can't fix it, as you say in this instance, then... tough.
Post edited September 02, 2016 by Hickory
avatar
SvenVolfeid: Unfortunately that isn't what is causing my error as i already have the modified telemetryKeywords file and its still giving me the error.

It seems to be tied in someway to the new "feature" in the GOTY edition where it picks a different menu background eachtime you start the game, i have no idea how one would go about fixing it though....
avatar
Hickory: The mod you are using is simply not compatible with this version of the game. It is not the game, nor the GOTY edition. As the game evolves (patches/updates) so does the script content. There was a major update to the scripts in one of the previous patches, and most other patches have minor or other changes that require mod authors to update their mods -- most don't. It is not up to CDP -- mod errors and updates are not supported -- it is up to the authors to maintain their mods. If the author can't fix it, as you say in this instance, then... tough.
I realize it is not up to CDP to fix error's with mods nor was i expecting them to, i only posted on the off chance that it was in fact something wrong on their end. And you are right if the mod isn't compatible with the newest version of the game then it is tough. However it seems the mod author has posted a means of getting it to work so this thread can be closed now.

Thanks for the replies :)
Post edited September 02, 2016 by SvenVolfeid
If anyone still looks for solution I got it.

Error [content0]game\gui\commonmainmenubase.ws(73): Could not find function 'GetChosenMainMenuType'
Error [content0]game\gui\main_menu\maincreditsmenu.ws(397): Could not find function 'GetChosenMainMenuType'

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.

As the error says you have to go to [content0]game\gui\commonmainmenubase.ws and delete line 73 and then go to [content0]game\gui\main_menu\maincreditsmenu.ws(397) and delete line 397. Simple as that, works for me :)
avatar
Harold_z_Rivivy: If anyone still looks for solution I got it.

Error [content0]game\gui\commonmainmenubase.ws(73): Could not find function 'GetChosenMainMenuType'
Error [content0]game\gui\main_menu\maincreditsmenu.ws(397): Could not find function 'GetChosenMainMenuType'

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.

As the error says you have to go to [content0]game\gui\commonmainmenubase.ws and delete line 73 and then go to [content0]game\gui\main_menu\maincreditsmenu.ws(397) and delete line 397. Simple as that, works for me :)
Just wanted to say thank you, this fixed my problem :)

And...just a curiosity: the two lines deleted have no impact on anything but the music that sounds on the main menu. So if you have Blood and Wine and delete those 2 lines, instead of listening the "wolves asleep amidst the trees" song you are going to listen the default Witcher 3 menu music.

And actually, if you change the lines for a line with:

menuType = 2;

You will hear the correct song again, if you have Blood and Wine expansion :D

Anyway, thanks!