PocketMatrix forums

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

Quake 2 Ported to Pocket PC

I've got Quake II ported to the Pocket PC platform. It will be a couple days before release, because there are details yet to clean up (GAPI drawing and input controls). I've only tried it in the emulator, so I can't give you an indication of the speed. It runs 100% on my 300 mhz laptop in emulator, but that of course is no indication of what I'll see on the StrongARM. The main problem at this time is the shareware pak file is 48 MB. I don't know if I'll have gZip compression ready for the initial release or not. The way I implemented compression for Quake I is so freaking slow that at this point I'm considering something more advanced so the loading won't be so compromised. I only have 16 MB CF Cards, so I'm going to have to strip everything out of the pak I can to get it to install on my hardware. :(

Here's a screen shot. This is in the Pocket PC emulator, using a non-standard resolution of 240x180 (same as Pocket Quake I in portrait).

Image

Dan East

[sup][color=blue]Last modification: Dan East - 12/23/01 at 03:30:12
Aw, you're fast. :)
I thought this was a joke, but no tilde anywhere.
Awesome work Dan. :)
Bjorn Keizers · 23 Dec 2001, 06:59 UTC
Excuse me for asking: but this begs the question:

IS THIS FOR FUCKING REAL??????
oh boy. dan is this real? we'll need to make an announcement on the site...
Dan, you amaze me.
WOW...
well oh my god...Dan is trying to flood the PM server!:)
er, wow.

Dan you really are the man.

Btw. Were did you get the source from ?

- John
after alqways saying it can't be done, you were secretly doing it.
i feel cheated.
in a good way
John Carmack released the source 2 days ago. I started porting it last night. It runs around 3 FPS on my iPaq (at full quality rendering, 240x180).

Dan East
oh boy, dan you think you could get us a vid of it or something?
When it has reaches the level of optimization that quake 1 currently has, what fps might we be seeing?
Damn. Too bad we didn't see this coming sooner - Dan just sent my Casio back to me. :(

VERY cool news though.
Damn that was quick i just saw the source released a few days ago! Wow 3fps i think maybe we should get a group of people that arent dan and know what there doing to do the floating conversions. I know C if someone where to teach me what to do i would be more than willing to help get this thing quicker.

Great Work Dan! :)
Here's another screenshot. This is off of my iPaq. I estimate it's around 3 fps, but I expect that to at least double with optimizations, etc. Probably not for the first release though. :) Being that Christmas is right around the corner there may be a delay. I started on this around 9PM last night, and got it working around 5 AM or so, and still haven't slept. :) So, I don't know how much time I can spend on this to hunt down a few bad bugs so I can release it. Hopefully before the end of this week.

Image

Dan East

[sup][color=blue]Last modification: Dan East - 12/23/01 at 16:17:12
I'd love to help, although I'm basically a weekend programmer. I think I'd rather see sound added to Wolf3D and the source released though.
Konrad · 23 Dec 2001, 18:23 UTC — Dan East is God
I have discarded Buddhism and converted to Dan'Eastism. Now I can really spite my Palm friends (oooh, you mean you can play CHESS on that thing?? well check this out...)

If you're interested, I will write you a holy book. All great religious figures need holy books :P

See also: Vonnegut, Kurt. Cat's Cradle.
Village_Ideot · 23 Dec 2001, 20:03 UTC
Wheee GO DAN!  Did'ya notice all cool peoples names are Dan?  Mine included!
Diego Cueva · 23 Dec 2001, 20:18 UTC
Ihaaaa! Quake 2! :D
Well done, Dan!  We're all very fortunate to have you call PM home.

Make sure to take time off from porting to spend time with your family for Christmas.

Hey Dan how do you manage to port all this great id software before everyone else? How long have you been programming for?
NYIllustrator · 24 Dec 2001, 02:14 UTC
Dan, I dont know what to say. I havent been in a few days..and I come back to this. It just amazing. Your fast. First Wolf now this? wow. Im in awe. You just sold another few thousand pocket pcs. Someone better pick you up while they have the chance.
oh yes, I think we've won the PocketPC vs. Palm war with this now....

Dan, you're the best...
At what time were we losing the war?

Dan could almost have a career as a PPC game porter, with big companies paying him to port their older games.

To me this makes alot of sense. Someone still owns the license and intellectual property to these games, and most of them have seen stagnant to non-existent sales for quite a while. The content is already there ready to recycled to a new platform.

I'm not talking about games by id software, which already provides (free) source to their older stuff. I'm talking about a company giving Dan an exclusive deal to port a game.
wow, now that it runs on PocketPC, all that remains is to find some shred of a reason to play it on PocketPC.  I'm not trying to knock your work here, Dan.  As a programming exercise, this is an amazing milestone.  But seriously, I don't have to elaborate on why a 4 inch screen and wonky pda controls suck the life out of 3d action games.  Besides, as many hours as I've tossed away playing games like Q2 online, the last thing I need to be doing is pretending it's fun to "play" it on a train on an iPaq.  Harldy a real "Palm-killer", since the mainstream pda market will largely ignore this admirable science project.

The slashdot effect has struck the forums. Not too slow tho.
shane parrott · 24 Dec 2001, 10:57 UTC
forgive my ignorance, but this IS a port to winCE right?  anyone thought about throwing it onto the dreamcast?  could be interesting for sure.
Speak for yourself, it's slow as hell for me. At least we haven't gotten a bunch of morons on here shouting "D00d, port it to linux, Windoze sux!"

Except for Chris, of course. <grin>
I do wonder how hard it whould be to get running on my linux iPaq ;)

(sorry for that)
Chris Edwards · 24 Dec 2001, 12:37 UTC
*ahem*.. Port to linux!!!! :)

MessiahXI: I find the controls on pocket quake I fine. A few more fps would be nice, but other than that it's great!

"hardly a palm killer" eh?
Palm's already dead. And they're spending their last bit of funds advertising on our site :).
Sweet.. :) did you ever add in mission pack support for the Original Quake? I worked on one of them would be cool to see them on my ppc :)

