Running on a Zaurus
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Running on a Zaurus
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
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
-
- Site Admin
- Posts: 1310
- Joined: Thu May 14, 2020 1:34 pm
Re: Running on a Zaurus
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
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
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!!!!
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!!!!
-
- Site Admin
- Posts: 1310
- Joined: Thu May 14, 2020 1:34 pm
Re: Running on a Zaurus
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
# 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
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!
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
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
:(:(
a bunch of tildes down the screen, ending with :".exult.cfg" is busy
:(:(
Re: Running on a Zaurus
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?
Should I just uninstall Exult, and reinstall it?
Re: Running on a Zaurus
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??
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
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
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
-
- Site Admin
- Posts: 1310
- Joined: Thu May 14, 2020 1:34 pm
Re: Running on a Zaurus
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
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
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!
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!
-
- Site Admin
- Posts: 1310
- Joined: Thu May 14, 2020 1:34 pm
Re: Running on a Zaurus
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
# 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
Hi, thanks for help!
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
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
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!
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!
-
- Site Admin
- Posts: 1310
- Joined: Thu May 14, 2020 1:34 pm
Re: Running on a Zaurus
don't forget the "--nocrc" parameter if you start from the shell.
There are two (2) dashes (-).
Artaxerxes
There are two (2) dashes (-).
Artaxerxes
Re: Running on a Zaurus
Artaxerxes: why do you need the --nocrc option? This usually means the data files are out of sync with the exult binary.
-
- Site Admin
- Posts: 1310
- Joined: Thu May 14, 2020 1:34 pm
Re: Running on a Zaurus
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
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
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)
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
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?
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
AH HA!!!
I finally got it... I didn't have the data in a /static directory! :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!
I finally got it... I didn't have the data in a /static directory! :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
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?
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?
-
- Site Admin
- Posts: 1310
- Joined: Thu May 14, 2020 1:34 pm
Re: Running on a Zaurus
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
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
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!!!
Anyway, thanks a ton for all your help... I never thought I'd be playing Ultima7 on a handheld!!!
Re: Running on a Zaurus
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.
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.
-
- Site Admin
- Posts: 1310
- Joined: Thu May 14, 2020 1:34 pm
Re: Running on a Zaurus
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
# 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
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
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