Author Topic: Will this let us play King\'s Quest on the Zaurus ?  (Read 5733 times)

cmisip

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • http://home.mchsi.com/~cmisip/index.htm
Will this let us play King\'s Quest on the Zaurus ?
« on: June 09, 2004, 10:56:08 pm »
http://www.mega-tokyo.com/sarien/index.php...tion&page=ports

Seems like there is a linux port with SDL.  Has anybody tried this?  Would be nice to play the old sierra games again on the Z.
Zaurus 5600
Zynergy Rootfs 1.1
Custom zImage

How Do You Do That in Linux

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Will this let us play King\'s Quest on the Zaurus ?
« Reply #1 on: June 10, 2004, 03:49:35 am »
Get the zports version of Sarien (along with their SDL libs) - I just finished playing Space Quest I, II and III on my C760

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

cmisip

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • http://home.mchsi.com/~cmisip/index.htm
Will this let us play King\'s Quest on the Zaurus ?
« Reply #2 on: June 10, 2004, 06:40:00 pm »
Where can I buy a copy of these old sierra games?
Zaurus 5600
Zynergy Rootfs 1.1
Custom zImage

How Do You Do That in Linux

cmisip

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • http://home.mchsi.com/~cmisip/index.htm
Will this let us play King\'s Quest on the Zaurus ?
« Reply #3 on: June 10, 2004, 08:04:28 pm »
Nevermind, there\'s a lot on ebay.

I found some agi fan sites as well
http://www.classicgaming.com/agisci/fangames.shtml

AGD Interactive has remade versions of king\'s quest.  Will this work on zports?

http://www.agdinteractive.com/
Zaurus 5600
Zynergy Rootfs 1.1
Custom zImage

How Do You Do That in Linux

cmisip

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • http://home.mchsi.com/~cmisip/index.htm
Will this let us play King\'s Quest on the Zaurus ?
« Reply #4 on: June 12, 2004, 01:01:12 pm »
Stubear,

I tried the zports version of sarien but the screen was upside down so I compiled my own.  With either the zports binary or my own compiled binary, the game (space quest 0) runs but I am having sound problems.  There is a background hiss that persists  and the game attempts to superimpose on this the game sound.  Plus, it makes the game lockup when I try to go up the elevator.  With sound off, it works fine.  Did you have any problems with sound ?  

Sarien doesn\'t seem to be using timidity or the SDL-timidity as I renamed the timidity patches directory and there was still sound on space quest 0.

Any ideas?
Zaurus 5600
Zynergy Rootfs 1.1
Custom zImage

How Do You Do That in Linux

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Will this let us play King\'s Quest on the Zaurus ?
« Reply #5 on: June 13, 2004, 07:44:16 am »
Sound doesn\'t work real well yet - I get the same hissing sound too. Tried with SQ1, SQ2 and Manhunter 1 and 2 and the sound didn\'t work in any of them - not sure if its a Z thing or a sarien thing

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

cmisip

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • http://home.mchsi.com/~cmisip/index.htm
Will this let us play King\'s Quest on the Zaurus ?
« Reply #6 on: June 13, 2004, 10:37:36 am »
Its probably a Z thing.  Sarien\'s sound worked well in x86 using sdl.    I tried different versions of sdl for the Z and even using oss for the sound and sdl for the graphics and still had the same problem.
Zaurus 5600
Zynergy Rootfs 1.1
Custom zImage

How Do You Do That in Linux

_Psycho

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • http://zports.sf.net
Will this let us play King\'s Quest on the Zaurus ?
« Reply #7 on: June 13, 2004, 11:16:22 am »
Btw sarien only support OLD agi game, not the most recent one. (SCI) Thats mean vga game wont work on it.

As for the sound. I did the zports compile. There was 2-3 things left undone, but i never had any time to recheck it. No idea about that. and for the reverse screen. I think we h ave to detect the 5600 model in the libSDL and thats might fix it.
Zaurus Porting Project :
http://zports.sf.net
Conics:
http://www.conics.net

cmisip

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • http://home.mchsi.com/~cmisip/index.htm
Will this let us play King\'s Quest on the Zaurus ?
« Reply #8 on: June 17, 2004, 11:20:49 pm »
I tried the updated zports libSDL.  The screen is still inverted on my 5600.  Also, the sound problem persists.   Space quest 0 is an agi game.  It works with sarien on the x86 using either sdl or oss for the console driver.
Zaurus 5600
Zynergy Rootfs 1.1
Custom zImage

How Do You Do That in Linux

mteira

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://zports.sourceforge.net
Will this let us play King\'s Quest on the Zaurus ?
« Reply #9 on: June 18, 2004, 03:06:27 am »
So, you\'re using the last libSDL?
Please, could you start sarien from a console, and tell me the debug messages on it? Perhaps the 5600 is not using the same screen layout as the 5500, anybody knows?

Thanks.

