maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [OS2008] Quake 1 now running! (https://talk.maemo.org/showthread.php?t=10064)

dan 2008-01-29 05:16

Re: Quake 1 now running!
 
Pipeline,


I downloaded the Big Daddy install. Nice job, lots of fun!
Thanks, Dan

luis-garcia 2008-02-01 16:54

Re: Quake 1 now running!
 
i don't know how everybody could make the game run but i couldn't,i have 770 and do exactly as in the instructions,however i always get this message in x terminal:
FindFile: can't find gfx/pop.lmp
Playing shareware version.
FindFile: can't find gfx.wad
Error: W_LoadWadFile: couldn't load gfx.wad

i added the pak0.pak in id1 in mmc2 coz my mmc1 is full,however the command i put in x terminal is:
sdlquake -winsize 800 400 -fullscreen -basedir /media/mmc2/quake/

what am i doing wrong? the command is wrong or i miss something? thank u

pipeline 2008-02-01 18:30

Re: Quake 1 now running!
 
there's no mmc2 on 770... not sure what your using there... you need to put either on mmc1 or internal memory. if you put in internal memory, put id1 dir under /usr/lib/sdlquake. if you formatted mmc to something other than fat, then id1 dir name is case sensitive (i forget if it needs lower or upper)

Are you running os2006 or 2007HE? You booting of mmc or normally?

luis-garcia 2008-02-01 21:10

Re: Quake 1 now running!
 
i thought mmc2 is the internal memory,as i said i don't have more space in mmc1,i have just 64 mb and it's all full so i did what u said to do,place the data in usr/lib/sdlquake/id1,the pak0.pak is there with the other file that u said to put it there,the autoexec.cfg so i guess i have all already to start playing,just give me the correct path to reach the game,when i start with ./ xterminal tells me that it didn't find ./ so please i need the correct path.i have os2006 brand new after waiting 6 months from nokia coz i had the "blank screen of death" 6 months ago.i don't know what u mean booting of mmc or normally,it just boot.. i'm new in all this,sorry and why u say there's no mmc2 in 770? when i open media i have 2 folders: mmc1 and mmc2.. please help in this game i really like it and seems like i'm the only one who can't play it :( thank u pipeline,u're a good guy

pipeline 2008-02-01 23:30

Re: Quake 1 now running!
 
hmm just so we use the same file words :

your 770 has internal memory which i'll just call rootfs (root filesystem)
you also have mmc1 which is mounted to /media/mmc1 (this is your removable media)

its too bad your memory card (mmc1) is full... i realize you just got and are using the default one so i'd recommend buying the largest card you can (2gb?)

for the time you can run it on root filesystem, where you put it in /usr/lib/sdlquake/id1

Once pak0.pak and autoexec.cfg are in that directory then launch sdlquake from :
cd /usr/lib/sdlquake
./sdlquake -winsize 400 240 -fullscreen

if it still cant find files then rename the id1 directory to ID1

The best way to set up files on your device is to install becomeroot, set the root password, and then install openssh server on nokia and connect from desktop using WinSCP (if using Windows) or a program like gFTP if using Linux (desktop).

luis-garcia 2008-02-02 02:22

Re: Quake 1 now running!
 
dude u rock! :) i could finally play but just 2 things: why i don't get sound and how i can play in non fullscreen? thank u very much,u're the best!

pipeline 2008-02-02 03:22

Re: Quake 1 now running!
 
sound should work, not sure why your not getting any

770 kind of needs fullscreen although you can make window smaller in menu options... still fullscreen though because your pixel doubling (zoom)

if you want to run non fullscreen you will need to -not- pixel double... and the only way to do that is to choose width other than 400.

so try :
./sdlquake -winsize 402 240

but you'll see its tiny compared to pixel doubled fullscreen. and 770 probably cant turn up the size much more than that and be playable. your free to try though...

luis-garcia 2008-02-02 03:27

Re: Quake 1 now running!
 
ok man thanks for everything and good work,keep it up!

multi 2008-02-22 10:22

Re: Quake 1 now running!
 
Quote:

Originally Posted by pipeline (Post 78126)
Edited for brevity--- (New packages 1.3.2 created Jan 27, minor optimizations and cleanup)

This is a build of SDLQuake with versions for Nokia n800/n810 and 770. This may end up being a final release if the packages work for everyone.

All installations packages create two menu items, one to launch in a regular 800x480 screen mode, and another to run using pixel doubling for faster gameplay. -IF Running the pxldbl version close other windows first for best reliability -

Methods of install :

N800/810 :

Big Daddy install (Ready-to-run; 20megs installed) :
http://wardenclyffetower.com/MaemoFi...2Run-1.3.2.deb

-or-

1 Meg install - If you intend on putting data files on mmc2 (for me that would be internal sd slot) :
http://wardenclyffetower.com/MaemoFi...mmc2-1.3.2.deb

1 Meg install - If you intend on putting data files on mmc1 (for me that would be external sd slot) :
http://wardenclyffetower.com/MaemoFi...mmc1-1.3.2.deb


770 Installer (Expects datafiles to be on mmc1) :
http://wardenclyffetower.com/MaemoFi...mmc1-1.3.1.deb

IF INSTALLING to MEMORY CARD you also need to create directory called /quake/id1 on it and put in the custom autoexec.cfg and data (PAK) files in it. If you don't own quake you can download the shareware data (PAK) files from here (not needed for bigdaddy install) :
http://www.libsdl.org/projects/quake/

For the autoexec.cfg file, you can either go to xterm and type 'sdlquake-reset' to copy the installed autoexec.cfg to your data directory where the program is looking for it. You would only need to do this one time or if you make changes to the file and want to revert to these original optimized settings. Or you can just download it from here :
http://wardenclyffetower.com/MaemoFi...e/autoexec.cfg

--------------------------
If you have the autoexec.cfg configuration file properly installed to the data directory, then you have Four play modes : StrafeMode, TurnMode, ZoomMode, and ScreenSizeMode.. you toggle through them with the 'Menu' key (below dpad its the center of three buttons).

In all Modes :
DPAD Enter = Fire
Esc = Show Menu
Menu = Change Mode (See Below)
FullscreenKey : Hold down to temporarily look around with dpad

In Strafe Mode :
DPAD Left/Right = strafeleft/straferight
- Key : Jump
+ Key : NextWeapon

In TurnMode :
DPAD Left/Right = turnleft/turnright
- Key : Jump
+ Key : Next Weapon

In ZoomMode (you can use to test/adjust the fov):
- Key : Zoom Field of View out
+ Key : Zoom Field of View in

ScreenSizeMode
- Key : Shrink window area
+ Key : Enlarge window area

---------------------------------
Performance Estimates :
N800 800x480 : 8+fps avg (adjusting the ScreenSizeMode can increase this)
N800 400x240 (PixelDoubled) : ~21 fps avg (with full window size)

N770 400x240 (PixelDoubled) : Estimate 6-8fps (adjusting window size may help)
N770 800x480 : Probably unusable... Using ScreenSizeMode a must.
---------------------------------

For users that prefer to put files where they want here are the required files in a zip archive (includes .ico for other os'es) :
http://wardenclyffetower.com/MaemoFi...uake-files.zip

Pixel Doubling mode is only (automatically) engaged whenever the resolution chosen has width of 400.

And finally here is a snapshot of the latest sourcecode including all my modifications here (in case you have a maemo scratchbox dev environment setup) :
http://wardenclyffetower.com/MaemoFi....9-b131.tar.gz

If you download the source code above do -not- run ./configure just make and/or read the pipeline-readme file. Perhaps others more knowlegeable than me in the deficient areas can make an even better build... please share fixes if you do though.

one of the best FPS that ever came out of John Carmack and ID ,luckily my old QUAKE101 cd I bought in the late 90's still works :)

Thanks ,with the posts in this thread it was fairly easy to get going
(N800 mmc1)
just had to remember to change the case to lower after unpacking in windows on those 2 directories...

I know years ago I had the music from the cd running from the hdd would that be possible with this?

anyone know how to do this ?
(I think it was copy the music files to the root dir of the game and change one line somewhere , but not sure now)

http://www.dcemu.co.uk/vbulletin/showthread.php?t=85515

on this PSP port for the game they can have the soundtrack as .mp3 in a mp3 directory
is there a path in the .cfg to change to do this or is it a bit more complex than that ?

sherifnix 2008-02-23 16:25

Re: Quake 1 now running!
 
OK, The big daddy shareware install works just fine but I can't get the full install to work :(

It also throws me an error when I run "sdlquake-reset"

Quote:

cp: cannot stat 'autoexec.cfg': No such file or directory
rm: cannot review '/media/mmc2/quake/id1/config.cfg' : No such file or directory
I've dug up my old Quake 1 disc and copied the paks but I can't get it to function. When I load it it just shows the console inside quake and sits there. The PAK files work fine on my computer so I know they are fine.

Using the internal card on the N810 (mmc2) I created a quake directory as such:

Quote:

quake/id1/
pak0.pak
pak1.pak
autoexec.cfg
config.cfg
Any ideas on this? I've installed the "mmc2" edition but have had no luck.

multi 2008-02-24 11:05

Re: Quake 1 now running!
 
did you make sure to make the quake/id1 directories lower case?

sherifnix 2008-02-24 20:57

Re: Quake 1 now running!
 
Quote:

Originally Posted by multi (Post 146978)
did you make sure to make the quake/id1 directories lower case?

Sure did. Recopied everything a few times as well. No luck :(

pipeline 2008-02-24 22:15

Re: Quake 1 now running!
 
Yea, looks like the sdlquake-reset script might have wrong paths... although thats really optional... it should have ran anyways.

I should have done this all along but try downloading the data files from :
http://wardenclyffetower.com/MaemoFi...e/quake_sw.zip

Rename or delete any quake directory you have on mmc and then unzip that to root of mmc card and it should run on fresh install of mmc versions, without xterm... and it includes the autoexec.cfg. Then just add your pak1.pak to that directory.

If that doesnt work you should type sdlquakepxd in xterm and post the results.

sherifnix 2008-02-24 22:43

Re: Quake 1 now running!
 
That seemed to do the trick pipepline!

Erm, well only for the first portal on the left? If I go to the second level it just locks up... thats odd. Maybe my pak1.pak is bad? Its odd though that it works fine on the computer.

And perhaps a little feature request :D

Is it possible to have a bigger icon for the 2008 touch menu? Or is there a trick to resizing it. Lol, yes I'm crazy.

pipeline 2008-02-24 22:48

Re: Quake 1 now running!
 
In xterm, type :
ls -l /media/mmc2/quake/id1 and tell me the pak1.pak line.

I'd make sure the case matches what pak1.pak uses and if non-fat filesystem then make sure permissions on that file are readable by user.

If i copy over my retail pak1.pak (lowercase) it reads out as 34257856 bytes with -rw-r--r-- permissions

About icon, yep i have sample installer to work with now, i might redo some packages to have large icons... not sure how that will affect 2007 users though.

sherifnix 2008-02-24 22:54

Re: Quake 1 now running!
 
my pak1.pak is 34362201 with -rw-r--r-- permissions

i wish i had my original disc... its long gone, my stupid friend scratched it and i had the entire development team's signatures on it... won it at a trade show many many years ago... well before quake came out too. i was totally pimpin with that disc lol.

edit:

wow i was playing the first level through messing with settings.. this thing rapes the battery!!! might have to get an extra pack if im going to be playing a lot :)

pipeline 2008-02-24 22:59

Re: Quake 1 now running!
 
Ok so if you replace both paks, what happens if launched from xterm using :
sdlquakepxd

Could be that your (prerelease?) quake cd has pak files of different version number than retail.

as far as battery goes i never noticed that... could be reboots did that... as mentioned in other threads i've noticed a few reboots will shave some bars off that battery quick.

sherifnix 2008-02-24 23:12

Re: Quake 1 now running!
 
ive been rebooting a lot due to the crashes, thats odd how it would kill the battery so quickly. i suppose that is the cause, though i wonder why?

i'll try to attain a fresh copy since I technically own 2 copies of the game, both win and mac.

sherifnix 2008-02-24 23:53

Re: Quake 1 now running!
 
thanks pipeline, looks like my pak files were messed up somehow. everything is working perfectly now :)

can't wait for your '08 install packages :D maybe we'll all play on a tablet server sometime... would be hilarious to spectate since we'd all have gimp controls

pipeline 2008-03-17 00:14

Re: Quake 1 now running!
 
If anyone wants to try out an alternate keymapping for n810 devices, i've got an updated autoexec.cfg you can try out.

I havent updated my installers yet but you can download it here :
http://wardenclyffetower.com/MaemoFi...e/autoexec.cfg

and put that in your quake/id1 directory (Ready2Run users put in /usr/lib/sdlquake/id1)

810 has weird controls not so good for gaming but i think i made it as good as it can... if you have better ideas let me know.

OK HOWS THIS (although you kind of have to try this to get a feel for it)

By default 810 is just setup for keyboard mode (+stylus if you need it)... keyboard mode feels like old quake days :) In this (default) mode :
DPad Left/Right : Strafe Left/Right
DPad Up/Down : Forward /Backward
DPad Enter : Fire
Q : Next Weap
A : Look Up
Z : Look Down
P : Look Left
BACKSPACE : Look Right
ENTER : Fire (so both dpad enter and enter fires your choice)
SPACE : Jump

