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

Pocket Quake 0.11 available


Postby goodbye » Sep 14, 2002 @ 9:09pm

Must have been back when I was posting at PPCforum and only read some stuff here.
goodbye
pm Insider
 
Posts: 901
Joined: Jul 21, 2002 @ 4:17am


Postby James S » Sep 15, 2002 @ 1:10am

James S
pm Insider
 
Posts: 17064
Joined: Jan 12, 2002 @ 2:33pm
Location: Lexington, KY


Postby Guest » Sep 15, 2002 @ 7:39pm

??uh?? 8O
do you mean the i've done the fix for pocketquake2
for no good?

IT STANDS in the sorcecode that it doesnt work and it didn't when i tried so. i begun to look up the error and i found it

snd_mem.c


void ResampleSfx (sfx_t *sfx, int inrate, int inwidth, byte *data)
{
int outcount;
int srcsample;
float stepscale;
int i;
int sample, samplefrac, fracstep;
sfxcache_t *sc;

sc = sfx->cache;
if (!sc)
return;

stepscale = (float)inrate / dma.speed; // this is usually 0.5, 1, or 2

outcount = sc->length / stepscale;
sc->length = outcount;
if (sc->loopstart != -1)
sc->loopstart = sc->loopstart / stepscale;

sc->speed = dma.speed;
if (s_loadas8bit->value)//Chriva404: note:the "load s_loadas8bit" is still working but-
//i told Pq2 to use stereo sound instead.
//sc->width = 1; //the sound doesn't work if this one is enabled
//else
sc->width = inwidth;
sc->stereo = 1; //was 0
//set it to 0 and it sounds like smurf
// resample / decimate to the current source rate

if (stepscale == 1 && inwidth == 1 && sc->width == 1)
{
// fast special case
for (i=0 ; i<outcount ; i++)
((signed char *)sc->data)[i]
= (int)( (unsigned char)(data[i]) - 128);
}
else
{
// general case
samplefrac = 0;
fracstep = stepscale*256;
for (i=0 ; i<outcount ; i++)
{
srcsample = samplefrac >> 8;
samplefrac += fracstep;
if (inwidth == 2)
sample = LittleShort ( ((short *)data)[srcsample] );
else
sample = (int)( (unsigned char)(data[srcsample]) - 128) << 8;
if (sc->width == 2)
((short *)sc->data)[i] = sample;
else
((signed char *)sc->data)[i] = sample >> 8;
}
}
}
Guest
 


Postby Guest » Sep 15, 2002 @ 7:41pm

try it yourself if you doesn't belive me :)
Guest
 


Postby Guest » Sep 15, 2002 @ 7:46pm

MAN! i need to do something abot my bad near memory i hate to write so many replys

i forgoten to tell you that you have wrong moose

i was banned because i insulted pam
Guest
 


Postby Mike Bannick » Sep 15, 2002 @ 10:22pm

The president has been kidnapped by ninjas.
User avatar
Mike Bannick
pm Insider
 
Posts: 1573
Joined: Feb 2, 2002 @ 9:13am
Location: Loveland, Colorado


Postby Guest » Oct 5, 2002 @ 11:05pm

Guest
 


Postby Guest » Oct 5, 2002 @ 11:06pm

Guest
 


Postby Guest » Oct 5, 2002 @ 11:08pm

Guest
 


Postby James S » Oct 6, 2002 @ 1:09am

<img src="http://home.comcast.net/~sonne/james/tag.gif">
James S
pm Insider
 
Posts: 17064
Joined: Jan 12, 2002 @ 2:33pm
Location: Lexington, KY


Postby Dan East » Oct 8, 2002 @ 7:12pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby chriva » Oct 12, 2002 @ 6:15pm

IT DOES. just try it and you will hear that it works


// old password :ho***r
just to proof that it's me :wink:
chriva
 


Postby abannedguy » Oct 12, 2002 @ 6:20pm

ohh and by the way. it's my new one too
User avatar
abannedguy
pm Member
 
Posts: 66
Joined: Oct 12, 2002 @ 6:19pm


Postby James S » Oct 12, 2002 @ 7:14pm

Like we knew what your old password was :roll:
<img src="http://home.comcast.net/~sonne/james/tag.gif">
James S
pm Insider
 
Posts: 17064
Joined: Jan 12, 2002 @ 2:33pm
Location: Lexington, KY


Postby abannedguy » Oct 12, 2002 @ 7:16pm

well chris and matt does
i may be really stupid and you may get mad at me, but when you know me a little bit better you know im a friendly person
User avatar
abannedguy
pm Member
 
Posts: 66
Joined: Oct 12, 2002 @ 6:19pm


PreviousNext

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