zaurus port

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by artaxerxes »

I've got the latest SDL packages.

I'm gonna produce a new zaurus package hopefully today.

This version supports sounds. Please also install the upcoming ipk sfx package.

Coming soon!

Artaxerxes
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by artaxerxes »

ok

package is now online.

tested and working here.

Artaxerxes
Nik

Re: zaurus port

Post by Nik »

Great work! Installed it and worked out of the box ;-)
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by artaxerxes »

just so that you know:

THE SOUND DRAWS AN INSANE AMOUNT OF POWER

I had a full battery yesterday evening (5:30ish) and after playing for a good part of the evening and in the subway this morning, I realize the battery was almost empty!

Without the sound I would not even notice a drop in the battery icon.

My advice, use the sound output only if you are plugged.

If you are not, disable the sound entirely.

Artaxerxes
XxVenomxX
Posts: 344
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by XxVenomxX »

What size battery/how many does the zaurus run on?
http://venom.gamersgraveyard.com
Fantasy art/Illustration by Brendan Setaro
Karlos
Posts: 149
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by Karlos »

Can you set the volume? Maybe setting it lower would lessen the battery drain. or is it because you are using something that is CPU-intensive for the music?


-Karl
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by artaxerxes »

I think it's just because juice is needed to produce sound in the earphones.

I wouldn't be surprized if no matter what the volume, the pb would be the same.

As for XxVenomxX, the battery has never been a pb with me. Just never. I even played for a whole weekend without a drop in battery power.

Artaxerxes
XxVenomxX
Posts: 344
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by XxVenomxX »

Oh, I was just curious what type of battery is used within the zaurus, thats all :)
http://venom.gamersgraveyard.com
Fantasy art/Illustration by Brendan Setaro
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by artaxerxes »

Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by Dominus »

hmm... AFAIK the volume does effect how long batteries hold up. Spotted that with my walkman and discman. Also easy to spot when people listen to their radio real loud when the car is not running....
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by artaxerxes »

I took the liberty to edit your post Dominus...


Cars don't bot run yet! :)

Artaxerxes
LordDavon
Posts: 13
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by LordDavon »

If someone wants to email me the latest SDL packages, I can mirror them so that we can all use this. :)

LD
LordDavon
Posts: 13
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by LordDavon »

I got the packages. Site seems to be up. If it goes down again, then use the following:

http://home.maine.rr.com/lorddavon/libS ... -2_arm.ipk

and

http://home.maine.rr.com/lorddavon/libS ... -1_arm.ipk

LD
LordDavon
Posts: 13
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by LordDavon »

Nope. I get in the menu, then when I start a new game or journey onward it will show a red (bg) rectangular image that has movement and then crashes with a parachute error.

LD
LordDavon
Posts: 13
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by LordDavon »

I can't get it to run because it can not find schedule.dat. Is this provided in the .ipk?

LD
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by artaxerxes »

Ah no,

all of that comes from your bg/si data.

I never said you should only copy the static directory btw.

Under /mnt/cf/exult-data/si I have EVERYTHING

Artaxerxes
LordDavon
Posts: 13
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by LordDavon »

Ahhh. I was going by the instructions in the documentation tab on this page. I followed the UC directions. Currently I am traveling so I will have to correct this when I get home. Thanks for the input. I was hoping to start playing on the plane ride home. :)

LD
OCA|

