FNF-CNE-Devs / CodenameEngine

awesome fnf engine :D
Apache License 2.0
230 stars 159 forks source link

Bug Report: process creation failure: attrib +h .temp #291

Closed StripeAndFlame closed 2 months ago

StripeAndFlame commented 2 months ago

Every version of the build i try and start it gives me the message "process creation failure: attrib +h .temp" Can ya'll help I'm on windows

PetscopF commented 2 months ago

Every version of the build i try and start it gives me the message "process creation failure: attrib +h .temp" Can ya'll help I'm on windows

Perhaps it's some of your hardware specs? Even your Windows version could be something part of it.

NexIsDumb commented 2 months ago

Okay so basically, this is something that I fixed in the Dev version that we'll release once the big update is done What that line (which was crashing for many people) did is basically turn the .temp folder into a secret one for windows OS; Now in the new version we added the safe method, so even if its gonna fail putting it as hidden it wont crash but I assume the main threat of it not becoming hidden was basically because of antiviruses Either way, if you want it fixed before the new update you can just modify the source, edit this line turning it into:

#if windows
try new funkin.backend.utils.native.HiddenProcess("attrib +h .temp")
catch(e) Logs.warn('Failed to set hidden attribute on .temp folder');
#end
StripeAndFlame commented 2 months ago

Ok but what if you get a build from actions, is there a way to fix if you have a build from there?

PetscopF commented 2 months ago

Ok but what if you get a build from actions, is there a way to fix if you have a build from there?

In that case, then no. Action builds are already compiled, so you cannot change the source code through them.

NexIsDumb commented 2 months ago

Ok but what if you get a build from actions, is there a way to fix if you have a build from there?

In that case, then no. Action builds are already compiled, so you cannot change the source code through them.

Yeah, unfortunately you can't unless you pick an old version of the action builds; Just wait a bit if you can't edit the source, the update is not too much far away either way