ShadowMario / FNF-PsychEngine

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

why (its fixed) #13424

Closed JohnDoe3453 closed 1 year ago

JohnDoe3453 commented 1 year ago

Describe your bug here.

im following this tutorial to make a mod in fnf https://www.youtube.com/watch?v=4IuC8ti6_4o but then in 8:50 i put "lime test windows" and it gives me an error

Command Prompt/Terminal logs (if existing)

PS D:\FNF-PsychEngine-main> lime test windows
source/psychlua/HScript.hx:168: characters 89-94 : Type not found : SCall

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.

no i not

DetectiveBaldi commented 1 year ago

look at one of the dozen other issues about this

JohnDoe3453 commented 1 year ago

ok

JohnDoe3453 commented 1 year ago

i found some stuff: #13383

JohnDoe3453 commented 1 year ago

and its getting worse C:/HaxeToolkit/haxe/lib/SScript/4,1,0/src/macro/Macro.hx:10: characters 96-100 : SScript is not available, thanks to everyone for their support.

notmagniill commented 1 year ago

are you using the main branch? use the experimental branch, then rerun everything.

JohnDoe3453 commented 1 year ago

im on experimental

NexIsDumb commented 1 year ago

im on experimental

dont follow that tutorial its old af psych recently updated their setup method in the experimental, and since you want to use the experimental branch this is your case: tried to run setup-windows.bat (or if youre on mac / linux: setup-unix.sh)? They both can be found in the setup folder

JohnDoe3453 commented 1 year ago

ok

god now i have to uninstall haxe lmao

NexIsDumb commented 1 year ago

ok

god now i have to uninstall haxe lmao

huh why what version do u have it on?

JohnDoe3453 commented 1 year ago

4.2.5 ive installed it a lot of shit

NexIsDumb commented 1 year ago

did you install git aswell?

JohnDoe3453 commented 1 year ago

ye

NexIsDumb commented 1 year ago

also that version of haxe is fine

NexIsDumb commented 1 year ago

ye

then try to compile now

JohnDoe3453 commented 1 year ago

ok

NexIsDumb commented 1 year ago

alr im gonna check this issue in a bunch of hours since now i gtg continue to update me tho

JohnDoe3453 commented 1 year ago

ok

JohnDoe3453 commented 1 year ago

bro its not detecting lime

edit: nvm i fixed it

JohnDoe3453 commented 1 year ago

well ._.

C:/HaxeToolkit/haxe/lib/flixel-ui/2,5,0/flixel/addons/ui/FlxUICursor.hx:564: characters 9-11 : Warning : Potential typo detected (expected similar values are flixel.addons.ui.SortMethod.ID) D:\FNF-PsychEngine-experimental\export\release\windows\obj>setlocal enabledelayedexpansion Warning: Could not find Visual Studio VsDevCmd Missing HXCPP_VARS Error: Could not automatically setup MSVC

NexIsDumb commented 1 year ago

well ._.

C:/HaxeToolkit/haxe/lib/flixel-ui/2,5,0/flixel/addons/ui/FlxUICursor.hx:564: characters 9-11 : Warning : Potential typo detected (expected similar values are flixel.addons.ui.SortMethod.ID)

D:\FNF-PsychEngine-experimental\export\release\windows\obj>setlocal enabledelayedexpansion

Warning: Could not find Visual Studio VsDevCmd

Missing HXCPP_VARS

Error: Could not automatically setup MSVC

do you see in the source folder an a .exe? (should have downloaded in the final part of the setup)

JohnDoe3453 commented 1 year ago

no, i dont see a.exe

NexIsDumb commented 1 year ago

no, i dont see a.exe

so thats why are you on windows?

NexIsDumb commented 1 year ago

oh yes you are just saw then do this: download this file and put it in the folder of where you downloaded psych's repository and then run a command prompt on that folder: vs_Community.exe --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows10SDK.19041 -p

JohnDoe3453 commented 1 year ago

it dosent detect it

seriously i placed the file in the folder

NexIsDumb commented 1 year ago

it dosent detect it

seriously i placed the file in the folder

hm, okay then execute that .exe, don't click on any of the options to install workloads but instead go to the individual components tab and choose the following:

(ps its gonna take 4gb of space)

JohnDoe3453 commented 1 year ago

one question: if im on windows 11 then i need to install windows 11 sdk?

NexIsDumb commented 1 year ago

nop u dont need to im on w11 aswell if u want to know

JohnDoe3453 commented 1 year ago

ok

JohnDoe3453 commented 1 year ago

done, now what?

NexIsDumb commented 1 year ago

done, now what?

try to compile now (lime test windows)

JohnDoe3453 commented 1 year ago

uuhhh

C:/HaxeToolkit/haxe/lib/flixel-ui/2,5,0/flixel/addons/ui/FlxUICursor.hx:564: characters 9-11 : Warning : Potential typo detected (expected similar values are flixel.addons.ui.SortMethod.ID) D:\FNF-PsychEngine-experimental\export\release\windows\obj>setlocal enabledelayedexpansion Warning: Could not find Visual Studio VsDevCmd Missing HXCPP_VARS Error: Could not automatically setup MSVC

NexIsDumb commented 1 year ago

uuhhh

C:/HaxeToolkit/haxe/lib/flixel-ui/2,5,0/flixel/addons/ui/FlxUICursor.hx:564: characters 9-11 : Warning : Potential typo detected (expected similar values are flixel.addons.ui.SortMethod.ID)

D:\FNF-PsychEngine-experimental\export\release\windows\obj>setlocal enabledelayedexpansion

Warning: Could not find Visual Studio VsDevCmd

Missing HXCPP_VARS

Error: Could not automatically setup MSVC

wtf theres clearly something wrong in all of this, why cant it detect vsc?? hm at this point follow those psych installations tutorial you can find on youtube, but just the part where it installs the vsc components and tell me how it goes

JohnDoe3453 commented 1 year ago

ok

JohnDoe3453 commented 1 year ago

i think i know why is it fail

bcuz i installed the repo in A USB

so im gonna move into my ssd

NexIsDumb commented 1 year ago

i think i know why is it fail

bcuz i installed the repo in A USB

so im gonna move into my ssd

hm i never actually tried that but i dont think thats the problem try it though

JohnDoe3453 commented 1 year ago

ok i did and it gives me the same error

JohnDoe3453 commented 1 year ago

https://www.bing.com/videos/riverview/relatedvideo?q=compile+psych+engine&mid=863EC200ECB9439984AD863EC200ECB9439984AD&FORM=VIRE

im gona follow this video

NexIsDumb commented 1 year ago

https://www.bing.com/videos/riverview/relatedvideo?q=compile+psych+engine&mid=863EC200ECB9439984AD863EC200ECB9439984AD&FORM=VIRE

im gona follow this video

alr

NexIsDumb commented 1 year ago

remember though, just the vsc part

JohnDoe3453 commented 1 year ago

YOOOOO I DID IT

JohnDoe3453 commented 1 year ago

image

NexIsDumb commented 1 year ago

greatt :p

NexIsDumb commented 1 year ago

if you can put this issue as completed would be great

JohnDoe3453 commented 1 year ago

ok finally

dancingshadow1235 commented 2 months ago

how do i fix this C:/HaxeToolkit/haxe/lib/SScript/7,7,0/src/macro/Macro.hx:10: characters 96-100 : SScript is not available ive been trying to follow lots of methods but they dont work