Gateway
PocketGirls
http://www.pocketgirls.com
Just a thought:
When I was running a Q2 Server on my 486 I didn't have room for the huge pak files.

Cut down the pak files to just the items and things, then just extract each map seperately.  So you can fit two or three maps at a time.

This worked on the 486, because it was just a network server, so I didn't care about a whole lot of maps.  If you go with the classics, "the edge", then someone will always want to play.

Good work!
-dilw33d
NYIllustrator · 24 Dec 2001, 14:54 UTC
The controls on Quake suck? It was hardly playable? Its not a palm killer? Are you playing the game blindfolded? The controls are smooth and fine, and it runs just fine on my ipaq. Maybe you need to invest in a better device or learn how to use yours. As for Palm..they are filing for bankrupcy so I don't need to say anymore about that. Now I am a little worried of the speed of Quake 2 on a PPC, if its gunna be a slideshow than its not worth Dans time. Also Dan how many ports are you gunna take on? I mean dont get me wrong its awesome, but wouldnt it be better to have a couple of ports running decently than a lot of ports running crappy? You didnt even give yourself a chance to finish wolf. Also as far as I can remember...the bots for Quake 2 all needed to be launched from a launcher in windows, so there was no way to launch them "in game" which means that wont work on this port?
Bots for Q2, indeed any kind of add-on, are going to be a major pain in this incarnation because they were compiled .dll files. Ouch.
Just a quick note on the shareware pak file. It is 48 MB, 25 MB of which is audio files. Those can be hacked right out using a Pak editor, and Quake 2 never complains about not finding them.

Dan East
what kind of a fucking world do you all live in? a fucking tube? ... you all have tunnel vision.

Fuck your current devices, this shit will run smooth as diarrhea when the next gen PocketPCs come out (400+mhz ARM -whoop). And guess who will be way ahead of the game and have the ports already done for you? Dan East.

This allows ample time for these ports to be optimised and tweaked by the time the new devices are launched. And by then Palm will be long dead, not able to keep up with the progression Dan has driven forward.

So here's to the "always looking-to-the-future Dan" who brings you tomorrows games today, not the other way around like other big budget developers.
smooth as diarrhea? thats a good one
U da man, Dan! Way2 go, lil Carmack clone :)
I haf 128Megz on CF, so URL plz!
Thats exactly what I thought when I first heard the news. I now have a solid reason to get a 400+MHz PPC when they come out. Lets just hope its one that can do multi-button press ;)

Dan, once again you have taken a giant step forward in the handheld arena. Now get some sleep and spend some quality time with the family :)
jedie · 24 Dec 2001, 18:13 UTC — heh cool :)
hey man, quake2 on a PPc eh? thats really cool :)

Although there is one small thing that I don't understand... what is this palm vs. ppc thing? would it make anyone happier if Palm died ? (oh wait it IS dead) I (as a palm user) wouldn't get all excited if I heard that PPC were getting extinct or anything... you guys really shouldn't turns this into a flame like linux vs windows vs otherOS...

it's x-mas FFS :)

let's set aside our differences and sing together!

*sing* *sing* *sing*

seeya :D
Any chance this will be ported to the Handheld PC as well?
Well, I was going to say something about Palm vs. Pocket PC. What I was going to say about that was pointless and dumb (not the debate, just my own pathetic statement). Anyways, I don't like Palm.

Thanks, Dan! When I get a job, I will buy your DEXplore program thingy. I own Quake 1, 2, and 3: Arena (I bought 'em all bundled for only $30), so I thank you very much.

Hey, Dan? Did you ask (beg) John Carmack to release the source code? Just wondering...
Someone should work on extracting the audio files from the PAK file and do a batch compression of them.. its not like we need stereo or even half of its current quality...

Matt
Appears youre the moron, as id released the linux binaries first, even before windows, for linux.

Speak for yourself, it's slow as hell for me. At least we haven't gotten a bunch of morons on here shouting "D00d, port it to linux, Windoze sux!"

Except for Chris, of course. <grin>
Have you considered replacing all textures as well? They could be scaled to something a lot smaller and even look better than they do. It will also run faster.

Just a quick note on the shareware pak file. It is 48 MB, 25 MB of which is audio files. Those can be hacked right out using a Pak editor, and Quake 2 never complains about not finding them.

Dan East
Carter Adams · 25 Dec 2001, 01:47 UTC
The texture suggestion is a good one, but speaking as someone who spent a good deal of highschool dicking around with Quake2 modding and mapping, there are a LOT of textures in that game, it would be a pretty large undertaking to hand replace them all.  Not that it wouldn't be a good idea, though, but that one might have to be a group effort. The biggest thing that could be done to improve speed would be to simplify the maps themselves.  Unlike Quake I, the maps in Quake II are anything but simplistic and blocky.  The poly count is huge by comparison, and a lot of it is decorations and frills.  PocketQuakeII is going to be crying for new single and multiplayer maps with the pocket device in mind.

Also I'm not a PocketPC programmer.  Could someone explain why .dlls are a problem for a PocketPC game?  I can't imagine a microsoft OS working wouth .dlls, are there never point releases and bugfixes?

Now on a side note, the port I'd like to see most: The Sims.  I'd love to be able to load up my family and work on things on the bus.  And the only real problem would be resolution, since it isn't a game that relies too heavily on complex controls or bleeding fast Frames Per Second (FPS = frames per second & first person shooter, coincedence?)

hrm... it's getting late, and i'm going on tangents, whew!
Bjorn Keizers · 25 Dec 2001, 04:51 UTC
God! You give them a finger, they take your whole hand eh Dan? When Quake was ported, people begged for Q2/SW/D3D, now that Q2 is going to be ported, an event worthy of a nobel prize & shaking-hands-with-the-president, people ask for the BLOODY SIMS! I can barely run this on my 466 mhz , 96 mb ram and worlds crappiest 3D without stutters, so how in the hell could that ever be achieved within the next generation of PPC's ?
MooseMaster · 25 Dec 2001, 10:05 UTC
For everyone that is new to PocketMatrix and PocketQuake, we went through millions of ideas to optimize PocketQuake, all of which have been restated here. The idea about replacing textures or simplifying maps? It wouldn't be Quake2 anymore! Id Software and their map creators are VERY good at optimizing maps, I can assure you. The textures can be reduced to increase speed using mipmapping, a very effective means to increase speed in PocketQuake. Aside from Dan's usual batch of float->int conversions a good config file is the only thing that will help. Please don't suggest replacing textures or simplifying maps, I want Quake2, not some cheap derivative. We need programmers who can help Dan convert floats to ints, although re-encoding the sound files would help some for file size, not the drastic amount you believe, however.

My idea:
I say we just extract each map and all the files each map needs and provide them for seperate download, along with a general PAK file with the mandatory menu graphics and some of the more widely used sound effects. Paul is great at sorting through PAK files and making tons of little optimizations, I can assure you that when Quake2 is released he'll get right on making his own optimized pak file, just like he did for PocketQuake, with lower quality, but smaller and faster loading, objects.
But if we seperate each level into a PAK file, then there would be many 1 +/- meg files that could be installed and then deleted after they are completed. These in a gzip format would probably lie around 4/5ths of a meg, depending on the level of detail, number of sounds and textures, etc.
Does the source code used for this port have the latest patches applied to it? if not you might want to find a way to incorperate them to fix any bugs or speed problems as a whole then fix it so it runs on the PPC. just a thought.
yeah, i'm going to try and get a quake2 pak together - i have quake2 luckily so i wont need to spend hours downloading a demo...
although re-encoding the sound files would help some for file size, not the drastic amount you believe, however
sure, but every byte counts at the moment and not just file space, its loading time would be a little quicker too, right? maybe jaybot can post a link to a good prog for converting these? i assume you just make a batch file so all the files are done automatically but i dunno what to use right now...
is there any way we could use mp3s? i'm not sure how much smaller they'd be or if it would slow the game down at all.
okay, looks like 28.4mb of the pak is just sound effects and an amazing 20.3mb is the 'world' fx... i'm pretty sure no-one will miss them so i'll keep important ones like alarms at a reduced rate and just delete the others...

i'll need to play through the demo maps (i'm looking for walkthroughs too) to determine which enemies/texttures/sounds are in which maps and just include stuff specific to the map.

