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

QuakeOn Development


QuakeOn Development

Postby Paul » Apr 26, 2001 @ 4:52am

Now we're starting to use mods and extra maps it would be a good idea to make for Pocket PCs.<br><br>I can send out the eVB version but it needs a few files to run and cant search pak files for maps (just directories) yet<br><br>Can ANYONE make this in C?
Paul
pm Insider
 
Posts: 9835
Joined: Apr 2, 2001 @ 3:15pm
Location: California


Re: QuakeOn Development

Postby Paul » Apr 26, 2001 @ 6:44am

Any ideas on how to get the working for newbies?
Paul
pm Insider
 
Posts: 9835
Joined: Apr 2, 2001 @ 3:15pm
Location: California


Re: QuakeOn Development

Postby Paul » Apr 26, 2001 @ 6:45am

And what about searching Pak files for maps?
Paul
pm Insider
 
Posts: 9835
Joined: Apr 2, 2001 @ 3:15pm
Location: California


Re: QuakeOn Development

Postby 999 » Apr 26, 2001 @ 6:47am

Hah, that's cool.<br><br>We could do one in flash and put it on the site :)<br><br>It'd be pocketPC compliant as well :D<br><br>
Image
999
pm Member
 
Posts: 1227
Joined: Jan 24, 2001 @ 11:48pm


Re: QuakeOn Development

Postby Paul » Apr 26, 2001 @ 6:50am

Right, so it'll be done in flash... can we run Flash files in the program itself?
Paul
pm Insider
 
Posts: 9835
Joined: Apr 2, 2001 @ 3:15pm
Location: California


Re: QuakeOn Development

Postby 999 » Apr 26, 2001 @ 6:53am

I have no idea.<br><br>I was simply referring to having that head walk newbies through the install process of PocketQuake and mods :P<br><br>
Image
999
pm Member
 
Posts: 1227
Joined: Jan 24, 2001 @ 11:48pm


Re: QuakeOn Development

Postby Paul » Apr 26, 2001 @ 8:45am

Dan, whats the deal with accessing pak files in c? quakeon has a maps feature which scans pak files for bsp's with valid player start points - how do you think thats done?<br><br>i just remembered a while ago i uploaded this pic:<br>http://www.btinternet.com/~pocketquake/quakeon.gif<br>Last modification: Paul - 04/26/01 at 05:45:34
Paul
pm Insider
 
Posts: 9835
Joined: Apr 2, 2001 @ 3:15pm
Location: California


Re: QuakeOn Development

Postby Dan East » Apr 26, 2001 @ 9:20am

Now you're getting a lot more complex. :) The source file common.c in Quake contains the code to open a pak file (among a whole lot of other things). Your QuakeOn program will be further complicated by the fact that Pocket Quake supports gzipped pak files. When I add in more advanced pak compression for better performance (ala Pocket Hexen) then it will get even more complex. :)<br><br>Do you just need to find the existance of a particular file in the pak file, or do you need to open the file as well?<br><br>Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Re: QuakeOn Development

Postby Paul » Apr 26, 2001 @ 10:47am

well, i found the code i need in visual basic (the vb source to quakeon is available) i just need to convert it to c and add the front end<br><br>oh yeah, i need to check for .bsp files so they get listed in the maps listbox<br>Last modification: Paul - 04/26/01 at 07:47:13
Paul
pm Insider
 
Posts: 9835
Joined: Apr 2, 2001 @ 3:15pm
Location: California


Re: QuakeOn Development

Postby Dan East » Apr 26, 2001 @ 11:07am

Okay, so to search for .bsp files, you will need to examine:<br>[pre]<br>/quake/id1/maps/*.bsp<br>For each enumerated pak#.pak file:<br>  /quake/id1/pak#.pak/maps<br>For each enumerated pak#.pak.gz file:<br>  /quake/id1/pak#.pak.gz/maps<br>For each enumerated Storage Card:<br>  /Storage Card [#]/quake/id1/maps/*.bsp<br>  For each enumerated pak#.pak file:<br>    /Storage Card [#]/id1/pak#.pak/maps<br>  For each enumerated pak#.pak.gz file:<br>    /Storage Card [#]/id1/pak#.pak.gz/maps<br>[/pre]<br><br>Officially, Quake will stop searching for pak files in a particular directory if the numerical sequence is broken. For example, if you have the following pak files in a dir:<br>pak0.pak<br>pak1.pak<br>pak3.pak<br>the pak3.pak file will not be recognized by Quake since the pak2.pak is missing.<br><br>It would be far easier to reuse the C source for accessing pak files found in common.c, then to try and translate the VB back into C. After all, the Quake C source is where the VB author got the algorithm in the first place.<br><br>Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Re: QuakeOn Development

Postby Paul » Apr 26, 2001 @ 2:33pm

one more thing. how could i add a memory bar indicator like the one on wisbar? <br><br>i have to keep adjusting my memory settings before i play quake so it'd be good to include a way of adjusting it from quakeon
Paul
pm Insider
 
Posts: 9835
Joined: Apr 2, 2001 @ 3:15pm
Location: California


Re: QuakeOn Development

Postby Diego Cueva » Apr 26, 2001 @ 5:33pm

I don´t know not about programming :), but it would be great to have QuakeOn for PPC
--------------------------

Last modification: Diego Cueva - 04/31/03 at 17:32:04
I´m currently listening to my PC´s fan
SMRF founder
Peace
User avatar
Diego Cueva
pm Insider
 
Posts: 2582
Joined: Mar 28, 2001 @ 9:06pm
Location: D.I.G. Secret Headquarters, Brazil


Re: QuakeOn Development

Postby 999 » Apr 26, 2001 @ 5:48pm

What about nixing most of the bells and whistles and just making a simple launcher. Either one which can generate a shortcut for you, and add it to a pulldown list for future use, or one which comes with a base set of shortcuts listed. Users could then add future shortcuts to a defined folder and have it show up in the pulldown menu.<br><br>I mean if it's a matter of convenience, I'd settle for just the basics.<br><br>
Image
999
pm Member
 
Posts: 1227
Joined: Jan 24, 2001 @ 11:48pm


Re: QuakeOn Development

Postby Paul » Apr 26, 2001 @ 5:55pm

the problem is i have no idea how to make it in c, i'm just collecting info on what to put in it, i'm just waiting for one of you to actually offer to make it :)<br><br>my vb version could be modified to do that but you'll all need a few more runtime files to run the damn thing
Paul
pm Insider
 
Posts: 9835
Joined: Apr 2, 2001 @ 3:15pm
Location: California


Re: QuakeOn Development

Postby Paul » Apr 27, 2001 @ 4:06am

How many files are needed when a vb prog runs anyway? <br><br>If i include the option to run quake with command line parameters i get a 'cant find pvbdec.dll' error (thats the declaration dll) i've tried copying it from my desktop pc but it still wont work
Paul
pm Insider
 
Posts: 9835
Joined: Apr 2, 2001 @ 3:15pm
Location: California


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