PocketMatrix forums

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

A Jornada 720 version using the new GAPI

Page: 1 2
Hay, now that there is a GAPI compatible with the Jornada 720, I know I speak for all Jornada 720 owners when I say, when will we be getting a version of Quake?
Maybe a SH-3 Build for the Jornada 680 too. Wouldn't like to comment on the frame rate with the slow CPU.
The Jornada 720 has a processor identical to that of the IPAQ and it also pacts a chip for 2D acceloration.  Along with a keyboard, it seams like a great new home to a quake port.
Moose or Chuck · 19 Jun 2001, 10:41 UTC
You want to try? THEN DON'T WHINE ABOUT IT! Dan is doing EVERYTHING he can to get it to work on ALL DEVICES. If you want to do something helpful you could LEARN C++ AND DO IT YORUSELF!
Dan is the man, and if you put your money together and buy him that Jornada 720 somebody offered, I'm sure he will do it! ;)
You want to try? THEN DON'T WHINE ABOUT IT! Dan is doing EVERYTHING he can to get it to work on ALL DEVICES. If you want to do something helpful you could LEARN C++ AND DO IT YORUSELF!


We've already got one Chuck in our presence...

;)
Moose or Chuck · 19 Jun 2001, 15:30 UTC
And I'm getting sick of people that won't try first. I ALWAYS try first, then ask for help. I'm not a helpless, hapless moron that wants mommy to do everything for me. These people won't accomplish anything but clutter the forum and waste Dan's time by whining. We all know about the 720, and we all know that a couple people want Quake for it, but you'll have to wait like I did for the Casio build. I was also an active member in helping it progress through bug searching, and I even glanced at the code a couple times when I got eVC++. That's what you need to do instead of whining.

(but Dan, you COULD release the latest source code with new builds)
Moose - I'm a graphic artist. I do graphics. YES, those people are need for programming games, too! And if you call me helpless just because I can't programm, but do the necessary graphics - I am!
IMHO I'm not.
Well, *I* have tried, and successfully compiled PocketQuake against the new GAPI for HPC.  I was giddy with delight when I saw that "PocketQuake.exe: 0 errors" line.

However, it still does not run.  I thought I was statically linking in the gx.lib by including it in the link line, but maybe I'm wrong, or perhaps there's still something else missing from the equation?

Any ideas?
Moose or Chuck · 19 Jun 2001, 16:47 UTC
Shapeshifter, I have no idea what you're talking about.

Trarman, finally someone that is trying. Is there an error message when you try to run it on the device? What's going wrong?
Yeah, but it's the same old error we've always gotten, something about a component missing.  Until now, I had always believed it was the gx.dll was missing (because there is no gx.dll for HPC and using the iPAQ one doesn't work).  But that shouldn't be the problem any more.

I _did_ manage to build the GAPIDemo that draws circles, lines, and slides that parrot picture.  So GAPI for HPC works outside of PocketQuake.

Sorry Trarman. If I had the time to sit down and think a bit about what you're trying to do I could've saved you some trouble. PQ also accesses the SIP, which of course is something HPCs don't have. So it links against aygshell.lib for the SIP routines. You can #define out the SHSipPreference calls in console.c, then remove the aygshell library in the linker settings. Use the following definition around the SHSipPreference function:
[fixed]
#ifdef _WIN32_WCE_PSPC
SHSipPreference(hWnd, SIP_UP);
#endif
[/fixed]
I also call SHFullScreen, which may not be supported on pre CE 3.0 devices. I did a quick scan through aygshell's exports and didn't see it, so you should be alright.

I also link against note_prj.lib to enumerate the flash cards inserted in the device. That one should be supported by all CE versions AFAIK.

Finally, try and document or keep track of the exact mods you make so I can merge them all into one codebase, as has been done with the MIPS and SH3 mods. Thanks!!

Dan East
Woohooo!!!!

There be Zombies on my Jornada 720!!

Well, actually just zombie sounds at the moment.  Your suggestion worked great, and I was able to pull out aygshell from linking.  I still needed note_prj though, but was able to grab that from the PocketPC SDK.  (I'm still working with the "beta" HPC 2000 SDK)

The demo is playing right now.. I got some graphics for the bottom section where you show weapons and some buttons.  I can hear my dude shooting the groaning zombies...

OOoo it's so close I can taste it!  :D
Hey hey, Congrats!

Can't wait to hear how this turns out. PocketQuake with a keyboard sounds c00l :)

(OFF TOPIC WARNING - This thread was sanitized for Trarman's sake. This should be an informative thread for all 720 owners, not another topic about Moose.)

Last modification: 999 - 06/20/01 at 13:17:31
Diego Cueva · 20 Jun 2001, 16:29 UTC
"Fixing the "999-Bug", the one where it leaves a "New" in the forum after each of his posts."
:)
I've taken note_prj.lib and projects.h out, as I'm not using the Flash Card for quake anyway and I had to steal these files from the POCKTSDK.

I'm playing around, here's a screenshot of what I get.  If anything comes to mind, please feel free to share.

http://teamster.yi.org/pquake1.jpg
Moose or Chuck · 21 Jun 2001, 08:09 UTC
You could remove that skin, it's useless for HPC owners. It looks like PQ isn't reading the pixels, but is posting blank pixels to the screen. odd
Are you seeing anything appear on the screen, or does it stay blank? If you want to send me the vid_ppc and sys_win files I can take a look at them if you're stuck.

Dan East
I can't believe my eyes, The sight of Pocket Quake on a 720 is beautiful.  I think it's bringing tears to my eyes.  By the way, Moose, who has critisized 720 owners for not taking the time to learn how to program, is a loser.  I can program in C++ quite well.  The problem for me is the lack of information of programing for the 720.  I have been teaching myself, and have come quite far.  I have also looked at the source, but what does that prove.  Anyone can open up some sorce code a couple of times.  You don't even have to have the knoweldge of what program it requires, windows does that for you.  I have tried to recompile it, but I kept getting an error about the "a..." library used on pocket pc's, and I didn't know how to fix it untill reciently (from the post on this board).  An like a person who is not helpless I just kept experimenting instead of whining about a quick solution.  Only the helpless denote others as helpless.  Judging by the amount of posts you have, you must be the most helpless of all of us.  Sorry if this post offends other people, I just do not feel that it is right for someone to post bad comments on a thread that was started by a 720 user for "answers" about a 720 problem.  I didn't ask for crude remarks.
Moose or Chuck · 21 Jun 2001, 13:44 UTC
cool, i'm glad h/pc's finaally get to  play our game :) let me know what you get for speed :)

(Not Nice Chucky)Last modification: 999 - 06/21/01 at 11:44:08
Is the note_prj.dll file on the H/PC pro devices? Support for CF cards is really a necessity due to the large size of Quake data files. It is also language-specific, and on some devices, like the NEC MobilePro HPC/Pro, a CF memory card is referred to as "Storage Card 2" (PCMCIA storage cards are just "Storage Card").

Dan East
Rob,

Thanks for laying it down for all the 720 owners out there.

I admit, our little niche group of deviants here have given 720 owners a hard time whenever the "Will it work on XXX" question pops up.

Moose's brand of writing comes in the form of "Tough Love", and is meant to "inspire" in some twisted french way. In any case, his musings are never meant to offend.

I guess what's left now is to sit back, cross our fingers, and hope we can welcome a new device and batch of users to our little PQ Community...
thanks, rob, as a jornada 690 user, i agree.

less flames,
more c++.
Dan:

Just checked on my Jornada 720, and yes it has the note_prj.dll. (date of file 29/06/00)

My compact flash card is "Storage card"
and with a pcmcia card in also as "Storage card 2"

Hope it helps.

John
Hey Dan,

I know for a fact that note_prj is not in the SDK for HPC2000, but only mostly sure it's not in the HPC Pro 2.11 SDK.  It also does not appear as a dll on the device.  I don't know how we'll enumerate the compact flash cards without it.. but given the sad number of things MS leaves out of different SDKs it's not surprising this was missed.  I've been able to fit the giant pak file into internal ram, so once it works there, CF cards will be the next thing to fix.

What you don't see in the screen shot I posted earlier is that the "Starting Quake" window shows up dead center of the screen upon loading.  Moments later it goes away and the about box describing the PocketPC port done by you, skins by 999, etc, is displayed.

Close the dialog window and then you wait a while and can hear the demo running.  It was at this point that I took the screen shot.

How do I change the skin for half-vga?  The original Quake skin would be perfect, and run at resolution of 320x200.

I haven't touched vid_ppc or sys_win yet.  I was looking at them last night but didn't try changing anything.

Thanks for your support in this effort!
Oh!  I stand corrected.  note_prj.dll *IS* on the Jornada 720.  (I had done a "dir note_prj.dll /s" from the root dir and didn't find it)

Well, that's cool.  I can put those CF card lines back in.
Since I started this post, I figure that I might as well ask, what can I do to help?
hey Trarmam, just wondering how its going?

Being the idiot I am I compiled my own version with the new gapi, but ebc++ threw up with syntax errors on the gxdisplay stuff....didnt really know how to fix it (12 errors) as I can't program....just wanted to contribute. (even though I should be working on argentum....).

Oops, maybe carpe or fredrik will be reading this...gotta get back to work :)

John
yeah John,  Howz that coming along?
I've been kind of busy with work related stuff (gotta pay for these toys somehow :) ) so I'm hoping to get some time tomorrow to play with PQ again with the newly released HPC2000 SDK from Microsoft.
Well, I'm actually able to play it on the J720.  I can run and jump and shoot...  I just can't see anything.  Grrr.  The buttons on the hud display work (ie, I can press Menu and start a game or quit) so everything but 3D video is working.