In addition to this i added a non-default 810 mode which you can get to by hitting the menu key once (its second mode)... in this mode you can close the keyboard and do most things :
FULLSCREEN : Move Forward
Zoom Out : Fire
Zoom In : NextWeap

Once you've put it into 810Mode then both keyboard and no-keyboard are simulateneous so you can pop out keyboard at times and close at others if thats what you wanted to do.

Unless i hear other suggestions i will bundle this autoexec into new packages (probably next week) and make a new minor revision which i can also put in repo.

If anyone has a cool 64x64 icon for quake let me know otherwise i'll probably end up with a q1 logo similar to the q2 logo.

XTC 2008-03-18 21:10

Re: Quake 1 now running!
 
As for optimization for non fpu machines.
I assume native linux quake does not use OMAP's DSP.
Maybe there is something like fpu using DSP code - ready to implement?

On my 770 - with 2007HE image flickers with pixel-doubling - every time I'm shot (with occasional screen update like flashblend and console output).

pipeline 2008-03-18 23:19

Re: Quake 1 now running!
 
I dont have a 770 any more so i cant test drive any changes but i might look into updating 770 version sometime soon. I think i looked for way to disable 'screen flash' but theres no settings for that in config files (only a command to cause a flash :/ ) But maybe i can find code to disable flashes and other items.

