I got this error message:
ReferenceError: $gameLive2d is not defined
eval (eval
Game_Interpreter.command111 (chrome-extension://odlameecjipmbmbejkplpemijjgpljce/www/js/rpg_objects.js:9718:18), :1:1)
Game_Interpreter.command111 (chrome-extension://odlameecjipmbmbejkplpemijjgpljce/www/js/rpg_objects.js:9718:18)
Game_Interpreter.executeCommand (chrome-extension://odlameecjipmbmbejkplpemijjgpljce/www/js/rpg_objects.js:9320:28)
Game_Interpreter.update (chrome-extension://odlameecjipmbmbejkplpemijjgpljce/www/js/rpg_objects.js:9228:15)
Game_Interpreter.update (chrome-extension://odlameecjipmbmbejkplpemijjgpljce/www/js/plugins/MPP_SelfVariable.js:157:23)
Game_Interpreter.updateChild (chrome-extension://odlameecjipmbmbejkplpemijjgpljce/www/js/rpg_objects.js:9239:28)
Game_Interpreter.update (chrome-extension://odlameecjipmbmbejkplpemijjgpljce/www/js/rpg_objects.js:9222:14)
Game_Interpreter.update (chrome-extension://odlameecjipmbmbejkplpemijjgpljce/www/js/plugins/MPP_SelfVariable.js:157:23)
Game_Interpreter.updateChild (chrome-extension://odlameecjipmbmbejkplpemijjgpljce/www/js/rpg_objects.js:9239:28)
Game_Interpreter.update (chrome-extension://odlameecjipmbmbejkplpemijjgpljce/www/js/rpg_objects.js:9222:14)
This is after I added the below to enc_lv2d to avoid a black screen when starting a new game:
import { createRequire } from 'module';
const require = createRequire(import.meta.url);
You can go to "'your_game'\www\js\rpg_objects.js" to line 9718 and change "result = !!eval(this._params[1]);" to "result = !!(this._params[1]);"
This worked for me. However, I can't say for sure if this will result in another error later because I don't know what "this._params[1]" is or what it is used for. To be honest, I don't want to invest a lot of time into it.
Edit:
I got : "
TypeError: Spriteset_ForLive2d is not a constructor
Scene_EroStatus.create (chrome-extension://odlameecjipmbmbejkplpemijjgpljce/www/js/plugins/CBR_eroStatus_main.js:373:20)
Function.SceneManager.changeScene (chrome-extension://odlameecjipmbmbejkplpemijjgpljce/www/js/rpg_managers.js:2093:19)
Function.SceneManager.updateMain (chrome-extension://odlameecjipmbmbejkplpemijjgpljce/www/js/rpg_managers.js:2070:12)
Function.SceneManager.update (chrome-extension://odlameecjipmbmbejkplpemijjgpljce/www/js/rpg_managers.js:1996:10)
"
You need to go in to "*\www\js\plugins\CBR_eroStatus_main.js" line 373 and 374 and remove or change
"this._spriteset = new Spriteset_ForLive2d();
this.addChild(this._spriteset);" to "
//this._spriteset = new Spriteset_ForLive2d();
//this.addChild(this._spriteset);"
This game is a buggy mess, and like before, any changes can cause other errors later on. I tried not to comment it out, but this plugin doesn't seem to recognize any function or class with that name.