Author Topic: Quake1 On Oz w/ GPE  (Read 3488 times)

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Quake1 On Oz w/ GPE
« on: May 06, 2005, 12:09:36 pm »
http://students.bath.ac.uk/enpsgp/Zaurus/quake/

Has been added to OE, I just want to see that it works.

This is for X11 - that means GPE. It might on Opie work via XQt, I've no idea (but it uses SDL, so there will be lots of additional libs required).

This is for the PXA machines only atm (as that's the way my build system is set up). I'm trying to get hold of an ARM4 build (it'll take a long while to rebuild myself).

Let me know if it works, etc.

Thanks,


Simon
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Quake1 On Oz w/ GPE
« Reply #1 on: May 07, 2005, 11:09:39 am »
Couple of things:

Run it using the following command (borrowed from the pdaXrom script):
/usr/share/quake/quake -fullscreen -winsize 320 240 -basedir /usr/share/quake

Looks like it segfaults. I'll look into it when I have time. Feel free to do so yourselves, it's in OE.


Si
« Last Edit: May 07, 2005, 11:10:23 am by lardman »
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Quake1 On Oz w/ GPE
« Reply #2 on: May 08, 2005, 10:36:33 am »
segfault is caused by my network setup (quote from http://www.linuxdocs.org/HOWTOs/Quake-HOWTO-5.html#ss5.2):

Quote
Quake dies at startup with a segmentation fault.

This usually means your network setup isn't right. Try starting quake with the -noudp option and see if the error goes away. If that fixes it, check your /etc/hosts file and verify there's an entry for your machine in it. Use 127.0.0.1 for your IP address if you have a dialup account that gives you a different address each time you connect.

Next error is to do with not being able to load SDL as it doesn't have CDROM support.

I thought I'd removed all the CD related stuff in the Quake source, I'll have another look.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Quake1 On Oz w/ GPE
« Reply #3 on: May 08, 2005, 02:40:28 pm »
Oops, still a minor error which means you can't start a game, trying to fix in now (over slow dialup  )


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Quake1 On Oz w/ GPE
« Reply #4 on: May 09, 2005, 05:12:40 am »
Fixed. You can now start playing, or start the demo going, but it fails with an SDL parachute (in the demo) when you go to pick up the grenade launcher (?).

Not sure if this is an SDL problem or a Quake one, any more info straces, other ways of getting it to fail, etc. appreciated.

Updated ipk in the link above & also just been added to OE.

Thanks,


Simon

P.S. there's also an unstripped quake binary in the directory I gave above which should be of use in tracking down the problem.
« Last Edit: May 09, 2005, 06:10:20 am by lardman »
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva