This site is no longer active and is available for archival purposes only. Registration and login is disabled.

PQ for CE2.11 HPC's

6
75%
2
25%
 
Total votes : 8


PQ for CE2.11 HPC's

Postby gamefreaks » May 21, 2002 @ 1:35pm

What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -Woody Allen
User avatar
gamefreaks
pm Insider
 
Posts: 466
Joined: Oct 20, 2001 @ 8:52pm
Location: Leicester, England


Postby Jadam » May 21, 2002 @ 5:59pm

well, good luck!
User avatar
Jadam
I'm a STAR!
 
Posts: 3245
Joined: Apr 9, 2002 @ 7:24pm
Location: Stony Brook, NY


Postby gamefreaks » May 22, 2002 @ 12:29pm

The object store is proving to be a real problem. I don't want to start with HPC GAPI untill I am 100% sure the current build will work on CE2.11.

Last night I wrote a program that added 16Mb of \o to the object store. It doesn't work. filesys.exe just crashes.

Does anyone know of a very good pack editing utility that I can use to strip down the PAK file.
Also, can someone tell me what can and can't be removed from the PAK file.
What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -Woody Allen
User avatar
gamefreaks
pm Insider
 
Posts: 466
Joined: Oct 20, 2001 @ 8:52pm
Location: Leicester, England


Postby gamefreaks » May 22, 2002 @ 7:57pm

OK we're up and running on the emulator!

I would pos a screenie but I can't be arsed to install my FTP software!
Maybe later!

Don't get excited yet though, Iv'e still got to implement GAPI HPC and tidy up the interface, but that shouldn't be too bad.

Oh yeah could Rob (AKA: Muffinman) please send me his Quake720 source? It would make my life a lot easier.
E-mail me at 82.00.curric.regent@regent-college.ac.uk
What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -Woody Allen
User avatar
gamefreaks
pm Insider
 
Posts: 466
Joined: Oct 20, 2001 @ 8:52pm
Location: Leicester, England


Postby gamefreaks » May 23, 2002 @ 11:11am

Next!

Seems to work fine. So far so good. Now I need to get it to recognise storage cards.

I 'think' this code should be where Dan East's storage card code was. COM_InitFileSystem(), however the only directory it seems to recognise is "/Quake".
I can add any path to AllSearchDirs[count], but only "/Quake" will work.

Since WinCE 2.11's storage cards are treated as normal folders, I will have to hard-code the paths. (I don't think there are any Flash card-finding functions)
However when I try any other path than the default "/Quake", it wont find the quake directory at all.

Any suggestions?
What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -Woody Allen
User avatar
gamefreaks
pm Insider
 
Posts: 466
Joined: Oct 20, 2001 @ 8:52pm
Location: Leicester, England


Postby Robotbeat » May 23, 2002 @ 1:46pm

Have you tried it anyways? Because On Pocket PCs, if you want it on your Storage Card, you have to have it in the root of your Storage Card in the folder QUAKE, so it would look like this in the file system: /Storage Card/QUAKE/ , which is the same as WinCE 2.11, right?
Die, Palm, Die. If that offended you, then get rid of your Palm OS device.
User avatar
Robotbeat
pm Member
 
Posts: 827
Joined: Jan 28, 2001 @ 4:52pm
Location: In your mind...


Postby gamefreaks » May 23, 2002 @ 3:58pm

What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -Woody Allen
User avatar
gamefreaks
pm Insider
 
Posts: 466
Joined: Oct 20, 2001 @ 8:52pm
Location: Leicester, England


Postby gamefreaks » May 24, 2002 @ 3:21pm

Ok then. I run it and we get the blank screen. (on the device)

Am I right in thinking that the GAPI functions that have a _ (underscore) at the end of them are pointers to functions in the dynamicly loaded GX.dll. Since the HPC version links to a GAPI lib, not a dll, this code is not required.

When you try replacing the pointers with calls to the function, it throws a link error. After reading the 720 port thread (posted ages ago) I think that it is because the lib is not compatible with 'C' and the functions must be called from 'C++' code.

Is it correct to create a new .cpp file and call the functions from there and return the values to the original 'C' code in 'vip_ppc.c'?

Eg: Replace (*GXOpenDisplay_)(hWnd,GX_FULLSCREEN);
with ToC_GXOpenDisplay(hWnd,GX_FULLSCREEN);
and have a function like this in the .cpp file:

int ToC_GXOpenDisplay(HANDLE h,DWORD d)
{
return GXOpenDisplay(h,d)
}

This way the 'C' code gets the values returned to it and the net effect is the same as calling it directly.
What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -Woody Allen
User avatar
gamefreaks
pm Insider
 
Posts: 466
Joined: Oct 20, 2001 @ 8:52pm
Location: Leicester, England


Postby gamefreaks » May 25, 2002 @ 1:20am

Well...nope. Just sticking the files in a .CPP file and passing it back doesn't work. At all.

However I have got it to compile and GAPI HPC initilises. And then not a lot happens. This may be because I dont have enough RAM available. Still, good progress...
What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -Woody Allen
User avatar
gamefreaks
pm Insider
 
Posts: 466
Joined: Oct 20, 2001 @ 8:52pm
Location: Leicester, England


Postby gamefreaks » May 25, 2002 @ 2:34pm

Ok we're buggered!
I've got GAPI to work fine in 'C' using 'extern' but the game still doesn't work. We get the "Trial version, not for resale" box so GAPI is being started.

I compiled the demo and that doesn't work either (we just get a blank screen) :evil:

Any ideas?

I'll e-mail Larry and see if he knows anything about it, because it seems that GAPI isn't getting the screen access right. Could this be the same problem as we are getting on the German 720's and the 710's?
(Program keeps calling GXBeginDraw() because it keeps returning an incorrect pointer.)
What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -Woody Allen
User avatar
gamefreaks
pm Insider
 
Posts: 466
Joined: Oct 20, 2001 @ 8:52pm
Location: Leicester, England


Postby R0B » May 26, 2002 @ 2:49pm

"1011001010 NNNNNNNNNNOOOOOOOOOOOOOOOO!!!!!!" -Bender
User avatar
R0B
got muffins?
 
Posts: 1894
Joined: Jun 22, 2001 @ 12:04pm


Postby gamefreaks » May 26, 2002 @ 7:44pm

What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -Woody Allen
User avatar
gamefreaks
pm Insider
 
Posts: 466
Joined: Oct 20, 2001 @ 8:52pm
Location: Leicester, England


MIPS

Postby felixdd » May 27, 2002 @ 7:08am

Will you port this to MIPS HPC's after you finish with making it for the 680? I'm just curious.
felixdd
 


Postby gamefreaks » May 27, 2002 @ 10:50am

What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -Woody Allen
User avatar
gamefreaks
pm Insider
 
Posts: 466
Joined: Oct 20, 2001 @ 8:52pm
Location: Leicester, England


Postby Guest » May 30, 2002 @ 10:31am

Guest
 


Next

Return to Pocket Quake 1 and 2


Sort


Forum Description

Discuss Pocket Quake 1 and 2 by Dan East

Moderators:

Dan East, sponge, James S

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum