Thoughts about 1.2

General feedback and discussion of the game.

Moderator: Forum Moderators

Kirdan
Posts: 104
Joined: October 25th, 2004, 11:44 am

Thoughts about 1.2

Post by Kirdan »

Ok, I downloaded and compiled 1.2.1 and have played a few games.

First... it seems to me the AI is easier to beat nearing too easy. (ok.. maybe I'm just getting better).

But worse. The game has become annoyingly slow on my 1.4Gz Pentium M and the new graphics is (although nice) much harder to se XP levels on.
I suspect the more detailed graphics is part of the reason for the slow updates.

I much say I prefer the old 1.0/1.1 graphics. To me wesnoth is a strategy game. I'm used to playing boardgames with small cardboard pieces, It's not that important that it is "artwork", just as long as you clearly can se the information and the games moves rapidly.

Maybe it's time to offer graphic themes for units and map, like FreeCiv does?
Tux2B
Posts: 1217
Joined: March 29th, 2005, 8:18 pm
Location: Toulouse (South of France)
Contact:

Post by Tux2B »

I think that the main problem is that it is slow on Windows, while being a 2D game it shouldn't be that slow.
As most people use Windows, it would be a good thing if the code was optimized. And besides, I don't think that they are the graphics that slow the game down.
"There are two kind of campaign strategies : the good and the bad ones. The good ones almost always fail because of unforeseen consequences that make the bad ones succeed." -- Napoleon
Kirdan
Posts: 104
Joined: October 25th, 2004, 11:44 am

Post by Kirdan »

I'm not on Windows. I'm on Ubuntu Dapper.
Tux2B
Posts: 1217
Joined: March 29th, 2005, 8:18 pm
Location: Toulouse (South of France)
Contact:

Post by Tux2B »

In that case Wesnoth really needs optimization, IMHO.
"There are two kind of campaign strategies : the good and the bad ones. The good ones almost always fail because of unforeseen consequences that make the bad ones succeed." -- Napoleon
torangan
Retired Developer
Posts: 1365
Joined: March 27th, 2004, 12:25 am
Location: Germany

Post by torangan »

Don't worry, performance is rather high on the priority list those days. But especially for Linux builds, an important question is which options were used to compile it and which compiler version. You can't compare binaries there easily.
WesCamp-i18n - Translations for User Campaigns:
http://www.wesnoth.org/wiki/WesCamp

Translators for all languages required: contact me. No geek skills required!
Gus
Posts: 520
Joined: May 16th, 2005, 5:40 pm
Location: France

Post by Gus »

If OpenGL became used instead of SDL, this would certainly provide a good speed-up. I really am excited about this =)
Hard work may pay off in the long run, but laziness always pays off right away.
Tux2B
Posts: 1217
Joined: March 29th, 2005, 8:18 pm
Location: Toulouse (South of France)
Contact:

Post by Tux2B »

But then, your graphic card would need to be compatible enough with Linux to have 3D acceleration.
And it isn't the case with my computer :(
"There are two kind of campaign strategies : the good and the bad ones. The good ones almost always fail because of unforeseen consequences that make the bad ones succeed." -- Napoleon
Gus
Posts: 520
Joined: May 16th, 2005, 5:40 pm
Location: France

Post by Gus »

I'm no expert, but it could maybe work roughly as fast as with SDL, using software OpenGL.
Hard work may pay off in the long run, but laziness always pays off right away.
torangan
Retired Developer
Posts: 1365
Joined: March 27th, 2004, 12:25 am
Location: Germany

Post by torangan »

No, OpenGL on software will be slower then SDL as it does updates of the whole screen instead of sections. If done by the graphics card this is faster, done in software it'll be slower.
BTW I wouldn't consider the new graphics the sole source of slowdown. Rather the expansion of the possible options for WML. There are way more variables to influence the engine those days which require some processing power as well.
WesCamp-i18n - Translations for User Campaigns:
http://www.wesnoth.org/wiki/WesCamp

Translators for all languages required: contact me. No geek skills required!
Gus
Posts: 520
Joined: May 16th, 2005, 5:40 pm
Location: France

Post by Gus »

torangan wrote:No, OpenGL on software will be slower then SDL as it does updates of the whole screen instead of sections. If done by the graphics card this is faster, done in software it'll be slower.
I'm not sure i understand correctly what you say, so forgive me if i'm wrong.
- OpenGL with any video card bought in the last 5 years would be significantly faster than SDL now.
- software OpenGL would be slow. You seem to say it will be slower than SDL, i'm not sure about that, but as i said before, i don't know much about this from a programming standpoint, so you may very well be right.
BTW I wouldn't consider the new graphics the sole source of slowdown.
It's not about the "new" graphics, but the fact that SDL is very resource-consuming.
Hard work may pay off in the long run, but laziness always pays off right away.
User avatar
Eleazar
Retired Terrain Art Director
Posts: 2481
Joined: July 16th, 2004, 1:47 am
Location: US Midwest
Contact:

Re: Thoughts about 1.2

Post by Eleazar »

Kirdan wrote:But worse. The game has become annoyingly slow on my 1.4Gz Pentium M and the new graphics is (although nice) much harder to se XP levels on.
Please explain.
Feel free to PM me if you start a new terrain oriented thread. It's easy for me to miss them among all the other art threads.
-> What i might be working on
Attempting Lucidity
torangan
Retired Developer
Posts: 1365
Joined: March 27th, 2004, 12:25 am
Location: Germany

Post by torangan »

OpenGL with a halfways recent graphics card can be faster IF you've got a driver support the 3D part. On Linux, FreeBSD or others there's no guarantee for that.
Without a good driver it'll most likely be slower then SDL because the rendering methods which are efficient with hardware support aren't as efficient what's used in SDL.
SDL actually is a rather slim and fast 2D API. The problem is rather that screen sizes are getting larger and the amount of data to transfer grew faster then transfer speed. From what I know you can't be much faster then SDL without hardware support. Don't mistake OpenGL for the ultimate hero resolving all problems. Scrolling will be faster and animations will take less CPU but the AI won't get faster from it for example. Neither will complex WML processing. 1.2.2 should feature faster saves for example because YogiHH cut down the amount of redundant data in saves. Not related to graphics at all.

BTW one important thing to note about 1.2 vs. 1.0 is the question: do you mean speed or gamespeed when you say it's slower? The latter deliberatly got slowed down, animations do take more time by design. One should always compare turbo speed on both before stating that 1.2 is so much slower...
WesCamp-i18n - Translations for User Campaigns:
http://www.wesnoth.org/wiki/WesCamp

Translators for all languages required: contact me. No geek skills required!
Kirdan
Posts: 104
Joined: October 25th, 2004, 11:44 am

Post by Kirdan »

torangan wrote:BTW one important thing to note about 1.2 vs. 1.0 is the question: do you mean speed or gamespeed when you say it's slower? The latter deliberatly got slowed down, animations do take more time by design. One should always compare turbo speed on both before stating that 1.2 is so much slower...
Gamespeed.

I play with fast movements, and I very often (with 1.2) find my self mouse clicking before the system is ready for my move, often clicking the wrong place because scrolling/movement of units are slow. No so with 1.0/1.1

As I says. Wesnoth is a strategy game to me. It doesn't matter if there are 2 or 20 animations when a unit fights or dies (and please.. no sound). I just want a responsive system. 1.2 is IMHO becoming not responsive to the limit of being annoying.
But maybe I just haven't tuned it enough. I just did a configure/make/make install on Ubuntu Dapper on a 1.4GHz Pentium M, which runs the standard Dapper package just fine.
Gus
Posts: 520
Joined: May 16th, 2005, 5:40 pm
Location: France

Post by Gus »

torangan wrote: SDL actually is a rather slim and fast 2D API. The problem is rather that screen sizes are getting larger and the amount of data to transfer grew faster then transfer speed. From what I know you can't be much faster then SDL without hardware support.
For having coded a bit using SDL, it uses a lot of resources, either CPU or memory. I can't give numbers, though, so maybe it is simply a matter of perspective. Anyway, i don't have speed problems on my comp ^^
Hard work may pay off in the long run, but laziness always pays off right away.
User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Post by zookeeper »

Kirdan wrote:I play with fast movements, and I very often (with 1.2) find my self mouse clicking before the system is ready for my move, often clicking the wrong place because scrolling/movement of units are slow. No so with 1.0/1.1
Unfortunately, that's not merely a performance problem, but a design/engine bug. Until fight animations, for example, have finished, you can't do anything. Which can get highly annoying, since animations of course shouldn't block anything in most cases.

But hopefully it'll get fixed eventually anyway.
Post Reply