OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Qt/Qtopia => Topic started by: omega on May 06, 2004, 05:04:53 am

Title: Games and Game Ports On the Cx60 series machines
Post by: omega on May 06, 2004, 05:04:53 am
Hi everyone, while i\'m waiting for USPS to find my lost C860 which is loaded with Qtopia 1.21A I\'m noticing that there is a bit of activity concerning the use of emulators and games on the Z. Hi TonyOlsen!

I think it would be very benefical if people could compile a list here of PC games that will run on the Zaurus and perhaps to then develop this into a FAQ.

I\'m trying to get my head around what exactly is required in terms of compability. I know that certain games have been ported from windows to linux and rewritten in sdl. What is the current state of SDL on the zaurus and how much does performance suffer between an i386 and the ARM?

For example I found a project called freecnc which is a SDL rewrite of Command & Conquer. I\'m not sure of what performance will be like but this game used to run fine on a 486 so intuitively the Z should have enough juice to cope.

http://holarse.wue.de/freecnc/index.php?co...ent=screenshots (http://holarse.wue.de/freecnc/index.php?content=screenshots)

I would appreciate if people could spend a moment to append to this list, and also to point out guides and relevant information including what cross compatible languages exist for porting games.

For example - How well does the ScummVM work on the Zaurus, because it supports about a dozen classic PC games including day of the tentacle and Sam & Max.
Title: Games and Game Ports On the Cx60 series machines
Post by: omega on May 06, 2004, 05:35:41 am
What about Duke 3D? Apparently the original source has been released so it runs natively on linux... http://icculus.org/duke3d/ (http://icculus.org/duke3d/)
Title: Games and Game Ports On the Cx60 series machines
Post by: CoreyC on May 06, 2004, 08:45:08 am
Quote
What about Duke 3D? Apparently the original source has been released so it runs natively on linux...http://icculus.org/duke3d/


I\'ll attempt to compile that this weekend.  I would try now but I am currently running make on a huge source, and I am expecting it to take a long long time to complete
Title: Games and Game Ports On the Cx60 series machines
Post by: TonyOlsen on May 06, 2004, 09:52:20 am
Quote
Hi TonyOlsen


Hi, Omega!

Quote
how much does performance suffer between an i386 and the ARM?