i found a sound program here, which i'll try out later.
MooseMaster · 25 Dec 2001, 14:28 UTC
Paul, why not try just getting rid of everything except the map bsp file, then load the map and it will say it kind find so and so model or this or that texture.
Boy i cant wait to put the full verion uncompressed pak file on my flash.

I forgot that mods were written by replacing gamex86.dll, so this means that no mods will work unless there open source and ported, or will we still be able to use the regular dlls and q2 will know what to do with them?
i have no idea, i just hope that it supports these small paks i'm making.

i made a 'main' pak file with no maps just to get it going and thats 13.7mb gzipped - although i seem to remember dan saying he wont be using gzipped files... its 20mb not gzipped but i still have a few more things to do to it.
Paul, why not try just getting rid of everything except the map bsp file, then load the map and it will say it kind find so and so model or this or that texture.
ah... you da man.
Well Dan didnt like gZip because of load times but perhaps if he uses the same method as the hexan people it wouldnt be so bad.
uh... it seems any change to the pak0.pak, no matter how small, will mean you cant use the pak in the game?!

all i did is delete the demo file and now it says "cant load colormap.pcx"

is it possible to use custom pak files? (i mean altered pak0.paks, not additinal mod paks)
Well, here are the setting that I found to work the best on my slowest computer. its 400Mhz 64MB ram and a TNT2 ultra. but I uninstalled my drivers for my video card and played in software mode. I still managed 70FPS. use what you would like.

set cl_gun "1"
set cl_particles "0"
set gl_dynamic "0"
set gl_shadows "0"
set gl_ext_palettedtexture "1"
set gl_ztrick "1"
set gl_flashblend "1"
set gl_polyblend "0"
set in_joystick "0"
set gl_cull "1"
set gl_round_down "1"
set gl_skymip "1"
set s_mixahead ".14"
set s_primary "0"
set s_khz "11"
set s_loadas8bit "1"
set cd_nocd "1"
set cl_footsteps "0"
set cl_maxfps "40"
set gl_texturemode "GL_NEAREST_MIPMAP_LINEAR"
set intensity "2.0"
set gl_modulate "2.5"
set gl_playermip "0.0"
set gl_picmip "0.0"
Paul, yes it is possible i dont know why your getting that problem, i create custom crosshairs and shit all the time in my pak0. Get Qped or Quark for pak editing im sure they will work well with q2 im not so sure about pak explorer though.
Oh man!  I remember that it was treated as a "dumb question" when I asked about this many months ago.  I'll accept apologies now.  (Just kidding :) )

Great work Dan.  You're a genius.
You know hes right. No one thought it would run on the ppc but it does. Dan why does this acually run and maybe even as fast as q1 does with some  optimizations from what pocketgamer says? I mean everyone said it was to hi-poly.
MooseMaster · 25 Dec 2001, 22:06 UTC
Well, the main point of contention previously was that the source cost $20,000. There are many more hurdles to overcome as well, like the 48meg Shareware PAK file, and the estimated 3FPS max it currently runs at.
Well the 3fps will get fixed from what dan says, and i think the solution to the pak file is, if you dont have flash you cant play it.
Also I'm not a PocketPC programmer.  Could someone explain why .dlls are a problem for a PocketPC game?  I can't imagine a microsoft OS working wouth .dlls, are there never point releases and bugfixes?


