ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.15k stars 2.21k forks source link

Uh-oh #14851

Closed Dzmitry1234 closed 3 months ago

Dzmitry1234 commented 5 months ago

Describe your bug here.

IMG_20240526_212526

Command Prompt/Terminal logs (if existing)

openfl/media/Sound.hx (line 407)
backend/Paths.hx (line 442)
states/editors/ChartingState.hx (line 1438)
states/editors/ChartingState.hx (line 418)
flixel/ui/FlxButton.hx (line 521)
flixel/ui/FlxButton.hx (line 507)
openfl/events/EventDispatcher.hx (line 444)
openfl/display/DisplayObject.hx (line 1400)

Uncaught Error: Error loading sound from file: mods/DomashneeZadanie/songs//kolhoz/Voices.ogg
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-Psych…

> Crash Handler written by: sqirra-rng

Hi hello. I've tried to chart, but every time I write a song title, I always get this error.

What to do? Take off pants and run?

I hope this message went to you and not to the twitter admin, for example. Because I'm the first time use this)

Are you modding a build from source or with Lua?

Lua

What is your build target?

Windows

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

Like mod... You know?

TFLTV commented 5 months ago

uhh thats a weird path in the uncaught error part ("mods/DomashneeZadanie/songs//kolhoz/Voices.ogg")

wait did you put a / in the song name 💀

Dzmitry1234 commented 5 months ago

No I didn't put /.

God fucking keyboard... This is the fifth time my phone has stopped being a stove, I can now write normally.....

So that's it, what's wrong?

Dzmitry1234 commented 5 months ago

Well I guess that's it. I found the impossible glitch/hack or something.

And probably everyone forget about me lol.

xGNXRmgrZkM.jpg

Time to get back to work

TFLTV commented 5 months ago

Well I guess that's it. I found the impossible glitch/hack or something.

And probably everyone forget about me lol.

Time to get back to work

You got it to work?

TFLTV commented 5 months ago

Oh, i see, you didn't

Dzmitry1234 commented 5 months ago

I experimented and I think I found the cause.

The engine itself add /. No matter what I write, the result is the same.

And what to do about it I have no idea. I can at most cry about it

IMG_20240609_211209.jpg

IMG_20240610_211736.jpg

TFLTV commented 5 months ago

I experimented and I think I found the cause.

The engine itself add /. No matter what I write, the result is the same.

And what to do about it I have no idea. I can at most cry about it

Honestly i have no idea why this is happening

Dzmitry1234 commented 5 months ago

wUdTyYTSFfI.jpg

Well, then let's summon the others almighty gods (the creators of this engine) and find out

Dzmitry1234 commented 5 months ago

@ShadowMario MEDIC! IMG_20230818_114348.jpg

TFLTV commented 5 months ago

@ShadowMario MEDIC!

ShadowMario has mention notifs off.

Dzmitry1234 commented 5 months ago

So what should I do? Forget about fnf mod?(

Sad

cbQ3_zOD8eo.jpg

FinderFromMac commented 4 months ago

@Dzmitry1234 The .ogg file might be corrupted

Dzmitry1234 commented 4 months ago

@Dzmitry1234 The .ogg file might be corrupted

Is it?

Have you ever read all? For some reason file make second /

It probably means I need recode engine)

FinderFromMac commented 4 months ago

@Dzmitry1234 The .ogg file might be corrupted

Is it?

Have you ever read all? For some reason file make second /

It probably means I need recode engine)

It's normal that it makes a second "/"

The engine doesn't read it as "mod/songs//songname/Voices.ogg" but in the crash handler it writes it with an extra "/"

Dzmitry1234 commented 4 months ago

@Dzmitry1234 The .ogg file might be corrupted

Is it?

Have you ever read all? For some reason file make second /

It probably means I need recode engine)

It's normal that it makes a second "/"

The engine doesn't read it as "mod/songs//songname/Voices.ogg" but in the crash handler it writes it with an extra "/"

