Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

getting an error when launching "failed to execute script playscii" with no other info, currently trying to fix this myself
I've tried reinstalling, restarting and updating windows 10
also tried cloning source, but for some reason it doesn't let me

doesn't look like there's anything of note in the console.log either, Idk if there's any other crash logs or where to find them
```

Playscii v9.17.1

Loading config from C:\Users\theco\AppData\Local\Playscii/playscii.cfg...

Config loaded.

Detecting hardware...

  CPU: Intel64 Family 6 Model 158 Stepping 9, GenuineIntel

  GPU: NVIDIA Corporation - GeForce GTX 1060 3GB/PCIe/SSE2

  OpenGL detected: 4.6.0 NVIDIA 431.07

  GLSL detected: 4.60 NVIDIA

  Vertex Array Object support found.

  Maximum supported texture size: 32768 x 32768

  Detected screen resolution: 1920 x 1080, window: 1280 x 720

Detecting software environment...

  OS: Windows-10-10.0.19041-SP0

  Python: 3.8.10 (tags/v3.8.10:3d8993a, May  3 2021, 11:34:34) [MSC v.1928 32 bit (Intel)] (32bit)

  Modules: PySDL2 0.9.7, numpy 1.20.3, PyOpenGL 3.1.5, appdirs 1.4.4, PIL 8.2.0

  SDL: 2.0.10 hg-12952:bc90ce38f1e2, SDLmixer: 2.0.4

Loaded key binds from C:\Users\theco\AppData\Local\Playscii/binds.cfg

```

oh the code snippet didn't work like I expected, idk how to do that on itch

That "failed to execute script" error is odd, because according to your log Playscii is running, those messages are printed by the program's initialization.

How exactly are you launching Playscii? Are you double clicking playscii.exe, running the exe from the command line, launching it from a shortcut, launching it from the itch.io client app, or something else?

(1 edit)

I've done those, but did it again to test: Double click on it, run as administrator, cmd > playscii.exe, clicked taskbar shortcut, tho I don't have it on itch client

none of these seemed to produce a different log

another weird thing is this wasn't my first time using it, in fact I had just about finished a commission using it lol, I'm glad it didn't interfere with that. I didn't even restart my computer in between the crash and the last use, so I have no idea what could have broken it, I even tried clearing the files in appdata, and reinstalling.

Maybe try checking your Windows Defender threat detection history and see if it's preventing or quarantining something the program needs? I'm pretty sure 9.17.1b should be in the clear detection-wise, but sometimes when Defender snipes a program it thinks is bad, it results in weird errors. That's a not-quite-wild guess though.

I'm actually going to release 9.18 tomorrow, which is built with a totally different version of Python, so you could try that:

http://vectorpoem.com/playscii/playscii_win32-9.18.zip

(windows might complain that you're downloading a file from a non-HTTPS site)

sorry i completely forgot to respond, but I tried this some days ago

I was able to get the version you linked running after going through some menus on windows defender, and it worked like normal after that. Weird thing is that the previous one didn't show up for any viruses when i tried it. Even weirder is that today I tried to recheck my findings, and it started working again.

So it's definitely not a problem with the program, and if I had to guess, I would say it had something to do with windows defender, and maybe the machine learning virus detection that originally flagged your new build, but idk.

anyways thanks for the help, I guess virus detection isn't too easy on indie software

Thanks for following up, I'm glad it's working in at least some form. As far as I know Windows Defender doesn't use any ML for virus detection, it relies on signature database files the way most AV programs have for years. But the UI around when it has and hasn't flagged something has always been a bit opaque and not predictable from system to system.

(For anyone else coming across this comment, I didn't end up doing the official 9.18 release then obviously. Still gotta work out some stuff with the mac build.)

https://answers.microsoft.com/en-us/protect/forum/all/overly-eager-heuristics-fo...

looked up the code I got for that version and I got this, which said it was a machine learning detection.

This all seems to be a one off thing tho, as I didn't find anyone else having this issue with your program when I searched, so I guess it doesn't matter anyway.