DLLs almost certainly exist on Pocket PC in some form, but a DLL is effectively a partial program that can be used by other programs means that they can only be run on the original platform (in this case, windows on PC) unless run through an emulator. This means that they won't run on Pocket PC unless either emulated, or ported (unless, of course, you're able to run normal windows programs on a PPC).
i get the "cannot load pics\colormap.pcx" aswell. wonder why....
Buzgub: The other reason why quake2 dll's wont work on pocket PCs, (I think!) is that they contain compiled code which was compiled to run on a specific processer, such as Intel x86's. Our PocketPCs have ARM, MIPS and SH3 processsors, however, so none of these mods will work.
dll's are definitely in PPCs. gx.dll is the file people need to play most graphics-oriented games on the PPC (and its absense was once the biggest problem for PocketQuake1 users who couldn't use it). The source is available to most good freeware mods, so someone with time could pretty easily port them to PPC. Also, Tweak3D, I don't think you can use any of the settings you have that begin with "gl" since PPC cpus don't have MMX.
MooseMaster · 26 Dec 2001, 13:15 UTC
GL means OpenGL, a hardware graphics rendering code.

DLL's must be compiled for the specific processor they are used on. ALL desktop PCs use x86 instruction sets. All the latest PPC's are going to StrongARM instruction sets. So it will soon get easier to program for the PPC.

If the source to something is available then there's no reason, except a lack of time or ambition, why SOMEONE somewhere won't be able to port it. Anything is portable, but things programmed for Windows are easier, since PPC's use Windows too. But just recompile the DLL and it could possibly work, I don't see any reason why you'd need to reprogram any part, unless Dan feels the need to change the primary Quake2 source for functionality reasons.

Here's a good config:
set cl_gun "1"
set cl_particles "0"
set in_joystick "0"
set s_mixahead ".14"
set s_primary "0"
set s_khz "11"
set s_loadas8bit "1"
set cd_nocd "1"
set cl_footsteps "0"
set intensity "2.0"
But seeing as how the game isn't released yet, let's focus on that part first.

It's GREAT that everyone is coming up with so many cool ideas to optimize Quake2, but let's think more along the lines of coding. We could code in any type of variable. Perhaps a non-GL based mip map, if it isn't already in there somewhere. But don't ask Dan for the impossible just yet. I'm sure he won't want to release it right away just because so many people will download it and say "this is crap it runs at 3FPS" or "48MB's? What a bunch of BS!" It's still got a ways to go...

Dan, if you could get us a real, not estimated, FPS on your iPaq that would be great. Just type in
"set timedemo 1"
"demo demo01" (maybe it's 'run' or 'playdemo', not sure)
or something similar in the console. I've forgotten exactly how to do it.
MooseMaster · 26 Dec 2001, 13:16 UTC
No wait, it's
"set timedemo 1"
"load demo01" (you may have to add a .dem on the end. Or whatever the extension for the demo files are)
the only reason i thought it was impossible is the source code thing... but thats been resolved and here we are...

i saw a tutorial the other day on modifying the dll to add a fps counter... although i'm pretty sure theres some kind of debug mode you can use to see that stuff.

i'm still getting the error?!
I'll try and time the demo tomorrow. I have however done a timerefresh at the initial spawn point of the game, and get 4.96 FPS, so my "estimated" 3 FPS was a bit low. That is with full rendering and no optimizations.

I did some quick source comparisons between Q1 and Q2, and noted that most all of the rudimentary 3D routines are exactly the same. Thus I should be able to move some (if not all) of my existing fixed point conversions straight over to Q2.

I had to "waste" several hours hunting down a terrible bug. The kicker is that the bug was the result of bad optimization by the compiler, which made it that much more difficult to isolate. I don't mind fixing my bugs, or even that of id Software, but bugs the are introduced directly by the compiler really piss me off.

A few notes on the new website (I don't know who exactly has done what, so I'm posting publicly). First off, unless I went to the news archives, I could not find any credit for who produced Pocket Quake. That information, including all the programmers who have contributed to PQ, has even been stripped from the ReadMe file. The Donation and DEXplor links also need to be preserved over to the new layout. I realize it is not finished, but I am under the assumption that the content is in place, and the flashy images and layout are what is not complete.

Dan East
Another tidbit; PQ2 requires at least 13 MB free program RAM.

Dan East
Have you even tried tweaking the .cfg file yet dan? just test to see if it can give you even a slight performance boost.
Dan,

Regarding the compiler bug you came across can you tell us more about the problem in case some of the rest of us here who code won't be bitten by it (or at least will know about it).

One thing that I've found that helps in narrowing down these bugs with the compiler's optimizer is to disable optimizations for your project (or a single source file if you've narrowed it down that far), then see if the bug still exists.  From there you can disable optimizations around a specific function by surrounding the function with:

#pragma optimize("", off)
// your function definition here
#pragma optimize("", on)

If this function is performance critical in nature (and you have a lot of free time on your hands) you can get the compiler to generate a mixed source and assembly language listing by using the /FAs flag during the compile.  You can then look over the listing and try to see where things went wrong and perhaps reorder some of your source code in an attempt to prevent the compiler's optimizer from getting confused.

Most of the bugs that I have seen from the compiler optimizer involve values in registers getting trashed before they are written back to memory, or returned to the function's caller.  

It really is frustrating because you'll immediately begin thinking that there is a bug in your code and attack the problem as such (unless you're arrogant like me).  It doesn't help that, even with debug info in an optimized release build, the debugger can't track most variables once they get into registers.  Maybe that's why we're paid so much? <g>



Digby, I don't time to go into the assembly at the moment. I did indeed disable optimization of that function using pragmas, as you suggested, which is what solved the problem. Here is the exact function in which the problem occured:
[fixed]
void R_SetUpFrustumIndexes ( void )
{
 int i, j, *pindex;

 pindex = r_frustum_indexes;

 for ( i=0 ; i<4 ; i++ ) {
   for ( j=0 ; j<3 ; j++ ) {
     if ( view_clipplanes[ i ].normal[j] < 0 ) {
       pindex[j] = j;
       pindex[j+3] = j+3;
     } else {
       pindex[j] = j+3;
       pindex[j+3] = j;
     }
   }
   // FIXME: do just once at start
   pfrustum_indexes[ i ] = pindex;
   pindex += 6;
 }
}
[/fixed]

r_frustum_indexes is simply a global, fixed-size array large enough to hold the elements. What was occuring is that pindex[3] was being set to an enormous value, while it is very obivous from the source above that the range is restricted to "j" to "j+3", which is from 0 to 5. That value is used as an index elsewhere, which is where the crash would occur. The other odd thing is that this did not occur in all cases, but only when the player entity's yaw was in a certain range. I could find no external factors that could effect this code in such a way, and disabling optimizations fixed the problem. My hunch is that perhaps a register was being read that was not properly initialized, so it contained "garbage" data. I actually "solved" the problem by accident. I built a Release build that included debugging info. The problem with doing that is the optimization of the functions make it impossible at times to step from line to line. So I disabled optimizations to make things conducive for debugging, and then the problem went away. The problem never occured in the emulator, with release or debug builds, and would not occur in the debug ARM build. There were a few similar optimization bugs in the SH3 version of PQ1, which is what held up its release. Can't remember who, but they isolated them, and disabled optimizations for those functions and that solved the problem there.

Dan East

[sup][color=blue]Last modification: Dan East - 12/26/01 at 19:03:10
Just wanted to say graet job Dan.
Chris Edwards · 26 Dec 2001, 21:48 UTC
Paul or Robert are the ones you want to talk to about the website. Probably Paul.
ive tried pakman, qped2, pak explorer, quark and other pak editors, all i get is that stupid error "cannot load pics\colormap.pcx", anyone got a solution to this? would really be appreciated.
NYIllustrator · 27 Dec 2001, 02:26 UTC
13MB free program memory?? arrgghh. that sucks.
Bjorn Keizers · 27 Dec 2001, 05:13 UTC
Awww you poor persons :) You think that sucks? Then what the hell are you running that you can't have 13 mb free? I have a plain 32 mb ipaq, coupled with a 64 mb CF card, and I put most things on the card, I keep some space for a simple tetris clone for those emergencies, but most of the memory is allways allocated for running programs. Around 20 MB or so :)

