KadeArchive / Kade-Engine

Kade Engine is a Competitive Rhythm Game engine rewrite for FNF with Quality of Life features included.
https://kadedev.github.io/Kade-Engine/
Apache License 2.0
409 stars 594 forks source link

Chart file crashes game #1500

Open Sebirobth opened 3 years ago

Sebirobth commented 3 years ago

Whenever I play one of the songs I added into the engine, the game crashes because of the chart. And I believe its most likely the chart thats doing this because Ive tested the characters and stages, and they all work properly. When I loaded in the chart to a song it crashed though. Anyone have any idea what Im doing wrong?

napstaa967 commented 3 years ago

Whenever I play one of the songs I added into the engine, the game crashes because of the chart. And I believe its most likely the chart thats doing this because Ive tested the characters and stages, and they all work properly. When I loaded in the chart to a song it crashed though. Anyone have any idea what Im doing wrong?

if there are no playable notes (notes bf hits) the chart will crash

try remaking the chart

Sebirobth commented 3 years ago

I copied the chart from the Tabi mod because I was trying to figure out how to make songs. So the chart already has bf notes. I put the songs in the songs folder in assets, and put the charts in the data folder. I thought that's all you needed to do to get a song to work. Correct me if I'm wrong, which I already know I probably am

napstaa967 commented 3 years ago

I copied the chart from the Tabi mod because I was trying to figure out how to make songs. So the chart already has bf notes. I put the songs in the songs folder in assets, and put the charts in the data folder. I thought that's all you needed to do to get a song to work. Correct me if I'm wrong, which I already know I probably am

oooohhhh i thought you were compiling it

yeah kade engine has this weird bug where custom songs via the precompiled version are crashing the game

Sebirobth commented 3 years ago

So then how should I add a song?

napstaa967 commented 3 years ago

So then how should I add a song?

i have tried adding custom songs before on the precompiled and it doesn't work idk why

only way for now is downloading source and compiling it yourself (on the website it has a guide for building)

i think if kade sees this he can say if there's a correct way of adding custom songs

Sebirobth commented 3 years ago

The thing is, I am using the source code, and compiling it myself

napstaa967 commented 3 years ago

try viewing what is going on in the cmd line

also make sure the chart has the correct player 1 and 2 names and that the characters do exist in the code

napstaa967 commented 3 years ago

aka open the chart (json file) in maybe notepad and find "player1": "name" and make sure the character name for both player1 and player2 is for a character that is coded ingame and that the character is inside characterlist.txt in preload/data

Sebirobth commented 3 years ago

Bro thank gosh. It was because in the json file of the chart the name of the songs and characters names werent set correctly to the ones I added in. So it worked, thanks a lot

isakube commented 3 years ago

close