PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Extracting .gz

I can uncompress the pak1 from a gz. to a .pak file.

how do I do this?
What program?

Thanks
You don't need to. The game can read the pak0.pak.gz file. This is a good thing because the gzip compressed file is less than half the size of the uncompressed file.

Read the readme file to see where to put the files. It even tells you that you don't need to ungzip it.

If you're one of those types of people, then I'll just tell you now that you need to put the pak0.pak.gz file in \quake\ID1 or \Storage Card\quake\ID1

Also, if you MUST ungzip it, then try WinRAR.com
Yeah yeah. I have a 128 mb CF card.

On a hunch, i just ran it and my winrar automatically opened it, before I even read all this.

And I already had it on the card. Thanks mate.
For the record, WinZip can decompress .gz. To create gzipped files you can use the tools at http://www.gzip.org . DEXplor can compress or decompress .gz and .zip directly on your PPC.

If you ungzip the files then Pocket Quake can load much, much faster (because of the super-cheapo way in which I added compression support to Quake).

Dan East
Dan, when are you going to get back to working on PocketQuake? Maybe you could do a few bug fixes or something after Varium is finished? Just kind of hoping for any update on PocketQuake, it's a project that deserves attention.
It will be a very long while before I can work on PQ. Definitely not before Varium is released. At this point I would be more inclined to rip out the entire 3D engine and use something like PocketGL in its place. The immediate limitation that comes to mind is that Quake uses light maps, while PocketGL doesn't (it uses vertex lighting). If I remember correctly, the Quake source was pretty well designed to support a different 3d renderer, even though things like OpenGL, Direct3D and hardware 3D rendering didn't exist at the time.

I would at least seriously evaluate going that route.

Dan East
NinthOption · 12 Dec 2002, 01:42 UTC
Wait, are you saying we'll see GLQuake on our PPC's in the future, or just faster software Quake?
No Pocket PC in existance has hardware 3D acceleration, so it would be software no matter what. However, I believe I would get better end results (performance-wise) if I could use PocketGL, and it would take less development time as well.

So to be specific, PocketGL is a software renderer, that pretty much doesn't have anything to do with OpenGL. Pocket3DLib or similar would have been a better name.

Dan East
PocketGL is simply a 3D engine, just like the technology behind Quake is a 3D engine, just like Lithtech is a 3D engine, and Unreal Engine is a 3D engine. PocketGL is a poorly named 3D engine for the PocketPC, it is not a graphics enhancer.

PocketGL is a 3D engine, like Quake's, but it is highly optimized for the PocketPC meaning it runs very smoothly on the PocketPC. Dan just wants to tear Quake's guts out and put PocketGL in it's place because PocketGL is optimized to use integer calculations (fast) while Quake uses floating point (slow).

For the final time, PocketGL is a poorly named 3D Engine for the PocketPC, not a graphics enhancement technology like as OpenGL (which REQUIRES a Hardware Graphics card!!!).
NinthOption · 12 Dec 2002, 01:52 UTC
Oh!

I thought pocketGL was some hack someone put together to run OGL on an ARM chip REALLY poorly.

And, yes, I know what an engine is.
There is a miniGL port that was announced in the developer forum a week or two ago. However it uses pure floating point math, so it would be slower than the existing partially converted Pocket Quake routines.

I've said this about a dozen times now, but when an OEM decides to spend an extra 25 cents per device and include a floating point processor, Quake and Quake II will probably run at full speed, even on a 206 mhz Pocket PC. I would much rather see that than true 3D hardware support at this time.

Basically all 3D hardware does is draw polys. There is a huge amount of higher level stuff that has to be done in a 3D game, and that would all still have to be done in fixed point, even if 3D hardware existed for the PPC. It is a pain in the butt having to do fixed point math all the time (lots of extra shifts, radians have to be represented in fixed point, etc), plus there are precision and range issues when importing meshes, etc.

Dan East
I could be mistaken, but yes it is a way to port OpenGL programs to the PocketPC easily. PocketGL uses source functions very similar to OpenGL's own commands. It just renders them in software and not a special graphics hardware like OpenGL does.

So yes and no.

... *thinks* ... HEY. Why don't we just port GLQuake using PocketGL. It would already have all the GL commands in place, we'd just have to include PocketGL instead of OpenGL!
Dan, you seriously rule. You got some mad skills man.

I hope Varium goes good, and hopefully you'll get something back for all your work.

Best of luck mate.
Woah.. hold on a second, Quake uses lightmaps? No Quake games up until Q3 used lightmaps, unless our definitions are both different.
Quake2 definitely used light maps, just fire a rocket and there you have it.

Quake1, I'm not sure about dynamic light maps, but levels use lightmaps, most definitely.
Rocket trails were still done by vertex lights still though.
Vertex lighting? In rocket trails in Quake 2? I don't THINK SO! Time for you to scoot, sponge. :P
Let me clarify my definitions then.

By the way, if you fired a rocket in Quake1, the hallway would light up.. that seems to make it a lightmap to you, when it is clearly not. GLQuake has a command to modify this behavior; gl_flashbend 0 or 1

Vertex lighting is a light with a defined radius from a certain point. Looks like Quake2 to me, circular lights from the rockets. It would be a dynamic light, but it WON'T be a lightmap. I'm willing to look into the source and look for just that, a defined point at which the light lights from.

Lightmaps are exactly that, defining levels of light that aren't neccecarily restricted to radius.

I've talked with 2 other people whom have played Quake for years, and both agree with me, so I don't think I'm mistaken here.

I know for a fact Quake3's world lighting is a lightmap.
I just read into some tech docs on Quake II, the world does indeed use lightmaps (hell, that's what the rad tool compile-time is for) but the dynamic rocket lighting is still vertex.
No, the rockets of Quake are not lit by vertex lighting.

Vertex lighting (Gourad Shading) assigns a color to the individual vertices of a poly. The colors are interpolated between each vertice to create "flat shading". Things like orientation to the light source, power of the light source and distance from the light source affect how each vertex is lit.

The higher the polycount, that more realistic and accurate the vertex lighting will appear.

Quake/Quake2/Q3 simply don't have a high enough polycount to use that for dynamic lighting on walls.
Isn't the lighting on the rockets kind of a hack? ie not true vertex lighting, not true lightmaps. It's been way too long here :P
Now is the time that I would like to say "shut up, sponge", but I don't know exactly what you guys are talking about (I can only make good guesses), so, yeah...

I don't think that Vertex lighting means "a light with a defined radius from a certain point", but rather a sort of gradient applied to a triangle. (This is my guess, in pretty much laymen terms, so correct me if you desire)
I forgot to put smilies in my last post:

:D :) :lol:
Vertex lighting requires a triangle poly, in order to flood the plane. So it isn't spherical lightsource focused on a single coordinate.
Yeah, what he said. :D
I've been living a lie! Oh well, at least I know now :P
chrissikurz@web.de · 12 Jan 2003, 15:10 UTC
MooseMaster wrote:
Quake2 definitely used light maps, just fire a rocket and there you have it.

Quake1, I'm not sure about dynamic light maps, but levels use lightmaps, most definitely.

did you ever fire a rocket in quake1?
you can see the wall become more bright...
so i think ther isa lirht map
Uh.. nice job digging up threads.
Ya, man. The discussion had concluded a month ago. How did you even FIND this thread?
I don't know how he found it, but I'm glad he did. Learned alot from reading your discussions, and I'm glad sponge didn't shut up, or alot of things would have gone unanswered.
Dan East wrote:
There is a miniGL port that was announced in the developer forum a week or two ago. However it uses pure floating point math, so it would be slower than the existing partially converted Pocket Quake routines.

I've said this about a dozen times now, but when an OEM decides to spend an extra 25 cents per device and include a floating point processor, Quake and Quake II will probably run at full speed, even on a 206 mhz Pocket PC. I would much rather see that than true 3D hardware support at this time.

Basically all 3D hardware does is draw polys. There is a huge amount of higher level stuff that has to be done in a 3D game, and that would all still have to be done in fixed point, even if 3D hardware existed for the PPC. It is a pain in the butt having to do fixed point math all the time (lots of extra shifts, radians have to be represented in fixed point, etc), plus there are precision and range issues when importing meshes, etc.

Dan East


Is it posible to put floating point processors into expansioncards???

Another question...
Is it possible to emulate a floating point processor?
No, it's not possible.

Every CPU performs floating point operations. PocketPCs simply don't have a dedicade floating point processor. It has to perform all operations on a single processor. Which means all lower level calculations have to share room with the 3d rendering routines and even the functions to blit the image to the LCD. Not to forget artificial intelligence and sound.
With a floating point co-processor all of the important lower level calculations are performed on this processor and relieve the main CPU of MUCH of the work that is done.
But now to the question is it possible to put a floating point processor into an expansion card?
No, it wouldn't be practical. The bus to the expansion ports is too low and the CPU wouldn't really know to dump floating point into the Compact Flash port. Compact Flash isn't designed to do stuff like that. It's POSSIBLE, but it wouldn't be a good thing.
Hmm bad i hope the producer would see the use of a floating point processor. Generell they schould produce performance ppc's for them which(which or who???) want to play and look films on ppc's. I think only Asus has done that...
it would be "for those who want..."

I don't think Asus has a floating point co-processor, either. The problem with a floating point co-processor is that it would use up a lot of battery power. There are not many battery efficient floating point processors available, that is why they are not in PocketPCs.

A FPP (floating point processor) would benefit things other than movies and games. Microsoft Excel would greatly benefit from a FPP, and so would Windows Media Player and Microsoft Money.

Maybe we should all email HP and Asus and Dell and tell them that we want a floating point processor in our PocketPCs.
MooseMaster wrote:
Maybe we should all email HP and Asus and Dell and tell them that we want a floating point processor in our PocketPCs.

Yeah that would be a good action :D

Ps. Idont mean with "only Asus has done that" that they had build a FFP in their a600. I only mean that Asus has maked a PPC with a better performance than all the others.
chrissikurz@web.de · 22 Jan 2003, 19:18 UTC
Loyed wrote:
Yeah that would be a good action :D

i will help you ;-)
Future PDAs and pocket games consoles should follow suit if some PDA manufacturer adds a FPP to their devices. You would be able to run PQ at 30fps. Hell yeah! :twisted: