Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NT4 crashes with Sys_WritePIDFile #35

Open
leilei- opened this issue Jan 29, 2017 · 3 comments
Open

NT4 crashes with Sys_WritePIDFile #35

leilei- opened this issue Jan 29, 2017 · 3 comments
Labels

Comments

@leilei-
Copy link
Member

leilei- commented Jan 29, 2017

During startup, after "unable to get SHFolder.dll" it sends openarena.x86.exe to Dr. Watson with an illegal exception.

I believe it may be related to creating a PID file. Dummying out the Sys_WritePIDFile stuff in common.c lets the game start properly.

@leilei- leilei- added the bug label Jan 29, 2017
@sago007
Copy link
Member

sago007 commented Feb 2, 2017

Sys_WritePIDFile ultimately calls "GetCurrentProcessId" witch is available from Windows XP and later.

But can NT4 even handle OpenGL? I thought it had no 3d acceleration.

@The-Gig
Copy link

The-Gig commented Feb 2, 2017

If that function has been introduced in XP, then the bug does also happen in Win2000?

PS: Leilei showed on Discord channel a screenshot of Windows NT 3.51 running Unreal Tournament: http://toastytech.com/guis/misccutnt351.png (but also said OA will never run there instead)

@leilei-
Copy link
Member Author

leilei- commented Feb 2, 2017

But can NT4 even handle OpenGL? I thought it had no 3d acceleration.

It's where OpenGL support on Windows originated (with industrial-grade workstation hardware especially) and it does work with 3d acceleration there. What's notably absent from NT4 is full DirectX support (beyond partial DX3). which doesn't really matter as SDL can function without it.

If that function has been introduced in XP, then the bug does also hapen in Win2000?

Windows 2000 works fine, it doesn't create the pid file and moves along without crashing. Ditto for 95, 98 and ME.

(but also said OA will never run there instead)

Unreal got by with a software renderer and a lack of dependency for Winsock2- two things that are quite out of reach in OA's current scope and manpower.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants