Suggestions

Discussion among members of the development team.

Moderator: Forum Moderators

Post Reply
ettin
Lord of Glamdrol
Posts: 369
Joined: August 17th, 2003, 2:05 pm
Contact:

Suggestions

Post by ettin »

I have been playing Battle for Wesnoth and it looks promising.
But there are some questions/suggestions I have. I haven't studied the code, so excuse me if i'm wrong in some aspects.

On the one hand, I find the file hierarchy not good at all. In my opinion, it might be better if the config files were totally separated. Or for example, add the possibility to specify the paths while compiling. This will help in order to package DEB's or RPM's.

Another suggestion is for the images. Those bmp's are _heavy_. Equivalent png's will reduce the game size about 80%, and i'm sure that png transparency support is better (don't know if its possible to implement it).

I'm happy to see that you are improving the internationalization management. It will be great to have an spanish localization version.

On the other hand, I think that the webpage can contain more information, and some design. I can help with this task if you need it, and I think I can also find a hosting.

Finally, I have done a .deb (debian package) with the latest release. I have only tested it on my computer, but it seems to work fine with Debian Sid. If you are interested, i can send it.

Good job ;)
fmunoz
Founding Artist
Posts: 1469
Joined: August 17th, 2003, 10:04 am
Location: Spain
Contact:

Post by fmunoz »

If you want and Dave doent put any objection do the spanish localization.


Bueno ya esta bien de escribir en inglés, bienvenido, si quieres y Dave no pone objeciones haz las traducciones :-) yo creo que me he metido en bastante fregao haciendo los gráficos.

Un salodo
Paco
P.S. The spanish text says more or less the same than the enlgish one :-)
Dave
Founding Developer
Posts: 7071
Joined: August 17th, 2003, 5:07 am
Location: Seattle
Contact:

Post by Dave »

I'm happy with anyone doing a Spanish localized version, as long as it isn't me :-) Although ettin didn't say he wanted to do one, just that it'd be nice to have one.

The reason the data and code come in the same package is that I've always found it irritating when one has to download a program and then download its data files seperately. But yes, some compile-time options as to where to find the data files might be nice.

I'm planning to move the web page to http://wesnoth.whitevine.net at some point. The web page does look very very bad at the moment, yes, and the main reason for that is I prefer to spend time writing the game rather than improving the web page!

Help with the web page is welcome, and we could even have a version of the webpage in Spanish too :-)

BMPs have been used so far simply because SDL supports them easily. However since the game is already dependent on SDL_ttf, and it is inevitable that it will become dependent upon SDL_mixer, we might as well make it dependent upon SDL_image too. So, I will add support for PNGs at some point.

I really hate having to make packages and makefiles myself to be honest. So, if anyone wants to contribute better makefiles (support for automake would be nice), Debian, or Red Hat packages, they'd be most welcome!

David
ettin
Lord of Glamdrol
Posts: 369
Joined: August 17th, 2003, 2:05 pm
Contact:

Post by ettin »

Right now, I'm not sure about the spanish translation. I will confirm with the 0.3.5 release.

First I'll do some work with the page, and then I will show it.

The debian package can be found here: http://www.ettin.org/wesnoth/

Finally, another suggestion. The "save" file could be in a personal (and hidden) directory, like ".wesnoth/". By this way, each player can have their preferences (like language).
Dave
Founding Developer
Posts: 7071
Joined: August 17th, 2003, 5:07 am
Location: Seattle
Contact:

Post by Dave »

ettin wrote: The debian package can be found here: http://www.ettin.org/wesnoth/
The host http://www.ettin.org wasn't found when I tried to go to this url.
Finally, another suggestion. The "save" file could be in a personal (and hidden) directory, like ".wesnoth/". By this way, each player can have their preferences (like language).
This is a good idea, but what to do on Windows, and other operating systems where the user doesn't have a 'home directory'?

David
ettin
Lord of Glamdrol
Posts: 369
Joined: August 17th, 2003, 2:05 pm
Contact:

Post by ettin »

The host http://www.ettin.org wasn't found when I tried to go to this url.
This is rare, it works fine here...
And what about http://69.41.226.2/~ettin/wesnoth/?
This is a good idea, but what to do on Windows, and other operating systems where the user doesn't have a 'home directory'?
I will look other games/apps to know what they do ;)
zas
Posts: 54
Joined: August 25th, 2003, 9:58 pm
Location: France

About home directories and OS...

Post by zas »

Just check for $HOME env var, if empty save to some_path\wesnoth\savedgames where some_path is ie. C:\ or /tmp or whatever you want (and take care of slashes).

If $HOME is set, then save to
$HOME/.wesnoth/savedgames

A special env variable can be used and checked to like: WESNOTH_HOME
Post Reply