ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.1k stars 2.16k forks source link

help i cant load a character #14815

Closed Dmitriiiiiiiiiii closed 3 months ago

Dmitriiiiiiiiiii commented 3 months ago

Describe your problem here.

i am working on getting a character into the game. the icon works just fine but when it tries to load the "character" itself it just crashes

Are you modding a build from source or with Lua?

Source

What is your build target?

Windows x64

Did you edit anything in this build? If so, mention or summarize your changes.

no

Dmitriiiiiiiiiii commented 3 months ago

error says

C:\HaxeToolkit\haxe\std/haxe/xml/Parser.hx (Line 217) C:\HaxeToolkit\haxe\std/haxe/xml/Parser.hx (Line 117) C:\HaxeToolkit\haxe\std/haxe/Xml.hx (Line 122) flixel/graphics/frames/FlxAtlasFrames.hx (Line 246) Character.hx (Line 164) PlayState.hx (Line 940) flixel/FlxGame.hx (Line 637) flixel/FlxGame.hx (Line 724) flixel/FlxGame.hx (Line 677) flixel/FlxGame.hx (Line 551) openfl/events/EventDispatcher.hx (Line 402) openfl/display/DisplayObject.hx (Line 1399)

Uncaught error: haxe.xml.XmlParserException: Expected node name at line 2 char 2. Please report this error to the Github page: (link)

YouDevsYoupikmin commented 3 months ago

Certainly due to XML file, can you show it ?

Dmitriiiiiiiiiii commented 3 months ago

Screenshot 2024-06-03 063832 Screenshot 2024-06-03 063851

YouDevsYoupikmin commented 3 months ago

Try add a prefix before animation name like "BF up0000"

YouDevsYoupikmin commented 3 months ago

I found the problem Edit the first line to change "UTF-16" by "UTF-8" And when you save, choose UTF-8 instead of UTF-16

Dmitriiiiiiiiiii commented 3 months ago

THANK YOU it works (i spent a long time on this lol)