Since x86 / x64 installers are almost same except binary, we can make universal binary. if install system is 32bit, 32bits would be installed. and if install system is 64bit, 64bit binary would be installed.
because not every users aware of difference of 32bit and 64bit and trying to install 64bit binary to 32bit machine will fail, we can at least make universal install binary to reduce confusion.
You welcome to update the NSIS script to do this.
Looks like installer is created after each build. so in order to create universal installer, building installer job should seperated. also, openrct2.org site should be updated(which will be easy compared to seperating installer job)
I will make PR if i succeed to create universal installer.
Is this really necessary? I barely see any universal installers around the internet for various games and programs.
A proper error for x86 users trying to install x86-64 is sufficient in my opinion.
I second @JarnoVgr. Personally I would even make the 64bit build's installer 64 bit (if it isn't already), so it can be used in 32bit-less version of Windows (or Wine64).
If, however, AVX2 or some other optimisation would offer significant performance boost, it would perhaps make sense to offer a bundle with it on and off. A lot of emulators back in the day shipped SSE2-enabled and i686 builds, but I'm not sure if this is viable for us now.
I'd say it would be very useful. It's a lot more user-friendly than sticking a warning in their face.
Is there a particular reason not to do it, @JarnoVgr @janisozaur ?
I see lots of users from my community suffering their builds "not working" because they downloaded 64bit installer at 32bit machine. they even think that openrct dropped support for 32bit machine.
warning would be not useful because they just don't know about 32/64bits. also they not native english speakers so english warning will be ineffective.
I can update the openrct2.org website to only offer the relevant OS + arch download to the user.
@JarnoVgr Please make sure that the user can still download other builds if he/she wishes to. It's okay if they're in a small font and the relevant build is in a big one.
@Gymnasiast I'll just change the 4 big OS download buttons to 1 and offer a link to "Alternative downloads" which leads to the actual download page of that build, which has all downloads listed. Thoughts? :)
We won't be dropping support for 32 bit builds. We may however, at some point, limit providing x86 builds to releases only, leaving building develop to the user, if they want to have it.
Maintaining x86 infrastructure will only become more cumbersome. We are 13 years past introduction of x86-64 and 10 years since it hit mainstream (Core 2).
@JarnoVgr sounds good, pretty much same as e.g. https://www.mozilla.org/en-US/firefox/channel/desktop/
Most helpful comment
We won't be dropping support for 32 bit builds. We may however, at some point, limit providing x86 builds to releases only, leaving building
developto the user, if they want to have it.Maintaining x86 infrastructure will only become more cumbersome. We are 13 years past introduction of x86-64 and 10 years since it hit mainstream (Core 2).
@JarnoVgr sounds good, pretty much same as e.g. https://www.mozilla.org/en-US/firefox/channel/desktop/