Author Topic: Ultima7 on RC5 - color problem  (Read 3692 times)

richardh

  • Newbie
  • *
  • Posts: 16
    • View Profile
Ultima7 on RC5 - color problem
« 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

richardh

  • Newbie
  • *
  • Posts: 16
    • View Profile
Ultima7 on RC5 - color problem
« Reply #1 on: October 28, 2004, 01:11:59 pm »
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. 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

murple

  • Newbie
  • *
  • Posts: 24
    • View Profile
Ultima7 on RC5 - color problem
« Reply #2 on: October 28, 2004, 08:55:29 pm »
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!
[span style=\'font-size:8pt;line-height:100%\']--murple

...Duffman is thrusting in the direction of the problem!

860 pdaXrom rc5 / 1gb Transcend SD / Socket WiFi
6000L Sharp Rom / 256 SimpleTech SD / 4gb Microdrive
Linksys WCF12 WiFi, Pretec CF LAN
[/span]

blakeyez

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://
Ultima7 on RC5 - color problem
« Reply #3 on: October 29, 2004, 05:37:33 pm »
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:

Code: [Select]
ln -s libpng12.so.0.1.2.5 /usr/lib/libpng12.so
should fix it up for you.

Dave

Dracula

  • Newbie
  • *
  • Posts: 23
    • View Profile
Ultima7 on RC5 - color problem
« Reply #4 on: November 01, 2004, 05:05:52 am »
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

richardh

  • Newbie
  • *
  • Posts: 16
    • View Profile
Ultima7 on RC5 - color problem
« Reply #5 on: November 02, 2004, 01:36:53 am »
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
« Last Edit: November 02, 2004, 01:40:15 am by richardh »

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Ultima7 on RC5 - color problem
« Reply #6 on: November 02, 2004, 01:47:34 am »
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
SLC-860 cacko / senao wifi

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
Ultima7 on RC5 - color problem
« Reply #7 on: November 02, 2004, 09:48:38 am »
http://zaurus.spy.org/screenshots/scottyel...rom/jpg/df3.jpg

80gb should be sufficient to compile ...

Scott