Log In  

When loading PICO-8 on Windows 7, when the logged on user is not a local admin, I get this error:

Problem signature:
Problem Event Name: APPCRASH
Application Name: pico8.exe
Application Version: 0.0.0.0
Application Timestamp: 00000021
Fault Module Name: SDL2.dll
Fault Module Version: 2.0.2.0
Fault Module Timestamp: 531a9ec1
Exception Code: c0000005
Exception Offset: 000c2eee
OS Version: 6.1.7601.2.1.0.256.4
Locale ID: 2057
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt

Any idea? When you load the program does it need write access to somewhere, and if so, where?

P#30061 2016-10-05 05:31 ( Edited 2016-10-06 17:49)

It needs write access to \Users\Yourname\AppData\Roaming and creates \Users\Yourname\AppData\Roaming\pico-8 if it doesn't already exist.

You can specify a custom application data folder though:

pico8.exe -home mydat

If you run it from a folder with write access, and not as a local admin, does it still crash for you? Thanks for the report -- I don't have a working Windows 7 installation to try this on atm!

P#30076 2016-10-05 15:52 ( Edited 2016-10-05 19:53)

It still crashes, yes.

I've installed it locally, and as either a local or a network admin, it works. However, a network non-admin can't run it as it crashes.

The main difference may be that the AppData folder is roaming, and on the server not the local machine. It'll be at \server\username$\AppData rather than c:\users\username\appdata. However, it does create all the folders (carts, cdata, etc.) in the network AppData folder upon opening PICO-8 so that bit seems to work at least.

Actually, just before submitting this I tried a network non-admin with a local profile (so AppData is local, not on a network share) and it crashes the same way too.

Seems it's something to do with sdl2.dll?

P#30108 2016-10-06 06:28 ( Edited 2016-10-06 10:28)

Ahhh! I think it is!

The version of sdl2.dll bundled with PICO-8 is 2.0.2. 2.0.4 from the libsdl site lets it run, albeit in a blank window, rather than crash.

P#30109 2016-10-06 06:43 ( Edited 2016-10-06 10:43)

...and the blank window was because it was a virtual machine. On a real one, it seems to be working now.

So yeah, the fix is an updated dll :)

P#30110 2016-10-06 06:51 ( Edited 2016-10-06 10:51)

Great, the dll is updated for 0.1.9b so this will be fixed by accident. :>

(I'll also address the root cause of the crash in a future update -- i.e. when a writeable application data directory can not be found, it should still work in a limited capacity).

P#30127 2016-10-06 13:49 ( Edited 2016-10-06 17:49)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 08:09:08 | 0.015s | Q:13