One thing of note: The GAPI demo is supposed to display a nag screen on startup, but in Quake that is not happening.  It happens in the demo prog I compiled, and I'm not doing anything different that I can see.  Hmmm.  So either we've found a way around the nag screen, or GAPI isn't running...
This is pure speculation, but i think that the nag screen is being popped up "underneath" quake and the reason that you cant see anything is because you have to hit "ok" for gapi to work. But like I said, pure speculation.
I've sent Larry a personal message to his brighthand account, along with a link to this thread. It's a little disheartening not to have seen him pop up yet. I'm hoping he just hasn't read my message yet.

Hi,

Before start my mesage, sorry my english is pathetic.

Can someone make me a small sumary about what must to do a Jornada 720 owner for runs PoketQuake actually? I only undrestand a 50% of the contents of the forum. Is really solved the problem of Gapi librari?Is it actually necesari to runs Quake?
Slump, no, a 720 version is NOT available yet. It is still under development.

Dan East
Maybe i'm some kind of stupid ignorant moron, but I cant help but feel that the Licence to GAPI H/PC is a bit stupid.
Wouldn't it make more sense to have it so that for non-commercail applications, there shold be no charge. Maybe a splash screen when it is initalised to give the author credit.
For non-commercail software, not many people will purchace a licence as it is a loss to the developer.
For commercial or Shareware applictions, the developer should have to purchace a full licence, as they will be making money from the software anyway.
Sorry for the delay guys.  My wife just had a baby this weekend and we have been a bit busy :)

I will help out if I can with the GAPI HPC part.  One thing to note that I may have forgotten to mention in the documentation is that each thread in your app must call GXBeginDraw() to get display access.  This was not a limitation of the original GAPI, but in the way my code immitates it.  This may be why your 3D stuff is not being displayed.

Let me know if I can assist in other ways.

Larry B.
Congrats on your finest bit of work yet Larry ;)!!

Moose or Chuck · 26 Jun 2001, 13:32 UTC
Hey Larry, congrats. What's the little tyke's name?
Moose or Chuck · 26 Jun 2001, 14:06 UTC
well then, finish that port, i wanna see those crappy jornada's play quake.
You "Have been busy"? How about "And we will be busy for the next decade." :) Pocket Quake is not multi-threaded, so that must not be the problem.

Dan East
Moose or Chuck · 26 Jun 2001, 17:13 UTC
i'm now lost.
Oops, maybe carpe or fredrik will be reading this...gotta get back to work :)


I see you... :)
hehe...

Oops got caught....


Trarman, just an idea but how about posting up your source files, maybe one of us lot may stumble across something you missed.

Any thoughts?

I take it you commented any changes you made?

John.
Any chance of us seeing a NEC MobilePro 770 version of Pocket Quake? If this port succeeds, does it mean the NEC will be supported?

I would REALLY like to see it on this great HPC.

Thanks and great work guys!

--zigzag
Moose or Chuck · 01 Jul 2001, 15:25 UTC
Sure, whatever
That's a MIPS device, which although slower than the ARM based H/PC pros, it should still be able to handle Quake. If / when the Jornada version is completed then a Mobilepro version will most certainly be made available as well.

Dan East
Sorry folks, I've just not had any time to spend on this project..  I'm glad to see others willing to pitch in.  I don't really care _who_ finally makes the port, I just wanna play Quake on the Jornada.  :)

Yes, I have been documenting my changes, for what they're worth.  C++ isn't my strong suit so now that all the compiler errors are gone I'm just trying stuff to see what difference anything makes.

One thing I wanted to ask Dan, two objects in gx.h have a different syntax in their definition than what PQ looks for.  This is just off the top of my head, but GetDefaultKeys and GetDisplayProperties aren't defined as "struct" yet PQ expects that in its use.  Did you change gx.h in the original GAPI?  It made those compile errors go away, and no link errors showed up from it, but I'm not certain that it doesn't effect runtime.

That's the most notable source change I've made beyond what's already been suggested in this thread by Dan.  Other changes have been to the compiler/link options in the project settings.
Yeah, MS made gx.h C++ only for some reason. Adding "struct" before the return types for those two functions is one way of allowing it to be used with ANSI C. I did modify my gx.h, and no, I don't usually go editing all the include files MS distributes. :) Changing that would have no impact on what is generated - it is just a syntax issue.
If you want to zip up the files you edited and send them along then I'll take a look at it.

Dan East
I too have decided to embark on my own port.  I'm not to bad at C++, but I'm not the best either, so I need a little help.  First off, I have successfully compile PQ, and have gotten it to run up untill the point where it says it needs gfx.wad or something like that.  I am downloading the wad file now, but there is another question that I have.  I no nothing about working with dll's so here is the code I need help with

     if (dxDllLib) {
           int rc;
           GXOpenDisplay_=(GXOPENDISPLAY)GetProcAddress(dxDllLib, _T("?GXOpenDisplay@@YAHPAUHWND__@@K@Z"));
           GXCloseDisplay_=(FARPROC)GetProcAddress(dxDllLib, _T("?GXCloseDisplay@@YAHXZ"));
           GXGetDisplayProperties_=(GXGETDISPLAYPROPERTIES)GetProcAddress(dxDllLib, _T("?GXGetDisplayProperties@@YA?AUGXDisplayProperties@@XZ"));
           GXBeginDraw_=(GXBEGINDRAW)GetProcAddress(dxDllLib, _T("?GXBeginDraw@@YAPAXXZ"));
           GXEndDraw_=(FARPROC)GetProcAddress(dxDllLib, _T("?GXEndDraw@@YAHXZ"));
           GXOpenInput_=(FARPROC)GetProcAddress(dxDllLib, _T("?GXOpenInput@@YAHXZ"));
           GXCloseInput_=(FARPROC)GetProcAddress(dxDllLib, _T("?GXCloseInput@@YAHXZ"));
           GXGetDefaultKeys_=(GXGETDEFAULTKEYS)GetProcAddress(dxDllLib, _T("?GXGetDefaultKeys@@YA?AUGXKeyList@@H@Z"));

This code is located in sys_main.c from lines 748-757.
First I asume it checks to see if the gapi dll exists in line 748.
then it declares an int "rc"
Now is where I have trouble...

What the h#ll does this mean
GXOpenDisplay_=(GXOPENDISPLAY)GetProcAddress(dxDllLib, _T("?GXOpenDisplay@@YAHPAUHWND__@@K@Z"));

I asume it defines a function called GXOpenDisplay_ but what really messes me up is the GetProcAddress.  Does this replase the usualGXOpenDisplay with GXOpenDisplay_ (at least that is my best guess).  And I think that GetProcAddress gets the address of the function from the dll, but I am not sure.  Please HELP!!!!!

Thanks

P.S. I have plenty of free time, and the port sould be done in about a week if I get this part figured out quickly.
Your assumption is correct, GetProcAddress returns the address of the function in the DLL.  The code you posted, is storing that returned address into a function pointer variable.

Programmers use explicit dynamic linking (via LoadLibrary) because if the required DLL or function is not available they can alert the user in any manner they see fit, rather than the OS displaying that ugly "A required library could not be found" dialog.  This also allows the application to load/unload the DLL whenever it needs the code or resource residing in the DLL.  For example, why load winsock if you're only playing Single Player mode?

If you're linking to that static library instead of gx.dll, then you need to remove the code that loads gx.dll via LoadLibrary, and the associated code that calls GetProcAddress for each of the GAPI functions.  I'm hoping Dan has a #define where GXxxxxx equals GXxxxxx_.  That would make your job a lot easier, otherwise you'll have to add one that does the reverse.  I'm sure he'll chime in soon...
I think that I have now tied the other Quake port out there.  I can start the game, it loads, and after a couple seconds I here guns going off, and zombies everywhere.  Now I have to start on the graphics.  Here is my next question.

I will now try to explain this code to the best of my ability, but I had never used typedef before tonight, so it has thrown me a curve ball.

typedef int (*GXOPENDISPLAY)(HWND, DWORD);
typedef struct GXDisplayProperties(*GXGETDISPLAYPROPERTIES)(void);
typedef void * (*GXBEGINDRAW)(void);
typedef struct GXKeyList (*GXGETDEFAULTKEYS)(int);

On second thought, I have no clue what this means

Please help, I have spent over an hour trying to figure out exactly what this means.  I may have a general idea from the windows help file, but it is not enough to help me.  So, PLEASE HELP

Thanks in advance!!

P.S. in case any 720 owners were wondering, the sound sounds great, infact my dog ran to my bedroom door thinking something was out there.
typedefs are the way you create your own data types in C/C++.  Here's a simple example:

typedef unsigned long ULONG;

After that type definition above you can use ULONG to declare an unsigned long integer, like so:

ULONG ulRefCnt;

The typedefs you've posted are for new data types that are function pointers.
For example, this typedef:

typedef int (*GXOPENDISPLAY)(HWND, DWORD);

creates a new data type called GXOPENDISPLAY that is a function pointer to a function that takes 2 parameters (an HWND and a DWORD) and returns an integer.  Creating these type of typedefs are handy when casting the return value from GetProcAddress.



Dang Digby, you like the "Yoda" of programmers or something?

I'd kill to be able to look at something alien like that code and know exactly what it does, and if it will work without even really running it.

punk.
I love typedef's. I think I use them too much:)
Moose or Chuck · 04 Jul 2001, 12:18 UTC
uhm... why do I need hwnd so much? And HDC?
:-P
(just kidding)
I'm no Yoda, but I'm probably as old as he is.  

I've been programming longer than most of you have been alive.  I think I wrote one of my first programs in '74 or '75.  It was to calculate and plot the swingarm travel of my Honda CR-125 MX bike as I moved the lower shock mounting position closer to the swingarm pivot.  Of course it was written in Fortran on a time-sharing mainframe.  The program was stored on paper punch tape, which resembles Braille on a paper tape about 1" wide.  Man, those were the days...

C/C++ syntax might look a bit complicated but it all follows rules based primarily on mathematics.  It's not half as bad as trying to learn another spoken language.  There, you'll need to know the rules and then all the exceptions to the rules that developed over time.  With programming languages, as long as you remember you can't divide a number by zero, you'll be in pretty good shape. :)