I plan on buying a new 128 mb card as soon as QII comes out, that would nicely solve all my problems.
uh oh dans pissed at me.

dont worry i'll change the download page and add credits to the various people and the front page will have links to dexplor and paypal...

i simply forgot.
NYIllustrator · 27 Dec 2001, 23:36 UTC
Actually I have a 512mb, and moved all my ebooks that were taking up program space to it. I couldnt before cause I got just it for christmas. So now I have 15mb program memory free, and could care less about how much program memory it needs or how big the pak file is cause now I have more than enough.
Bjorn Keizers · 28 Dec 2001, 06:31 UTC
Ohh nice! 512 mb.. That's a microdrive or clone, right? Perhaps I'll buy one of those if Q II gets a little.. out of hand. But for now I can't really justify the cost of one of those MD's.

I also heard of lots of failures with these, anyone have any horror stories about their microdrives they'd want to share?
Hi Dan,

Great job with the PPC gaming.  I just wanted to ask if its possible to port the PC game Yoda Stories (star wars zelda type game, low res windowed)?  I think it would be perfect for the PPC (and all us Star Wars fans).  Maybe you can talk to Lucas Learning and work out some kind of deal to get the source code (or maybe help them to port it).  It did come out for Gameboy, but think how much better it would be for PPC.
The guy ports Quake II and you want him to do Yoda stories? Yeesh.
NYIllustrator · 28 Dec 2001, 21:21 UTC
no its not a MD, its a CF, they come in 512 capacities.
Bjorn Keizers · 29 Dec 2001, 07:24 UTC
Hmm nice. Are those more expensive or cheaper then the MD's? If i'm going to spend a couple of bucks, I'd definately go with the tried and tested CF. Because of the lack of moving parts, these are supposed to be more stable and safer then MD's.
Yoda stories, that game rocked.  Although I only played the demo.  If you can get me the source, I'll port it for you.  E-mail me at [url]playnogamz@nls.net[/url] if you find the source.
I reguard to the CF vs. MD, I believe that they are either about the same price (for the 512) or the CF card is cheaper.  That's just what I remember when I was looking through a magizine looking at them.  Keep in mind the CF card is TYPE I, and the MD is TYPE II, so the md might not fit in your ppc without the PCMCIA card adamptor.  At least that's the case with the 720.  My rec is 256 though.  I could never see using 256megs of storage space on the ppc at the present time.  
you  could put a movie or 2 in there, that would soon fill up 256mb
I don't understand what's so complicated with "cannot load pics\colormap.pcx".. just don't delete that specifice file when you clean the pak-file

The colormap is there for specifing the colors (q2 only have 255 colors) in the game.

GG so far and GL with the conversation Dan!
BTW, what is the url to the PocketQuake site?
try clicking the link at the top of this page
we're not stupid. you really think we'd delete the colormap file then complain when the program asks for it? pfft...
Don't mind the URL question :)
Sorry, I guess I'm the stupid one =)

Have you tried to just extract the pak file, delete the "unnessasary" (spelling?) files and the then delete the pak file?
Are you guys playing around with the shareware or the full version?  Because one of my friends owns Quake II and I could do some experimenting for you if you wanted me to.
i really would like the compiled exe or gamex86.dll to test with, i want to see how far i can strip the pak without losing to much playability, also see how i can make it run on my AMD k6-2 333, which has the brainpower of a p150 (*sigh) so it might be a good reference point (they also had next to nothing FPU)
Bjorn Keizers · 30 Dec 2001, 08:10 UTC
Davinci; what make is the 512 mb card you have? Sandisk? I looked up what these cost: $ 450 USD Hello!

For that kind of cash I could buy two ipaqs...
I also searched for the prices here in the Netherlands, and came to some strange conclusions:

A 128 mb card costs 230,- Guilders
A 256 mb card costs 480,-

So if I buy two 128 mb cards, I save 20,-

If I take sandisks price and convert it, it comes to around 1123,- Guilders

So If I buy two 256 mb cards, I pay 960,- and thus save around 163,- [which buys me another 64 mb card]

So if you don't need back-to-back storage for say movies, it's actually cheaper to buy loose cards then one big one..
Mattias Hult · 30 Dec 2001, 08:36 UTC
Bjorn,