I think i remember on n800/2007 (where flicker was more common than on 2008) that it helped to have no windows loaded in background. You might also try increasing screensizemode to hide the status bar so those update wont possibly cause flash/flicker on repaints.

XTC 2008-03-19 19:15

Re: Quake 1 now running!
 
Yesterday I was able to try Hexen2 port and I must admit - It works significantly (30-40% imho) faster than Quake. I was a bit confused since H2 uses more textures and complex objects as well as some improvements over native quake.

Stal 2008-03-22 12:40

Re: Quake 1 now running!
 
wow, the new n810 controls work a treat! Found it much easlier to use. :D

Played through and completed the first epsidode, now guess i need the original pak files for the others.

Now where did i put that disk........

ukki 2008-03-23 21:20

Re: Quake 1 now running!
 
Finally managed to test this. Excellent port and excellent controls. Great job Pipeline. Runs very smoothly on n800 compared to 770. Didn't manage to play multiplayer between two tablets though. Maybe my quake command line skills are just rusty.

3xternal 2008-03-24 04:57

Re: Quake 1 now running!
 
This may have already been covered, but I really don't want to browse 11 pages.

Is there a way to setup the controls exactly like Duke Nukem 3D, particularly the mouse look using the stylus?

pipeline 2008-03-24 05:10

