OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: cmisip on November 21, 2004, 10:52:16 pm

Title: Quake On The Z5600 - Any Ideas On Optimization ?
Post by: cmisip on November 21, 2004, 10:52:16 pm
Managed to get it up and running on the 5600 but it is slow.  Any tips on how to get it running faster.  I compiled from the pdaxrom source.  Thanks.
Title: Quake On The Z5600 - Any Ideas On Optimization ?
Post by: weasel123 on November 22, 2004, 10:40:49 am
Quote
Managed to get it up and running on the 5600 but it is slow.  Any tips on how to get it running faster.  I compiled from the pdaxrom source.  Thanks.
i have compiled quake for the sl 5500 running oz3.5.1 with the -msoft-float optimisation and it is fast as hell. The floating point emulation by the software layer is very fast indeed.
Title: Quake On The Z5600 - Any Ideas On Optimization ?
Post by: Bill Essig on November 22, 2004, 06:47:16 pm
multiplayer?
Title: Quake On The Z5600 - Any Ideas On Optimization ?
Post by: weasel123 on November 22, 2004, 07:11:11 pm
Quote
multiplayer?
quake segmentation faults under oz 3.5.1 if you  dont run it with the -noudp switch, which i assumes disables network play and hence multiplayer.
Title: Quake On The Z5600 - Any Ideas On Optimization ?
Post by: cmisip on November 22, 2004, 10:57:26 pm
I get a lot of unresolved symbols when using the -msoft-float option at link time.

I googled a bit and read that I must link with libfloat but adding the -lfloat option results in  'cannot find lfloat'

Any hints?
Title: Quake On The Z5600 - Any Ideas On Optimization ?
Post by: weasel123 on November 24, 2004, 09:34:24 am
Quote
I get a lot of unresolved symbols when using the -msoft-float option at link time.

I googled a bit and read that I must link with libfloat but adding the -lfloat option results in  'cannot find lfloat'

Any hints?
First some things,
1. you need to run a soft-float enabled rom, so i use oz 3.5.1
2. I use open embedded configured for soft-float enabled tool chain, just download open embedded and configure it for your machine and make sure you put
TARGET_FPU=soft
into the file OE_DIR/build/conf/local.conf

then i just build a package using say "oemake scummvm", then the gcc copiler and all the libraries are built in the oe directory.

now i  grab the cvs sources from handheldquake then after editing the Makefile to point to the new qt libraried i execute
PATH=/mnt/ss/oebk/build/tmp/work/gcc-cross-3.4.2-r0/image/mnt/ss/oebk/build/tmp/cross/bin:$PATH  make

and then it compiles ok.

here is the sample executable
<http://sinhalasearch.com/quake.gz>
Title: Quake On The Z5600 - Any Ideas On Optimization ?
Post by: cmisip on November 27, 2004, 07:50:23 pm
Thank you very much.

Your binary will not run on my system so I  had to build my own toolchain. I managed to compile a soft float enabled binary which runs " fast as hell".  Still a work in progress.  I want it to  work with Qtopia eventually.  I would have not ventured in this direction had you not pointed me there.

   
Title: Quake On The Z5600 - Any Ideas On Optimization ?
Post by: g333 on December 14, 2004, 09:03:45 pm
If this is freeware can you add a link I want to download it.  
Title: Quake On The Z5600 - Any Ideas On Optimization ?
Post by: cmisip on December 14, 2004, 11:14:43 pm
the ipk is in the website referenced on my signature
Title: Quake On The Z5600 - Any Ideas On Optimization ?
Post by: MrSquishy on December 16, 2004, 02:30:06 pm
It's Stupid Question time!

Will this work on a 5500?  Or do the xscale "stuffs" mess it up.
When I get home and have access to my Quake 1 CD, i'll let you know my results.

Any pointers on what files it wants, and if this will work for the full version (I dont see why it wouldnt).

Time to break out some old Quake mods.

Edit:
Ok, it just wants to pak0.pak and pak1.pak files in the id1 directory (Quake calls these PAK0.PAK and PAK1.PAK, so dont forget to rename them non-caps).
It does work with the full version.

I was unable to get the QT version for the 5600 working.  Not suprising since I dont have an xscale.  The other non-QT version displays 2 small screens side by side that are washed out and green.
The 5500 version works in Opie, but the keys are weird, and I havent made an autoexec.cfg yet.

I've been doing this in 3.5.2, and I'll try it under 3.5.1 to see if anything changes.
Title: Quake On The Z5600 - Any Ideas On Optimization ?
Post by: Greg2 on March 04, 2005, 02:42:45 pm
Quote
The 5500 version works in Opie, but the keys are weird, and I havent made an autoexec.cfg yet.
Did you or anyone else ever get the keys figured out for the binary that weasel123 made? I've made an autoexec.cfg for my crosshairs but I can't seem to find the fire button.

Greg