View previous topic :: View next topic |
clray Human
Joined: 12 Sep 2008 Posts: 5
|
Posted: Fri Sep 12, 2008 7:52 pm Post subject: Too slow in wine |
|
|
|
I just checked out the TSE2 demo on Linux/wine 1.1.4 on a 2.8 GHz P4 with 1GB RAM, GeForce4 MX 440 AGP. It seems more stable than TSE1 (which crashes every so often after combat), but sadly, all combat scenes run like slide shows (TSE1 runs very smoothly). Switching off all graphics effects that could be switched off didn't help. Can the performance be improved somehow or is there no hope without hardware upgrade? |
|
Back to top |
|
|
Mark Pay Site Admin

Joined: 09 Aug 2006 Posts: 626 Location: Margate, UK
|
Posted: Fri Sep 12, 2008 10:13 pm Post subject: |
|
|
|
Hi clray. Unfortunately I don't know enough about the emulation process to know what might be causing the slowdown, and subsequently whether anything can be done to fix it. The game was developed on a similar spec machine, but in native Windows XP.
There are two potential software improvements that I may be able to include in future versions.
Clickteam, who make the Multimedia Fusion 2 software that the game is built upon, have both a Java runtime and a proper, graphics hardware accelerated version of the main runtime in late beta.
Unfortunately there is no indication when these may see a final ( hopefully stable ) release.  |
|
Back to top |
|
|
clray Human
Joined: 12 Sep 2008 Posts: 5
|
Posted: Sun Sep 14, 2008 12:39 am Post subject: |
|
|
|
Mark, thanks for the quick reply.
I managed today to nail down this awful performance to the routine DrawTextExA, which is used to render all text in the game. Once I replaced it with a null-op in wine source code, everything started running smoothly. All text also completely disappeared, which is a minor flaw in this surgical strike...
Anyway, as it stands, I am hopeful that it can be fixed soon, either by myself or by wine developers. |
|
Back to top |
|
|
Mark Pay Site Admin

Joined: 09 Aug 2006 Posts: 626 Location: Margate, UK
|
Posted: Sun Sep 14, 2008 9:43 am Post subject: |
|
|
|
That's great that you've been able to debug the issue with the wine source.
I'm not aware of there being anything unusual about the text rendering in the game. It should be in the Arial font too, without fancy frills like anti-alisasing.
I'd like the game to be runnable under wine, so please let me know if there's anything I can do to help you. Any fix for this issue would presumably help other games developed in MMF2 as well. |
|
Back to top |
|
|
clray Human
Joined: 12 Sep 2008 Posts: 5
|
|
Back to top |
|
|
Mark Pay Site Admin

Joined: 09 Aug 2006 Posts: 626 Location: Margate, UK
|
Posted: Mon Sep 15, 2008 9:35 am Post subject: |
|
|
|
The collaborative process for open-source projects is very interesting.
Instinctively the idea of letting that many cooks into the kitchen sounds crazy, but evidently it works, and works quite well.
Thanks for looking into this issue. If it turns out that a fix is not possible, I can at least let other wine users know of the problem. |
|
Back to top |
|
|
clray Human
Joined: 12 Sep 2008 Posts: 5
|
Posted: Sat Sep 20, 2008 2:36 pm Post subject: |
|
|
|
I've debugged it further and found a rather easy workaround in the process. Switching the video driver from nvidia to fbdev gives acceptable performance. |
|
Back to top |
|
|
Mark Pay Site Admin

Joined: 09 Aug 2006 Posts: 626 Location: Margate, UK
|
Posted: Sun Sep 21, 2008 6:31 pm Post subject: |
|
|
|
That's good news, thanks clray. |
|
Back to top |
|
|