Moose or Chuck · 04 Jul 2001, 12:29 UTC
But I can divide a pie into 0 parts, making it infinitely small!
Your brain is divided into zero parts.
Moose or Chuck · 04 Jul 2001, 12:42 UTC
My brain is infinite! My wisdom never ending! My powers unique. I am your god!
Must Larry's HPC/Pro GAPI library be statically linked? If so maybe we can persuade him to release it in DLL format as well. I used underscores after those function names to indicate that they were pointers to functions. To call them you have to de-reference them first:
(*GXBeginDraw_)()
Not:
GxBeginDraw_();

I probably know why Larry only allows his library to be statically linked - that's the only way for him to license it. One could very easily make a gx.dll out of his library, but that may go against his license terms. That would be the best solution, because no changes would be required at all to PQ's source for it to work. It would also make more sense from a licensing standpoint, because the software developer shouldn't have to pay - the owner of the device that needs that functionality should have to pay for the gx.dll, then that would open the door to them for any game that requires it.

Dan East
I don't know how it could violate the lisence agreement, as long as we are turning the shareware version into a dll, and not the retail version.  I read through the license agreement and nowhere does it say that you could not use his software in a program, and, is a dll not a program.  An further more, if you did buy the retail version, although I am not positive if thelicense changes, nowhere does it say that you have to charge for your program, so you could give the dll away for free.  I would strongly not advise the second option, because that would simply hurt Larry, and posibly cause him not to update his project when gapi is updated.  What I was thinking was, create a dll that will only work with pocket quake.  Although, since pocket quake is open source, then people can freely look at the acess code, so that idea won't work.  Oh well, I guess it's time to create a "dll" and see if it works.  Actually, I have an idea.  First of all, you would need another file that quake calls, and then that file calls the dll.  This new file would not be open source, and when it is compiled, you would embed the file size of pocket quake or something inside of it.  If the size of the program accessing the new file is not the same as the PQ file size, then acces to the dll will not be possible.  So, here is a flow cahrt of my idea.

PQ->FileX->Compares File Size of PQ to Embedded siz<->Not equall then return<->equall then send code to dll for access

This way the code is sealed, and it would be very hard to make a program identical in size to PQ (although I am sure it can be done.  This would not violate the license at all, and will allow the use of the retail version of GAPI without modifying the code of PQ to much.
Last modification: Rob - 07/04/01 at 12:58:00
Moose or Chuck · 04 Jul 2001, 16:41 UTC
Wow, how interesting. Too bad it's not new
Dan you don't need to dereference the function pointers in order to call the function.  The compiler will do this for you automatically.

Just out of curiosity (I haven't looked yet), but does PQ call GXBeginDraw and GXEndDraw after every frame, or is it only a one time thing.  Because it is GXBeginDraw that creates the nag message, and that would make the game unplayable with the shareware version.
Well, that's a grey area. According to the docs, it suggests "holding onto the buffer to draw mutliple frames" to increase performance, while letting go of the buffer if the app loses activation. That works fine on the iPaq. However on the Casio devices you have to call begin and end draw every frame. So I guess that is dependant on the OEM's hardware / drivers. I have no idea how Larry implemented this with his library.

Dan East
The way it appears to be implimented is that you only need to call it one time (At least I think).  I tested this with a program that changes the screen backgroung color rapidly and I only call GXBeginDraw one time at the beginning.  So, I believe that the 720 only requires one call.
I have a question about C programming.  Do you need to redefine funcions in every file, or is it enough just to have the header define them.  I'm asking this because I changed all of the GAPI functions back to their original names, and now when I compile it I get this.

Linking...
sys_win.obj : error LNK2019: unresolved external symbol GXGetDefaultKeys referenced in function WinMain
sys_win.obj : error LNK2019: unresolved external symbol GXOpenInput referenced in function WinMain
sys_win.obj : error LNK2019: unresolved external symbol GXGetDisplayProperties referenced in function WinMain
sys_win.obj : error LNK2019: unresolved external symbol GXOpenDisplay referenced in function WinMain
vid_ppc.obj : error LNK2019: unresolved external symbol GXBeginDraw referenced in function VID_GetScreenBuf
vid_ppc.obj : error LNK2019: unresolved external symbol GXEndDraw referenced in function VID_ReleaseScreenBuf
ARMRel/PocketQuake.exe : fatal error LNK1120: 6 unresolved externals

I do have gx.h included, so why is this happening?
Moose or Chuck · 05 Jul 2001, 11:04 UTC
Do you have gx.lib imported into your workspace?
That's what I thought might have been wrong too, because I had that happen before, but the fix I used then isn't working now.  To import it, do you just go

1. Project/Settings...
2. Click the link tab
3. And type gx.lib in the object/library modules

Here is what that line looks like
gx.lib winsock.lib commctrl.lib coredll.lib

That is the only place that I have entered in gx.lib and I have included gx.h in vid_ppc.c and sys_win.c.  They are included like this.

#include "gx.h"

Am I forgetting something.  I don't think that the lib is corrupted or anything because the GAPI demo works just fine, along with a clear screen demo I made.  That is why I was wondering if there is anything else needed in C in order to make those functions work.
Moose or Chuck · 05 Jul 2001, 11:26 UTC
I usually just drag and drop it into the list of files in my workspace in VC++. It should show up there after that. But make sure when you type in gx.lib that it's in the same directory as all your other files or it won't be able to find it.
Moose or Chuck · 05 Jul 2001, 11:29 UTC
And depending on where you put the gx.h file, it should be
#include <gx.h> //if it's in the default include dir
//or
#include "gx.h" //if it's in the same dir as all your other .cpp files
Larry Bank has a tech article here that explains what GXBegin/EndDraw does and which platforms actually require their use in order to display the buffer contents properly.

If his library is truly displaying the dialog at every call to GXBeginDraw, then that's a poor design.  That would make the demo library pretty useless.  It would make more sense to display it when GXOpenDisplay is called.

That's what I was thinking.  In fact, I wrote to the auther to ask him if he was willing to chang it to GXOpenDisplay, and he told me that he wouldn't.  I also asked him if you would consider changing the price, and he told me that 50 dollars was nothing for a development tool.  I still don't think that he understands that some systems require GXBeginDraw after every frame, and this makes his shareware library pretty pointless.  I was looking through the PQ source code, and I believe that GXBeginDraw is only called if the surface pointer doesn't exist.  I have not yet check to see how often that pointer is deleted though.  I am still trying to figure out how to fix my prevois problem, and any other sugestions will be welcome.  So far, there are about 20 more folders that now contain gx.h and gx.lib.  I'm putting it everywhere, just to see if that helps.  If I don't figure it out soon, then I am going to download the fresh source code again and start over, to make sure it isn't something that I did that caused it not to work.  So, any other help will be greatly appriciated.  By the way, I realize that many people have donated to this project, and I would like to point out that if a group of 720 users got together, or maybe just one, they could  purcase and donate the full version of gapi to this project.  This will only be needed however if PQ calls GXBeginDraw every frame, or something like that.

Is it just me or do I write too much in my posts?
I had the same errors as you when I tried to compile it...Everything seemed ok, but kept squirting those errors out that you get.

I tried a quick recompile of mame for the 720, got it to compile and run, and just after it initializes the screen it pops up with the gapi shareware message, so I know you can get it working in other things.

If we are fairly sure that it may be needed to call gxbegindraw every frame then I would be happy to donate towards the cost of the full version....maybe pocketmatrix could setup a donation site to raise the $50....We only need like a few of us really.

John
That sounds great, thanks for you help.  I know that it uses GXBeginDraw to make the nag screen, but the question is, how many times does it call GXBeginDraw?  I am fairly sure that the 720 only requires one call, so after I get the rest of the gapi functions working, I will see if I can change that (if needed).  It may end up that the retail version is the only way however.  Lets keep our fingers crost.
I made a mention in a previous post that it'd be darn nice if Larry (the bitbank gapi author) donated a copy of his gapi to Dan or someone in the loop.

I also offered a free linkback to his site right next to the HPC PQ download link.

I'm hoping he'll take up on it, either to help establish the power of his gapi (Quake as a testament to it's ability would be great marketing), or just to play nice and help the CE programming community out there.

In either case, it was worth a shot, and in the end, I figure Chris can setup a Gapi donation of some sort.
After a long period of gazing sencelessly into the computer screen, and sveral restarts, I finally think I figured out the problem.  Ok, here are my facts.

1. Any GAPI refrence in sys_win.c or vid_ppc.c come up with an error. (Both are C file (*.c))

2. Just for fun I put in the call GXOpenInput() into PocketQuake.cpp and I recieved no error from this file (the other errors were still there, which might have caused this lack of error creating, but I dout it).

Conclusion GAPI for HPC's only works with C++.  If you have any other information please write it here.  I am now going to do some more experimenting to see what I come up with.  If I can't get it to work by the end of today I will email Larry and ask him about it.
Is there any way to declare a function in the main PocketQuake.cpp so it can be used by the other *.c files?
Rob,

You're in a bit of a pickle because Larry has exported the functions in the static library using their C++ mangled name.  I can tell you how to get around this, but from your programming skills it would take more time than I want to spend typing in this web form right now.  Contact me by e-mail  and I'll be happy to help you offline, but you really should ping Larry for help on this one first.  He should have typed the functions in his lib as extern "C" and then done the same in the header file (if being compiled under C++).  MS should have done the same with their GAPI Dll too.  I'll mention that to Bill the next time we're playing golf. ;)

Oh and I've read his docs with the library and I know why he put the nag dialog in GXBeginDraw.  He comes right out and tells everyone that they don't need to use GXOpenDisplay if you're using his library!  Of course he couldn't put the nag dialog in that function - no one will be using it now!  Ugh.

You'll need to use extern "C" with any C++ function you want to call from a C source file.  That prevents the C++ name mangling.

Here's a function Foo in some C++ source file:

extern "C" void Foo (int Bar)
{
  ...
}

Last modification: Digby - 07/05/01 at 18:06:48
If the linker cannot find a library file (in this case gx.lib), then it will fail immediately, as opposed to reporting all the individual functions that could not be resolved. So if it doesn't say "unable to open gx.lib" then it found it. As Digby said, there are different calling conventions used to reference function names and tokenize their parameters. Quake is in C, while Larry's library is in C++. If you take a look at the zlib.h header file you'll see:
[fixed]
#ifdef __cplusplus
extern "C" {
#endif
[/fixed]
That allows that C library to be used correctly with C++. You need to do the opposite, which would be something I would have to play around with to get to work (I don't exactly make C++ function calls from C every day). You can try specifying __stdcall in front of the function definitions in gx.h, but I don't know if that is the exact correct syntax.

Dan East
_stdcall doesn't buy you much on Windows CE.  From windef.h:

Code:

#ifdef UNDER_CE
#define __stdcall __cdecl      // Note this doesn't match the desktop definition
#endif


I will gladly donate $10 - $15 (US) for this project. But...

DO I understand this correctly, if you pay $50 you get the no-nag version of his GX.LIB and NOT a GX.DLL file? This is a fairly big difference as if we only get the .LIB we can only use it within PocketQuake and not other things right?

That kinda sucks, but my offer still stands, just make sure it's done using PayPal or something, sending US funds from the UK is a pain in the ass otherwise...
You could just zip up your workspace and email it to me.  I have the full licensed version of GAPI for HPC and would be happy to compile it for you.  As I understand the license, I can't give you a copy of GAPI, but I can compile PQ for ya using it.

That way, there's no need for donations.. let's keep PQ free for everyone!

Since you have the full version, why don't you compile it into a dll file.  It is no different then compiling it into PQ in terms of the license, is it.  Then I wouldn't have to try to make a C++ lib work in C, since the code to make a dll file work is already there.
Does creating a gx.dll not fall under things not to do in this license agreement?  What would be there to stop my gx.dll from populating itself onto everyone's Jornada, thus robbing Larry of that income?

For educational purpose though, I will attempt compiling into a dll on my own system and see if that does eliminate the problems we're seeing.

License: The following restricted rights are granted. A) Use of the code to be included as part of a executable application.  You may not: A) Transfer or rent the Program or use, copy or modify the Program, in whole or part, except as expressly permitted in this agreement. B) Decompile, reverse assemble or otherwise reverse engineer the Program.  C) Reproduce, distribute, or revise the Program or documentation.  If you do any of the foregoing, your rights under this license will automatically terminate. Such termination shall be in addition and not in lieu of any criminal, civil or other remedies available to BitBank.

