I have the .001 build of Quake of Casios and it works great. Better than I expected, around 4 FPS when corridor crawling. But I have a few ideas to speed things up. I don't know any technical or detailed plans like Jacco has, but maybe the community can fling out ideas that Dan/Jacco haven't thought of yet. I believe that a very good HSR would be best. I would remove more than just hidden surfaces though. Even if you can see clear across the water to the door, why not remove that surface if it's so many units away. This would speed things up, but may take away from gameplay. I don't htink that particles or filters will change the FPS too much. Any other ideas?
Speed Ideas
you could make the textures n the wall less detailed- it would run fine if the lights DIDN'T flicker. (It gives me a headache!) But I can't think of much else. Remove stuff that the player isn't looking at, kinda a load on command type thing.
The textures (and even texture animations) require very little processing time compared to the work to layout and render the 3D world. I've tried removing all textures completely and only a token increase in FPS resulted. Notice if you stand against a wall and look directly at it (regardless of the detail or animation) you will get a very high FPS. Try doing a TIMEREFRESH looking straight down at the ground. I get 20 fps on the iPaq. So surface texturing is very efficient (and doesn't require floating point math).
Dan East
Dan East
Honestly =), HSR (Hidden Surface Removal) may work on the top brand graphics cards like Radeon's, Voodoo5/6's and GeForce2's, but they do not work on a simple 206Mhz iPAQ or Casio for that matter =). The technologies are NOT the same.
TAKE NOTE:
PowerVR are making a mobile 3D Processor designed to work with the next Intel StrongArm CPU – we could very well see some impressive stuff for 2002!
TAKE NOTE:
PowerVR are making a mobile 3D Processor designed to work with the next Intel StrongArm CPU – we could very well see some impressive stuff for 2002!
Would removing the weapon help any? I know there's some console command to take the weapon away but forgot what it was.
Anything else I think of would just be something like reworking the levels. oh well
Note: I now have .004 and there's only a .3 FPS increase. (Does that correlate to the .003 increase in version number? didn't think so)Last modification: Moose Master - 02/24/01 at 08:04:47
Anything else I think of would just be something like reworking the levels. oh well
Note: I now have .004 and there's only a .3 FPS increase. (Does that correlate to the .003 increase in version number? didn't think so)Last modification: Moose Master - 02/24/01 at 08:04:47
Every 3D software program has HSR built in. If Dan were to increase the amount of HS's that were R'ed then it WOULD increase the framerate, because the device would have less 3D world to render, whether the rendering is done by Fixed or Floating, it would help a lot. Maybe HSRing to the point where you can't see the portals in the Introduction level. I'm pretty sure that would help some. Although gameplay and the novelty value would go down sharply.
Also, a switchable mode that would create a FULL BRIGHT mode in which lightmaps would not be rendered. I know that lightmaps slow things down, because Q3A on my 500MHz runs noticeably faster with lightmaps turned off. (Hey, that was a good idea!)
Last modification: Moose Master - 02/24/01 at 08:11:22
Also, a switchable mode that would create a FULL BRIGHT mode in which lightmaps would not be rendered. I know that lightmaps slow things down, because Q3A on my 500MHz runs noticeably faster with lightmaps turned off. (Hey, that was a good idea!)
This is Jacco's area - he's the 3d expert.
Quake has a variable to turn on full bright: r_fullbright. Try setting it to 1 in the autoexec.cfg and see what happens...
Dan East
Dan East
YES, THAT's the command i was looking for. I'll be back in a sec with a new TIMEREFRESH rate.
Alright, that command makes the game look really bad in such a low resolution, but still fun to play. Just no moody atmosphere. The new time refresh rate on .004 with r_fullbright set to 1 is... tada:
identical. 1.8FPS
That's with 8.5 and 15.4 Storage and Program Memory, for reference.
identical. 1.8FPS
That's with 8.5 and 15.4 Storage and Program Memory, for reference.
Hey, how about scanline interleaving? That way only half the pixels would be drawn. Or instead, you could make it 3/4 of the pixels being drawn, that would be the best for looks and speed. It should be an option atleast, for slower SH3 devices atleast.
The scanline method might work for Casio's, but on the iPAQ you'd have problems since the screen is already pretty degraded and looks 'scanline/pixated' as it is. So introducing that would speed it up, but make it diffecult to play/see.
I tried it with my own 3D engine (now using FPM =]) and found it didn't look as bad as I thought, but wasn't worth the tiny speed increase. Quake could be differen't, you never know until you try.
At present I've gathered all the Quake tweaks and command lines and am doing some testing. So far I've got some improvement without loosing too much direct image quality. More soon..
I tried it with my own 3D engine (now using FPM =]) and found it didn't look as bad as I thought, but wasn't worth the tiny speed increase. Quake could be differen't, you never know until you try.
At present I've gathered all the Quake tweaks and command lines and am doing some testing. So far I've got some improvement without loosing too much direct image quality. More soon..
Here's another good idea. How about setting a max polygon limit. Setting this would just gray out any polygons that were rendered LAST. This would be very helpful. Carpediem, I'm not too sure I like you're latest speed increase thing, in .0041. The way you remove the polygon if it's only Half visible or whatever you did. And Carp. Leave a gray or blueish texture in place of the sky, I don't like that leaked look it has now. Good ideas though.
Moose: try experimenting with the following variables:
r_drawflat
r_waterwarp
r_drawentities
r_drawviewmodel
r_maxsurfs
r_numsurfs
r_maxedges
r_numedges
I have a hunch that some of the modifications Carpediem has performed to the source can be duplicated through simple variable settings.
Dan East
r_drawflat
r_waterwarp
r_drawentities
r_drawviewmodel
r_maxsurfs
r_numsurfs
r_maxedges
r_numedges
I have a hunch that some of the modifications Carpediem has performed to the source can be duplicated through simple variable settings.
Dan East
Thanks a lot, Dan. I'll be right back with some results.
How about a view distance slider?
Here's what each command gave (with it's setting and description). I will also give a base for comparison. All of this was done on an E-125 @ 180MHz. These are also seperate scores, not combined gradually. Each setting was set alone. Tests performed on MIPS build 0.0041:
Base marks (E-125 @ 180MHz, all defaults except for binds):
2.587165
r_drawflat - "1" removes all textures from the map:
2.721473 ( +.134308 )
r_drawentities - "0" removes all entites, such as doors, enemies, torches, from the map:
5.606234 ( +3.019069 )
r_drawviewmodel - "0" removes the player's weapon from the screen:
2.626073 ( +.038908 )
r_maxsurfs and r_maxedges don't work. I decided not to post the benchmarks from these commands as they currently do nothing. These commands are NEEDED for PocketQuake, they would increase FPS GREATLY. Read below:
OHHH!! I know why r_maxsurfs and r_maxedges don't work. They are WinQuake commands! And WinQuake commands don't work. Dan East, can you go about fixing this? These to variables are MANDATORY for PocketQuake, as the defaults are way too large. If the edges go above 400 then the game is unplayable, and when surfaces jump above 200, you'll have a hard time. Please fix these commands in your next build.Last modification: Moose Master - 02/25/01 at 17:32:38
Base marks (E-125 @ 180MHz, all defaults except for binds):
2.587165
r_drawflat - "1" removes all textures from the map:
2.721473 ( +.134308 )
r_drawentities - "0" removes all entites, such as doors, enemies, torches, from the map:
5.606234 ( +3.019069 )
r_drawviewmodel - "0" removes the player's weapon from the screen:
2.626073 ( +.038908 )
r_maxsurfs and r_maxedges don't work. I decided not to post the benchmarks from these commands as they currently do nothing. These commands are NEEDED for PocketQuake, they would increase FPS GREATLY. Read below:
OHHH!! I know why r_maxsurfs and r_maxedges don't work. They are WinQuake commands! And WinQuake commands don't work. Dan East, can you go about fixing this? These to variables are MANDATORY for PocketQuake, as the defaults are way too large. If the edges go above 400 then the game is unplayable, and when surfaces jump above 200, you'll have a hard time. Please fix these commands in your next build.Last modification: Moose Master - 02/25/01 at 17:32:38
Fuchal, that's basically what r_maxsurfs and r_maxedges does. But they currently don't work. If you want to run PocketQuake at a continual 10-15FPS you should set these to 100 and 300 or lower. Read my above message if you haven't already. Dan needs to put these commands in, as they are for WinQuake and don't work in this version of PocketQuake.
Ah, cool.
Yes, those are mandatory.
Yes, those are mandatory.
Okay, Quake has hardcoded minimum edges of 2400 and surfaces of 800, so you can't set below that. I modified it for far lower minimums so your var settings will work. Decreasing edges to 600 and surfaces to 100 increased fps by 13% using the new benchmark technique, and by 20% using the old TIMEREFRESH technique. The latter benchmark benefited more because of the size of the starting room, thus a great deal of surfaces are not rendered. Personally I wouldn't decrease those values any further or else too many walls will be lost. Quake does seem to be smart enough to render the closer, more important surfaces while dropping the distant ones, so this improvement is useful. I definitely prefer these types of mods as they can be adjusted by the user. I can't help you with the MIPS version; Carpediem will have to make the following mod to his already modified sources and rebuild:
r_shared.h:
change:
#define NUMSTACKEDGES 2400
#define MINEDGES NUMSTACKEDGES
#define NUMSTACKSURFACES 800
#define MINSURFACES NUMSTACKSURFACES
#define MAXSPANS 3000
to:
#define NUMSTACKEDGES 2400
#define MINEDGES 25
#define NUMSTACKSURFACES 800
#define MINSURFACES 100
#define MAXSPANS 3000
I leave the NUMSTACKEDGES and NUMSTACKSURFACES macros alone so when the surfaces and edges values are default they are still allocated off the stack.
Dan East
r_shared.h:
change:
#define NUMSTACKEDGES 2400
#define MINEDGES NUMSTACKEDGES
#define NUMSTACKSURFACES 800
#define MINSURFACES NUMSTACKSURFACES
#define MAXSPANS 3000
to:
#define NUMSTACKEDGES 2400
#define MINEDGES 25
#define NUMSTACKSURFACES 800
#define MINSURFACES 100
#define MAXSPANS 3000
I leave the NUMSTACKEDGES and NUMSTACKSURFACES macros alone so when the surfaces and edges values are default they are still allocated off the stack.
Dan East
hmm... what about killing the dyn lighting loops for explosions and lava balls, etc... we definitely don't need those... and for torches etc, would it be possible to set a constant based upon an average of the varying light degrees? Anything to knock out those loops if possible. Particle effects, too... possible to disable those?
Lighting effects are always important; if I want crappy lighting I can always play PocketDoom. If it comes down to this, I would prefer to have a toggle to modify these speed enhancers. That way, each user can decide just how low (or high) an FPS they can tolerate.
Oh yeah, and if I recall correctly, those lighting effects are compiled with the map and are not generated dynamically (spontaneous/on-the-fly). This includes torch light, flickering lights, glowing lava, etc. So they shouldn't affect the FPS much. Fire balls may fall into this category, since they are not dynamically generated.
Dynamic lighting, such as that from a players rocket launcher is different. It can't be pre-rendered.
Dynamic lighting, such as that from a players rocket launcher is different. It can't be pre-rendered.
Dudes,
Some notes:
- Quake DOES use 'HSR' (wich stands for hidden surface removal); Quake is using a 'PVS' for that. That's a data set that complements the BSP tree (wich is used for free perfect sorting, by the way), the PVS indicates wich polygons are potentially visible from any given position in 3D space. This technique is, apart from extremely heavy precalculations, virtually 'free' at run-time.
- Scanline interleaving is a good idea, but at 4 fps, it might look VERY bad. The idea is to render odd lines only at odd frame numbers, and even lines only at even frame numbers. This will result in stripes, of course, but at decent frame rates, it can look very good. We will keep this in mind when we reach 10fps overall; this technique will almost double that to 18fps or so.
FYI, I have been focussing on the lowest drawing code (the span renderers), because Dan reported an extremely strong link between the number of pixels on screen and the speed of the game. We get pretty good frame rates now when looking at walls (wich means it was a good idea to start there:), but complex scenes are still way too slow. So I intend to focus on the edge buffer this time; that's a structure that is used to prevent 'overdraw'. It's mainly floating point, but I think it's doable to change that.
- Jacco.
Some notes:
- Quake DOES use 'HSR' (wich stands for hidden surface removal); Quake is using a 'PVS' for that. That's a data set that complements the BSP tree (wich is used for free perfect sorting, by the way), the PVS indicates wich polygons are potentially visible from any given position in 3D space. This technique is, apart from extremely heavy precalculations, virtually 'free' at run-time.
- Scanline interleaving is a good idea, but at 4 fps, it might look VERY bad. The idea is to render odd lines only at odd frame numbers, and even lines only at even frame numbers. This will result in stripes, of course, but at decent frame rates, it can look very good. We will keep this in mind when we reach 10fps overall; this technique will almost double that to 18fps or so.
FYI, I have been focussing on the lowest drawing code (the span renderers), because Dan reported an extremely strong link between the number of pixels on screen and the speed of the game. We get pretty good frame rates now when looking at walls (wich means it was a good idea to start there:), but complex scenes are still way too slow. So I intend to focus on the edge buffer this time; that's a structure that is used to prevent 'overdraw'. It's mainly floating point, but I think it's doable to change that.
- Jacco.
Sparky, carpediem already took out all the particles (or was it Jacco. Ya, it was Jacco).
Dan East: Do you have universally compileable code yet? Because I would love to make those changes myself. I heard that Carpediem did, but I don't like his most recent optimizations.
randall: all lighting effects are rendered during gameplay. It doesn't matter if someone put it an info_light entity somewhere in the map, it can still be turned off. The engine is what renders the lights, not the map itself. And if it were pre-rendered by the map there would be NO speed difference, only a difference in the size of the map itself, and then the quake engine would just be a 3D file viewer.
Dan East: Do you have universally compileable code yet? Because I would love to make those changes myself. I heard that Carpediem did, but I don't like his most recent optimizations.
randall: all lighting effects are rendered during gameplay. It doesn't matter if someone put it an info_light entity somewhere in the map, it can still be turned off. The engine is what renders the lights, not the map itself. And if it were pre-rendered by the map there would be NO speed difference, only a difference in the size of the map itself, and then the quake engine would just be a 3D file viewer.
Is there a way to selectively choose what to take out. It's not neccessary to have Flames on the torches. Maybe just a fixed flame, not a 3D one, like a BMP or something. Sure, from certain angles: unviewable, but from others it would be fine. And the sky can definately go. Maybe just make a ceiling? Also, does easy level go faster because of the absolute lack of monsters?
Mike. Yes, the easy level would go slightly faster, I guess. But no you cannot remove just flames. I think it would be a good idea if Dan could add an option two (2) to the "r_drawentities" console command that would put certain sprites in the places of flames, enemies, etc. But then it wouldn't be quake. Maybe just flames, and keep enemies the way they are.
I'm not here to argue. But a misconception could turn this project the wrong way.
Light entities are compiled and pre-rendered with QRAD, one of the three main map compilers. This information determines the cast shadows, whether a light luminates a surface, and how light bounces about the room. Any map makers can verify that light can bounce throughout an entire map and seep through the tiniest of cracks.
Basically it is a light map to tell the engine HOW to render a light and the effects it has on the environment. Without it, the engine would be painfully slow- which is evidenced when a rocket is fired. Anyone who has been in a high poly rocket arena knows the game lags during a large firefight. Rocket lumination is dynamic, not pre-rendered with QRAD.
Sure the engine renders the light, but the grunt-work was done during compiling of the map. I may be wrong, and it certainly won't be the first time. But try using "r_fullbright 1", and tell me if you notice a significant difference (other than the utter ugliness). The trade-off is just not worth it to pick up an extra 0.1 fps.
Light entities are compiled and pre-rendered with QRAD, one of the three main map compilers. This information determines the cast shadows, whether a light luminates a surface, and how light bounces about the room. Any map makers can verify that light can bounce throughout an entire map and seep through the tiniest of cracks.
Basically it is a light map to tell the engine HOW to render a light and the effects it has on the environment. Without it, the engine would be painfully slow- which is evidenced when a rocket is fired. Anyone who has been in a high poly rocket arena knows the game lags during a large firefight. Rocket lumination is dynamic, not pre-rendered with QRAD.
Sure the engine renders the light, but the grunt-work was done during compiling of the map. I may be wrong, and it certainly won't be the first time. But try using "r_fullbright 1", and tell me if you notice a significant difference (other than the utter ugliness). The trade-off is just not worth it to pick up an extra 0.1 fps.
Removing the skybox shouldn't affect FPS either. It isn't comprised of Polys and doesn't affect the poly count. Polycount (brushes and entities) is what really kills FPS.
On that note, a minor rise in FPS could be achieved through the field of view (FOV). I haven't been able to get the FOV console command to work ("FOV 90" is the default) but "zoom_in" is similar to "FOV 10". At this extremely narrow FOV the fps skyrocketed, but the game is impossible to play while looking through a telescopic lens. Something like "FOV 80" may be a little better.
Has FOV been disabled?
I tried messing with things like "d_mipscale 4" which reduces the quality of the mip textures. All it produced was a low grade texture and a 0.1 fps increase. Nothing to whoop and holler about.
Will we ever be able to play custom maps? Large rooms have always plagued games like Quake- maybe we are expecting too much from maps that were compiled for much faster processors. Some rooms are so large that the grunts I am firing at are no larger than 1 pixel. Close the gap, gain FPS AND you will be able to SEE the target.
I am assuming PocketQuake is based on the WinQuake (1.09) source. Are these two so different that they will never be compatible to play against each other?
On that note, a minor rise in FPS could be achieved through the field of view (FOV). I haven't been able to get the FOV console command to work ("FOV 90" is the default) but "zoom_in" is similar to "FOV 10". At this extremely narrow FOV the fps skyrocketed, but the game is impossible to play while looking through a telescopic lens. Something like "FOV 80" may be a little better.
Has FOV been disabled?
I tried messing with things like "d_mipscale 4" which reduces the quality of the mip textures. All it produced was a low grade texture and a 0.1 fps increase. Nothing to whoop and holler about.
Will we ever be able to play custom maps? Large rooms have always plagued games like Quake- maybe we are expecting too much from maps that were compiled for much faster processors. Some rooms are so large that the grunts I am firing at are no larger than 1 pixel. Close the gap, gain FPS AND you will be able to SEE the target.
I am assuming PocketQuake is based on the WinQuake (1.09) source. Are these two so different that they will never be compatible to play against each other?
Randall, lol. I thought you were talking about a different thing, i think. But yes, QRAD and everything...
I believe I was thinking of things like the flying lava, but oh well.
I believe I was thinking of things like the flying lava, but oh well.
the lava glow, yes, is prerendered, but I don't believe lava balls are...
I was thinking of torches flickering, but since those are heavily prerendered (I thought there still might be some artifacts left in the engine where it was calculating it), I guess that doesn't matter... still, turning off dynamic lighting should help a bit on speed, but yeah, I agree, it should be a toggle.
I was thinking of torches flickering, but since those are heavily prerendered (I thought there still might be some artifacts left in the engine where it was calculating it), I guess that doesn't matter... still, turning off dynamic lighting should help a bit on speed, but yeah, I agree, it should be a toggle.
Randall, to my knowledge your comments regarding performance have been very accurate.
If you're referring to networking, then Pocket Quake will work with Quake running on any other platform, as long as it supports TCP/IP.
Quake's variables are case-sensitive (unlike commands). The current key mapping routines have several deficits, including the inability to enter lowercase letters. Thus it is not possible to set Quake vars via the console at this time. You can however set variables in the autoexec.cfg file:
fov "45"
This gives you a good close-up of the bad guys, but doesn't seem to help performance.
Dan East
If you're referring to networking, then Pocket Quake will work with Quake running on any other platform, as long as it supports TCP/IP.
Quake's variables are case-sensitive (unlike commands). The current key mapping routines have several deficits, including the inability to enter lowercase letters. Thus it is not possible to set Quake vars via the console at this time. You can however set variables in the autoexec.cfg file:
fov "45"
This gives you a good close-up of the bad guys, but doesn't seem to help performance.
Dan East
So, taking out flames would take all the light out? And I thought it was floating point math that killed FPS, not pixels. Is it both?
Taking out the flames would not take out the lights.
FPM will speed things up greatly, but blitting each pixel onto the screen does slow things down. There's no way around that though. And the screen is so small that there aren't many pixels on there anyway.
Last modification: Moose Master - 02/27/01 at 14:30:35
FPM will speed things up greatly, but blitting each pixel onto the screen does slow things down. There's no way around that though. And the screen is so small that there aren't many pixels on there anyway.
Last modification: Moose Master - 02/27/01 at 14:30:35
Taking out flames at this disscussion board really improves communications among programmers to make PocketQuake faster! 
BTW, 999, good job putting out flames before they get too big at this forum, unlike brighthand.
BTW, 999, good job putting out flames before they get too big at this forum, unlike brighthand.
The flames are nothing more than a decoration. Removing them will produce only an incremental increase in FPS.
I keep saying this- the real FPS killer is the number Polys. Pixels have nothing to do with it: there are a FIXED number of pixels that are drawn in every frame. The routines and algorithms that figure out the placments, distortion and visibility of each surface are what slow the engine down. The more polys, the more the routines are called, the more math involved, the slower the rendering.
THOSE routines should be looked at and optimised first and foremost. I believe Dan is working on that avenue.
I know for a fact that more polys are drawn than necessary. Polys that we cannot possibly see, but QVIS decided to include them "just in case".
note: QVIS is one of the three map compilers for Quake-based engines. It helps the engine determine which surfaces the player "sees".
On the tiny screen of a pocket PC, there are also polys that are drawn that are less than 1 pixel. LESS THAN 1 PIXEL! Yes, that is a wasted routine call. What we see on the screen is only a tiny amount of what the engine actually draws. Try using "r_speeds 1" and you will see the number of polys and epolys the engine is drawing in real-time.
We know Polys work in this manner- walk up to a wall and watch the FPS skyrocket. Staring straight at a wall close-up generates an easy 15 FPS. Because it is drawing only a couple Polys. Back up and the FOV (field of view) increases the number of polys the player "sees", and the FPS drops to 2.1.
Yeah, this message was long a boring. Sorry 'bout that, but I keep seeing things on this board about "pixels", "light" and "sound"- all of which don't do diddly compared to the algorithm that manipulates the polys.
I keep saying this- the real FPS killer is the number Polys. Pixels have nothing to do with it: there are a FIXED number of pixels that are drawn in every frame. The routines and algorithms that figure out the placments, distortion and visibility of each surface are what slow the engine down. The more polys, the more the routines are called, the more math involved, the slower the rendering.
THOSE routines should be looked at and optimised first and foremost. I believe Dan is working on that avenue.
I know for a fact that more polys are drawn than necessary. Polys that we cannot possibly see, but QVIS decided to include them "just in case".
note: QVIS is one of the three map compilers for Quake-based engines. It helps the engine determine which surfaces the player "sees".
On the tiny screen of a pocket PC, there are also polys that are drawn that are less than 1 pixel. LESS THAN 1 PIXEL! Yes, that is a wasted routine call. What we see on the screen is only a tiny amount of what the engine actually draws. Try using "r_speeds 1" and you will see the number of polys and epolys the engine is drawing in real-time.
We know Polys work in this manner- walk up to a wall and watch the FPS skyrocket. Staring straight at a wall close-up generates an easy 15 FPS. Because it is drawing only a couple Polys. Back up and the FOV (field of view) increases the number of polys the player "sees", and the FPS drops to 2.1.
Yeah, this message was long a boring. Sorry 'bout that, but I keep seeing things on this board about "pixels", "light" and "sound"- all of which don't do diddly compared to the algorithm that manipulates the polys.
Ah, I didn't realize fov was a variable and case sensitive. I figured it was a command. Wow, I'll have to try a bunch of other "variables" now.
I just wanted to see what "fov 80" would produce.
I just wanted to see what "fov 80" would produce.
That's why I'm telling Dan he needs to get those r_maxsurfs and r_maxedges working again, which he has informed us is complete. But since no one seems to be working on the Casio build, and since Dan's latest source isn't uploaded, even I can't compile it with these new settings.
I purchased a programming book today, maybe it will help me understand the language more so I can really contribute, but until then and until CARPEDIEM gets out of his dank depression, no one is really there to head up the MIPS department.
I purchased a programming book today, maybe it will help me understand the language more so I can really contribute, but until then and until CARPEDIEM gets out of his dank depression, no one is really there to head up the MIPS department.
Dan, I figured the two should connect regardless of platform. I think only version matching is required- which I wasn't sure was happening. I tried connecting to WinQuake 1.0 (1.09) through TCP/IP, and it won't acknowledge a server exists. I switched the PocketPC to act as server and it still didn't work. Both versions are using the same demo PAK file.
I have TCP/IP working- I can browse the internet through the USB connection. Maybe I'll mess with it a little more.
I have TCP/IP working- I can browse the internet through the USB connection. Maybe I'll mess with it a little more.
I've played it between my PC and an iPaq using ethernet. If a version mismatch occurs Quake will advise you. By default TCP/IP connectivity is not established over a USB / Serial Activesync connection, so I'd say that is why you can't get it to work. There's a thread in this forum entitled "network with pc?", in which a link was posted with instructions on how to configure your PocketPC to establish TCP/IP over USB:
http://www.tekguru.demon.co.uk/EM500/usbtonet.htm
Dan East
http://www.tekguru.demon.co.uk/EM500/usbtonet.htm
Dan East
yeah, I have used that method to connect to my desktop computer for quite some time. It supports synching as well as connectivity to the internet through a proxy.
I see if assigning a static IP to my PocketPC does anything.
I see if assigning a static IP to my PocketPC does anything.
nope, assigning a static ip doesn't work. Ethernet may be the only way to connect to a Quake server. Has anyone tested this online?
For anyone who is trying to squeeze every last bit of performance out of PocketQuake, try the FOV settings. I assigned an alias in the autoexec(use all lowercase just to be safe):
alias fov90 "fov 90"
alias fov70 "fov 70"
Typing fov70 at the console will change this variable (or fov90 to revert back to default). Here is what happens on my E-125 @ 150mHz-
timedemo- 0.5 fps increase
fov 90: 3.7 fps
fov 70: 4.2 fps
timerefresh- 0.47 fps increase
fov 90: 1.78 fps
fov 70: 2.25 fps
Since this variable only narrows the field of view (FOV) there is no loss in detail, lighting or effects. The only noticeable difference is that less of the players weapoon is drawn- but it is still visible.
Reducing the FOV beyond 70 may be intolerable, since it is essentially "zooming" in. This doesn't affect the "screen size" whatsoever.
A minimal increment, but an increment none-the-less.
For anyone who is trying to squeeze every last bit of performance out of PocketQuake, try the FOV settings. I assigned an alias in the autoexec(use all lowercase just to be safe):
alias fov90 "fov 90"
alias fov70 "fov 70"
Typing fov70 at the console will change this variable (or fov90 to revert back to default). Here is what happens on my E-125 @ 150mHz-
timedemo- 0.5 fps increase
fov 90: 3.7 fps
fov 70: 4.2 fps
timerefresh- 0.47 fps increase
fov 90: 1.78 fps
fov 70: 2.25 fps
Since this variable only narrows the field of view (FOV) there is no loss in detail, lighting or effects. The only noticeable difference is that less of the players weapoon is drawn- but it is still visible.
Reducing the FOV beyond 70 may be intolerable, since it is essentially "zooming" in. This doesn't affect the "screen size" whatsoever.
A minimal increment, but an increment none-the-less.
This is what I loose, I find it gains me 1FPS in totality and yet no real quality is lost. You may think one or two of these commands are aren't needed, but for some reason they do work so don't argue and just use it:
echo "999.cfg"
echo "pocketmatrix.com/pocketquake"
r_waterwarp "0"
crosshair "1"
viewsize "100.000000"
sensitivity "6.000000"
fov "70"
cl_bob "0"
cl_bobup "0"
d_mipcap "0"
d_mipscale "0"
loadas8bit "1"
r_drawviewmodel "1"
r_maxedges "1000"
r_maxsurfs "500"
vid_nopageflip "1"
vid_mode "1"
(Last one not enabled in current build).
If you're planning on using Landscape more then the mipcap/scale should = 1, doesn't loose much quality but you do see more of an improvement in landscape with it. Hope this helps some of you, I tested each setting and this is the best I could find.
echo "999.cfg"
echo "pocketmatrix.com/pocketquake"
r_waterwarp "0"
crosshair "1"
viewsize "100.000000"
sensitivity "6.000000"
fov "70"
cl_bob "0"
cl_bobup "0"
d_mipcap "0"
d_mipscale "0"
loadas8bit "1"
r_drawviewmodel "1"
r_maxedges "1000"
r_maxsurfs "500"
vid_nopageflip "1"
vid_mode "1"
(Last one not enabled in current build).
If you're planning on using Landscape more then the mipcap/scale should = 1, doesn't loose much quality but you do see more of an improvement in landscape with it. Hope this helps some of you, I tested each setting and this is the best I could find.
Oh yes and in landscape you should set a viewsize of 80 or 70, I find that's perfect for it, makes it nice and playable with the above changes. I love my iPAQ =) and I also love Dan, but not in that way hehe.
One thing I noticed was that the stylus m-look tends to center itself every now and then, usually when firing.
Would it also be possible to swap the attack button with the Jump one. This makes it easy to use in landscape with a 80/70 viewsize and also stops your finger conflicting with other buttons.
I normally have to use the D-Pad 'center' button to fire (diffecult to hold and fire like that) because the V-Pad seems designed for mini-hands =).
One thing I noticed was that the stylus m-look tends to center itself every now and then, usually when firing.
Would it also be possible to swap the attack button with the Jump one. This makes it easy to use in landscape with a 80/70 viewsize and also stops your finger conflicting with other buttons.
I normally have to use the D-Pad 'center' button to fire (diffecult to hold and fire like that) because the V-Pad seems designed for mini-hands =).
LOL!
Mark, as if by irony, we both have the nearly the exact same autoexec.cfg file
I've got a little more extreme settings when it comes to texture degradation, in the hopes of a .2 fps increase to add to the plate.
Mark, as if by irony, we both have the nearly the exact same autoexec.cfg file
I've got a little more extreme settings when it comes to texture degradation, in the hopes of a .2 fps increase to add to the plate.
If anyone is interested in what Marks configuration does (* denotes commands that potentially increase/decrease FPS):
---------------
r_waterwarp - toggles wave effect (while underwater only) on/off
crosshair - toggles aiming crosshair on/off
*viewsize - size of the visible window
sensitivity - sets mouse sensitivity (mlook)
*fov - limits field of view by zooming in/out, 90 is default, 70 is comfortable.
*cl_bob - amount the weapon bobs up and down. 0.0 to 1.0 (0.2 is default)
*cl_bobup - amount player bobs up and down. 0.0 to 1.0 (0.5 is default). "1.0" is no bobbing.
*d_mipcap - forces use of non-detailed mip textures. degrades visual quality. 1=on 0=off
*d_mipscale - detail level of mip textures. 0 to 4 (1 is default) setting to 4 degrades visual quality significantly on MIPS.
loadas8bit - toggles 8bit sound on/off.
*r_drawviewmodel - toggles the drawing of the player weapon on/off
*r_maxedges - sets the maximum number of edges to draw.
*r_maxsurfs - sets the maximum number of brush polys to draw.
vid_nopageflip - disable VESA page flipping
vid_mode - sets display to use a specified mode. PocketQuake currently supports two modes, portrait (default) and landscape. landscape does not work on MIPS.
----------------
I haven't verified if all these commands actually "do" anything. I can't imagine vid_pageflip works, since PocketPCs don't use VESA for video operations.
Careful with maxsurfs and maxedges- setting these too low will result it entire walls and textures not being drawn.
---------------
r_waterwarp - toggles wave effect (while underwater only) on/off
crosshair - toggles aiming crosshair on/off
*viewsize - size of the visible window
sensitivity - sets mouse sensitivity (mlook)
*fov - limits field of view by zooming in/out, 90 is default, 70 is comfortable.
*cl_bob - amount the weapon bobs up and down. 0.0 to 1.0 (0.2 is default)
*cl_bobup - amount player bobs up and down. 0.0 to 1.0 (0.5 is default). "1.0" is no bobbing.
*d_mipcap - forces use of non-detailed mip textures. degrades visual quality. 1=on 0=off
*d_mipscale - detail level of mip textures. 0 to 4 (1 is default) setting to 4 degrades visual quality significantly on MIPS.
loadas8bit - toggles 8bit sound on/off.
*r_drawviewmodel - toggles the drawing of the player weapon on/off
*r_maxedges - sets the maximum number of edges to draw.
*r_maxsurfs - sets the maximum number of brush polys to draw.
vid_nopageflip - disable VESA page flipping
vid_mode - sets display to use a specified mode. PocketQuake currently supports two modes, portrait (default) and landscape. landscape does not work on MIPS.
----------------
I haven't verified if all these commands actually "do" anything. I can't imagine vid_pageflip works, since PocketPCs don't use VESA for video operations.
Careful with maxsurfs and maxedges- setting these too low will result it entire walls and textures not being drawn.
randall
a little mistake:
d_mipscale "1" //far away textures will be lower quality (default)
d_mipscale "0" //far away textures will be high quality
d_mipcap "x" //x=
0 - highest detail (default)
1 - high detail
2 - medium detail
3 - low detail
4 - lowest detail
and i think
cl_bobup has todo with the bob of the weapon (i´m not sure)
a little mistake:
d_mipscale "1" //far away textures will be lower quality (default)
d_mipscale "0" //far away textures will be high quality
d_mipcap "x" //x=
0 - highest detail (default)
1 - high detail
2 - medium detail
3 - low detail
4 - lowest detail
and i think
cl_bobup has todo with the bob of the weapon (i´m not sure)
indeed, I had them backwards- I guess I was in a hurry. Thanks for the correction.
I was looking over the source code, and found that mipcap has a range of 0 to 3. Numbers are allowed beyond this range, but they snap back to 0 or 3 (whichever is closest).
cl_bobup and cl_bob appear to do nearly the same thing, although they are separate variables. On the low FPS of the PocketPC the bobbing of the the player isn't as visible as the bobbing of the weapon.
I was looking over the source code, and found that mipcap has a range of 0 to 3. Numbers are allowed beyond this range, but they snap back to 0 or 3 (whichever is closest).
cl_bobup and cl_bob appear to do nearly the same thing, although they are separate variables. On the low FPS of the PocketPC the bobbing of the the player isn't as visible as the bobbing of the weapon.
999,
Great minds think alike =)
So long as it gets a good speed boost with minimal quality loss (and it does seem to) then I'm happy. Checkout the 'new benchmark technique' thread to see my scores.
Great minds think alike =)
So long as it gets a good speed boost with minimal quality loss (and it does seem to) then I'm happy. Checkout the 'new benchmark technique' thread to see my scores.
I posted this in the benchmark thread, although I think I should have posted it here, anyhow, sorry to double up like this:
------------------------------------------------
Got my Autoexec in order and after OC'ing to 236, I'm hitting some pretty nice numbers for Portrait Mode
**TIMEREFRESH**
206