Re: Quake 1 now running!
 
yea but you could at least read the first post

mouselook is that way by default... if mmc then put my autoexec.cfg in id1 dir of data dir

3xternal 2008-03-24 06:56

Re: Quake 1 now running!
 
I did read the first post, but not close enough I guess. Thanks for setting straight. :)

(I am using MMC)

qwerty12 2008-04-17 18:03

Re: Quake 1 now running!
 
I did a quick mod to the latest sdlquake mmc1 version for the pixdbl files. Now, if you press home, the q1 icon shows up :).

/usr/bin/sdlquakepxd:

Quote:

#!/bin/sh
BASENAME=`basename $0`
export SDL_VIDEO_X11_WMCLASS=${BASENAME}
export WM_CLASS=${BASENAME}
cd /usr/lib/sdlquake
./sdlquake -nocdaudio -winsize 400 240 -fullscreen -basedir /media/mmc1/quake $1 $2 $3 $4 $5 $6
/usr/share/applications/hildon/sdlquakepxd.desktop:

Quote:

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=SDL Quake PixDbl
Exec=/usr/bin/sdlquakepxd
Icon=sdlquake
Type=Application
Terminal=false
X-Icon-Path=/usr/share/icons
StartupNotify=true
X-Window-Icon=sdlquake
X-Window-Icon-Dimmed=sdlquake
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
StartupWMClass=sdlquake