cmisip

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • http://home.mchsi.com/~cmisip/index.htm
Will this let us play King\'s Quest on the Zaurus ?
« Reply #10 on: June 18, 2004, 06:30:21 pm »
In portrait mode, running sarien results in a garbaged screen. Console output is :

root@zaurus:/mnt/card/Documents/space0] ./sarien -S 0 -n ./
could not open for writing `../etc/zstyles/ZIvory.style.new\'
Initializing graphics: 320x200 (scale = 1)
sdl: SDL support by claudio@helllabs.org
QT_GetMachine: /proc/deviceinfo/product is \'SL-5600
\'
 detected machine is \'Sharp SL-5000D\'
QT_GetRotation: Read spec from \'/tmp/qtembedded-root/QtEmbedded-0.spec\'
 Rot=0, Qvga=0
QT_SetVideoMode: argSize=320x240
QT_SetVideoMode: qteSize=240x320
QT_SetVideoMode: fbSize=240x320
QT_SetVideoMode: qteRotation=0
QT_SetVideoMode: userRotation=-1
QT_SetVideoMode: sdlRotation=1
QT_SetVideoMode: qteKeyRotation=0
QT_SetVideoMode: sdlKeyRotation=1
Sarien 0.7.0 - A Sierra AGI resource interpreter engine.
Copyright © 1999-2001 Stuart George
Portions Copyright © 1998 Lance Ewing, © 1999 Felipe Rosinha,
© 1999-2001 Claudio Matsuoka, © 1999-2001 Igor Nesterov,
© 2001 Vasyl Tsvirkunov
 
 --------------------------------------------------------------------------
In Landscape mode,  the screen looks ok but upside down

root@zaurus:/mnt/card/Documents/space0] ./sarien -S 0 -n ./
could not open for writing `../etc/zstyles/ZIvory.style.new\'
Initializing graphics: 320x200 (scale = 1)
sdl: SDL support by claudio@helllabs.org
QT_GetMachine: /proc/deviceinfo/product is \'SL-5600
\'
 detected machine is \'Sharp SL-5000D\'
QT_GetRotation: Read spec from \'/tmp/qtembedded-root/QtEmbedded-0.spec\'
 Rot=0, Qvga=0
QT_SetVideoMode: argSize=320x240
QT_SetVideoMode: qteSize=320x240
QT_SetVideoMode: fbSize=320x240
QT_SetVideoMode: qteRotation=0
QT_SetVideoMode: userRotation=-1
QT_SetVideoMode: sdlRotation=0
QT_SetVideoMode: qteKeyRotation=0
QT_SetVideoMode: sdlKeyRotation=0
Sarien 0.7.0 - A Sierra AGI resource interpreter engine.
Copyright © 1999-2001 Stuart George
Portions Copyright © 1998 Lance Ewing, © 1999 Felipe Rosinha,
© 1999-2001 Claudio Matsuoka, © 1999-2001 Igor Nesterov,
© 2001 Vasyl Tsvirkunov


----------------------------------------------------------------

If I dont use a windowed mode ( no -S switch), the program will not run and complains :

root@zaurus:/mnt/card/Documents/space0] ./sarien  -n ./
could not open for writing `../etc/zstyles/ZIvory.style.new\'
Initializing graphics: 320x200 (scale = 2)
sdl: SDL support by claudio@helllabs.org
QT_GetMachine: /proc/deviceinfo/product is \'SL-5600
\'
 detected machine is \'Sharp SL-5000D\'
QT_GetRotation: Read spec from \'/tmp/qtembedded-root/QtEmbedded-0.spec\'
 Rot=0, Qvga=0
sdl: can\'t set video mode: Unsupported resolution, 640x480
 
Error 0127:
Use parameter -h to list the command line options
../bin/qcop: not found


--------------------------------------------------------------

If I run with my own compiled libSDL, the game runs and it is not upside down.  

Any version of libSDL I use results in audio problems.  Scratchy sound, background noise,  the game attempts to play its music but seems to get its tunes stuck.   Also, with audio enabled, I cannot use the elevator in the game space quest 0 (this is the initial screen).   Without audio, it works fine.  I was wondering if you have had a chance to look at the audio problem as well.  

-------------------------------------------------------------

using sdl as console driver and building for x86 results in a sarien binary that does not have the audio problems.   The problem seems to be z specific.  I am trying to compile libSDL natively on the Z but no luck so far.  It will only build static libraries.  It doesn\'t seem to like the Z\'s libm, libpthread, and libdl as they dont pass the file magic test.  I found out that there is no \"file\" command on the z as well.  Maybe that is why it fails the file magic test.  Do you know where I might get the \"file\" command?

------------------------------------------------------------

FYI, I am using my own compiled version of sarien.  I tried the zports sarien a week ago and had the same results though.  

------------------------------------------------------------

Thanks in advance for working on this.
Zaurus 5600
Zynergy Rootfs 1.1
Custom zImage

How Do You Do That in Linux

mteira

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://zports.sourceforge.net
Will this let us play King\'s Quest on the Zaurus ?
« Reply #11 on: June 19, 2004, 11:19:00 am »
Seeing your log, I\'ve found that the preliminary 5600 support was lost .I suppose that in one of the CVS operations, I restored an old version.
I\'ve fixed it in a new version (0.6.0-zports-5).
Regards

cmisip

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • http://home.mchsi.com/~cmisip/index.htm
Will this let us play King\'s Quest on the Zaurus ?
« Reply #12 on: June 21, 2004, 12:05:39 am »
mteira,
I installed the following ipks:

libSDL_1.2.6-zports-5_arm.ipk  
scummvm_0.6.0-zports_c7x0-4_arm.ipk
sarien_0.8.0-zports_c7x0-0.ipk

Sarien  is still upside down, the terminal output is:

root@zaurus:/mnt/card/Documents/agigames]  ../binaries/sarienzp -S 0 space0
could not open for writing `../etc/zstyles/ZIvory.style.new\'
sdl: SDL support by claudio@helllabs.org
QT_GetMachine: /proc/deviceinfo/product is \'SL-5600
\'
 detected machine is \'Sharp SL-5000D\'
QT_GetRotation: Read spec from \'/tmp/qtembedded-root/QtEmbedded-0.spec\'
 Rot=0, Qvga=0
QT_SetVideoMode: argSize=320x240
QT_SetVideoMode: qteSize=320x240
QT_SetVideoMode: fbSize=320x240
QT_SetVideoMode: qteRotation=0
QT_SetVideoMode: userRotation=-1
QT_SetVideoMode: sdlRotation=0
QT_SetVideoMode: qteKeyRotation=0
QT_SetVideoMode: sdlKeyRotation=0
Sarien 0.8.0-cvs - A Sierra AGI resource interpreter engine.
Copyright © 1999-2003 Stuart George
Portions Copyright © 1998 Lance Ewing, © 1999 Felipe Rosinha,
 © 1999-2003 Claudio Matsuoka, © 1999-2001 Igor Nesterov,
 © 2001,2002 Vasyl Tsvirkunov, © 2001,2002 Thomas Akesson
Scale2x Copyright © 2001-2002 Andrea Mazzoleni


I tried scummvm:

It refuses to run, the terminal output states:

root@zaurus:/mnt/card/Documents/scummgames] scummvm -f -g normal queen
could not open for writing `../etc/zstyles/ZIvory.style.new\'
Switched to configuration /home/root/.scummvmrc
Looking for queen
Trying to start game \'Flight of the Amazon Queen\'
WARNING: No path was provided. Assuming the data files are in the current direct ory!
WARNING: SDL_SetVideoMode says we can\'t switch to that mode!
../bin/qcop: not found
root@zaurus:/mnt/card/Documents/scummgames] scummvm -f -g normal queen
could not open for writing `../etc/zstyles/ZIvory.style.new\'
Switched to configuration /home/root/.scummvmrc
Looking for queen
Trying to start game \'Flight of the Amazon Queen\'
WARNING: No path was provided. Assuming the data files are in the current direct ory!
WARNING: SDL_SetVideoMode says we can\'t switch to that mode!


What video mode is scummvm trying to set?
Zaurus 5600
Zynergy Rootfs 1.1
Custom zImage

How Do You Do That in Linux

cmisip

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • http://home.mchsi.com/~cmisip/index.htm
Will this let us play King\'s Quest on the Zaurus ?
« Reply #13 on: June 21, 2004, 12:45:48 am »
I was able to compile scummvm .6.  It has the video set at 320 x 240 for qtopia.  It runs on my version of sdl, but it was very slow.  I tried it with your sdl and it was fast.  However, the video is screwed up.  I ran it at landscape mode on the 5600 (portrait mode just hangs).  I think my compiled scummvm thinks the screen is in portrait mode... If that makes sense..because the video display shows multiple interlaced images on top of each other.   Its probably just needs a small change in the rotation setting in libSDL.  Maybe this also is why the sarien screen is upside down.

Thanks for all your efforts.
Zaurus 5600
Zynergy Rootfs 1.1
Custom zImage

How Do You Do That in Linux

mteira

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://zports.sourceforge.net
Will this let us play King\'s Quest on the Zaurus ?
« Reply #14 on: June 21, 2004, 03:37:32 am »
Scummvm zport is trying to set the video mode to 640x480. That\'s why is not working on your 5600, and that\'s why the version is 0.6.0-zports_c7x0-4.

Anyway, the libSDL is still not detecting your 5600. I don\'t know why. I\'m starting to think that perhaps sarien is using a statically linked libSDL. Psycho, could you throw some light on this? I\'ll also take a look at the detection code, but with that /proc/deviceinfo/product it should be detected as a 5600 correctly.

Regards.