MrSapps / alive

EFFORTS HAVE NOW MOVED TO https://github.com/AliveTeam/alive_reversing Unofficial open source implementation of ALIVE engine that powers Oddworld Abes Oddysee and Oddworld Abes Exoddus.
MIT License
104 stars 9 forks source link

Fail to start when launched from UNC path #84

Open BiatuAutMiahn opened 7 years ago

BiatuAutMiahn commented 7 years ago

Hello, just stumbled upon this after seeking a DDV player, and i must say, brilliant work! However, the build's don't work, here is the output:

[ENTER] main
SdlAudioWrapper::SetAudioSpec [I] SetAudioSpec samples: 1024 freq 44100
[ENTER] SdlAudioWrapper::Open
SdlAudioWrapper::Open [I] Trying default audio device
[EXIT]  SdlAudioWrapper::Open
[ENTER] Actions::Actions
[EXIT]  Actions::Actions
GameFileSystem::InitBasePath [I] basePath is \\InfinitySrv\massData\Temp\OddStuffz\ALIVE-0.1.0-win32\
[ENTER] Engine::InitSubSystems
OpenGLRenderer::InitGL [I] GL settings r 8 g 8 b 8 bufferSize 24 double buffer 1
[EXIT_EXCEPTION] Engine::InitSubSystems
[ENTER] Engine::~Engine
assertOnGlError [E] GL ERROR: 1282, before glDeleteProgram(mShader)
Assertion failed: 0 && "GL ERROR", file C:\alive\src\openglrenderer.cpp, line 20

And your blog is inaccessible

MrSapps commented 7 years ago

Not sure what the cause of that GL error is, but you can pass the command line -directx9 and see if directx works?

MrSapps commented 7 years ago

Hmm actually that GL error is probably just a bad path on an exception, since you seem to have a debug build try setting break on exception to see where/what exception is being thrown? I think it would be logged out but the assert prevents it getting that far due to openglrenderer destructor issue.

Edit: You say "builds" don't work, so if this is an appveyor build try the release build to get past the assert to see the real error.

BiatuAutMiahn commented 7 years ago

you mentioned path, and I was running it on a network drive, put it on my desktop and runs without issues. UNC support?

MrSapps commented 7 years ago

Ah yes UNC probably doesn't work. I'll try to repro when I get time.