Wesnoth with --tinygui?

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
DarkAmex
Posts: 74
Joined: November 12th, 2004, 12:37 am
Location: Italy
Contact:

Wesnoth with --tinygui?

Post by DarkAmex »

How I can compile Wesnoth for a portable device? I tried to compile it on my slackware with --tinyguy argument but there are many problem with pngmeta program that isn't compatible with new version of libpng.so.3.

now I receive this error:
pngmeta: relocation error: pngmeta: symbol png_read_destroy, version PNG12_0 not defined in file libpng12.so.0 with link time reference
What shuld I do? I think that the problem is in resizing of the image but I'm not sure...
If you want to help the italian translation you can subscribe the mailing list at
wesnoth-l10n-it-subscribe[AT]cirulla[DOT]net

My e-shop project:
http://www.openbaza.it
User avatar
Sapient
Inactive Developer
Posts: 4453
Joined: November 26th, 2005, 7:41 am
Contact:

Post by Sapient »

which version of wesnoth are you trying to compile with tinygui? Currently, grzywacz is working on tinygui support.
http://www.wesnoth.org/wiki/User:Sapient... "Looks like your skills saved us again. Uh, well at least, they saved Soarin's apple pie."
DarkAmex
Posts: 74
Joined: November 12th, 2004, 12:37 am
Location: Italy
Contact:

Post by DarkAmex »

I'm trying to compile the last SVN version (when I compile the game, and I try to launch the application, the game starts with resized fonts, buttons and exagons, but all other images remains big).

The automatic resizing of images doesn't work on my Slackware. I think that is for pngmeta.
If you want to help the italian translation you can subscribe the mailing list at
wesnoth-l10n-it-subscribe[AT]cirulla[DOT]net

My e-shop project:
http://www.openbaza.it
User avatar
grzywacz
Inactive Developer
Posts: 303
Joined: January 29th, 2005, 9:03 pm
Location: Krakow, Poland
Contact:

Post by grzywacz »

As for the purpose of the pngmeta itself - it's used to get image information prior to resizing, which is required to make tiny gui work. If it doesn't work for you, then the installation should fail.

It looks like a problem with your particular system. Either get packages linked against proper library versions, or try to compile the tool from source. I have no problems with it on my Debian system.

If you can't get it working in a reasonable amount of time I might be able to tar the resized images and upload them somewhere.
DarkAmex
Posts: 74
Joined: November 12th, 2004, 12:37 am
Location: Italy
Contact:

Post by DarkAmex »

Can you tell me the version of yours libpng and pngmeta?
If you want to help the italian translation you can subscribe the mailing list at
wesnoth-l10n-it-subscribe[AT]cirulla[DOT]net

My e-shop project:
http://www.openbaza.it
User avatar
ivanovic
Lord of Translations
Posts: 1149
Joined: September 28th, 2004, 10:10 pm
Location: Germany

Post by ivanovic »

I did just try to download the sources of pngmeta to compile it myself:
The tarball is from 2001 and compiling it is broken.
Afterwads I did try to apply the debianpatch on it. Compiling was still broken for me.

I would recommand to switch to another tool to do the resize stuff. Maybe imagemagic can be used? This is a tool that is well maintained and should work nicely. And the dependencies of Wesnoth (on the wiki page) should be update to show that you need some more stuff when using the configure flag --enable-tinygui.
Btw, i am using a gentoo linux and there is no package for pngmeta included in it.
DarkAmex
Posts: 74
Joined: November 12th, 2004, 12:37 am
Location: Italy
Contact:

Post by DarkAmex »

I'm agree with Ivanovich, pngmeta isn't well mantained at the moment...
If you want to help the italian translation you can subscribe the mailing list at
wesnoth-l10n-it-subscribe[AT]cirulla[DOT]net

My e-shop project:
http://www.openbaza.it
User avatar
grzywacz
Inactive Developer
Posts: 303
Joined: January 29th, 2005, 9:03 pm
Location: Krakow, Poland
Contact:

Post by grzywacz »

I'll take a look at this problem later today, thanks for the information. pngmeta worked for me with no problems, so I kind of assumed that it should also do so for others. :x Anyway, tiny gui is still buggy in many places.
User avatar
grzywacz
Inactive Developer
Posts: 303
Joined: January 29th, 2005, 9:03 pm
Location: Krakow, Poland
Contact:

Post by grzywacz »

I've just commited a fix (I hope so) to trunk, which removes the dependency on pngmeta in favour of ImageMagick's "identify". Please test, as I'm going to sleep now. :wink:
DarkAmex
Posts: 74
Joined: November 12th, 2004, 12:37 am
Location: Italy
Contact:

Post by DarkAmex »

I'm downloading the SVN version of the game... I'm sure that it will work!

:lol:
If you want to help the italian translation you can subscribe the mailing list at
wesnoth-l10n-it-subscribe[AT]cirulla[DOT]net

My e-shop project:
http://www.openbaza.it
DarkAmex
Posts: 74
Joined: November 12th, 2004, 12:37 am
Location: Italy
Contact:

Post by DarkAmex »

:lol: It Works!!! Thanks! :mrgreen:

(there is another little problem: during the tutorial the istruction for the player are very big and goes over the end of the screen, I think that They aren't resized during the installation process)
If you want to help the italian translation you can subscribe the mailing list at
wesnoth-l10n-it-subscribe[AT]cirulla[DOT]net

My e-shop project:
http://www.openbaza.it
User avatar
grzywacz
Inactive Developer
Posts: 303
Joined: January 29th, 2005, 9:03 pm
Location: Krakow, Poland
Contact:

Post by grzywacz »

I know that. The font size is hardcoded into the tutorial .cfg files and I haven't found a way around this yet. :idea:
DarkAmex
Posts: 74
Joined: November 12th, 2004, 12:37 am
Location: Italy
Contact:

Post by DarkAmex »

in WML there isn't a way to capture the sceen size of the user?
If you want to help the italian translation you can subscribe the mailing list at
wesnoth-l10n-it-subscribe[AT]cirulla[DOT]net

My e-shop project:
http://www.openbaza.it
DarkAmex
Posts: 74
Joined: November 12th, 2004, 12:37 am
Location: Italy
Contact:

Post by DarkAmex »

could be an idea to insert a second tutorial.cfg for portable device installed with --enable-tinygui option? (I don't know if it's possible...)
If you want to help the italian translation you can subscribe the mailing list at
wesnoth-l10n-it-subscribe[AT]cirulla[DOT]net

My e-shop project:
http://www.openbaza.it
User avatar
grzywacz
Inactive Developer
Posts: 303
Joined: January 29th, 2005, 9:03 pm
Location: Krakow, Poland
Contact:

Post by grzywacz »

Of course it is possible, but I think it doesn't make sense to double the amount of wml to maitain only to get it working like that. ;-)
Post Reply