This is not unique for CF. The same price relation is valid for most kinds of memory (SDRAM, IDE hard drices etc). You always pay a premium for the biggest units. The logic is that they are worth more because they pack a higher capacity in one slot/drive bay/whatever. This makes them more "future proof" and less limiting to future upgrades. It's always nice to have some slots free, so you can put more in without having to take something out.
Bjorn Keizers · 30 Dec 2001, 09:09 UTC
I thought about that too, but for PDA's it doesn't really matter. Most of us don't have a dual CF or built in CF slot and whatever else that might allow you to use more then one card.

Also, most of us don't intend to watch movies on it, so you don't need all this volume in one large chunk. Besides, multiple cards make backups possible. I also have a 32 mb card, which is perfect for that sort of thing. I think that when Q2 comes out, I'll pick up one of those 128 mb cards for it.
here is one for 379.99

http://www.amazon.com/exec/obidos/ASIN/B00005ICE2/qid=1009137200/sr=1-1/ref=sr_1_94_1/104-0451205-5287123
NYIllustrator · 30 Dec 2001, 15:23 UTC
go to newegg.com, they have the mr. flash 512 cf card cheap, thats where i got it. Also i didnt know there were dual cf sleeves? where do i get one?
I just realized something, Half-ife uses the Quake 2 engine... Coutner Strike runs on half-life...
This is pretty unrelated but i was wondering if you got ref_soft.dll to compile becuase it seams to have errors in it and MSVC++ ont compile it?
johannpublic · 31 Dec 2001, 03:52 UTC
Half-Life uses a *modified* Quake 2 engine...but an interesting prospect, nonetheless.
Is the source for HL available?

I think we'd have to wait until the next set of PocketPCs come out (400mhz)

Davinci: Compaq sells the dual cf sleds on their site, last time I checked.

How are the MrFlash cards working out for you? I haven't had the money just yet for one, but I also want to make sure that I won't be buying something that isn't top-quality...Last modification: Johann Public - 12/31/01 at 01:52:58
Yes, the ref_soft.dll builds fine. Of course I fixed many problems during the porting process, so I don't know if things I corrected were specific to CE or not.

Dan East
masterhaides · 31 Dec 2001, 09:38 UTC
CF Prices =D (i got my 128 for 40$ + Shipping)
www.pricewatch.com
$239  -  Compact 512MB
$137  -  Compact 320MB
$83  -  Compact 256MB
$83  -  Compact 192MB
$39  -  Compact 128MB

MooseMaster · 31 Dec 2001, 17:08 UTC
Let's not turn this into a memory card discussion...

Any good news Dan? Or maybe bad, I prefer bad news actually.
The speed is the biggest "problem". I am about to begin applying Quake 1 fixed point conversions, so hopefully I'll pick up a couple FPS. I just got the onscreen controls and mlook finished today, including landscape support. I will release soon, although there is a PM hosting change that will have to occur first.

The onscreen controls are more advanced, since Q2 has 11 weapons ( 3 more than Q1 ), plus 6 inventory items that must be "used". There is an additional movement ( crouching ), plus the onscreen "computer" that has to be pulled up often. So there are several more onscreen controls than Q1. The rendering is perfect, and really looks great on my iPaq, landscape or portrait. The speed will be the only issue. Fortunately, from here on out, I believe most all fixed point conversions will be applicable to both Q1 and Q2, since they rely on the same rudimentary 3D algorithms. So from now on I get two for the price of one for my optimization efforts.

Dan East
Dan do you really excpect it to run as fast as pq1 as Pocketgamer stated?
Not initially. It is absolutely possible for the existing hardware to run Q2 at least as fast as what we currently see with Q1. It all depends on how much of the floating point math is replaced with fixed integer counterparts.

Dan East
wow! It's great that the fixed-point stuff will work on both PQ and PQII without extra work.

I can tell that this is going to be great fun; it'll spark new life into PocketMatrix just like PQ did when it was 'born' ;) I'm also looking forward to the new mapping possibilities that quake 2 brings. It gave us many of the things we were missing in Q1: triggers that fire across maps, transparent water (might be a waste of processor power in pq2), ability to make better skyboxes.. tons of cool stuff.

anyway, thanks Dan ! ;DLast modification: esw - 01/01/02 at 15:22:19
Mike Wagstaff · 01 Jan 2002, 19:50 UTC
Dan do you really excpect it to run as fast as pq1 as Pocketgamer stated?
I hate to be pedantic (actually, that's a lie - I love being pedantic! :)) but I'd just like to make a small clarification here. I made no comment myself about PQ2's speed; rather, I simply took the lazy man's option and quoted The Great Man (that's Dan in case you're wondering!) himself.

As evidence, I submit the news item in question:
http://www.pocketgamer.org/archives/00000674.shtml

Funnily enough, the message in Dan's statement quoted in the news item hasn't changed... :)
Wow. Good to see I'm so consistant. :) I make a good PR guy for myself. :D

Dan East
I didnt really think you said it but i dont know who did until now but it was stated on your site. Anyways i wasnt accusing anybody of stating anything untrue i just couldnt belive it since q2 pumps out alot more polys than q1. :)Last modification: Robert - 01/01/02 at 21:02:03
Great work Dan. now all we need is someone to
take the time to convert one of the operating
system dependent Bot's that exsist for Q2
into a PocketPC compatabil Q2 Bot and We will
be in Pocket Deathmatch heaven. :D
I am already working on this with CRBot i just wating for the src code since all of there links were broken.
holy crap. where's f-corp been all this time?
Wow, long time no see. Glad to see you are still around.

I am already working on this with CRBot i just wating for the src code since all of there links were broken.


CRbots links do seem to be down however
Gladiator bots source can be found on this page

http://botepidemic.com/gladiator/editing.shtml

also a lot of usefull information to the would be
porter.
If the link to the source seems not to work
i suggest you use an FTP client to access the
server the source file is located on .This was the only way i could get to it but it is there
along with a back catolog of source code stretching back through its devolopment history.

randall :
holy crap. where's f-corp been all this time?  

---------around :)

Matt Keys :
Wow, long time no see. Glad to see you are still around.  

