corecathx / FNF-CDEV-Engine

A Friday Night Funkin' Engine.
https://core5570ryt.github.io/FNF-CDEV-Engine/
Apache License 2.0
26 stars 13 forks source link

Bug Report: Error on existing mod #8

Open Baconyy33 opened 6 months ago

Baconyy33 commented 6 months ago

i pressed open an existing mod and it crashed. this is the error: C:\HaxeToolkit\haxe\std/haxe/format/JsonParser.hx (line 318) C:\HaxeToolkit\haxe\std/haxe/format/JsonParser.hx (line 147) C:\HaxeToolkit\haxe\std/haxe/format/JsonParser.hx (line 57) meta/modding/OpenExistingModState.hx (line 60) flixel/FlxGame.hx (line 642) game/system/FunkinGame.hx (line 11) flixel/FlxGame.hx (line 729) flixel/FlxGame.hx (line 682) flixel/FlxGame.hx (line 556) game/system/FunkinGame.hx (line 21) openfl/events/EventDispatcher.hx (line 444) openfl/display/DisplayObject.hx (line 1400)

Engine Version: 1.6.3 Error: Invalid char 0 at position 0

corecathx commented 6 months ago

It appears that your mod's mod.json file is corrupted / just an empty file, you could try this:

What this does is basically just recreating the mod.json file for you & updates your mod's folders

Kle3404 commented 2 weeks ago

i had to import a psych character in the cdev but for some how i get this error: meta/modding/char_editor/CharacterEditor.hx (line 969) meta/modding/char_editor/CharacterEditor.hx (line 928) meta/modding/char_editor/CharacterEditor.hx (line 638) game/cdev/UIDropDown.hx (line 495) game/cdev/UIDropDown.hx (line 352) flixel/ui/FlxButton.hx (line 521) flixel/addons/ui/FlxUITypedButton.hx (line 1172) flixel/addons/ui/FlxUIButton.hx (line 362) flixel/ui/FlxButton.hx (line 507) openfl/events/EventDispatcher.hx (line 444) openfl/display/DisplayObject.hx (line 1400)

Engine Version: 1.6.3 Error: Null Object Reference I try doing the whole process again, this happen again: meta/modding/char_editor/CharacterEditor.hx (line 282) flixel/ui/FlxButton.hx (line 521) flixel/addons/ui/FlxUITypedButton.hx (line 1172) flixel/addons/ui/FlxUIButton.hx (line 362) flixel/ui/FlxButton.hx (line 507) openfl/events/EventDispatcher.hx (line 444) openfl/display/DisplayObject.hx (line 1400)

Engine Version: 1.6.3 Error: Null Object Reference so i kept repeating the same thing over and over with the character i use image_2024-10-19_104752623 same as the chart editor. i had to import my own song then this; game/objects/Note.hx (line 212) game/objects/Note.hx (line 146) meta/modding/chart_editor/ChartingState.hx (line 2435) meta/modding/chart_editor/ChartingState.hx (line 248) flixel/FlxGame.hx (line 642) game/system/FunkinGame.hx (line 11) flixel/FlxGame.hx (line 729) flixel/FlxGame.hx (line 682) flixel/FlxGame.hx (line 556) game/system/FunkinGame.hx (line 21) openfl/events/EventDispatcher.hx (line 444) openfl/display/DisplayObject.hx (line 1400)

Engine Version: 1.6.3 Error: Null Object Reference i get that the engine hasn't support psych characters and for that i can't even port my chart with this. image_2024-10-19_105007615 if i know this then the file i import converted corrupted. so for psych refugee, yes i switch to this engine and now it a mess.. i can't do anything without it.