I've messed around with this (but so far without any luck), but is there a way to declare the GX funtions used in PocketQuake.cpp and then have teh other *.c files refrence to that file, or will that make no difference what so ever.  For example

int GXEndDraw_();
{
   GXEndDraw();
   return 1;
}

or something like that?  And then you could call taht function in a *.c file.  So far it doesn't seem to be working, but I no that there has go to be a way.

P.S. I have emailed Larry asking him how to solve this problem, or if he would recompile his lib to be compatible, but have not gotten an answer back yet.
Hang on though....if Trarman already has the full version of the hpc gapi, then this would eliminate
the possibility of it being anything to do with a registered version or not, as you both seem to be suffering the same problems.

I would like to take this time to thank Larry greatly.  He has just sent me a set of C wrapper functions that he uses in his programs to interface to GAPI.  I haven't tested it yet, but it should work.  If it does, then PQ should be on the 720 before we know it.  Thanks Larry.Last modification: Rob - 07/06/01 at 10:12:38
Cool news Rob.  I just finished sending you instructions on how to do this via e-mail, but it sounds like you don't need it now.  Good luck.

roadkilldave · 06 Jul 2001, 13:26 UTC
I just copied Quake off of a backup CD of old games that I have so that I could get the .pak files. I would be happy to bug test for you on my Jornada 720.
I also have the full version of Quake.  Actually I just got it.  Aslo, as soon as it works I am going to release it to everyone, since it's free, I have no reason to select just a few testers
roadkilldave · 06 Jul 2001, 13:33 UTC
Cool your the man!

Did the wrapper files Larry sent you do the trick in regards to the GAPI calls?
Only one problem left to solve.  Ok, I decided to add the wrapper into PocketQuake.cpp seeing how it was there and not being put to much use.  All the functions appear to work fine (at least so far) except for GXGetDisplayPropteries

code in PocketQuake.cpp

extern "C" GXDisplayProperties GXGETDISPLAYPROPERTIES()
{
     return GXGetDisplayProperties();
}

code in win_sys.c

struct GXDisplayProperties g_dispProps;

//and latter on in the same file

g_dispProps = GXGETDISPLAYPROPERTIES();


And the error I get

C:\My Documents\PocketQuake\WinQuake\sys_win.c(737) : error C2115: '=' : incompatible types

I also get several other new warnings if this helps at all.  Here they are.

C:\My Documents\PocketQuake\WinQuake\sys_win.c(737) : warning C4013: 'GXGETDISPLAYPROPERTIES' undefined; assuming extern returning int
C:\My Documents\PocketQuake\WinQuake\sys_win.c(737) : error C2115: '=' : incompatible types
C:\My Documents\PocketQuake\WinQuake\sys_win.c(748) : warning C4013: 'GXOPENINPUT' undefined; assuming extern returning int
C:\My Documents\PocketQuake\WinQuake\sys_win.c(749) : warning C4013: 'GXGETDEFAULTKEYS' undefined; assuming extern returning int

C:\My Documents\PocketQuake\WinQuake\vid_ppc.c(621) : warning C4013: 'GXBEGINDRAW' undefined; assuming extern returning int
C:\My Documents\PocketQuake\WinQuake\vid_ppc.c(670) : warning C4013: 'GXENDDRAW' undefined; assuming extern returning int

Looking at there errors, I think that the files vi_ppc.c and sys_win.c do not know that my new wrapper exists.  Sould I declare the functions inside each of those to files?  Or sould I use a header that has declares those functions only without the extern "C"?  I will continue working, and await this last bit of help.
Please ignore that last post, I have compiled quake and am about ready to take some Screen Shots for you all to see.
If it has some game action then rob u rule.

Heres hoping.

John
Sorry Guys, the screen shots will have to wait.  Virtual CE Pro trial doesn't like quake, so it keeps disconecting as soon as Quake starts to work.  Did you hear that, PQ works.  I was walking around and shooting stuff with my 720!  I may have sat at my computer constintly for the last couple of days, but it was worth it.  Here is the list of things that need to be done before quake is up to par.

1. Move the virtual pad to a better location.
2. Redefine the keys to better places (I don't know all of the key code for the 720, so some info on that would be appriciated.
3. Center or stretch the screen.
4. The dialog that gave everyone credit didn't appear in my first test, I'll have to look at that, and add my name to it ;)

If you would like a beta copy of this beta please post, and I will send it to you.

I'm off to go blow up some zombies.

P.S. I will send a copy of the virtual pad bitmap with it, because the top layer of buttons gets covered, but they still work.  You move with the arrows, and the rest is with the virtual pad for now.  And for those who said it couldn't be done, I would just like to say, you have no idea how much free time I have.  
By the way, could you take that Newbie lable off from under my name, and make it something like 720 porter.

Also, the GAPi nag screen only comes up once, so it does not affect gameplay at all.

I'm tempted to hex edit that messgage and make it the dedication, but then I'd be fined and that would suck.


And posibly some other tweaks.
Rob you are the man...Im gonna drink a glass of beer in your name. ;D

Can you mail me out your version to:
john.lomax@totalise.co.uk

Ta.

John.

P.s We dont need the virtual pad really, maybe remove it?
Oh almost forgot, In between you zombie bashing and PQ tweaks, head on over and grab Gandalfs Imame source, and pretty please get mame running.

Hehe.

:)
roadkilldave · 06 Jul 2001, 14:54 UTC
Please send it to me also:

dallen@avci.net

Thanks! Your the man!!!!! You Rule!!! Buttkiss smootch etc.
Dan, do you think you could make a page that I could use to post HPC Quake news along with updates :)
I have just been following your progress, and i would just like to say congrats!! on a almost compleate port for the 720. this is going to be awsome.
And I think he deserves to have his newbie tag replaced with 720 porter ;)
Could I grab a copy aswell.

rosshj@home.com

http://www.rosshj.com
I have a jornada 820, it should work on it.  please send me a copy.

rob.chamings@ntlworld.com

Rob
I have to go to work now, so if you would like, goto freedrive Name:ROB720 and PASS:okokok.  Here is a quick note.
Here is PQ, note that loading levels tend to take a while and right next to
the attack button is the menu button.  Don't be surprised if you hit it by
accidect.  Also left and right strife, you have to use the center of the
vpad to turn and aim (that will be corrected in the next release.  If is
does freeze (it hasn't yet) then just alt tab and end task, other then that
I owuld like you to know that I cannot be held responcible for anything this
does to your 720 or you mind for that matter.  Enjoy. There are checks from
1.0 to 2 at the beginning, this was because there was an error there, and I
had to figure out exactly where it was.
john, the images on your site look amazing. fantastic. i didnt realise 'silver' was the sam one i used to play. i LOVED that game. much better than that final fantasy rubbish.
Last modification: Paul - 07/06/01 at 13:57:07
Mike Wagstaff · 06 Jul 2001, 16:06 UTC
Just to point out that the password got mangled by the forum coding. It should be...

okokok

OK? :)

-Mike http://www.pocketgamer.org
Thanks for the compliments paul.

As for the 720 version, it runs fine on my 720. Some things need tweaking by rob (screen size, menu bar etc) nothing major. The speed seems as good as, if not better than my casio e-125. The 720 screen makes things a little difficult to see at times, but you get used to it. Should be a great addition to the PQ lineup :)