---------Glad to be around :)


Thanks for the info, but i have also decided to wait tell Dan releases the src so i can look at his dll to see the changes made in porting since im a shitee programmer when it comes to C and porting. But if by that time CR has not mailed me ill use gladiator i would really like to get eraser though.
is there anyway to build the bot source code straight into the exe?
Possibly Paul, but would that not give the, 'you changed the content, so its not quake' problem??
NYIllustrator · 03 Jan 2002, 16:02 UTC
Eraser bot was definatly the best Quake 2 bot as far as opyions and AI, the GUI was great and you could easily select the bots skins. Too bad none of that will probably carry over to PPC.
Acually eraser had the best AI but that launcher could be easly written in eVB for for any bots. Im sure even the pak scanning to read the maps and such is easy to do. But unfourtanitly we will never have eraser ai becuase its not open source so it wont be able to be ported unless we have some sweet talkers that really want eraser im sure thell give you the source.
NYIllustrator · 03 Jan 2002, 16:39 UTC
oh ya, forgot the source want out for it. lol.
pak searching in evb is a real pain in the ass. i gave up on it. its easy in evc though. maybe gamefreaks can make us a gui for eraser bot.
I dunno paul vb is pretty easy compared to c, but if its really that big of a dll u can write that function in a c dll and then call the dll within evb.
yeah but i doubt i know enough c to do that. and if you're going to write the code in c anyway you might as well do the whole app in c so the users dont need the runtimes or the extra dll file.
No question, eVB is much easier, but it lacks the power and controll of eVC.  So, I would recomend you use eVC for the loader.  If you need help witht eh gui, the sdk comes with some great examples, and if you have a specific question, then I would be happy to answer it for you.  As for a sweet talker, maybe I can help. If I have to, I can get a lot out of people who don't want to part with anything.  What is the web or email address?
Does this mean you want a PocketQuake2 launcher...
I think do but i think they really want a bot launcher like eraser has. ;)
All I want is to sweet talk someoe out of their source code.
NYIllustrator · 04 Jan 2002, 00:13 UTC
Let the schemeing begin...MWUAHAHAHA

you guys get me the eraser source and thats what a ill port, itll be a great project since i know all about q2 modding with the dll code but nothing about porting to ce or even the process of porting anything and i can use Dans source of the the original dll port to help me port mine.
MooseMaster · 04 Jan 2002, 10:28 UTC
I don't know much about anything, but as long as you just put the source in embedded VC++ and perhaps change stuff to UNICODE it should compile. All that bots are are path finding routines, and I sincerely doubt that that has any graphics processing routines or direct input stuff that would need to be 'reprogrammed' for the PocketPC.
Quake two sounds real cool,but if it runs as fast as quake I doubt Ill play it.  I will on the otherhand,leave it on my ppc so I can show off. :D Anyways,good luck dan and RELEASE BOCHS.  Thanks
MooseMaster · 05 Jan 2002, 20:43 UTC
Dan, please promise us that after you release PocketQuake2 you'll work solely on optimizing it (and PQ1) for around a month or more. I just really think it could be a whole lot faster. It ran faster on my 486 with the 'Pentium Software Enhancer' (all that did was make software think I had a pentium instead of my 486/66).
id just like to correct someone, Half-Life is running on a modified Quake ONE engine, not quake 2
NYIllustrator · 05 Jan 2002, 23:36 UTC
NO! There will be no optimizing until the registered Wolf is released!
Im with davinci i think full version wolf and sound in wolf are more important at the moment
sounds in wolf3d!
i'll make it for you : bip   bop bop bup bzzzz
and the 4 bips when you take a object
Quake2 is really more interesting i think
Hey,I'll work on getting the eraser source for yah rob.
Alright Matt. Get going. School!?! Did you say school?!? I don't want any of that talk! And a life?!? Who told you us Pocket PC nerds had lives?

That's right. Get going, boy. Work out the pocketmatrix hosting thing.
~
Dan Dan DAN!! Can you pretty pretty please make PQII (or PQ2, whatever) have a LAN game over IR port?!?!??! Please please! With sugar and a cherry on top!
Dan do you want a 15.3mb pack to test with? I cut some crap outta it and it works (finally) so you want it?
Q2 supports TCP/IP at this point. So if you can establish a TCP/IP link over irDa, then it will work.

Playa, thanks, but I have already stripped the shareware pak down to <16 MB for testing. :)

Dan East
Hey great job on the porting of Quake 2 on the PPC, but thing is a can't get it running on my Toshiba e570, i put it as it said on the readme file, and an error keeps apearring "error during inistialization" i tried it every other way, but the problem keeps persisting, makes me wanna cry :( anyway, i recently read that some one else had the same problem, could someone help us out please. thanks again Dan for a great job keep it up

Chris
Vacant_Idol · 03 Feb 2002, 05:29 UTC
i know its not a ppc but it does use wince and because it has been ported to the ppc i was woundering if theres anyone out there that cound port q2 to the sega dreamcast. Alot of ppl will be very happy
I read somewhere else on the board that a guy was porting it. He asked for the source, he got it, and I can only assume he is working on it.
I am indeed, but i'm afraid there's a bit more to it then thought at first..

i'll persevere though :-)

(oh, and thanks for the source, it was very usefull understanding the rendering subsystem)
guest · 01 Apr 2002, 14:09 UTC — pocket quake2
hey
hey all you ipaq users, get jimmy software overclock. It boosts it to 236 Mhz, and it works fine, I have had my ipaq running it for months (since i got it for x-mas). It adds a couple fps to it. Small download too! 9kb
mrs · 05 Aug 2002, 08:13 UTC — for the guy who wanted to play the sims
This post is for the guy who wanted to play The SIMS on a pocket PC.

There is a Pocket PC (same size and screen as IPaq) that has a 1 GHz Crusoe processor and a 16 meg ATI Radeon 7500 mobile video processor. It has 256 megs of ram, a 10 gig hdd and CF, and SD slots. It is small and all. Pretty good for 1000 dollars.
So far I've seen that same message cut and paste two different places now. You can quit doing that, you know.

