ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.12k stars 2.19k forks source link

Friday night funkin character problem #11892

Closed KaptainChris closed 1 year ago

KaptainChris commented 1 year ago

Describe your problem here.

I am using the psych engine and when I go into chart editor the character, I am making is working fine, but when I add it to a story mode song in Freeplay it just goes into this java scrip thing that I don't know how to fix it! I don't know anything about the modding source and target so ignore that if you see it! image

Are you modding a build from source or with Lua?

Lua

What is your build target?

Windows x64

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

No response

KaptainChris commented 1 year ago

I am new to modding the psych engine, so everything is new to me and difficult! If you need more information, say it below in a comments!

TheKitBoi commented 1 year ago

missing image file tell us where

KaptainChris commented 1 year ago

Where could I find it?

KaptainChris commented 1 year ago

I have added the image of the character in the mod character section, assets, character

KaptainChris commented 1 year ago

I feel like I added it everywhere possible! The assets outside of the mods folder and inside the mods folder!

KaptainChris commented 1 year ago

@TheKitBoi where should I go to not have the missing image file?

TheKitBoi commented 1 year ago

from the character you made

KaptainChris commented 1 year ago

@TheKitBoi I think I found the problem and it's with the .json file! I saved it from the character editor and added it on to the characters in the correct place it's just that there is a problem with the file, and I don't know if you need to save your character a different place. I can't talk right now because I have to do other things, but I will ping you when I get back and I am ready to do more things. You can leave your answer here and wait for me to speak.

TheKitBoi commented 1 year ago

is the image file name same as the json input

KaptainChris commented 1 year ago

@TheKitBoi for some reason when i get out of the tabs in the files and go back the capital letters change to the little l when I had it to this L

BernardoGP4504 commented 1 year ago

I have added the image of the character in the mod character section, assets, character

The image is supposed to be in mods/images/characters or assets/shared/images/characters

KaptainChris commented 1 year ago

Ok I will try to do that!

KaptainChris commented 1 year ago

@BernardoGP4504 every time I try to rename the image inside of mods/images/characters it keeps on renaming itself to have a capital letter on it when it's not supposed to! Do I have to remake the sprite and rename it something else?

BernardoGP4504 commented 1 year ago

@BernardoGP4504 every time I try to rename the image inside of mods/images/characters it keeps on renaming itself to have a capital letter on it when it's not supposed to! Do I have to remake the sprite and rename it something else?

First rename it without the first letter then put the letter back

BernardoGP4504 commented 1 year ago

it keeps on renaming itself to have a capital letter on it when it's not supposed to!

Also that's a issue from Windows itself

KaptainChris commented 1 year ago

@BernardoGP4504 it only works in when I am charting a song from the menu, but when I go to the actual song in Freeplay it doesn't work! Is that a bug or is that how it works?

BernardoGP4504 commented 1 year ago

@BernardoGP4504 it only works in when I am charting a song from the menu, but when I go to the actual song in Freeplay it doesn't work! Is that a bug or is that how it works?

Wdym? The character doesn't appear in the song or the character doesn't work?

TheKitBoi commented 1 year ago

@BernardoGP4504 it only works in when I am charting a song from the menu, but when I go to the actual song in Freeplay it doesn't work! Is that a bug or is that how it works?

did u even save the json

KaptainChris commented 1 year ago

@TheKitBoi I don't know if I saved it correctly, but I saved it to my computer and it's on here and it's in files! I don't know if I have to save it a different way if there is tell me!

TheKitBoi commented 1 year ago

which location

BernardoGP4504 commented 1 year ago

@TheKitBoi I don't know if I saved it correctly, but I saved it to my computer and it's on here and it's in files! I don't know if I have to save it a different way if there is tell me!

The json has to go in mods/characters But the spritesheet and xml goes in mods/images/characters

KaptainChris commented 1 year ago

@BernardoGP4504 I did exactly that and took it away from unneeded places and it still doesn't work. The files are correctly renamed and everything and it only works in chart editor and not in Freeplay

BernardoGP4504 commented 1 year ago

@BernardoGP4504 I did exactly that and took it away from unneeded places and it still doesn't work. The files are correctly renamed and everything and it only works in chart editor and not in Freeplay

But what do you mean by "doesn't work"?

KaptainChris commented 1 year ago

@BernardoGP4504 It still shows the same picture as above (the JavaScript logo) in normal Freeplay mode while in the chart editor the sprite works really well! this is psych engine by the way if it changes anything

TheKitBoi commented 1 year ago

then did you even save the chart

TheKitBoi commented 1 year ago

also send the script code

KaptainChris commented 1 year ago

@TheKitBoi I didn't really code I looked at tutorials about making a mod without code and I used xml sheets

BernardoGP4504 commented 1 year ago

@TheKitBoi I didn't really code I looked at tutorials about making a mod without code and I used xml sheets

He meant the json file

KaptainChris commented 1 year ago

@TheKitBoi

https://user-images.githubusercontent.com/125098984/218564884-b52fc8e6-f8c6-43a3-8df7-eb5bf41ac0a4.mp4

TheKitBoi commented 1 year ago

rename .json to .txt and send it here

BernardoGP4504 commented 1 year ago

@TheKitBoi FlowLab.-.Notepad.2023-02-13.15-11-56.mp4

Maybe try removing the loop animations (since you're not using them) and make sure the XML names on the json are right

KaptainChris commented 1 year ago

@TheKitBoi How do I do that because for me it doesn't work?

BernardoGP4504 commented 1 year ago

@TheKitBoi How do I do that because for me it doesn't work?

Create a copy of the json (Ctrl+C then Ctrl+V) then make sure you have "show file extensions" enabled then rename .json on the file to .txt then send it here

KaptainChris commented 1 year ago

It is not working for me to get the extension because I need something I don't have on the computer :(

BernardoGP4504 commented 1 year ago

It is not working for me to get the extension because I need something I don't have on the computer :(

Just go in the file explorer settings and enable file extensions from there

KaptainChris commented 1 year ago

@BernardoGP4504 @TheKitBoi YOOO I DID IT :DDDDDDD There you go! FlowLab - Copy.txt

TheKitBoi commented 1 year ago

i may need the image files for easier fixing

KaptainChris commented 1 year ago

@TheKitBoi I can show you a video of the XML files so you can see, but I can't share it to you directly

TheKitBoi commented 1 year ago

FlowLab.txt here rename it to .json

KaptainChris commented 1 year ago

Still the same product on Freeplay mode. image

KaptainChris commented 1 year ago

@TheKitBoi while it works in charting mode image

TheKitBoi commented 1 year ago

show the chart your using

KaptainChris commented 1 year ago

What do you mean @TheKitBoi

KaptainChris commented 1 year ago

It is the "test" song, and I am using psych engine to chart this mod.

TheKitBoi commented 1 year ago

then did u even save the chart

KaptainChris commented 1 year ago

No

KaptainChris commented 1 year ago

Was I supposed to for it to work?

TheKitBoi commented 1 year ago

you need to save the chart to get the char working

TheKitBoi commented 1 year ago

yes save the chart

KaptainChris commented 1 year ago

Well, I was looking for the animations to work.