The Qemu emulator has posted some benchmarks, (although I couldn\'t find anything specific to the Zaurus), but it looks like the x86 (i386) emulation runs at about 1/4th to 1/10th speed.  That would mean that my 400 MHz SL-C860 would run as an equivalent 386 at 40MHz to 100MHz, which doesn\'t appear to be all that bad!!   ...but I haven\'t seen any official posts regarding how fast it runs on the Zaurus.  (Doesn\'t anyone have this on their Zaurus?!?)  I\'m told that Qemu is faster than Bochs and DosBox, but it currently doesn\'t support as much as they do.  Bochs runs at about 1/60th speed... or a 386 at around 8 MHz or so...  DosBox says it support more than Qemu, but it\'s around 1/15th, or a 386 at around 30MHz.

These are all rough estimations (\"questimates\") from what I\'ve read.  They aren\'t scientific.

I haven\'t been able to get ScummVM to work.  I think it needs additional libraries.  I haven\'t had time to research this much yet...
Title: Games and Game Ports On the Cx60 series machines
Post by: raduga on May 06, 2004, 10:16:40 am
I haven\'t used Qemu;  currently it\'s only useful for running i386 linux code on the Z (that may change some day).
The 1/4 to 1/10 Qemu speed drop is from i386 to 1386 virtualization:
it will be MUCH slower with arm to i386;  I\'d guess 1/20 or less.

C64 and Apple emulators are reputed (by people posting in other threads)
to run at emulated full speed, with decent framerate.

MAME is reputed (by people posting in other threads) to run at reasonable, if not quite full speed, with some tweaks (turbo key).

Dosbox I have used, and though I haven\'t run any benchmarks,
has the \"feel\" of a fast 286, or a slow 386 system.  It seems to run
well under pdaXrom, less well under X/QT and PocketWorkstation
(probably because of ATI X acceleration with pdaXrom)

Can anyone recommend a good dos-based benchmark utility to run (under bochs,  Dosbox),  so we can have some hard numbers?
Title: Games and Game Ports On the Cx60 series machines
Post by: TonyOlsen on May 06, 2004, 11:11:38 am
Quote
Dosbox I have used


raduga, you\'ve just become my new best friend!   ...tell me how you got it working.  (I remember you mentioning you used DosBox in other threads) Where did you get the IPK, or how did you get it to work without one?  Does it need any additional libraries?  Please tell us everything so that I can put it on mine as well!   I\'ve downloaded the Tar Balls you mentioned, but I can\'t get it to work...

Also... what version of Zaurus were you using at the time?  Will it work on C860?
Title: Games and Game Ports On the Cx60 series machines
Post by: omega on May 06, 2004, 11:25:45 am
Hi raduga,  about this ATI X acceleration - can you please expand and/or point me in the right direction. Can this acceleration be supported under Cacko?
Title: Games and Game Ports On the Cx60 series machines
Post by: raduga on May 06, 2004, 11:32:18 am
Quote
Hi raduga,  about this ATI X acceleration - can you please expand and/or point me in the right direction. Can this acceleration be supported under Cacko?


Cacko pdaXrom runs a native X server, with acceleration code for the ATI chipset in C7xx series.  Cacko Qtopia natively runs QT, and has no X.
There is an X/QT port with VNC services, that allows X apps to run
but since it\'s not native, you don\'t gain benefit of any acceleration,
and VNC drops frame rate quite a bit.

If you want a useable PDA and also ability to run speedy X / emulation
you may want to look at the dual-boot Cacko effots being discussed elsewhere in ZUG.  In short,  dual-boot isn\'t quite working yet.

For the time being, you have to choose between QT and X, or suffer a major performance hit.
Title: Games and Game Ports On the Cx60 series machines
Post by: raduga on May 06, 2004, 12:05:54 pm
Quote
Quote

Dosbox I have used


raduga, you\'ve just become my new best friend!   ...tell me how you got it working.  (I remember you mentioning you used DosBox in other threads) Where did you get the IPK, or how did you get it to work without one?  Does it need any additional libraries?  Please tell us everything so that I can put it on mine as well!   I\'ve downloaded the Tar Balls you mentioned, but I can\'t get it to work...

Also... what version of Zaurus were you using at the time?  Will it work on C860?


It sounds like you have paths or permissions issues, or both.
Possibly you are somewhat unfamiliar with basic Unix operation, or still learning.  (note, we\'re all still learning)

As I told you in the other thread, there IS NO IPK FOR DOSBOX,
unless you want to make one yourself.

IPK is not needed, as dosbox is one monolithic binary execiutable.

what I did:

Code: [Select]
wget http://zaurus.spy.org/feeds/davonz/dosbox-6.1-r3.tar.gz

tar xzf dosbox-6.1-r3.tar.gz

./dosbox


the \"command not found\" messages are most likely because the current working directory is not in your path.  typing dotslash before the filename will give it an explicit path.

You also may need some SDL libraries;  they should be available as IPK on http://zaurus.spy.org/feeds (http://zaurus.spy.org/feeds) somewhere.

also, Dosbox seems to run nicer in \"full screen\" mode; you can toggle it with <CTRL><ENTER>.
There are a few glitches;  entering special characters with <Fn>-key seems to cause extra text  to be generated - the Dosbox developers consider it a feature, so you may be stuck with it for now.
Title: Games and Game Ports On the Cx60 series machines
Post by: TonyOlsen on May 06, 2004, 12:22:49 pm
Thanks!!   I\'ll give that a try!

Quote
Possibly you are somewhat unfamiliar with basic Unix operation, or still learning.


Very true... it\'s a learning curve, but someday I\'ll get it.  Especially with the wonderful help I\'ve been getting (thanks everyone!  ).
Title: Games and Game Ports On the Cx60 series machines
Post by: TonyOlsen on May 06, 2004, 03:36:38 pm
(My Zaurus isn\'t web enabled yet... I don\'t have my Wireless card yet and the USB networking drivers don\'t work in Windows98SE for me... so I wasn\'t able to follow your directions above exactly)

Using my laptop I downloaded dosbox-6.1-r3.tar.gz.  I placed the uncompressed dosbox file on my CF and placed the CF in the Zaurus.  I then opened Terminal and typed the following:

Code: [Select]
bash-2.05$ cd /mnt/cf

bash-2.05$ ./dobsbox

./dosbox: error while loading shared libraries: libXft.so.2: cannot load shared object file: No such file or directory


I take it I need a shared library called libXft.so.2.  I\'m searching Google...
Title: Games and Game Ports On the Cx60 series machines
Post by: Zazz on May 06, 2004, 03:54:39 pm
We could send you all the needed shared libraries but it would probably still not work since you need some sort of X server to see the result. Maybe upgrade to pdaxrom?
Title: Games and Game Ports On the Cx60 series machines
Post by: raduga on May 06, 2004, 04:07:45 pm
Moving to pdaXrom is your best bet, if the major intent of the Zaurus is for DOS and other system emulation.   The downside is, you\'ll lose all your nice PIM and PDA functionality, and what you\'ll get is a small, ordinary linux Laptop.

If you stay with QT, there\'s a MAME, and a Frodo port to SDL;  I don\'t know if they are any good or useable.  Dosbox, Qemu and Bochs will probably never run adequately in the QT environment.
Title: Games and Game Ports On the Cx60 series machines
Post by: TonyOlsen on May 06, 2004, 04:21:12 pm
What... so dosbox doesn\'t work on QTopia at all?     I thought it was supposed to be a stand-alone executable?

x86 emulation is part of what I need, but not everything.  I have a list of things I need to set up on my Zaurus so that it can replace my laptop as my home and work computer.  I\'m about half way through my list.

I\'ve never heard of MAME and Frodo.  Are they x86 emulators too?  (I\'ll look that up)...

btw.. what does \"SDL\" mean anyways?
Title: Games and Game Ports On the Cx60 series machines
Post by: TonyOlsen on May 06, 2004, 04:40:46 pm
Ah... Commodor 64 and Arcade Game emulation.  Could come in handy...
Title: Games and Game Ports On the Cx60 series machines
Post by: omega on May 07, 2004, 09:22:12 am
Hi CoreyC, please do try and get this game compiled. I\'m still awaiting USPS to find my lost 860... but i\'d love to know that there is at least one FPS game for the Z (could be wrong!, could get flamed, and i could get a list of FPS games from people! 8-0 ) . I used to run this on my 486 so it should be able to run on the Z.
Title: Games and Game Ports On the Cx60 series machines
Post by: omega on May 07, 2004, 09:32:13 am
CoreyC here are some links to the source code.

http://www.fileshack.com/file.x?fid=2585 (http://www.fileshack.com/file.x?fid=2585)
http://games.softpedia.com/public/cat/4/4-12.shtml (http://games.softpedia.com/public/cat/4/4-12.shtml)

GOOD LUCK!
Title: Games and Game Ports On the Cx60 series machines
Post by: omega on May 07, 2004, 09:49:07 am
I\'m looking at dosbox, there seems to be a lot of games supported. Has anyone tried Simcity 2000????
Title: Games and Game Ports On the Cx60 series machines
Post by: amrein on May 07, 2004, 10:55:30 am
Give games and food to people and they will love you and will forget about their everyday problems.

Lemmings?
Title: Games and Game Ports On the Cx60 series machines
Post by: TonyOlsen on May 07, 2004, 02:45:56 pm
Quote
Lemmings?


Do you mean: GnuZ?  
Title: Games and Game Ports On the Cx60 series machines
Post by: omega on May 25, 2004, 06:22:48 am
Does anyone know of a way of getting C&C to run, or is there a clone version that would run? The original C&C would run on a 386, and i used to have it flying on a 486.
Title: Games and Game Ports On the Cx60 series machines
Post by: bluedevils on May 25, 2004, 09:15:50 am
There was an active thread about a warcraft clone, which also had the potential of doing C&C.  It was less than a month ago.

Quote
Does anyone know of a way of getting C&C to run, or is there a clone version that would run? The original C&C would run on a 386, and i used to have it flying on a 486.
Title: Games and Game Ports On the Cx60 series machines
Post by: TonyOlsen on May 25, 2004, 11:48:16 am
Take a look at:

http://www.zaurususergroup.com/index.php?n...der=asc&start=0 (https://www.oesf.org/forums/index.php?showtopic=3883&postdays=0&postorder=asc&start=0)
Title: Games and Game Ports On the Cx60 series machines
Post by: omega on June 09, 2004, 05:30:15 am
*** BUMP! ***

Can anyone tell me where i can find instructions to run scummvm? What sdl do i need, etc? I\'ve tried installed it, but i haven\'t found any instructions on how to get day of the tentacle or sam and max to work. If someone can help me i will document a page for others to read in the future. I would also like to get doom working as well.  What other games do people recommend for Cacko 1.21?
Title: Games and Game Ports On the Cx60 series machines
Post by: omega on June 10, 2004, 07:41:49 am
Would it be possible to run this game on the Zaurus?

http://lincity.sourceforge.net/ (http://lincity.sourceforge.net/)
Title: Games and Game Ports On the Cx60 series machines
Post by: _Psycho on June 10, 2004, 08:04:26 am
Quote
What about Duke 3D? Apparently the original source has been released so it runs natively on linux...http://icculus.org/duke3d/


I have a couple of compile planned this weekend, I will probably give Duke3d a try

Also I looked at Lincity, it use X or SVGAlib etc, thats would take a lots of coding to port to the SDL or something copatible with the zaurus. Probably too much work. (Well i think, i have not looked at the source code).

For scummvm, just take our package at zports.sf.net, the 0.6.0cvs is there.
I did a lots of lucasarts games, that emu is great for the zaurus.

And there is also the warcraft II clone (another thread). Im waiting on the guy answer to see if he want to add it on zports web page
Title: Games and Game Ports On the Cx60 series machines
Post by: omega on June 11, 2004, 07:14:03 am
I got ScummVm to work, but only in QVGA (however it is not rotated) and runs really well. Sound is working as well - me like!

Does anyone know how to get this to run in VGA mode? I get a problem where the screen looks all screwed up / layered / small size (approx 160 x 160) rotated 270CW running in the centre of the screen whenever i attempt to run it in vga

I\'m using scummvm 0.6 9th june, libsdl 1.2.6zports c7x0_2, libmad 1.05.0b-zports-0
Title: Games and Game Ports On the Cx60 series machines
Post by: omega on June 11, 2004, 07:25:48 am
Regarding prboom, i\'m having trouble initialising it from the games menu, even though i checked the configuration file for it. When i go to the directory with the wad file in it and type prboom it will load up like about 160 x 160 rotated 270 cw.  it says it detects the display at the proper dimensions. i tried setting display = 480*640/144dpi and it now plays full screen correct orientation but a bit slowly. How can i run this game in qvga?
Title: Games and Game Ports On the Cx60 series machines
Post by: padishah_emperor on June 12, 2004, 01:07:21 pm
Quote
Give games and food to people and they will love you and will forget about their everyday problems.


As Tacitus said \"bread and circuses\"
Title: Games and Game Ports On the Cx60 series machines
Post by: omega on June 14, 2004, 05:25:22 am
regarding prboom, i increased the game speed to 133% in the menu and it runs perfect. Did you all know you can have helper dogs in prboom (up to three?) - it makes nightmare mode all the more fun. Cheats don\'t seem to work though?
Title: Games and Game Ports On the Cx60 series machines
Post by: omega on June 30, 2004, 11:24:11 am
I have 25 games installed at the moment, and am about to start playing around with the snes, nes, gb, gba emulators as well..

One question: Where can i get a two person checkers / draughts game? I have checkers, which i think look really sweet, but why oh why did they not leave a two player option?
Title: Games and Game Ports On the Cx60 series machines
Post by: padishah_emperor on July 04, 2004, 08:32:53 am
Has anyone got any Sega emulator working on Qtopia (C series)?

I NEED Sonic.