Johnny.


Wow! Us H/PC owners don't have to be left drooling over P/PC games anymore...I know that it is (very) early to start mentioning this, but would MIPS and SH-3 builds be considered. I have a J680 with a 64Mb CF card and am willing to test for anyone.
Just a question...
On behalf of the H/PC community, I would like to thank you for your contrebution.
Awesome work Rob!

I'm playing it now..  This is great!

Congrads, one question though? is this based on the .051 source? Or did you get a hold of the .061 source?
It dont work on the 820, possibly due to GAPI or because of 256 colours.
I know nothing.
rob
roadkilldave · 06 Jul 2001, 23:53 UTC
When I try to run it on my 720 it says I have to have the registered version in order to play modified games. I think it has something to do with the pak0.pak.gz file that I downloaded out of the pocket quake download area. Does anyone know what this means?

Thanks!
I've put together a page containing the files and instructions neccessary to run Rob's port of Quake on the 720 at...
http://burtcom.com/quake720/

Rob, if you have any comments or updates, let me know!
That is not a bug with either the pak or the quake exe. The file you downloaded is the shareware/demo version of quake. You can play the single player stuff only with that pak file, you need to get the registered pak file from the purchased quake game if you want to play the full game or custom levels.
When I try to run it on my 720 it says I have to have the registered version in order to play modified games. I think it has something to do with the pak0.pak.gz file that I downloaded out of the pocket quake download area. Does anyone know what this means?

Thanks!
Hi, I'd just like to tell you what my plans are.
1. Right now that is .051 and is it an alpha release of that.  I plan on making that run good before I move onto .061
2. The key board works fine (except the ctrl key for some realon, and I thnk it is the del and . keys are defined as the same key for some reason.  So, I plan on completely removing the VPAD.
3. Screen size.  I don't know if you went into options and video mem, but as of now there are only three resolutions, I plan on adding one or two for 720 optimization.
4. Is the 820 compatible with GAPI, if so, I'll add a good resolution for them.
5. Is the 680 and HPC2000 or HPCPRO, I'll be glad to compile a version, I just need to know what type, and what processor.  I think it is the mips?
6. Someone mentioned something about mods not working, I think that you need version .061 for the best compatibility with mods, but I'm not sure.
7. I would like to say one last thing, I WAS THE FIRST PERSON TO SHOOT A ZOMBIE ON MY 720 HAHAHAHAHAHA. (Sorry, but I felt that I needed to add that)

Well, it is back to work.
My J680 is a 133Mhz SH-3 CPU With CE2.11 (HPCPRO), Oh, I also have Full version Quake, a lot of time to waste :-) and a 64Mb CF card., and If you want me to help in any way with development with this project, just drop me a line.
I have the introductory version of VC++, would the Visual Dev tools work with this. If it did then I could tinker with some code. I am trying to learn a little C++ at the moment and while this is not going to be the bst place to start, it can't hurt can it?
I think the 820 is a ~190Mhz MIPS with CE 2.11. I'm not completely sure about this though so if I am wrong, point it out.
Actually, I use embedded studios.  It's free, and I like it a lot.  As soon as I change the screen size (which sould like about a minute), I'll compile a quick version for you.
Great work Rob! Make sure you put the H/PC Pro code in precompiler definition conditional blocks. Please use the following:
[fixed]
#ifndef _WIN32_WCE_PSPC
//HPC Pro code
#endif
[/fixed]

I would also suggest removing the rotated landscape video modes (again, using conditional statements as above). I would keep the small, 240x180 display mode for the default #1 mode. That way all versions will be consistant, and we can perform benchmarks between them. #2 would be 320x240, which again matches the Pocket PC size. Perhaps a full screen, 640x240 #3 mode could be created. Quake should work at any aspect ratio. That would be cool with an increased FOV. Of course it will be slow as crap... :) #4 would be reserved for HPC/Pros with 640x480 screens, #5 for 800x600. So to consolidate the screen modes:
[fixed]
1  240x180
2  320x240
3  640x240
4  640x480
5  800x600
[/fixed]

I wouldn't worry about implementing 3-5 at this point.

I'll let you tweak the other issues, like centering the display, etc, before we try to merge back into one code base. I would take the onscreen controls out completely, since there is a full keyboard worth of buttons to bind to. MLook would just be any stylus input. Let me know if that device has any function keys. It would be good to assign some hardware keys the same identifiers as the Pocket PC hardware keys, to make the config files more compatible. For example, all Windows CE devices have a record button, so it should be mapped the same for all.
Once you get things smoothed out some more I will merge what you have into the current 0.062 source code. After I make sure it builds properly for Pocket PC, I'll let you verify everything is in order for HPC/Pro. Then we'll just have to sychronize our changes from then on. Basically every couple of months I can work intensely on PQ for a few days, so it's not something I'm piddling with every day.

Again, great work!
Okay, so now who is going to port a Palm version? After all, there devices are superior, right? Seriously though, a CE 2.11 version would be realistic, as it should be somewhat playable on the E-105 (and only on that particular device). However, I don't know of a single H/PC (CE 2.0) device that is powerful enough for Quake. Plus they are all greyscale (to my knowledge).

Dan East

Last modification: Dan East - 07/07/01 at 07:17:40
roadkilldave · 07 Jul 2001, 09:35 UTC
Does anyone know how to gzip the pak files? What is gzip and where do you get it?

Thanks!
David, if all you need is the un-gzipped version of the demo PAK file (17 MB) you can just pull that from my site: <a href="http://burtcom.com/quake720/">http://burtcom.com/quake720/</a>
roadkilldave · 07 Jul 2001, 12:41 UTC
I found a version that runs from the dos prompt. I wanted to gzip my pak1.pak file because it is 18 meg.
You don't need to run it from the DOS prompt. It supports drag-n-drop. a VERY handy feature.
roadkilldave · 07 Jul 2001, 14:11 UTC
Question for Dan or Rob or other C++ guru

What do the following lines do in gx.h? How do I fix this error?

GXDLL_API int GXOpenDisplay(HANDLE, DWORD); // HWND hWnd, DWORD dwFlags);
GXDLL_API int GXCloseDisplay();
GXDLL_API void * GXBeginDraw();
GXDLL_API int GXEndDraw();
GXDLL_API int GXOpenInput();
GXDLL_API int GXCloseInput();
GXDLL_API GXDisplayProperties GXGetDisplayProperties();
GXDLL_API GXKeyList GXGetDefaultKeys(int iOptions);
GXDLL_API int GXSuspend();
GXDLL_API int GXResume();
GXDLL_API int GXSetViewport( DWORD dwTop, DWORD dwHeight, DWORD dwReserved1, DWORD dwReserved2 );
GXDLL_API BOOL GXIsDisplayDRAMBuffer();

I am getting the following compile errors compiling Pocket Quake using Larry's gamex.cpp wrapper file and the gx.h that came with Dan's source for Pocket Quake:

Compiling...
sys_win.c
D:\Projects\Quake\PocketQuake\WinQuake\gx.h(59) : error C2061: syntax error : identifier 'GXGetDisplayProperties'
D:\Projects\Quake\PocketQuake\WinQuake\gx.h(59) : error C2059: syntax error : ';'
D:\Projects\Quake\PocketQuake\WinQuake\gx.h(59) : error C2059: syntax error : ')'
D:\Projects\Quake\PocketQuake\WinQuake\gx.h(60) : error C2061: syntax error : identifier 'GXGetDefaultKeys'
D:\Projects\Quake\PocketQuake\WinQuake\gx.h(60) : error C2059: syntax error : ';'
D:\Projects\Quake\PocketQuake\WinQuake\gx.h(60) : error C2059: syntax error : 'type'
vid_ppc.c
D:\Projects\Quake\PocketQuake\WinQuake\gx.h(59) : error C2061: syntax error : identifier 'GXGetDisplayProperties'
D:\Projects\Quake\PocketQuake\WinQuake\gx.h(59) : error C2059: syntax error : ';'
D:\Projects\Quake\PocketQuake\WinQuake\gx.h(59) : error C2059: syntax error : ')'
D:\Projects\Quake\PocketQuake\WinQuake\gx.h(60) : error C2061: syntax error : identifier 'GXGetDefaultKeys'
D:\Projects\Quake\PocketQuake\WinQuake\gx.h(60) : error C2059: syntax error : ';'
D:\Projects\Quake\PocketQuake\WinQuake\gx.h(60) : error C2059: syntax error : 'type'
Generating Code...
Error executing clarm.exe.

PocketQuake.exe - 12 error(s), 0 warning(s)
That problem should be answered if you look at the gx.h file included with the PQ source.  You have two place a struct def in each of those two commands because this is C.
roadkilldave · 07 Jul 2001, 17:33 UTC
I dropped back to the gapidemo that Larry has and am trying to get that to compile using the gamex.cpp

I got lost when I got to the section of code that was dynamically linking the dll and did not know what I needed to change there to get it working.

Thanks for the help!

PS When do you think you might have the 640 x 240 working?
roadkilldave · 07 Jul 2001, 17:36 UTC
Rob did you end up using the gamex.cpp file that Larry sent you?
Kind of, I used it as an outline, but the way he declared the functions wasn't compatible with PQ, so I rewrote all of those.
roadkilldave · 07 Jul 2001, 17:44 UTC
Any chance you could email me your gx.h and also what you did to redefine those gamex.cpp externs. I am trying real hard to get the gapidemo working and am apparently too much of a newbie to figure out how to call the C stuff from C++.