236

**TIMEDEMO**
206

236

You can download this "speed" cfg Here
------------------------------------------------
Got my Autoexec in order and after OC'ing to 236, I'm hitting some pretty nice numbers for Portrait Mode
**TIMEREFRESH**
206

236

**TIMEDEMO**
206

236

You can download this "speed" cfg Here
hmm... I know the polys are the heavy duty part, I'm just asking if by eliminating the lighting produced by explosions, lava balls, etc, we can't speed this up a bit...
BTW, the USB sync is obviously not a full out connection. It doesn't like to work unless you have a proxy for the specific application you're trying to use it for. The sync actually connects loopback on various ports... The only program I've ever seen to work across the sync without a proxy, which could get to me/my ISP, was ZTerm, and I'm not sure what made it special. Don't expect PQ to work over a sync in multiplayer, that's just not how the sync works.
BTW, the USB sync is obviously not a full out connection. It doesn't like to work unless you have a proxy for the specific application you're trying to use it for. The sync actually connects loopback on various ports... The only program I've ever seen to work across the sync without a proxy, which could get to me/my ISP, was ZTerm, and I'm not sure what made it special. Don't expect PQ to work over a sync in multiplayer, that's just not how the sync works.
lighting has been discussed. Still I am going to look at the source code for qrad lighting vs dynamic lighting.
For an idea of why the polys are killing us, use "r_draworder 1" and start a single player game. You will see areas (and extra polys) that you have never seen before. The dynamic lighting isn't diddly squat compared to those extra 200-250 polys.
I realized USB wasn't a full-out TCP/IP connection last night. I couldn't ping either device (PocketPC or laptop). I couldn't get tracert to work either. I guess what I need as a NIC emulator for my PocketPC.
For an idea of why the polys are killing us, use "r_draworder 1" and start a single player game. You will see areas (and extra polys) that you have never seen before. The dynamic lighting isn't diddly squat compared to those extra 200-250 polys.
I realized USB wasn't a full-out TCP/IP connection last night. I couldn't ping either device (PocketPC or laptop). I couldn't get tracert to work either. I guess what I need as a NIC emulator for my PocketPC.
I don't think it would speed things up much, but it should be a variable anyway. maybe r_dynamic which defaults to 1, or on.
Has anyone tried creating the new USB connection on their Pocket PC via the registry as explained in the article:
http://www.tekguru.demon.co.uk/EM500/usbtonet.htm
This should allow TCP/IP over USB...
Dan East
http://www.tekguru.demon.co.uk/EM500/usbtonet.htm
This should allow TCP/IP over USB...
Dan East
Would such a multiplayer game slow things down?
No. Lag time is high, but there is negligible decrease in fps.
Dan East
Dan East
oh, ok, I would, but I dont own QUAKE
I don't own Quake I either. Download the free version from ID Software.
http://www.idsoftware.com
Dan East
http://www.idsoftware.com
Dan East
Dan, yes I have tried that USB connection described in the article. It works perfectly.
BUT, the real issue is that it isn't a true network connection. Although it allows TCP/IP packets through a proxy there is something that prevents the ip addresses from being broadcast through the network. Even the computer with the proxy can't ping the PocketPC (or vice-versa).
Although I am quite adept at establishing networks, this one has me puzzled.
BUT, the real issue is that it isn't a true network connection. Although it allows TCP/IP packets through a proxy there is something that prevents the ip addresses from being broadcast through the network. Even the computer with the proxy can't ping the PocketPC (or vice-versa).
Although I am quite adept at establishing networks, this one has me puzzled.
So whats the problem if it works perfectly? I thought that was the goal: Mutiplayer, not a networkconnection.
I've tried multiplayer, and although my ping was 350-400, I found it to be very playable, especially against someone of the same Ping.
I've seen people CounterStrike with 400+ pings and still hold their own.
Also, you need at the least a 56k CFModem to play online, however I would recommend an ethernet connection for even better pings (20-120)
I've seen people CounterStrike with 400+ pings and still hold their own.
Also, you need at the least a 56k CFModem to play online, however I would recommend an ethernet connection for even better pings (20-120)
"it works perfectly" means it works for what the tutorial said it would do: connect to internet through a USB synch.
It cites NOTHING about a network connection with TCP/IP and UDP, which is required to play Multiplayer Quake.
I have even tried port mapping, but to no avail
It cites NOTHING about a network connection with TCP/IP and UDP, which is required to play Multiplayer Quake.
I have even tried port mapping, but to no avail
Ok, I gotcha randall-
Dan, is there a CF to PCMCIA adapter for us casio users to set that stuff up?
Dan, is there a CF to PCMCIA adapter for us casio users to set that stuff up?
I know of TWO CF to PC CARD (!) adaptors. Here's the link to both:
http://www.accurite.com/CFPCAdapter.html
http://www.sycard.com/cfext166.html
The second one is better because it uses a flexible flat cord, unlike the first one which is on a PCB board. If you got the second you could tape it around the back so the card was facing towards the ground.
http://www.accurite.com/CFPCAdapter.html
http://www.sycard.com/cfext166.html
The second one is better because it uses a flexible flat cord, unlike the first one which is on a PCB board. If you got the second you could tape it around the back so the card was facing towards the ground.
Thanks Moose- you are always informedn with these things, thats great for me!
Well, it all depends on when and where you're going to use it. If it's mobile than the second one is what you need, just check to make sure the specs on it are enough to match the PC Card you're looking at. The top one can take ANY PC Card because it has an external power supply.
Ok. That way I could get the sierrra wireless card thingy! That thing is Phat, but since it requires Broadband and a home networking port, does not recieve Dr. Phat's Phat Seal of Phatness.
Well, it receives MooseMaster's Seal of Moosyness
why, it excludes those that arent willing to spend $1000 to build a home network.
Uhm.. more like 200 dollars. RICs go as low as $40 and hubs couldn't be more than $120, depending on the size of the HUB.
lets see... new NICs can go for as little as $14 for 10/100. Used NICs are less. PCMCIA NICs are significantly more.
New hubs can be had for as little as $40. Used hubs can be as low as $5.
If you only have 2 computers, a hub isn't necessary though. (requires a cross-over cable)
New hubs can be had for as little as $40. Used hubs can be as low as $5.
If you only have 2 computers, a hub isn't necessary though. (requires a cross-over cable)
umm, lets see- wireless! oh, no less than $400 for a hub. And the Sierra aricard is about $250, that would cost more than my PDA!
Wireless is ALWAYS cool. But really, why wireless networking? So you can synchronize with your PC while sitting on the toilet?
I think I'd rather have wireless internet (via wireless modem or cellular) and VPN, and synch that way.
I think I'd rather have wireless internet (via wireless modem or cellular) and VPN, and synch that way.
Oh yeah, and I'm not knocking those who have a wireless network. If you have the extra money, go for it.
I have 6 computers on my LAN at home (two laptops), I can't imagine how much it would have cost to make it all wireless.
I have 6 computers on my LAN at home (two laptops), I can't imagine how much it would have cost to make it all wireless.
That is my point, Sierra AirCard is wireless, and requires at least a wireless hub, therefore it does not recieve my Phat Seal of Phatness. Now, if something Inexpensive would plug into a USB port and support the AirCard, I would give it two seals of phatness!