The International Simutrans Forum

Development => Bug Reports => Topic started by: Yona-TYT on February 04, 2014, 07:51:41 AM

Title: [r7060 SDL] Error with players ¿?
Post by: Yona-TYT on February 04, 2014, 07:51:41 AM

Gave me an error when I added virtual players.

See the attached file...
Title: Re: [r7060 SDL] Error with players ¿?
Post by: prissi on February 04, 2014, 11:05:28 AM
Why do you run the windows exe on Unix???
Title: Re: [r7060 SDL] Error with players ¿?
Post by: Yona-TYT on February 04, 2014, 04:23:15 PM

sim-winsdl.exe


I'm using wine since fedora... ;)
Title: Re: [r7060 SDL] Error with players ¿?
Post by: Ters on February 04, 2014, 05:21:16 PM
I think Simutrans would feel more at home on Linux if it was made for Linux. Wine adds another layer where things may go wrong. It's not like Wine knows how Windows behaves, or is supposed to behave.
Title: Re: [r7060 SDL] Error with players ¿?
Post by: jameskuyper on February 04, 2014, 06:55:37 PM
Quote from: Ters on February 04, 2014, 05:21:16 PM
It's not like Wine knows how Windows behaves, or is supposed to behave.

I'm confused by that comment. I thought that the whole purpose of wine was to allow programs designed and built to run under Windows to run under Linux, instead, with (to the greatest extent possible) the same behavior. Even attempting to achieve that goal would seem to require a great deal of knowledge about "how Windows behaves". If wine doesn't know that, what does it know?
Title: Re: [r7060 SDL] Error with players ¿?
Post by: Ters on February 04, 2014, 07:47:13 PM
Quote from: jameskuyper on February 04, 2014, 06:55:37 PM
I'm confused by that comment. I thought that the whole purpose of wine was to allow programs designed and built to run under Windows to run under Linux, instead, with (to the greatest extent possible) the same behavior.

That's the purpose, yes.

Quote from: jameskuyper on February 04, 2014, 06:55:37 PM
Even attempting to achieve that goal would seem to require a great deal of knowledge about "how Windows behaves". If wine doesn't know that, what does it know?

Windows is closed source. How it works is known only to Microsoft. Wine for the most part guesses as to how Windows works. While much of how Windows is supposed to behave is documented, not everything is, and some parts don't always behave as they should due to not only bugs (which some programs depend on), but also compatibility hacks put into Windows to allow programs depending on old Windows behaviour (including bugs) to continue to work. I have encountered programs that won't run on Wine. At least one of them appears to be due to a bug in the program that Windows somehow silently ignores, while another causes a crash on Windows Vista/7 that doesn't happen on XP and earlier.
Title: Re: [r7060 SDL] Error with players ¿?
Post by: Yona-TYT on February 04, 2014, 07:52:13 PM

Quote from: Ters on February 04, 2014, 05:21:16 PM
I think Simutrans would feel more at home on Linux if it was made for Linux. Wine adds another layer where things may go wrong. It's not like Wine knows how Windows behaves, or is supposed to behave.
Life outside easier if installation packages are released ... (rpm, dev, tgz)
For the moment I find it much easier to use wine.
Title: Re: [r7060 SDL] Error with players ¿?
Post by: prissi on February 04, 2014, 11:41:30 PM
Simutrans saw its first release on Linux though ... the problem is that any distribution uses its own format (and requirements). Also 32 bit rpms clash on 64 bit (not to mention ARM and other architectures). The only way would be to build it from scratch, which would require some time and downloads from the person involved.

The problem is the 16 color mode, which is not even an official mode since Windows 7 (although still supported in Windows 8.1). Hence, if you are using wine, then use the GDI version.
Title: Re: [r7060 SDL] Error with players ¿?
Post by: Yona-TYT on February 05, 2014, 02:45:34 AM

I'm afraid I'll have to switch to windows to make a good report this.  :police:
It is more difficult in linux