The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Simutrans-Extended bug reports => Topic started by: Matthew on December 16, 2020, 01:03:13 AM

Title: 64-bit Windows builds are misnamed
Post by: Matthew on December 16, 2020, 01:03:13 AM
Steps to reproduce

1. Download Simutrans-Extended-Complete (http://bridgewater-brunel.me.uk/downloads/nightly/packages/Simutrans-Extended-Complete.zip) to a Windows system
2. Unpack (in a different directory to any existing Simutrans installation)
3. If you have an existing installation, open the newly-created \simutrans\config\simu.tab and change "singleuser_install = 0" to "= 1"
4. Run Simutrans-Extended-64.exe (you may need to authorize it with Windows Defender). It displays build #9499 in the title-bar. Close this instance of Simutrans.
5. Run Simutrans-Extended.exe. It displays build #c4cd41f in the title-bar.
6. Load a savegame greater than 4GB.
7. The savegame loads and plays correctly.

Expected outcome: Both builds should display the commit hash of the latest B-B build, in this case #c4cd41f. Simutrans-Extended.exe should not run the large savegame, because it should be a 32-bit build.

Probable cause: The 64-bit Windows builds are now being created as Simutrans-Extended.exe and Simutrans-Extended-64.exe is not the latest version (it is probably still #cecd155 from before the Great Merge). I do not understand at all why this is happening though, from my very limited understanding of the Makefile.

If a decision is taken to change the name of the 64-bit Windows executable, then players will need to change batch files & desktop shortcuts and the community will need to update installation instructions (and perhaps Steam scripts?).
Title: Re: 64-bit Windows builds are misnamed
Post by: Roboron on December 16, 2020, 10:47:28 AM
Wait a moment, is the executable provided in http://bridgewater-brunel.me.uk/downloads/nightly/windows/ (http://bridgewater-brunel.me.uk/downloads/nightly/windows/) 32 bits or 64 bits?
Title: Re: 64-bit Windows builds are misnamed
Post by: jamespetts on December 17, 2020, 10:11:39 PM
Thank you for noting this. I think that I have resolved the issue with the automatic updater by providing an aliased version called Simutrans-Extended-64.exe - I should be grateful if people could confirm whether this works.

To answer Robron's question, Simutrans-Extended.exe is now a 64 bit build.
Title: Re: 64-bit Windows builds are misnamed
Post by: Matthew on December 18, 2020, 03:51:43 AM
Thank you for noting this. I think that I have resolved the issue with the automatic updater by providing an aliased version called Simutrans-Extended-64.exe - I should be grateful if people could confirm whether this works.

As of now (before the nightly of 2020-12-18) the Nightly Updater fails. But maybe I need to wait for the nightly build.