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

Game does not launch on windows XP 32 bit #8593

Closed
AlexBassett opened this issue Jan 19, 2021 · 8 comments
Closed

Game does not launch on windows XP 32 bit #8593

AlexBassett opened this issue Jan 19, 2021 · 8 comments

Comments

@AlexBassett
Copy link

Version of OpenTTD

1.10.3 Stable release

Expected result

Game launch on windows xp sp3 32 bit

Actual result

0xc000001d error(https://pastebin.com/ef4eBJb5)

Steps to reproduce

  1. Install OpenTTD on WinXP 32bit
    1.5. Specific system specs - Pentium III 733mhz, 256mb ram, nvidia fx 5200 pci
  2. Attempt to launch game
@orudge
Copy link
Contributor

orudge commented Jan 19, 2021

This is probably related to SSE instructions or similar not being supported by your processor. Building the code from source with customisations to restrict the instruction set might be necessary. (This may potentially be in one of the libraries OpenTTD uses rather than OpenTTD itself.)

@James103
Copy link
Contributor

Additionally, you may not have enough RAM to run OpenTTD with all the features you are trying to run:

  • Windows XP SP3 requires 64 MB of RAM and recommends 128 MB of RAM for the OS (see documentation).
  • OpenTTD requires 64 MB of RAM and recommends 128 MB of RAM according to the system requirements, but I've found that OpenTTD actually requires upwards of 128 MB of RAM for itself just to launch, meaning that 256 MB is the recommended amount (this increases with larger maps, AI/GS, and NewGRF).

@orudge
Copy link
Contributor

orudge commented Jan 19, 2021

For what it's worth, I have just dug out an old Windows XP 32-bit ISO and installed it in a VM and was able to run OpenTTD 1.10.3 on it. The problem will almost certainly be with OpenTTD or its libraries requiring features your CPU doesn't support, unfortunately.

@James103
Copy link
Contributor

Should OpenTTD 1.11+ even still support Windows XP (and earlier)? Since April 2020, the market share for Windows XP is has been less than 1% (around 0.8%) according to TechSpot, Security Boulevard, and statcounter.

@LordAro
Copy link
Member

LordAro commented Jan 19, 2021

Usage is never the deciding factor - we support various forms of BSD, and a few others besides that probably have fewer users than XP even now. The fact that it's been out of support for 7 years on the other hand...

@orudge, feel like testing a recent nightly with your VM just to see if it even still works?

@orudge
Copy link
Contributor

orudge commented Jan 19, 2021

@orudge, feel like testing a recent nightly with your VM just to see if it even still works?

No, it doesn't. The .exe has a minimum version of 6.00 (Vista). I think, before cmake integration, we built OpenTTD with the v141_xp MSVC compiler (or an earlier version). We now just use the standard MSVC 2019 compiler, which doesn't support XP.

I don't see that this is a problem, to be honest. If we are able to continue supporting Vista without it being a major overhead, then fine, but making Windows 7 a practical baseline seems reasonable to me.

That's not to say that we should intentionally break compatibility with these older versions, and a dedicated user could still build for those older platforms manually, but we are not providing builds any more.

I think we'll need to go and update the descriptions on the web site...

@orudge orudge closed this as completed Jan 19, 2021
@AlexBassett
Copy link
Author

@orudge, feel like testing a recent nightly with your VM just to see if it even still works?

No, it doesn't. The .exe has a minimum version of 6.00 (Vista). I think, before cmake integration, we built OpenTTD with the v141_xp MSVC compiler (or an earlier version). We now just use the standard MSVC 2019 compiler, which doesn't support XP.

I don't see that this is a problem, to be honest. If we are able to continue supporting Vista without it being a major overhead, then fine, but making Windows 7 a practical baseline seems reasonable to me.

That's not to say that we should intentionally break compatibility with these older versions, and a dedicated user could still build for those older platforms manually, but we are not providing builds any more.

I think we'll need to go and update the descriptions on the web site...

Okay, That makes sense. I was essentially just using it as a ttd source port to avoid the dos weirdness, but I guess ill just find a legacy version.

@LordAro
Copy link
Member

LordAro commented Jan 19, 2021

https://cdn.openttd.org/openttd-releases/

This may help

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

No branches or pull requests

4 participants