I'm back, had some business. + Tried re-recording the music. It didn't work

So... What should I do with it? Recode or use new engine?

FinderFromMac commented 4 months ago

I think it's best if you send me the mod zip file to test it?

FinderFromMac commented 4 months ago

Also, @Dzmitry1234 if you are modding, use a clean version of the engine

Dzmitry1234 commented 4 months ago

DomashneeZadanie.zip

If I also need show engie(psych), pls say.

Dzmitry1234 commented 4 months ago

Also, @Dzmitry1234 if you are modding, use a clean version of the engine

Here...?

FinderFromMac commented 4 months ago

DomashneeZadanie.zip

If I also need show engie(psych), pls say.

Show it.

FinderFromMac commented 4 months ago

"It appears that the song doesn't have any inst.ogg or voices.ogg! Try fixing its name in weeks/week 9" This has been popped up by the JS engine's anti-crash tool in free play, even in Story mode, it crashes EDIT: I forgot to add the crash.txt file

C:\hostedtoolcache\windows\haxe\4.2.5\x64\std/cpp/_std/sys/io/File.hx (Line 30) Song.hx (Line 137) StoryMenuState.hx (Line 326) StoryMenuState.hx (Line 255) flixel/FlxState.hx (Line 239) flixel/FlxGame.hx (Line 749) flixel/FlxGame.hx (Line 679) flixel/FlxGame.hx (Line 558) openfl/events/EventDispatcher.hx (Line 426) openfl/display/DisplayObject.hx (Line 1398)

Uncaught Error: [file_contents,assets/data/glory-hole/glory-hole-hard.json]

Maybe your custom week or song is broken?

FinderFromMac commented 4 months ago

14982 is also having a similar issue, but with the vocals

Dzmitry1234 commented 4 months ago

"It appears that the song doesn't have any inst.ogg or voices.ogg! Try fixing its name in weeks/week 9" This has been popped up by the JS engine's anti-crash tool in free play, even in Story mode, it crashes EDIT: I forgot to add the crash.txt file

C:\hostedtoolcache\windows\haxe\4.2.5\x64\std/cpp/_std/sys/io/File.hx (Line 30) Song.hx (Line 137) StoryMenuState.hx (Line 326) StoryMenuState.hx (Line 255) flixel/FlxState.hx (Line 239) flixel/FlxGame.hx (Line 749) flixel/FlxGame.hx (Line 679) flixel/FlxGame.hx (Line 558) openfl/events/EventDispatcher.hx (Line 426) openfl/display/DisplayObject.hx (Line 1398)

Uncaught Error: [file_contents,assets/data/glory-hole/glory-hole-hard.json]

Uh-huh.

But I added "z"(without song) & "v"(with song) in folder songs. And what do you mean "Try fixing its name in weeks/week 9"? I'm must put songs in the "weeks" folder?

FinderFromMac commented 4 months ago

In the data folder, the JSON is named "cocoa-hard" This is causing a major conflict between the actual cocoa song and the mod's data folder, (I renamed it "kolhoz")

I re-exported the Inst.ogg and voices.ogg files in Audacity, then replaced the old Ogg files with the re exported ones and it fixed the issue

Dzmitry1234 commented 4 months ago

In the data folder, the JSON is named "cocoa-hard" This is causing a major conflict between the actual cocoa song and the mod's data folder, (I renamed it "kolhoz")

I re-exported the Inst.ogg and voices.ogg files in Audacity, then replaced the old Ogg files with the re exported ones and it fixed the issue

I have an idea.

I'll just delete all weeks(1-7) and will be happy end :D

And yes, do I copy whole code(that you wrote) in Haxe or another program?

FinderFromMac commented 4 months ago

The code, no

Dzmitry1234 commented 4 months ago

The code, no

Okai

Thanks for help :D

FinderFromMac commented 4 months ago

The code, no

Okai

Thanks for help :D

Np