Page 1 of 1

Running on a Zaurus

Posted: Fri Jan 24, 2003 6:41 am
by Jon Tseng
Have got U7+SI running on me Zaurus (which was, have to admit, only reason bought it!)

Awesome work guys!

Just a quick question - is there any way to run (ie shift + direction) on the Z? Do I need to mess around with binding? (if so where exactly is the cfg file? - can't find it when I browse around with File Manager)

cheerio

J

Re: Running on a Zaurus

Posted: Fri Jan 24, 2003 7:33 am
by artaxerxes
the default configuration makes your avatar run instead of walk.

The file that contains the mapping is found in your zaurus under:
/opt/QtPalmtop/share/exult/keys_si.txt for SI
and
/opt/QtPalmtop/share/exult/keys_bg.txt for BG

just any text editor (like vi) will do to modify it (you need a shell though). There are a few of those on the zaurus software index (http://www.killefiz.de/zaurus/)

Artaxerxes

Re: Running on a Zaurus

Posted: Mon Jan 27, 2003 5:18 am
by kyouki
Hi!

I've got Exult installed, got my static files copied to my CF, and am now having trouble finding the exult.cfg file, so that I can point the program to my CF data files.

The FAQ indicates the location of the exult.cfg is ~home/root but I don't see anything there. :( Could someone point me in the right direction? Also, what is a good program for editing files on the Zaurus?

Really looking forward to playing this!!!!

Re: Running on a Zaurus

Posted: Mon Jan 27, 2003 5:24 am
by artaxerxes
Open a terminal and type the following (don't type the '#' sign, that's your prompt):
# cd ~/
# vi .exult.cfg

Now you can edit the file.
Very quick help on vi:

:q! (to quit right away when in command mode)
:w! (to save the changes no matter what when in command mode)
i (to enter type-in mode)
[ESC] (the escape key: to come back to command mode).
dd (to delete the entire line you are on when in command mode).

Artaxerxes

Re: Running on a Zaurus

Posted: Mon Jan 27, 2003 6:59 am
by kyouki
I seem to have made a mistake. :(

I made some edits to the config file and I *think* I wrote then correctly, but when I try to reopen the file again, it tells me that the tmp file is busy!!!

:O

I tried rebooting (which probably just made things worse!), but it still won't let me get into the file!

Please help this stupid guy! :)

Re: Running on a Zaurus

Posted: Mon Jan 27, 2003 7:10 am
by kyouki
i deleted the temp file that was busy, and now I get the following message:

a bunch of tildes down the screen, ending with :".exult.cfg" is busy

:(:(:(

Re: Running on a Zaurus

Posted: Mon Jan 27, 2003 7:21 am
by kyouki
Ok, now I tried running vi -r to recover from a crash, and it tells me to run virec. Of course, virec is apparently not in the Zaurus terminal. :/

Should I just uninstall Exult, and reinstall it?

Re: Running on a Zaurus

Posted: Mon Jan 27, 2003 7:45 am
by kyouki
ok...

reinstalled exult, edited the cfg file, and changed the entry from to etc etc. The directory listed (/mnt/cf/exult-data/bg/) is correct. I've got all static files installed on the CF card. I've got all the necessary lib files installed.

Now when I start the Exult program from the Games menu, the icon goes through its animation, the hourglass appears on the taskbar... and then a few seconds later it disappears and nothing happens! :(

What could I be doing wrong??

Re: Running on a Zaurus

Posted: Mon Jan 27, 2003 7:48 am
by kyouki
oh no!!!

I went to reboot after making changes to the exult.cfg file, and the screen started to fade out like it should, but it froze halfway. :( I could not get that screen to disappear or the system to even start up without a hardware reset! :O

Re: Running on a Zaurus

Posted: Mon Jan 27, 2003 8:03 am
by artaxerxes
take it easy!

you're too panicky! When you get a tmp file busy, just go to the /tmp directory and delete every tmp_* files. It should work.

Artaxerxes

Re: Running on a Zaurus

Posted: Mon Jan 27, 2003 8:55 am
by kyouki
Yeah, I need to calm down. LOL

Anyway, I've got Exult installed, I've got the STATIC files on /mnt/cf/exult-data/bg/
I've got all 4 SDL libs installed.

The config file looks thusly:






/mnt/cf/exult-data/bg/


jmsfx.flx


blackgate


/home/root/.exult/blackgate/gamedat


/home/root/.exult/blackgate


/opt/QtPalmtop/share/exult/keys_bg.txt



etc etc

everything seems to match up, but when I tap the Exult icon in the Games tab, nothing seems to happen. Any ideas?

Thanks so far for all the help! :)

Re: Running on a Zaurus

Posted: Mon Jan 27, 2003 9:10 am
by artaxerxes
open a terminal, and type the following (don't type the "#" sign, it's the prompt):

# cd /opt/QtPalmtop/bin
# ./exult --nocrc 1> /tmp/exult.out 2> /tmp/exult.err

it should come back to the prompt right away. Please transfert the /tmp/exult.out and /tmp/exult.err and post them here so I can analyse the pb.

thx
Artaxerxes

Re: Running on a Zaurus

Posted: Mon Jan 27, 2003 9:18 am
by kyouki
Hi, thanks for help! :D

exult.err
-----------
dpath = ./data
Could not find 'exult.flx' anywhere

exult.out
-----------
Exult version 1.1.0cvs
Built at: Dec 20 2002 17:24:50
Compile-time options: HAVE_ZIP_SUPPORT
Compiler: gcc, version: 2.95.2 19991024
(release)

Platform: Linux version
2.4.6-rmk1-np2-embedix-0 1 1228
Data path = /usr/local/share/exult

Re: Running on a Zaurus

Posted: Mon Jan 27, 2003 9:30 am
by kyouki
I tried making a /usr/local.share/exult directory, and copying everything from the /opt/QtPalmtop/share/exult/ directory into it, and Exult started! But it gave me an error telling me it can't find data files.

So I checked the error logs, and this is what I saw:

exult.err
-----------
exult.flx has a wrong checksum!
exult_bg.flx has a wrong checksum!
exult_si.flx has a wrong checksum!

exult.out
-----------
Exult version 1.1.0cvs
Built at: Dec 20 2002 17:24:50
Compile-time options: HAVE_ZIP_SUPPORT
Compiler: gcc, version: 2.95.2 19991024
(release)

Platform: Linux version
2.4.6-rmk1-np2-embedix-0 1 1228
Data path = /usr/local/share/exult
Dual OPL mode: no
Internal Emulated FM Opi Midi Synth.
is_installed:
'/mnt/cf/exult-data/bg//static/endgame.dat':
no
is_installed:
'/mnt/cf/exult-data/si//static/sispeech.spc':no


Almost there! :D

Re: Running on a Zaurus

Posted: Mon Jan 27, 2003 11:31 am
by artaxerxes
don't forget the "--nocrc" parameter if you start from the shell.
There are two (2) dashes (-).

Artaxerxes

Re: Running on a Zaurus

Posted: Mon Jan 27, 2003 11:36 am
by wjp
Artaxerxes: why do you need the --nocrc option? This usually means the data files are out of sync with the exult binary.

Re: Running on a Zaurus

Posted: Mon Jan 27, 2003 12:39 pm
by artaxerxes
Willem,

it's because of a autoconf issue. If I cross-compile, I can't define gcc as the platform compiler and arm-gcc as the host compiler at the same time. So whenever I create the binary, I go errors which I have to manually correct to create the package. Leaving the --no-data prevents those pb and I can automate the process.

I will have to find a way otherwise I guess.

Artaxerxes

Re: Running on a Zaurus

Posted: Mon Jan 27, 2003 12:43 pm
by wjp
hm, I see. You could try copying the exult.flx and exult_flx.h (and same for bg, si) from a native build into the cross-compile tree.

exult_flx.h contains the checksum of the generated exult.flx, so that should get rid of the problem. (Make sure you get them from a native build of the same source version, though, to prevent real data file mismatches)

Re: Running on a Zaurus

Posted: Mon Jan 27, 2003 2:58 pm
by kyouki
Hi,

I made sure to have the --nocrc parameter when I tried to execute Exult form the command line, and it gave me this error:
"WARNING

Could not find the data files for either "The Black Gate" or "Serpent Isle". Please edit the configuration file and restart Exult."

so then I go to view the logs, and I get the messages that I typed up above.

I also posted my cfg file in this thread... does it seem ok?

Re: Running on a Zaurus

Posted: Mon Jan 27, 2003 5:47 pm
by kyouki
AH HA!!!

I finally got it... I didn't have the data in a /static directory! :D:D:D

Now it runs fine!!!

It's *slightly* jerky, so I turned off sound and music... any other hints to get it running smoother? It's fine how it is, but towns are a bit jerky!

Re: Running on a Zaurus

Posted: Mon Jan 27, 2003 5:52 pm
by kyouki
Checking the keys_bg file, it says that left/right/up/down are walk west, etc etc. Should this be "run_west", etc? Also, is it possible to map diagonals to the cursor pad?

Or even better, have the cursor middle button act as shift, and then be able to hold that down plus press the cursor to run in a direction?

Re: Running on a Zaurus

Posted: Tue Jan 28, 2003 4:28 am
by artaxerxes
although it's programmatically possible to do that, I wouldn't want to. Do you realise how difficult it would be to press both the central button and the directional pad at the same time?
The keys_si say something like "walk_east 1" and that means running.

Unless there was some changes lately.

Artaxerxes

Re: Running on a Zaurus

Posted: Tue Jan 28, 2003 3:44 pm
by kyouki
lol, I don't know what I was thinking... I just picked my Zaurus up in my hand, and you are right... pressing the center button + the cursor pad is pretty difficult. ;)

Anyway, thanks a ton for all your help... I never thought I'd be playing Ultima7 on a handheld!!! :D

Re: Running on a Zaurus

Posted: Sat Feb 22, 2003 6:29 am
by subcubus
Hi @ll,

I've installed U7(Exult) on my Zaurus. when I run exult.sh on the console, all looks fine. I get the startup screen, can set my Avatar name. But when I click on "Journey Onward" only the red dust appears moving. After a while I'm set back to the console. There are no error messages I get .... :-(
Do you have any ideas ?

best regards,

sub.

Re: Running on a Zaurus

Posted: Sun Feb 23, 2003 5:17 pm
by artaxerxes
can you open a console and type the following:

# cd /opt/QtPalmtop/bin
# ./exult 1> /tmp/exul.out 2> /tmp/exult.err

and once it crashed, post the content of those 2 files (/tmp/exult.???) here please!

thx
artaxerxes

Re: Running on a Zaurus

Posted: Mon Feb 24, 2003 1:30 am
by subcubus
ok,

thank you for your reply. I actually can't post all infos of the files, hope this will help:

exult.out:
[...] lot of Platform infos ....
Skin is: 3 Sex is: 0
Creating 'gamedat' files

exult.err:
[checksum errors ... I think that's ok.]
QApplication: There should be max one application object
Fatal signal: Bus Error (SDL Parachute Deployed)

I've installed:

libsdl_1.2.6cvs-1
libsdl-image_1.2.5cvs-1
libsdl-mixer_1.2.5cvs-1
libsdl-net_1.2.5cvs-1