It hates me =(

Post by OCA| »

Well, as Murphy's Law would have it, I can't seem to get Exult to work on my Zaurus. I even resorted to doing a "full reset" and reinstalling the programs from scratch and had no luck.

Everything installs fine (though nothing will install to the CF or SD cards - it always says "something went wrong. Sorry."), but when I tap on "Exult", the program does not launch. If I type "exult" in Terminal, it brings up the version, build time, compile options, compiler, platform, datapath, and dpath information, then just dumps me back to the prompt.

Before responding, note that I am a relitive newbie to Linux. I only know the very basics of the command line (cd, ls, etc.), so if you need me to do something outside of the gui, please use babysteps (if you have time =) . I am using the Zaurus ROM version 2.38 (I'll re-flash the ROM if push comes to shove).

Finally, I have a few basic questions (any one of which might point to the reason it's not working).

1. Do I throw all the files that came with Serpent Isle in the directory /mnt/cf/exult-data/si , or do I retain subfolders (making a /mnt/cf/exult-data/si/STATIC too)?

2. For music, do I need Timidity patches?

3. Should these ipkgs be able to install to removable media? (If so, I might have to get my zaurus looked at, I have never been able to install to removable media).


Thank you very much for your time and for porting Exult to the Zaurus. People like you are what make the Zaurus such a great PDA =)

-Jim Kneuper
More commonly known as "OCA|"
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by wjp »

Does it give any error messages before quiting when you run it from a terminal?
OCA|

Re: zaurus port

Post by OCA| »

Nope, just the information I listed above.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by Dominus »

1. Keep all the subfolders. In the paththat you give ine ecult.cfg it looks for the static subfolder so if it is not there and no data files in there it will buck...
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by artaxerxes »

ok,

I've seen that before.

First of all, make sure you install the exult package(s) on the main memory. The data files for SI and BG are by default to be put on the CF card.

(honestly, I never tried to install the exult package(s) on the CF or MMC cards).

To install the data files on the CF card, the best bet would be to gzip them, copy the gzip to the zaurus and unzip in the appropriate directory. Another way (which I did) is to make a BG ipak package and a SI ipak package and install those. For obvious reasons, I cannot distribute those.

Once the data is installed, try this (from the console):
cd /opt/QtPalmtop/bin
./exult --nocrc 2> /tmp/exult.err 1>/tmp/exult.out

If it runs, quit as soon as you can (otherwise you'll fill up your memory)
If it doesn't run, please report the content of /tmp/exult.out and /tmp/exult.err

Also, you don't need Timidity for sound support. All is already built-in. Just download the sfx package(s) and turn the sound "on" in the sound panel of exult (press 'cancel'). I believe this last step is unnecessary since the sound is on by default. Don't forget to plug in earphones as there is no speaker and make sure you actually are connecting the zaurus to a power source 'cause sound support sucks all your juice bad.

All the best,

Artaxerxes
OCA|

It still hates me =(

Post by OCA| »

It did not run. Here is the contents of Exult.out:

Exult version 1.1.0cvs
Built at: Aug 15 2002 14:11:10
Compile-time options:
Compiler: gcc, version: 2.95.2 19991024 (release)

Platform: Linux version 2.4.6-rmk1-np2-embedix-011228
Data path = /opt/QtPalmtop/share/exult


And exult.err

dpath = ./data
Could not find 'exult.flx' anywhere.
Please make sure Exult is correctly installed,
and the Exult data path is specified in the configuration file.
(See the README file for more information)


Thank you for your help =)
-Jim
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: It still hates me =(

Post by artaxerxes »

you might have an old release of exult on zaurus... try a newer one.

Also, just for the fun of it, try this (from console):

cd /opt/QtPalmtop/share/exult/data
ls

if you have an exult.flx, exult_si.flx and exult_bg.flx, then continue with:
cd /opt/QtPalmtop/bin
ln -s ../share/exult/data data

and run exult again with the parameters given in my previous post.

As usual, if it fails, post exult.err and exult.out.

If it works, try from the Qtopia/Games/Exult

Artaxerxes
OCA|

It doesn't hate me anymore! =)

Post by OCA| »

Apparently, that voodoo you did with "cd /opt/QtPalmtop/bin", "ln -s ../share/exult/data" did the trick, 'cause it's working magnificiently now.

Sound and all. I don't give a care if it drains my battery.


This absolutely rocks. I love you =)
-Jim
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: It doesn't hate me anymore! =)

Post by artaxerxes »

that should have been fixed in the latest package... I'll have to look at it.

FYI, "ln -s" makes a link between the source "../share/exult/data/" and the destination "data". It's the equivalent (but more powerful) of a shortcut under windows.

Artaxerxes
LordDavon
Posts: 13
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by LordDavon »

I can't get it to not look for SI. I only have BG installed. Is there an option I need to set?

LD

P.s. I am looking to move qmame to SDL and could use some help. Any good guides available?
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by artaxerxes »

the package on the download section should contain a .exult.cfg file that accepts both BG and SI. Even if only one is installed, it should still worlk.

In any case, please post the content of ~/.exult.cfg:
open a terminal
type "cat ~/.exult.cfg" and copy the first 30 lines.

As for developing on the z, the best is to read code that's made for the zaurus. Actually, make sure it works on your normal desktop. If it does and uses only SDL (no other library) then read the cross-compiling info "http://www.zauruszone.com/wiki/index.ph ... rSetupTips"

Really, if it works on your workstation, just recompile in cross-compiling mode and you should be set.

I've got some tips for the making of packages but let's wait until you're done with cross-compiling! ;-)
Artaxerxes
LordDavon
Posts: 13
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by LordDavon »

Ok. I will post my file once I get home. Actually, I have already compiled qmame (You can downloading it via the forum on ZaurusZone (Software section)). I just want to move it to SDL. I will be releasing the source this week (although I really didn't modify too much).

LD
LordDavon
Posts: 13
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by LordDavon »

/opt/Qtopia/share/exult/data/




/mnt/cf/ultima7/


jmsfx.flx


blackgate


/mnt/cf/ultima7/


/mnt/cf/ultima7/


/mnt/cf/ultima7/


(default)




/mnt/card/ultima7/si/


jmsisfx.flx


/mnt/card/ultima7/si


/mnt/card/ultima7/si


/mnt/card/ultima7/si


(default)




1

/opt/Qtopia/share/exult/data/



2xSaI


no


no


320


200


5




no


no


no


yes


yes


no



0



yes


no


yes


-1


1


no


8


yes




no



no


gs




no


gm



no


0




no


0



1.0000


yes




no



no





.


blackgate


/home/root/.exult/blackgate/gamedat


/home/root/.exult/blackgate




.


/home/root/.exult/serpentisle/gamedat


/home/root/.exult/serpentisle




1
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by artaxerxes »

Try that one:








/mnt/cf/ultima7/


jmsfx.flx


blackgate


/mnt/cf/ultima7/gamedat


/mnt/cf/ultima7/


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




/mnt/card/ultima7/si/


jmsisfx.flx


/mnt/card/ultima7/si/gamedat


/mnt/card/ultima7/si/


/opt/QtPalmtop/share/exult/keys_si.txt




1




2xSaI


no


no


320


200


5




no


no


no


yes


yes


no



0



yes


no


yes


-1


1




no



no


gs




no


fmsynth



no


0




no


0



1.0000


yes




no



no
OCA|

New version on download page

Post by OCA| »

(exult-1.1.0cvs-0.6.ipk)
And of course, this means I had to download and try it. So I did. I uninstalled the old (~0.5.ipk) and installed the new one. Now when I try to run Exult, I get to the game selction, I select Black Gate, I get to the title screen, tap on "journey onward", it gets to the red screen, then it bombs with:
~
================
An exception occured:
Error opening file /opt/QtPalmtop/share/exult/data/keys_bg.txt
errno: 2
Error Description: No such file or directory
================

Any help would be greatly appriciated (Though if you're too busy, I'll just revert back to 0.5)

-Jim
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: New version on download page

Post by artaxerxes »

yup,

my mistake... either wait (for about 1 hour) to get a new package (same name but different size/changed date) or edit the ~/.exult.cfg yourself replacing:

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

by

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

Artaxerxes
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: New version on download page

Post by artaxerxes »

updated!

Artaxerxes
OCA|

Yep, that fixed it

Post by OCA| »

BTW, what are the chanecs of a future version supporing those timidity patches for better music...? I already have those installed for DooM.

Oh, and thanks for the info on symlinks. Had you not tought me that, there's no way I could have gotten the DooM wads to my SD card (the only way I could fit it on my device).

-Jim
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: Yep, that fixed it

Post by artaxerxes »

I would be interested in having a look at those timidity package actually.

If you could post links to it, that'd be great!

thx

Artaxerxes
OCA|

Re: zaurus port

Post by OCA| »

The file is here:
http://www.libsdl.org/projects/SDL_mixe ... ity.tar.gz

The SDL page on it is here:
http://www.libsdl.org/projects/SDL_mixer/

To get it to work with Prboom, you have to extract the file to /usr/local/lib , retaining subfolders.

-Jim
LordDavon
Posts: 13
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by LordDavon »

Well, SI works, but it locked up my during the lightning scene in the beginning. I had to remove the trailing slash off of the path and reinstall all of the files. BG starts loading and then quits. No errors. If I load exult.sh from the console, it will just exit after displaying my characters name.

LD
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by artaxerxes »

try to start exult from the command prompt this way:

# cd /opt/QtPalmtop/bin
#./exult --nocrc (it's double-dash)

and please let me know if something interesting is said

Artaxerxes
LordDavon
Posts: 13
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by LordDavon »

Nope. Same message. It said that it loaded the key bindings, then says the name of the character I am trying to create... then prompt.

LD
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by artaxerxes »

Do you have enough space on your device?

Do the following:
# cd /opt/QtPalmtop/bin/
# ./exult 2>/tmp/exult.err 1>/tmp/exult.out

Once it goes back to the prompt, please copy and post those 2 files (/tmp/exult.out and /tmp/exult.err) here.

Post as well your ~/.exult.cfg file (even if you did it before) and also please indicate where you installed exult and BG/SI (which paths etc)

Artaxerxes
LordDavon
Posts: 13
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by LordDavon »

Here is the exult.out file:

Exult version 1.1.0cvs
Built at: Aug 26 2002 14:04:09
Compile-time options:
Compiler: gcc, version: 2.95.2 19991024 (release)

Platform: Linux version 2.4.6-rmk1-np2-embedix-011228
Data path = /opt/QtPalmtop/share/exult
Couldn't create scaled surface
is_installed: '/mnt/cf/ultima7/static/endgame.dat': yes
is_installed: '/mnt/card/ultima7/si/static/sispeech.spc' : yes
Starting a BLACK GATE game
Current path settings:
Static : /mnt/cf/ultima7/static
Gamedat : /mnt/cf/ultima7/gamedat
Savegame: /mnt/cf/ultima7/
Patch : none

is_installed: '/mnt/card/ultima7/si/static/sispeech.spc' : yes
Skin is: 3 Sex is: 0
Creating 'gamedat' files.
Found Serpent Isle 'paperdol.vga', 'gumps.vga' and 'shapes.vga'.
Support for 'Serpent Isle' Paperdolls and Multiracial Avatars in 'Black Gate' ENABLED.
Loading /exult_bg.flx...
Loading keybindings from file /opt/QtPalmtop/share/exult/keys_bg.txt
Kringe

Here is the exult.err file:

Digital SFX's file specified: jmsfx.flx... but file not found


Here is a 'df':

# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/ram1 44 25 19 57% /dev
/dev/mtdblock1 32619 19696 11183 64% /home
/dev/mmcda1 125344 94496 30848 75% /usr/mnt.rom/card
/dev/hda1 78226 51562 26664 66% /usr/mnt.rom/cf


I installed exult into ram. It is in /opt/QtPalmtop/bin

LD
LordDavon
Posts: 13
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by LordDavon »

Since this is so long, I wanted to put it in its own section:






/mnt/cf/ultima7


jmsfx.flx


blackgate


/mnt/cf/ultima7/gamedat


/mnt/cf/ultima7/


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




/mnt/card/ultima7/si


jmsisfx.flx


/mnt/card/ultima7/si/gamedat


/mnt/card/ultima7/si/


/opt/QtPalmtop/share/exult/keys_si.txt




1




2xSaI


no


no


320


200


5




no


no


no


yes


yes


no



0



yes


no


yes


-1


1


no


8


yes




no



no


gs




no


fmsynth



no


0




no


0



1.0000


yes




no



no
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by artaxerxes »

just by curiosity, could you check the rights?

All files should be own by root and at least be 755

To change every file permissions from current directory:
# chmod 755 * -R

To change ownership of every file from current directory:
# chown root:root * -R

Artaxerxes
LordDavon
Posts: 13
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by LordDavon »

Ok. I got it to work. I noticed that some of the files weren't the correct size and reinstalled the static directory. The problem is now it is locking up once the mayor asks me if I searched the stables (At the beginning of the game). So now both BG and SI are locking up in the beginning.

LD
lazy8

Re: zaurus port

Post by lazy8 »

I've gotten it to work also, after having to play around with the config file alot, but I can't get it to run more than a couple of minutes, before it locks up also. Has anyone else gotten it to work right? I really want this, it's just too cool to have you favorite series of game on a handheld.
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by artaxerxes »

on my machine, it locks maybe once every half-hour at most. So I have saved _MANY_ times. Right now in my game I'm in city of Order and I've saved about 522 times!

I don't know what causes it to freeze once in a while. I've noticed 2 types of freezes:
* the avatar does not respond to cursor moves, taps, keys but the NPCs jiggles as if I was putting a event in the queue that is not recognized.

* everything is dead frozen.

In both cases, a hard reboot is the only option.

I suspect a memory pb. make sure no other program is running (killing them even using the console). Also, save often.

Really, it is playable though. I would not have gotten up to the City of Order if I had to reboot every 2 minutes.

Also, I have a Zaurus SL5500. If you have a SL5000, know you only have half the memory of the 5500.

Artaxerxes
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by wjp »

The first case sounds like the game is paused accidently. Try disabling pausing on focus-in/focus-out events.
artaxerxes
Site Admin
Posts: 1310
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by artaxerxes »

is this the parameter ?

Artaxerxes
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: zaurus port

Post by wjp »

No, you'll need to modify the code. I'll have to look it up to see what exactly.
Locked