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

Pocket Quake 0.062 Released


Re: Pocket Quake 0.062 Released

Postby Moose or Chuck » Jun 9, 2001 @ 8:26am

Well, -heapsize doesn't seem to work, It won't let me change the amount of RAM used for the game. Check if there's anything wrong with that one. I would but I don't feel like looking at source code at 8:30AM on the first day of summer vacation.
Moose or Chuck
 


Re: Pocket Quake 0.062 Released

Postby 999 » Jun 9, 2001 @ 1:56pm

Moose:<br><br>I'm working on a Modpak that is very memory intensive, and happened to have luck with the command:<br><br>-winmem 12<br><br>Have a go with that :)<br><br>
Image
999
pm Member
 
Posts: 1227
Joined: Jan 24, 2001 @ 11:48pm


Re: Pocket Quake 0.062 Released

Postby suchiaruzu » Jun 9, 2001 @ 2:36pm

Is it just in my head or has it speed improvement? Maybe it's the new configfile though...
<div align="center">Image<br></div>
User avatar
suchiaruzu
pm Insider
 
Posts: 2570
Joined: May 3, 2001 @ 9:29am
Location: BFE


Re: Pocket Quake 0.062 Released

Postby 999 » Jun 9, 2001 @ 3:04pm

Hey Dan, Quick question:<br><br>Can you have PQ look for the gx.dll inside the /quake/ directory?<br><br>I've noticed Larry does that with PacMan. The benefit from this is, your game will still work after uninstalling another application that also used the gx.dll. WinCE sux with this, it will delete dll files even if other apps still installed rely on them >:(<br><br>Anyhow, I tried plunking it there but no go, perhaps the gx.dll file should be in the same dir as pq.exe? I just really want to avoid that problem again, I couldn't Quake when I wanted because of that dammned gx uninstall crap with a jimmy game.<br><br>
Image
999
pm Member
 
Posts: 1227
Joined: Jan 24, 2001 @ 11:48pm


Re: Pocket Quake 0.062 Released

Postby Dan East » Jun 9, 2001 @ 5:05pm

Since I load it dynamically I can look for it wherever I want. It would make since to look for it in the following order:<br><br>Same path as the pocketquake.exe file.<br>\Quake\<br>\Storage Card\Quake\<br>\Windows\<br><br>I just need to add that to my TODO list.<br><br>Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Re: Pocket Quake 0.062 Released

Postby Dan East » Jun 9, 2001 @ 5:18pm

Pocket Quake should honor the -heapsize parameter. Because of the volatile fluctuation of memory on a Windows CE device PQ tries to allocate memory as follows:<br><br>Start with all the available RAM or the value specified by -heapsize if defined.<br>Try to allocate that amount of memory.<br>If that fails, reduce the amount by 500k and try again, etc.<br>If we drop below the minimum required RAM then we fail and exit.<br><br>So by default PQ will try to use all available RAM, down to Quake's hardcoded minimum acceptable RAM limit, which is 5.57 MB. You would need more than that free to run PQ (roughly another meg), because there are other pieces of memory dynamically allocated, plus Quake's stack, which is pretty large.<br>So in other words, the only real reason to use -heapsize with PQ would be to use less than all available RAM. Regular Quake tries to allocate only the minimum needed RAM, or what the user specifies with -heapsize. If that allocation fails then it won't start.<br>Also note that because Windows CE may automatically adjust the storage / program memory ratio, after PQ takes it's huge chunk of currently available program RAM, Windows CE may allocate more.<br><br>Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Previous

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

cron