OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: andresgriego on February 10, 2006, 03:34:14 pm

Title: Help Running Exult On A C3100
Post by: andresgriego on February 10, 2006, 03:34:14 pm
Hello,

I'm a new Zaurus user, I just got my Z two days ago! Also, I am predominantly a windows user, because that's what my company writes code in, but I have experience with Linux and have already found my way around the Zaurus BASH.

I would really, really, really like to get Exult working on my Z. While I tell myself this isn't the reason I bought the Zaurus, I was definately one of the selling features for me.

Here's what I got so far:
{
I got SNES (9XSnes) working following the instructions in the forum. I noticed that Exult and SNES both need SDL and SDL mixer installed :

1. When I use the proper CVS versions of SDL( libSDL 1.2.6cvs-1 AND libSDL-mixer 1.2.5cvs-1 ),  the screen is rotated, off centre and the keys on the keypad are backwards. Also, Exult freezes the Zaurus when trying to load with these versions.

2. When I use the SDL that came with the SNES package( libSDL 1.2.6slz AND libSDL-mixer 1.2.5zpo ), Exult loads with the screen in proper orentation BUT it says it cannot find the data files for blackgate or serpents isle.

So I assume I use the SDL for the SNES because this looks to be hacked to work properly for the Z.
}

{
I have used Exult on the desktop so I know what I need here. I copied the data files from my Ultima Collection CD to the Zaurus.

I put the files in /mnt/cf/exult-data/bg[si]/static/ AND edit my .exult.cfg to reference these locations.

When I start up Exult, it says it cannot find the datafiles.

1. When I goto /home/zaurus/bin/ and run the exult.sh script dirtectly, I see that it is appears to not use my .exult.cfg to look for the location of the data files.

I get the following errors :
a) Warning: couldn't open ./static/u7voice.flx
 Black Gate  : not found (./static/endgame.dat)
c) etc, etc, etc

This tells me that it is looking for the STATIC directory in /home/zaurus/bin/, not the location specified by the .exult.cfg because I ran the script exult.sh from /home/zaurus/bin/ (the current directory) and it is looking for the file ENDGAME.DAT in ./static/, which is 'CURRENT_DIRECTORY/STATIC'.

So, I am absolutely confused.
}



Does anyone know what I am talking about. Can someone help me out with this?

I'd love to get a six-pack and play some U7 this weekend ....


Thanks,

Andres
Title: Help Running Exult On A C3100
Post by: patrickcptsang on February 11, 2006, 03:56:08 am
Hi,

Just got my exult running last month, so I may offer some idea while I still remember.

In your /home/zaurus/.exult.cfg file (if you're using the user 'zaurus' to play the game) locate the <path> element. Set this to the path where you have the blackgate directory. You don't need the "static" subdir specified. In the <gamedat_path> element, you need to give the full path (e.g., /mnt/cf/XXXXX/blackgate/gamedat).

You may also set the savegame path so your games are saved onto the CF or whereever you want.

hope that helps and enjoy your weekend.  

Cheers,
Patrick.

Quote
Hello,

I'm a new Zaurus user, I just got my Z two days ago! Also, I am predominantly a windows user, because that's what my company writes code in, but I have experience with Linux and have already found my way around the Zaurus BASH.

I would really, really, really like to get Exult working on my Z. While I tell myself this isn't the reason I bought the Zaurus, I was definately one of the selling features for me.

Here's what I got so far:
{
I got SNES (9XSnes) working following the instructions in the forum. I noticed that Exult and SNES both need SDL and SDL mixer installed :

1. When I use the proper CVS versions of SDL( libSDL 1.2.6cvs-1 AND libSDL-mixer 1.2.5cvs-1 ),  the screen is rotated, off centre and the keys on the keypad are backwards. Also, Exult freezes the Zaurus when trying to load with these versions.

2. When I use the SDL that came with the SNES package( libSDL 1.2.6slz AND libSDL-mixer 1.2.5zpo ), Exult loads with the screen in proper orentation BUT it says it cannot find the data files for blackgate or serpents isle.

So I assume I use the SDL for the SNES because this looks to be hacked to work properly for the Z.
}

{
I have used Exult on the desktop so I know what I need here. I copied the data files from my Ultima Collection CD to the Zaurus.

I put the files in /mnt/cf/exult-data/bg[si]/static/ AND edit my .exult.cfg to reference these locations.

When I start up Exult, it says it cannot find the datafiles.

1. When I goto /home/zaurus/bin/ and run the exult.sh script dirtectly, I see that it is appears to not use my .exult.cfg to look for the location of the data files.

I get the following errors :
a) Warning: couldn't open ./static/u7voice.flx
 Black Gate  : not found (./static/endgame.dat)
c) etc, etc, etc

This tells me that it is looking for the STATIC directory in /home/zaurus/bin/, not the location specified by the .exult.cfg because I ran the script exult.sh from /home/zaurus/bin/ (the current directory) and it is looking for the file ENDGAME.DAT in ./static/, which is 'CURRENT_DIRECTORY/STATIC'.

So, I am absolutely confused.
}



Does anyone know what I am talking about. Can someone help me out with this?

I'd love to get a six-pack and play some U7 this weekend ....


Thanks,

Andres
[div align=\"right\"][a href=\"index.php?act=findpost&pid=114424\"][{POST_SNAPBACK}][/a][/div]
Title: Help Running Exult On A C3100
Post by: Antikx on February 11, 2006, 01:33:08 pm
patrickcptsang... I've heard that people can't get music working on the newer Z's. How did you make out?
Title: Help Running Exult On A C3100
Post by: andresgriego on February 11, 2006, 02:37:01 pm
I didn't see that <PATH> tag ....

I put the path in there and POOF! the ahnk appears.

Also, I get music in Exult with my C3100 using both libSDL-mixer 1.2.5csv and, the hacked, libSDL-mixer 1.2.5zpo. The music sounds more accurate to the original using the 'csv' version. I suspect the 'zpo' has been hacked for performance.

As for the libSDL, only the hacked version works for me. If I use the 'cvs' version, Exult halts and I have to pull the battery to restart. Using the version that came with the snes package works but the cursor keys are reversed, down is up and up is down.

I'm about to attempt an 'export SDL_QT_INVERT_ROTATION=1' int the .exult.cfg.

Cross my fingers, wish me luck ...

BTW, the snes package I mentioned is found here (https://www.oesf.org/forums/index.php?showtopic=14102&hl=snes&st=15).


Thanks for your assistance,

Andres

EDIT :

'export SDL_QT_INVERT_ROTATION=1' works, now the controls are proper.

One problem though, Black Gate won't load. Serpents Isle seems to be ok. I can create a new character in BG but it crashes back to the desktop when the red fuzzy screen is finished.

I'll post about this in the Exult forums too.