ikemen-engine / Ikemen-GO

An open-source fighting game engine that supports MUGEN resources.
https://ikemen-engine.github.io
Other
710 stars 125 forks source link

Storyboard parsing error #1661

Open softmgr opened 7 months ago

softmgr commented 7 months ago

Describe the bug

An error occurred while opening the game via arcade mode. The character ".def" file contain:

[Arcade] intro.storyboard = mintro.def ending.storyboard = mend.def

The storyboard file: storyboard.zip

To Reproduce

1.Enter arcade mode. 2.Select character. 3.An error window appears.

The following is the content of Ikemen.log: .\external\script\storyboard.lua:217: attempt to index a non-table object(nil) with key '0' stack traceback: .\external\script\storyboard.lua:217: in function 'f_parse' .\external\script\storyboard.lua:444: in function 'f_storyboard' .\external\script\start.lua:1908: in function 'launchStoryboard' external/script/default.lua:8: in function <external/script/default.lua:0> .\external\script\start.lua:1457: in function 'f' external/script/main.lua:3105: in function 'loop' external/script/main.lua:3189: in function 'loop' external/script/main.lua:4158: in main chunk

Expected behavior

Tested: It works fine in mugen 1.1 b1

Screenshots / Video

No response

Engine Version (or source code date)

2024.2.24

Operating system

Windows

Extra context or search terms

No response

Finally1994 commented 7 months ago

I tested it [Scene] ~ loads normally, but if there are [pt.Scene], [es.Scene], or [ja.Scene] items for each country's language, an error seems to occur. Also, the text font was not displayed.

softmgr commented 7 months ago

I tested it [Scene] ~ loads normally, but if there are [pt.Scene], [es.Scene], or [ja.Scene] items for each country's language, an error seems to occur. Also, the text font was not displayed.

After deleting: "pt." "es." "ja." related sections, it can run in Ikemen_GO. However, the display effects are different in mugen1.1b1 and Ikemen_GO. I can confirm that the display in mugen is correct. See screenshot: screenshot2.zip

K4thos commented 1 month ago

it's a missing mugen feature, partialy implemented by #1923