Thanks!
You're trying too hard.  GAPI is a C++ lib and you don't need to worry about using C calls to work gapidemo.  In fact, that will probably mess you up.
roadkilldave · 07 Jul 2001, 20:13 UTC
Well I got the demo going on my HP720 compiled with the HPC2000 SDK. I do have gamex.cpp in there, but I can see from your post I didn't need it. For some reason I was thinking that GAPI was in C and that I needed the gamex.cpp to use it in C++. It's appears it was needed by PocketQuake because PocketQuake is in C and it needs to call the C++ GAPI library. Well i've learned a lot but not enough to get PocketQuake compiled like you did, but I am going to keep working on it. YOU ARE THE MAN!
Moose or Chuck · 07 Jul 2001, 20:45 UTC
just add "struct" infront of the two pertinent function prototypes in gx.h to make it PQ compile. Or was I not following the conversation long enough?
Nice of you guys to tell me that you got it working...

I'm glad you did it.  Now maybe MS and HP will pull their heads out of their butts and see that the HPC platform is valid for gaming.

I have all of my arcade emulators running on the 720 - just waiting for MS to say it's OK to distribute :)

Larry B.
roadkilldave · 08 Jul 2001, 08:37 UTC
Your the man Larry! What's the FTP site. You better let us test those for ya hehehe. You wouldn't want any bugs to slip by :)

Thanks for the help getting the GAPI demo running.
I was going to compile a version for the 680 when I realized that the hpcpro does not have dinput.h which is definitely needed.  So, if you program for the 680, or whant to do some research, please see if you can find a compatible include file.  It's up to all of the 680 users now if they want quake.  This goes for all HPCPro users.
Could you kindly post a screenshot or put one (better some) to the website?
I am currently sending a new version of quake to Jim at http://burtcom.com/quake720/.  It isn't much of an update, but it removes the unnecesary Vpad on teh 720 version.  It is also a little bit smaller because of this.  I will hopefully center the screen by tomarrow and get a new resolution or 2 ready.  I know how anoying it is not to be able to use some more of that display.  I also plan on changing to background color (you know white) to another one, or putting a bitmap around the screen, let me know if you have any sugestions, or some good art work that you want displayed.
Hmmm, it's been a few hours and I still don't have it -- what's on the site is still the original build.

Rob, if you're having e-mail probs let me know  :)
roadkilldave · 09 Jul 2001, 12:36 UTC
As a programmer at EDS I have seen hours turn into days. I'm sure Rob will post it as soon as he is done.
I am trying to run Rob's version of Quake for my 720.  I have downloaded the 17.8 meg version of the wad file in to quake\ID1 directory and when I run the game I get the error "W_LoadWadFile: couldn't load gfx.wad" anyone has any ideas?
Moose or Chuck · 09 Jul 2001, 14:15 UTC
17.8MB 'version.' What does that mean? Is it some kind of stripped down version of the pak, because if it is you'll need the registered PAK1 file too. But that error message means it is not find thing the gfx.wad file within the PAK0 file. So make sure you have all the files in the correct place.
Last modification: Moose Master - 07/09/01 at 12:15:41
Ok, it says that the PQ file was sent, but since it didn't get out, then I will post it on free drive in a couple of seconds.  By the time I had finished my last post, however, it had already sent, but oh well.  As for the problem with the Wad file.
1. Is it in the root directory i.e. "\"
the path should look like this "\quake\ID1"
2. Or is it on a storage card, with the same path as above, only adding teh starage card part to the beginning.
3. If it is not in the storage card (or even if it is) do you have at least 8 megs of free program space, I have tested it to see what happens if you don't, but I am pretty sure that that may be your problem, along with what happens.

Anyway, I plan on making a new port of the 0.061 source (still with the same features) and then I will add what has been promised.  Keep in mind that these are just early ports with several notable bugs.  One of which is the dialog with the special thanks names is not showing up at the beginning.  It's probably any easy bug to fix, but because I have to work, I am working on the game play aspects first.
Moose or Chuck · 09 Jul 2001, 14:23 UTC
Rob, I hate those Internal Server Errors too.
roadkilldave · 09 Jul 2001, 14:25 UTC
I am running it from my storage card. In the root directory of the card I have a quake directory. Inside of the quake directory I have the pocketquake.exe and id1 directory. Inside of the id1 directory I have pak0.pak, autoexec.cfg and config.cfg. I stole the config.cfg from my desktop quake install. Then all I do is run pocketquake.exe and it runs fine.


Hope this helps!
I'll just throw a couple ideas out.  
1. Get all of the config files and stuff from a PQ version.  I downloaded the IPAQ version and used its config file.
2. I don't know if Quake will work if the PocketQuake.exe is on a storage card itself.  I know this is a problem with some games.
3. Maybe your Pak0.pak file is currupted?
I have finished resending this mornings version.
roadkilldave · 09 Jul 2001, 14:44 UTC
I was responding to the other persons question where he was getting the error on the wad. I am running wonderfully from CF card exactly as I described. Rob did you get my email the other day letting you know it was working from storage card?

Keep up the awesome work!!!
Robs new build is up at:
http://burtcom.com/quake720/

Last modification: JIm Burton - 07/09/01 at 13:02:14
Yes I did, but I wasn't sure if the PQ exe file was on the storage card.  Also, just to let you know, I am compiling PQ .061 right now, and as long as there are no new problems, I will be releaseing it shortly.  I couldn't access freedrive a couple of minutes ago, so I will also try to send this one by mail to Jim.  Let's hope this one gets there. :)

My mistake, it is version .062 that I am compiling for the 720Last modification: Rob - 07/09/01 at 13:07:10
Version .062 is up and running.  Nothing else changed for this update, but .062 is a pretty darn good change, I think.
roadkilldave · 09 Jul 2001, 15:12 UTC
Ya it runs great with the exe on the storage card.

Also a bug report: When I go into the quake options and then into configure keys the list of keys runs off the bottom of the screen and you can not configure some of them. You can scroll the arrow down to them but not see them. I think this is because the resolution is lower than the screen that Quake is trying to display.
PQ runs fine off of a storage card.
Rob, you are using a Release build, correct? I do not have the credits dialog display in Debug builds because I don't like having to wait for it and close it manually when I begin a debug session.
If the HPC-Pro version of PQ is playable then I will add it to the main download page. Just email me the versions as you build them. Try and keep them to only 1 release a day if possible. ;)

Dan East
Dan, you hit the nail on the head with the dialog fix.  It's going to be hard to keep them to one release a day at first, sice I have work to go to again today (what fun ;)), and I want people to be playing the best version they can on the 720.  by the way, all of my code compiles for both the 720 and the pocket pc.  I just have a bunch of #ifdef _WIN32_WCE_PSPC in there.  So, I will be happy to send it to you if you want it.  By the way, I am going to be testing out my next resolution now.  So, you sould get another version soon.  My next release should have to dialog in it, and this will be a true release, (simply because it gives credit to the authors (one of which is me :) )).
roadkilldave · 09 Jul 2001, 15:37 UTC
640 X 240? :)
Not quite, 320 x 240.  I am going to start off with "standard" resolutions before I move onto the harder ones.  Right now it is going into 240 x 320.  It is kind of wierd, but shouldn't be too hard to fix.  I am still figuring out how the display on Quake works.
Rob, did you get my email?

Dan East
thanks everyone, I put all my games under \games directory in my storage.  I moved quake directory into root and everything works fine now.  Great job Rob...
The 0.062 build is now up at http://burtcom.com/quake720/
-----------------------------------------------
Rob, did you get my email?
-----------------------------------------------
Yeah, but there was one problem that I didn't ask you about, but I have figured out now any ways.  Also, the code that I sent you only let you acieve a max of 240 x 240 (or larger for the second number, but it would go bellow the screen).  I'm now working on increasing that first number with out distorting the display.  Thanks again for your help.

Last modification: Rob - 07/10/01 at 06:50:07
Can I get a H#ll yeah.  I have just finished adding resolution number 2.  320 x 240.  I would like to center the screen before I release this one, but I can definitely say that you will have a new release by 11:00 AM today.  (That is when I have to go to work).  The screen may not be centered, but you can see so much more with this new resolution, that you will wonder how you have ever played without it.
Last modification: Rob - 07/10/01 at 07:15:41
Hell yah!!!!!

One possible bug report -- I was contacted by a user of a German 720 who says he can't get past the "shareware GAPI" message.

Anyone out there with a German 720 who can confirm this?
Great!!!!! YOU ARE THE BEST!!!

It's fantastic: Quake in my small machine!!

But... some questions:

Are you making a 320x480 version??
It's some slowly in full screen 320x240, the final version will be faster? (It's on my Storage card 17.8 MB pak0; and i have 27356KB for program memory, -> its not a memory problem like you can see)

Thaks for your time!!
First of all, unless the hardware on the 720 in Germany is different (or posibly some code dealing with the graphics in the OS), I don't know why that person cannot get past the nag screen.  If it is different, then the only way that I know of to get around it is to email larry and ask him for an updated GAPI lib that supports German 720's.

As for a 320 x 480 version, wouldn't that go off the screen?

For the speed issue, memmory definitly wouldn't be  the problem, I have already seen several error messages tell me I don't have enough memory.  I guess for now you can run Quake in a smaller resolution or, make your veiw a little bit smaller untill and new version of quake comes out.  By the way, is there any way to disable sound that you guys know about.  I haven't looked yet, but that could speed up the gameplay if that's all you want.  Write back to tell me.

Here is what you can expect in the near future.

1. A centered screen
2. An option to disable sound (if not already there)
3. A change in the background color to black (unless you would prefer something else.
4. A file size reduction (as I remove some more code that is not necessary for the 720).
5. World peace ;)
Moose or Chuck · 10 Jul 2001, 15:33 UTC
If you use a good autoexec.cfg then it would run really fast. I'm betting faster than an iPaq. And it is beta, so don't keep saying "faster, FASTER!" like a 3 year old brat.
Uh-oh, we went through this several months back. :) Disabling sound will only increase FPS by a tenth or less. A great deal of work has been done by myself and others to get PQ's performance level where it is now. Before you go to the trouble, I assure you there is no Holy Grail of Quake optimization, or a " Sleep(500); " call buried deep in the code. :) The greatest area for performance increase lies in the fact that Quake uses a vast amount of floating point math, while no Windows CE device has a math coprocessor. Thus floating point emulation is used which is extremely slow. I have already made numerous tedious conversions of critical floating point routines to fixed point, which so far has roughly doubled the frame rate. That, and rewriting the critical routines in assembly language (which of course would have to be done for each of the big-3 Windows CE processors) are the only realistic areas for performance improvement.

Also, what FPS are you guys getting on the 720? The timedemo technique is what has been used to benchmark all the other types of Pocket PC devices. Some serious thread-bumping may need to be done so we don't have to rehash several issues again.

Dan East
roadkilldave · 10 Jul 2001, 16:22 UTC
Dan,
After going into the console. What do I have to type to do a time demo?
roadkilldave · 10 Jul 2001, 16:24 UTC
Dan: Do you have any recommended autocfg settings?
Boy... this takes me back to the early days of pocketQuake.

While you guys are at it, download our custom maps. Mine are all on my site, Diegos are on his site (look at our signatures to get the link). I have no idea where 999 and Matt have their stuff posted- somewhere on this site.

So far, I think the only custom SinglePlayer map for pocketQuake is kustok. I could be wrong though.
Ok, if I done this wrong then dont flame me :(

At the console: Timedemo demo1

5.8 Fps.

Also just after starting a single player game (right at the start).

Timerefresh:

3.9 fps.

All at default config.

J.
roadkilldave · 10 Jul 2001, 17:13 UTC
My are results are this:

default resolution I get 7.3fps
At 320 X 240 I get 5.4 fps

My configs are as follows:

config.cfg: This was taken from my desktop quake install.

bind "TAB" "+showscores"
bind "ENTER" "+jump"
bind "ESCAPE" "togglemenu"
bind "SPACE" "+jump"
bind "+" "sizeup"
bind "," "+moveleft"
bind "-" "sizedown"
bind "." "+moveright"
bind "/" "impulse 10"
bind "0" "impulse 0"
bind "1" "impulse 1"
bind "2" "impulse 2"
bind "3" "impulse 3"
bind "4" "impulse 4"
bind "5" "impulse 5"
bind "6" "impulse 6"
bind "7" "impulse 7"
bind "8" "impulse 8"
bind "=" "sizeup"
bind "\" "+mlook"
bind "`" "toggleconsole"
bind "a" "+lookup"
bind "c" "+movedown"
bind "d" "+moveup"
bind "e" "+moveright"
bind "q" "+mlook"
bind "t" "messagemode"
bind "v" "+attack"
bind "w" "+moveleft"
bind "z" "+lookdown"
bind "~" "toggleconsole"
bind "UPARROW" "+forward"
bind "DOWNARROW" "+back"
bind "LEFTARROW" "+left"
bind "RIGHTARROW" "+right"
bind "ALT" "+strafe"
bind "CTRL" "+attack"
bind "SHIFT" "+speed"
bind "F1" "help"
bind "F2" "menu_save"
bind "F3" "menu_load"
bind "F4" "menu_options"
bind "F5" "menu_multiplayer"
bind "F6" "echo Quicksaving...; wait; save quick"
bind "F9" "echo Quickloading...; wait; load quick"
bind "F10" "quit"
bind "F11" "zoom_in"
bind "F12" "screenshot"
bind "INS" "+klook"
bind "DEL" "+lookdown"
bind "PGDN" "+lookup"
bind "END" "centerview"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+forward"
bind "MOUSE3" "+mlook"
bind "JOY1" "+attack"
bind "AUX1" "menu_load"
bind "AUX2" "impulse 10"
bind "AUX3" "impulse 10"
bind "AUX4" "menu_save"
bind "AUX5" "togglemenu"
bind "AUX10" "impulse 10"
bind "AUX11" "impulse 10"
bind "AUX12" "impulse 7"
bind "AUX13" "impulse 2; impulse 3; impulse 4; impulse 5; impulse 6; impulse 8"
bind "AUX14" "+jump"
bind "AUX15" "+jump"
bind "AUX20" "impulse 7"
bind "AUX21" "impulse 2; impulse 3; impulse 4; impulse 5; impulse 6; impulse 8"
bind "AUX22" "impulse 255"
bind "AUX23" "impulse 9"
bind "PAUSE" "pause"
joystick "0"
m_side "0.8"
m_forward "1"
m_yaw "0.022"
m_pitch "0.022000"
sensitivity "7.500000"
lookstrafe "1.000000"
lookspring "0"
cl_backspeed "400.000000"
cl_forwardspeed "400.000000"
_cl_color "0"
_cl_name "player"
viewsize "100.000000"
_snd_mixahead "0.15"
bgmvolume "1"
volume "0.7"
in_autoyawrate "15"
vid_window_y "0"
vid_window_x "0"
block_switch "0"
vid_windowed_mode "0"
vid_fullscreen_mode "3"
_windowed_mouse "0"
vid_stretch_by_2 "1"
vid_config_y "600"
vid_config_x "800"
_vid_default_mode_win "3"
_vid_default_mode "0"
_vid_wait_override "0"
_config_modem_hangup "AT H"
_config_modem_init ""
_config_modem_clear "ATZ"
_config_modem_dialtype "T"
_config_com_modem "1"
_config_com_baud "57600"
_config_com_irq "4"
_config_com_port "0x3f8"
saved4 "0"
saved3 "0"
saved2 "0"
saved1 "0"
savedgamecfg "0"
gamma "0.500000"


autocfg.cfg:

//PocketQuake Config by 999
//Modifed by Dan East
//http://www.pocketmatrix.com/pocketquake

echo "pocketmatrix.com/pocketquake"
crosshair "1"

//Quake's default _snd_mixahead default is 0.1, which results in interrupted, pulsating sound
//on a 206mhz iPaq.  A value of 0.15 is required for smooth sound.
_snd_mixahead "0.15"

viewsize "100.000000"

bind "JOY1" "+attack"
bind "AUX1" "menu_load"
bind "AUX2" "impulse 10"
bind "AUX3" "impulse 10"
bind "AUX4" "menu_save"
bind "AUX5" "togglemenu"
bind "AUX10" "impulse 10"
bind "AUX11" "impulse 10"
bind "AUX12" "impulse 7"
bind "AUX13" "impulse 2; impulse 3; impulse 4; impulse 5; impulse 6; impulse 8"
bind "AUX14" "+jump"
bind "AUX15" "+jump"
bind "AUX20" "impulse 7"
bind "AUX21" "impulse 2; impulse 3; impulse 4; impulse 5; impulse 6; impulse 8"
bind "AUX22" "impulse 255"
bind "AUX23" "impulse 9"

Sorry to go OT but...

OMFG, someone actually left my credit in their config!!!

Dan, Mark (Killzat) and myself all went to the extreme early on and crafted a really nice config for PQ. It's sprung up somewhere on the board, and I've even posted a few times later upon request. Don't get me wrong, it's not like we invented these commands, but we did take the time to test each and every individual setting that was possible. So when I see a config posted with it's settings in the very same order as my config I can't help but smirk ;)

Thank you for including the "Credits" in your cfg post ;)

999v.2
As for my results...sorry I was using the original 720 build. I downloaded the newer version
and now get.

defualt timedemo demo1:
7.6 fps.

Overclocked to 221.
8.1 fps
Moose or Chuck · 10 Jul 2001, 18:33 UTC
cl_bob "0"
cl_bobup "0"
cl_rollangle "0"
cl_rollspeed "0"
v_kickpitch "0"
v_kickroll "0"
v_kicktime "0"
d_mipcap "1"
d_mipscale "1"
r_waterwarp "0"
crosshair "1"
fov "80"
loadas8bit "1"
m_filter "1"
viewsize "100.000000"

r_drawviewmodel "1"
r_maxedges "1200"
r_maxsurfs "400"
r_maxparticles "40"

_snd_mixahead "0.15"

timedemo "demo1.dem"


You guys are having a problem. I get 7.4FPS on my CASIO with this config. You should get around 10FPS with the same, because that's what the iPaq gets. The 720 should run it even faster than the iPaq.
Last modification: Moose Master - 07/10/01 at 16:33:54
YOU GUYS ROCK!!!
I was so bummed that DoomCE is hardly playable on the 720 and I figured I might never see Quake ported.  Last night I happen across pocketmatrix and--w00 h00!!  Quake runs on my 720!!  Dan East is the MAN!!  THANK YOU THANK YOU THANK YOU!

Just a couple questions: the game doesn't appear to be seeing my ctrl key (for a workaround I just remapped +attack to Tab).  Also, isn't alt supposed to give strafe/sidestep if used in combination with left&right arrows?  (I can sidestep with period & comma).  