pipeline 2008-04-17 18:30

Re: Quake 1 now running!
 
Thanks! Thats the one area i had been wanting to figure out... i'll test this out tonight on several programs.

qwerty12 2008-04-17 18:42

Re: Quake 1 now running!
 
Np :)

The links here are useful too:
http://www.internettablettalk.com/fo...ad.php?t=18452

Also, set up the program for dbus (create a service file etc) and you get a nice startup notification :)

Of course, I speak as a non dev... :p

pipeline 2008-04-17 23:14

Re: Quake 1 now running!
 
Heh well being a maemo developer is 99% compiling someone elses code so you must mean you just dont have scratchbox installed ;)

Did you get this to work? Im not having luck... maybe the dbus service file is required just for taskbar integration?

qwerty12 2008-04-17 23:25

Re: Quake 1 now running!
 
Quote:

Originally Posted by pipeline (Post 171295)
Heh well being a maemo developer is 99% compiling someone elses code so you must mean you just dont have scratchbox installed ;)

Did you get this to work? Im not having luck... maybe the dbus service file is required just for taskbar integration?

Hehe, true ;p. I have a scratchbox installed (2 actually :p)

I've had varied success, in xmms, I can use those lines without a dbus service for it to show in the side. In quake, those lines only work for the home button.

Writing a dbus service file is quite easy but I'm not if the app needs to be dbus aware, when i tried one with xmms, it would crash.

pipeline 2008-04-17 23:46

Re: Quake 1 now running!
 
Quote:

Originally Posted by qwerty12 (Post 171298)
Hehe, true ;p. I have a scratchbox installed (2 actually :p)

Ah yes and i see you've been compiling synaptic and unionfs-- +1 to both those efforts :) No more denying you are a linux developer now you ran 'make'.

I'll keep messing around with this... im sure theres some weird magical incantation i am missing.

pipeline 2008-05-11 01:32

Re: Quake 1 now running!
 
Now that i have the XQF game server browser running, i took another look at quake multiplayer (it didnt work before), and found a patch which the sgi irix port of quake multiplayer devised to fix it for them.

So multiplayer now works and it works with the XQF server browser (well for lan games at least... no standard quake master servers are up with default xqf config)

OS 2007 users let me know if the N800/810 doesnt work for you.

N800/N810 Ready2Run, mmc2, and mmc1 packages in first post.

A new 770 build is also in first post, so multi should in theory work there too.

pipeline 2008-05-11 16:31

Re: Quake 1 now running!
 
I was able to run a threewave ctf server and connect to it from another tablet using XQF.

I made a zip of the ctf folder which contains two official mappacks (16 maps). Links and info in first post.

