OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: richardh on October 27, 2004, 11:37:40 pm
-
Wanting to see if I could play Ultima 7 on my RC5 system I grabbed the 1.1.10rc2 exult package from the stable feed. Well, it runs on RC5, but many of the colors seem either inverted or really far off.. it looks like it could be great, but with such strange colors it is pretty much unplayable.
1) Anyone got this to work on earlier builds so I can tell if this is a RC5 problem or just a configuation issue.
2) Any chance of someone compiling the 1.2 version for RC5? Sash?
TIA,
-Richard
-
OK, so I decided to give building this a try. First I downloaded the newest exult (1.2.2) and compiled it on my debian box. Then I decided to try and compile it natively on the zaurus instead of going the cross-complier route.
1) Downloaded the zgcc image and mounted following this (thread (https://www.oesf.org/forums/index.php?showtopic=7285). Also installed required build tools indicated here.
2) Ran the configure script in the exult tarball.. all seemed happy. Ran make and after 20 minutes or so the build stoped with the following:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../headers -I./../files -I./../usecode -I./.. -I./../shapes -I./../imagewin -I./../conf -O2 -Wno-long-long -I/opt/arm/3.3.2-vfp/armv5tel-cacko-linux/include/SDL -D_REENTRANT -g -O2 -c -o ipack.o `test -f ipack.cc || echo './'`ipack.cc
/bin/sh ../libtool --mode=link g++ -g -O2 -L/usr/lib -o ipack ipack.o ../files/libu7file.la ../shapes/libshapes.la ../imagewin/libimagewin.la -lpng -lz
g++ -g -O2 -o ipack ipack.o -L/usr/lib ../files/.libs/libu7file.a ../shapes/.libs/libshapes.a ../imagewin/.libs/libimagewin.a -lpng -lz
/opt/arm/3.3.2-vfp/lib/gcc-lib/armv5tel-cacko-linux/3.3.2/../../../../armv5tel-cacko-linux/bin/ld: cannot find -lpng
I interpreted this to mean there was a missing png library (Correctly?)
So, I checked the built ipack binary on my desktop and found that it does use libpng:
ipack:
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40023000)
But this is also on the zaurus:
root@zaurus:~/exult-1.2# ls -l /usr/lib/libpng*
lrwxrwxrwx 1 root root 19 Jan 1 1970 /usr/lib/libpng.so.3 -> libpng12.so.0.1.2.5
lrwxrwxrwx 1 root root 19 Jan 1 1970 /usr/lib/libpng12.so -> libpng12.so.0.1.2.5
lrwxrwxrwx 1 root root 19 Jan 1 1970 /usr/lib/libpng12.so.0 -> libpng12.so.0.1.2.5
-rwxr-xr-x 1 root root 189104 Jan 1 1970 /usr/lib/libpng12.so.0.1.2.5
So I tried to set this in the configure script by declaring the LDFLAGS:
# export LDFLAGS=-L/usr/lib
But this really shouldn't be needed, and indeed the build failed at the same point.
Any suggestions?
-Richard
-
Not really a suggestion, but you got my support. I love that damn game. I for one would love to see you fix that ipk up. Dont give up!
-
Add a link for libpng.so in /usr/lib . Running /sbin/ldconfig *should* do it automatically, but I've found in some instances that it doesn't. So:
ln -s libpng12.so.0.1.2.5 /usr/lib/libpng12.so
should fix it up for you.
Dave
-
Hello!
I have built exult 1.2 and uploaded to the unstable feed. But i have never played this game before and also do not have the original game data so i could not test it.
Please let me know if it work or not.
Thanks.
Drac
-
It works, but there are some screen refresh issues. Unlikely to be anything due to the compile, and I think it is still playable Thank you. I think I got around the png issue, but the compile took over 120mb before it was stripped.. this overwhelmed my available ext2 storage. I was waiting until a new flash card arrived to try again, but now I won't have to bother.
If you are interested in the data files, PM me and I am sure we can work something out.
-Richard
-
Note that if you have a linux pc, and use a network connection with
your zaurus, you can mount an nfs drive and have all the space you
want for compiling.
If you only have windows, you can use samba, but i think you might have some trouble with the filesystem (if the build process use some symbolic links for instance).
I think cygwin now provides an nfs server but i'm not sure if it works ok as I have never tried
-
http://zaurus.spy.org/screenshots/scottyel...rom/jpg/df3.jpg (http://zaurus.spy.org/screenshots/scottyelich/pdaXrom/jpg/df3.jpg)
80gb should be sufficient to compile ...
Scott