What do you use for a config editor on the 720 (I don't think it has notepad)?  And does anyone have/recommend an autoexec.cfg?  Thanks again for rescuing me from Solitaire and MasterFind.
Hmm, I wonder if I am forgetting to do something with my port compilation. Oh well.  I think that I am going to learn some asm for the 720 and try to optimize that way.  I am pretty good with asm on the z80, so I have most of the basic concepts down about asm in general, I just need to learn some about the arm processor.  I'll saze that for tomorrow.  As of now, I have removed several unnecesarry bits of code (like for the clock display), that may have been slowing it down, and I plan on testing it soon.  I'm not going to release anything yet, because other than a minor change in file size, not much has been done yet.  By the way, if you know where I can find some good information on the arm processor (asm related), please tell me.

By the way, I use pocket word for a config editor.Last modification: Rob - 07/10/01 at 18:22:46
roadkilldave · 10 Jul 2001, 20:33 UTC
>>OMFG, someone actually left my credit in their config!!! >>

Those credits are in the config that comes with Dan's source code. That's where I go them.

roadkilldave · 10 Jul 2001, 20:36 UTC
Anthrax,

Rob with the help of Dan and others was the guy that actually got it running on the HP720.

Rob Rules too!!!


Rob,

ARM info here.  If you get into a jam with ARM assembly language programming give me a shout.  I've done quite a bit of it lately.

Last modification: Digby - 07/10/01 at 22:24:37
I remember Digby sayin' something about ARM assembly before, and I forgot to ask him a question.

Wouldn't it be possible for Digby to optimise the ARM build? Of course the iPAQ is already the fastest of the devices, but I was just wondering.
Quake 720 works fine on my j720, but why it doesn't use the whole screen but just a half of it? It isn't able to use whole 640x240 display or am I missing something?
Just to go back to my second benchmark scores.
I didnt use any of 999's config, or the autoexec

I didnt have them in any of the quake dir's.

J.
"Fe de Errats":
Sorry, whent I asked for a 320x480 version I want to say 640x240 version. Sure you are thinking I must be stupid.
I have a little question for developers of this port (Dan an Rob, I think):

Do you think it's posible develop a universal port, like an emulator, or a converter, to pass code from iPaq to (-->) J720? I ask to you because I think you are the first person who makes a serious game port version for J720 (after Leopoldo Bueno, Leos's fligh simutator. But he develop her own graphic engine).

It will be a very comercial ($$$$$$!!!!) program because nowadays all the games are developed for iPaq but I think J720 is more powerfull machine (the same procesor, but with 2D hardware accelerator,and keyboard). I know a lot of people who will paid for this port.

What do you think about??
j720:
2 reasons it does not fill the whole screen at this time. First, 640x240 is not at the standard VGA aspect ratio. The screen would have to be stretched, or Quake would have to be configured to render more than the normal Field Of View, which looks wierd, but is useful so you can see beside you. Second, it would run at least twice as slow (more like 4-8 times slower with increased FOV), since at least twice as much rendering must occur to build each frame. I'm sure a 640x240 fullscreen mode will be produced, but it is a low priority because of the two issues I stated. Rob just got this thing tweaked to run on the 720, so you can't expect it to carry on a conversation with you or comb your hair for you quite yet. :)

Dr. Slump:
Pocket PC's use CE 3.0, which is a newer version than that used by HPC/Pro. Thus it may contain routines that CE 2.11 does not have. In addition, there are quite a few Pocket PC specific routines, such as those dealing with the SIP and the custom TaskBars, which HPC/Pro does not support. Finally, the biggest issue is the direct screen access. Even if a GAPI DLL were released for HPC/Pro, the programmer would still have designed their app for a screen taller than that of the 720. As seen above, someone was already complaining because every inch of the screen was not used. An app designed for Pocket PC would only use a little more than a 3rd of the 720's display.
To sum it up, if a programmer wanted to go to the extra trouble, they could dynamically load DLLs so that functions that weren't available could be bypassed, as well as provide alternate screen resolutions. However there is no way to produce an "emulator" or other shell that can rewrite that program to make it work on something it was not intended for. Now, if one of these DirectX-Game-Programming-Library-Thiings actually gains widespread acceptance (like Jacco's EasyCE, or the DirectX thing under development), then those libraries could be written to work around issues you mention above. So if the programmer wanted to show the SIP (the virtual onscreen keyboard all Pocket PCs have), then they would ask to library to show it. If it were running on an HPC/Pro then the library would do nothing. Regardless, the game author would have to design their game to work at resolutions other than 240x320 for it to be practical on a 640x240 HPC/Pro device.

Dan East

ARM info here.  If you get into a jam with ARM assembly language programming give me a shout.  I've done quite a bit of it lately.


Yeah, I've got a question or two.
the 720 has the SA1110 arm processor.  What is that the equivilent of this on the page you sent me to (under the technical resources section)?

By the way, a slightly smaller version of PQ has been sent to Jim.  I am almost positive that this removes all refrences to the stylus input.Last modification: Rob - 07/11/01 at 11:01:50
Rob, thanks for what you've done here.  Also, randall, your maps and site look great--I can't wait to get my hands on pak1.pak so I can load some custom maps (& play episodes 2-4).  (Yes, I am one of the 3 or 4 people who never bought or played through registered Quake!)

Just ran a timedemo of demo1:
969 frames 183.8 seconds 5.3 fps

Is anyone else noticing some keyboard mapping issues?  Ctrl and alt have no effect.  Could this be related to the 720's "fn" mode?  (For example, tilde [~] and single left quote [`] are implemented throught the "fn" toggle.)
First of all, I have noticed the button issue, but have not spent any time looking into it and finding out the problem.  As for the low fps, what resolution are you running it in?  Under the default conditions I average 7.6 fps in demo1, and get about 8.6 (or maybe its 8.8 or 8.4) in demo2.  You could always overclock you 720.  Just out of curiosity, for those who have overclocked their 720's, when you are in the fastest mode, do you still get sound.  I have noticed that all other speeds give me sound except for that one.  wierd, isn't it.
Moose or Chuck · 11 Jul 2001, 14:00 UTC
You guys need to get a good autoexec.cfg file. My Casio runs at 7.6FPS with my cfg, I'm sure the 720 should run at around 10 FPS with the same config. We need to determine a default config for benchmarks and then post all the results on PocketQuake's website.
Rob, that 5.3 fps is at 320 X 240 Portrait.  I just ran it at the default resolution (240 X 180 Portrair) and got 969 frames in 385.9 seconds for 2.5 fps (huh?).  I'll have to try that again--I expected a better framerate, obviously.

I didn't know I could o/c this little critter.  Is it an onboard feature or do I need an app?  I have a 32MB CompactFlash card installed--is heat an issue?

By the way, this may be obvious, but PQ does not want to run while the device is connected to ActiveSync (who'd want to anyway).  I didn't realize how much program memory AS grabs.
Actually, PQ runs just fine for me when it is connected to ActiveSync, in fact, that is how I first ran it, since I have sending over a build a minute.  As for overclocking, I did it for the first time today, and no nothing about heat issue or anything.  It is an app called JS overclock (I think).  It says that it is only for the IPAQ, but works on the 720.

Moose, I have a quick question.  Would you mind E-mailing my your config file?  This way I can test it, and see how it works in HPCQuake (how does that sound?  Actually, I think that PocketQuake flows better.)
Leave it as pocketQuake. It fits the whole family of handhelds.
Aha.  I just timed demo1 again in 240 X 180, twice, after reallocating the lion's share of memory to program memory (about 22MB):
undocked, on battery: 7.3 fps
docked & connected to ActiveSync: 7.2 fps.
Config is default except for new binds for Tab & a few other keys.

This is fine as long as I don't need more storage memory.  Time to move more files to the Flash card I guess.
Gee, 7.3 seems a little low.  I get 7.7 or 7.6 consitently when it is at normal speed.  I also give it 18000+ kb though.  Oh well, firt of all, I would recomend overclocking you 720.  I relized that the sound issue can be fixed by turning off then on your 720 after you overclock it and soft rest seems to un overclock it.  Also, I have tried out moose's config file and it works great.
240 x 180 (206mhz)= 8.2
240 x 180 (233mhz) = 10.3
I am going to upload it to my free drive acount.
ROB720
okokok

I have writen to the maker of GAPI for the HPC(Larry) and asked him if he includes 2d acceloration support in his GAPI and he said that it is overrated.  I think it couldn't hurt, so here is what I want you guys to do.  Email Larry at bitbank@pobox.com and beg him to include support for 2d acceloration.  I mean non stop, several messages a day, what ever it takes.  Speed is speed, remember, and it is always a good thing when it doesn't come at with a lose of quality.  So remember, you paid for that extra chip, why not get to use it.Last modification: Rob - 07/11/01 at 18:58:56
Before everyone starts bugging Larry, let me define "2D acceleration" for you. The hardware has the capability to render some 2D graphical primitives, such as lines, circles, blitting, etc. Quake does not, and cannot, make use of such 2D primitives. As you know, its interaction with the hardware consists of copying a block of bytes into a buffer. :) Now the Windows CE display drivers should make use of such hardware capability. That is one of the reasons Casios excel at some benchmark categories over the faster iPaq. That is very deceiving though, because no graphically intensive games make use of those Windows CE drawing primitives. When they are included in the overall benchmark score it gives the Casio a higher performance compared to other devices than what can be expected with real-world software.

Dan East
Rob, thanks for the config (and thanks to Moose, obviously).  I'll plug that in and maybe try the o/c utility as well.  Do you have any tips on how to tinker with the 720's keyboard mapping (ctrl & alt in particular)?  Ideally, it would be nice to disable/remap the Windows Start Menu key (I know there's an app for Win98 that does it.)

Also, I assume pak0.pak has all the code for levels 2, 3, and 4, but won't play them without the pop.lmp file in the gfx folder, correct?  (i.e., if I swap pak1.pak for pak0.pak, will it take up a lot more memory?)
roadkilldave · 12 Jul 2001, 09:50 UTC
The pak1.pak is 33meg. You can gzip it but I found that the performance is REALLY bad with a gzipped pak file. I went back to running pak0.pak unzipped from my CF card.

I am going to release a new version of PQ.  I have changed two of the functions in this one to make them faster, and I know get 8.7 fps unoverclocked, instead of 8.6.  It's a start.  The new file is posted on freedrive, and I am going to email it to Jim.
D'OH!  I shoulda bought a 64MB CF card, not 32.  Rob, re JS Overclock, what do you do to be sure nothing is updating FlashROM while you're overclocked?  Just stay off ActiveSync and don't run any other programs?  (I'm a little wary from the disclaimers on JS's site re "incompatible with HPC & HPC Pro")

Any idea if I can use Qped to strip individual levels out of pak1.pak to fit them unzipped onto a 32MB CF card?
Page: 1 2