ShadowMario / FNF-PsychEngine

Engine originally used on Mind Games mod
Apache License 2.0
1.16k stars 2.23k forks source link

Compiling Issue #2 #15856

Open derpy369 opened 4 weeks ago

derpy369 commented 4 weeks ago

Describe your bug here.

I have compiled the game and made a few tweaks to the source code, but now, when I do lime test cpp, it says i do not have the project.xml file even though i have the project.xml file in the folder, FNF-PsychEngine-main. Can someone please help??

Screenshot 2024-11-03 165550

Command Prompt/Terminal logs (if existing)

"Error: You must have a "project.xml" file or specify another valid project file when using the 'test' command"

Are you modding a build from source or with Lua?

Source

What is your build target?

Windows

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

Yes, I edited Main.hx and changed skipSplash to false.

CrusherNotDrip commented 4 weeks ago

Make sure your cmd prompt/powershell or whatever is running in the same folder the Project.xml is in when running lime test cpp

DetectiveZ5 commented 4 weeks ago

Describe your bug here.

I have compiled the game and made a few tweaks to the source code, but now, when I do lime test cpp, it says i do not have the project.xml file even though i have the project.xml file in the folder, FNF-PsychEngine-main. Can someone please help?? Screenshot 2024-11-03 165550

Command Prompt/Terminal logs (if existing)

"Error: You must have a "project.xml" file or specify another valid project file when using the 'test' command"

Are you modding a build from source or with Lua?

Source

What is your build target?

Windows

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

Yes, I edited Main.hx and changed skipSplash to false.

Hi there! Had a common problem like this from another person too, but not solved. Had to research alot to solve this common problem. Can you try one of the following:

  1. Since it did say "Error: You must have a "project.xml" file or specify another valid project file when using the 'test' command" and from seeing your screenshot that it's named 'Project.xml', can you delete and recreate the file again naming it 'project.xml' (copy the contents of the file too!), Windows doesn't let you really rename the file if it's already that name, even if you're just gonna lowercase a single letter.

Make sure your cmd prompt/powershell or whatever is running in the same folder the Project.xml is in when running lime test cpp

  1. Also from this comment, try to use lime test cpp

  2. If the things above still doesn't work, try to use lime test windows -project project.xml, replacing the project.xml with the actual filepath, like lime test windows -project C:\Users\YourUsername\Documents\FNF-PsychEngine-main\project.xml

  3. If things still doesn't work out, try to re-install haxe and all of the libraries and the Visual Studio Individual Components (Use the .bat files located in the setup folder)