First of all, it's not a PocketPC. It runs an x86 processor with WindowsXP. Second of all, laptops with full sized keyboards, 15" screens, and Nvidia Geforce GO graphics accelerators are less expensive than that. Third, we've all known about that for quite a long while now.

[EDIT] Now I've seen it three times.
Half-Life......on the pocket...PC........
I guess it -could- be done for those people with HUGE Flash cards...but I would LOVE to see that!
Im an avid HL Mapper.
The source code to Half-Life is not available, thus it would require a 10,000 dollar licensing fee. If you'd like to underwrite it, I'd be glad to port try to port it.
OK, I'm not a programming guru, but Delta Force or Comanche 1-3 would work well on PocketPC. They use Voxel technology and, therefore, doesn't require many polygons, which PocketPCs are not good at dealing with. If the source codes are released (I hope they are), it would be quite easy to port them over.
Check out Chopper Alley. It's a helicopter sim game that uses voxel technology ... and it runs very slowly.
OMG, You're right. It seems that PPCs are not capable of handling voxels either. I just deleted the game cause it got about 2fps. Destruction Derby would probably work, though. Check out Racing Days.
Racing Days is garbage and has about ZERO physics. Plus the graphics are ugly, it's just that you're speeding by so "fast" that you can't tell how grainy everything is.

It gets about 15FPS at peak.
Yeah, it's crap. Tomb Raider looks good, but it only runs on Ipaq.
Tomb Raider doesn't look good when you're play it, at about 5 FPS.
OK
That makes me feel a bit better. For a while I thought the Ipaq could run Tomb Raider at a smooth speed, making the Ipaq a better PPC than anything else.
No. The only reason Tomb Raider is iPaq only is because the developers didn't know how to program virtual buttons and because the iPaq has a built in hardware serial, meaning it's "harder" to warez. Riiiight. Tomb Raider was cracked in no time.
The problem with some developers is that they make 3D games too graphically 'good' to run smoothly. Quake 1 and Tomb raider run at 5fps, which is playable, but far from smooth. Racing Days may be smooth, but the gameplay is just turd. If developers made great games which run smoothy (15fps is what I call smooth) and look good, not brilliant, then more people will enjoy Pocket PC games.
I personally enjoy 2D games much more than 3D. Developers are making games 3D just for the sake of 3D, when they could be 2D and run much faster and look much better. I enjoy Lemonade Inc. and Rayman Ultimate so much because they're beautiful 2D graphics and run very smooth. I don't have any 3D games on my PocketPC because they all run like an 80 year old man that can't find a rest room.
2D games - they rule, especially Snails.
Until we get that pocket K6-III or P3 @ 50MHz we're all going to have to put pocket Quake on the back burner I believe.

In the meantime there is TONS of fun to be had with ScummVM!!!! Play like 6 different Lucasarts adventures flawlessly on your PDA!! Dream come true.
Yeah, can't wait until processors break that 50MHz barrier. Man my PocketPC will fly! Just imagine for a second, run Solitaire AND PocketWord! Woosh!
Indrajit · 13 Jun 2003, 03:09 UTC — Will it run on my iPAQ H5455?
Will it run on my iPAQ H5455 (Intel PXA250, 400 MHz)?
Well, I like 3d games. I don't care so much about snazzy graphics as much as I do gameplay, so unless the game is 3d because that extra dimension makes it have better gameplay, it doesn't seem worth it to me. I mean, if someone made like a game that used untextured polygons (ala SuperNintendo 3d stuff like DK and Starfox), that would be cool because that would be smooth and fun. Then the developers could focus more on gameplay and AI and stuff like that.

PS I haven't been here in awhile. Hi.
Another thing, I think Quake is a good game. In fact, it's great (mostly the mods, like the skateboarding one... that's fun and it works really good on PPC). I really think that having it on PPC is cool. Also, Quake was not developed for the PPC. It was made for the PC, of course. Dan ported it out of generousity (sp?). Also, it was ported a long time ago, partly just to show it could be done. I think it has been at least 2 years, now. I don't remember.

Anyways, people back then actually thought that PPC OEMs were going to continue to make faster processors that didn't suck. Well, the PXA255 is the only real good processor upgrade since the StrongARM. I mean, that's not including overclocking or anything. I wish that PPC OEMs hadn't made the processor (and system bus and LCD controller/video chip) have sucky performance, yet still promote that it has 400 MHz. I thought we'd be at like at least 600-800MHz for the PPC now. And like 256 MB of RAM (128 standard), and for sure a VGA (480x640) display. Well, instead we got crappy performance and widespread wireless connectivity (the latter is of course a good thing). Anyways, Quake 1 and 2 were ported to the PPC with the future in mind. Sure, they may not have good performance now, but when the cpu speed doubles on the iPAQ, then it will be really smooth, we thought. Well, we thought wrong. It is taking a lot longer than we expected for the performance to increase considerably, and the double in clock speed hasn't really helped too much, since it meant using a crappy system bus and/or emulating StrongARM code and being stuck with the same old compiler, no direct native support for PPCs with XScale cpus. Well, maybe this new OS will change things for the better for PPC.
David-w-2o05 · 06 Jan 2006, 19:22 UTC
RwGast wrote:Damn that was quick i just saw the source released a few days ago! Wow 3fps i think maybe we should get a group of people that arent dan and know what there doing to do the floating conversions. I know C if someone where to teach me what to do i would be more than willing to help get this thing quicker.

Great Work Dan! :)


Im keeping my eye on it nothing intresting has happened yet 8O
-=( DOISFSG )=- · 06 Jan 2006, 19:26 UTC
James Sonne wrote:I personally enjoy 2D games much more than 3D. Developers are making games 3D just for the sake of 3D, when they could be 2D and run much faster and look much better. I enjoy Lemonade Inc. and Rayman Ultimate so much because they're beautiful 2D graphics and run very smooth. I don't have any 3D games on my PocketPC because they all run like an 80 year old man that can't find a rest room.


:o :o WELL SAID :o :o