The International Simutrans Forum

 

Author Topic: [r7060 SDL] Error with players ¿?  (Read 2142 times)

0 Members and 1 Guest are viewing this topic.

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1237
    • Simutrans-BLOG
  • Languages: ES
[r7060 SDL] Error with players ¿?
« on: February 04, 2014, 07:51:41 AM »

Gave me an error when I added virtual players.

See the attached file...

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9584
  • Languages: De,EN,JP
Re: [r7060 SDL] Error with players ¿?
« Reply #1 on: February 04, 2014, 11:05:28 AM »
Why do you run the windows exe on Unix???

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1237
    • Simutrans-BLOG
  • Languages: ES
Re: [r7060 SDL] Error with players ¿?
« Reply #2 on: February 04, 2014, 04:23:15 PM »

sim-winsdl.exe


I'm using wine since fedora... ;)

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5555
  • Languages: EN, NO
Re: [r7060 SDL] Error with players ¿?
« Reply #3 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.

Offline jameskuyper

  • *
  • Posts: 78
  • Languages: en
Re: [r7060 SDL] Error with players ¿?
« Reply #4 on: February 04, 2014, 06:55:37 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?

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5555
  • Languages: EN, NO
Re: [r7060 SDL] Error with players ¿?
« Reply #5 on: February 04, 2014, 07:47:13 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.

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.

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1237
    • Simutrans-BLOG
  • Languages: ES
Re: [r7060 SDL] Error with players ¿?
« Reply #6 on: February 04, 2014, 07:52:13 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.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9584
  • Languages: De,EN,JP
Re: [r7060 SDL] Error with players ¿?
« Reply #7 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.

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1237
    • Simutrans-BLOG
  • Languages: ES
Re: [r7060 SDL] Error with players ¿?
« Reply #8 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