Hopefully we will get quakeworld (quakeforge source port) which will have more internet games but at least you can play ctf with friends on tablet now over lan or internet.

pipeline 2008-05-12 23:34

Re: Quake 1 now running!
 
Well i was making fixes to support teamfortress so i did a new build (sorry if you just upgraded).

- Fixed Flickering on level loads... no more ugly desktop showing through.
- Numbers are available when SHIFT is held down so 810 users can type in numbers.
- Re-added back the -mem variable i forgot in rev36, which some mods require
- Increased the number of command line variables from 6 to 9 for launching mods with many options

*Please Uninstall and reinstall* since the package names have changed for r2r, mmc1, and mmc2 packages.

Links in first post.

pipeline 2008-05-17 19:42

Re: Quake 1 now running!
 
Wow i feel like i finally got the sdlquake port done but i wanted one more mod... botmatch.

This mod is for mmc1/mmc2 8x0 users with full retail data files (pak1.pak).

Its more than just a mod, its a maemo quake magnum opus :P

I lifted code from machinima.com to get slow motion settings to make things easier for tablet users.

Then i lifted the omicron bot mod which is very good for emulating ut/q3 type botmatches.

Then i lifted a great set of 18 deathmap maps from the Multiplay Quake Archive.

With that foundation, i made a good autoconfig mappings for maemo controls which include :
AdminMode : Fullscreen=nextmap, zoomin/zoomout toggle settings like shell casing and humanbotpathing which might slow you down if left on
GameSpeed : ZoomOut : slow down; ZoomIn : speedup; fullscreen : showspeed
BotmatchMod : ZoomOut : AddBot; ZoomIn : removebot; FullScreen toggle bottalk
ObserverMode : Fullscreen : become observer; ZoomOut : cycle players; ZoomIn : toggle chasemode

810 Users have additional binds (b : addbot; k : next map; c toggle shell casings; h toggle humanbotpathing)... when i first load on 810 i hit c, h, k (until i find a map), and then b to add bots

It will cycle through all the maps randomly if you let the timelimit or fraglimit run out. If you manually select nextmap from the admin menu it will cycle sequentially through rotation.

If you wanted to play other tablets, they need this mod and maps installed.

Once a rev38 sdlquake and the sdlq-botmatch.zip are installed then from the console you would type :
botmatchpxd : to launch a botmatch game (make a link using personal menu)
botmatchpxd -listen : to host a multiplayer botmatch game other tablets or computers can join

To join a botmatch game you can use XQF and set launch command to sdlquake -game omicron

The net result : pretty good ut/q3-like botmatch capable of running a few bots or using as a demo (observing) showing your nice little computer simulation of lifeforms killing each other :) Speed is acceptable but hitchy in places... at normal (full) speed bots are really difficult... and thats leaving the skill at 0... for nightmare, edit autoexec.cfg and set skill to 3.

So to try out the mod (mmc1/mmc2 8x0 full version users) :
Download rev38 version in first post or repo and then download, and then
Download the sdlq-botmatch.zip to root of mmc where data is and extract.
Run from xterm botmatchxsp

XTC 2008-09-13 06:15

Re: Quake 1 now running!
 
anyone exept me noticed that sdlquake stopped working by segfault?
Reinstall doesn't seem to change anything.
Maybe there's something wrong with one of my packets? Anyway, Hexen2 works without a glitch.
(diablo - ssu updated on n810).

jaeezzy 2008-09-13 15:07

Re: Quake 1 now running!
 
firstly, wow its just great. i played this before in my n95 but playing in N810 is even better.. bigger screen. btw, running it from the menu is great but when i used the personal launcher to run it, it doesn't come fullscreen not even the command sdlquake -winsize 800 480 -fullscreen helped. Also i downloaded the ready-to-run 20megs download and one last thing, where does it got installed? thanx
nevermind, i got it sorted. did impress my ipod touch user fren as IT, in his opinion, is not as good as ipod touch


All times are GMT. The time now is 03:40.

vBulletin® Version 3.8.8