11 August 2018, 00:03 | #41 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,932
|
Maybe I'm doing it wrong but I'm getting basically the same fps in timedemos with r_primitives=0.
With another timedemo which has more time indoors, it went up a bit to 26.6FPS. Last edited by grelbfarlk; 11 August 2018 at 00:10. |
11 August 2018, 12:39 | #42 |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 759
|
Could be gfx performance: Voodoo vs Radeon memory bandwidth just for this particular game. Or other multiple things.
Just the code differences for primitives (educational purpose mumbo-jumbo): Code:
if ( primitives == 0 ) { qglDrawElements( GL_TRIANGLES, numIndexes, GL_INDEX_TYPE, indexes ); return; } vs my take on a modded/cleaned DrawStripElements function.... Code:
static void APIENTRY R_ArrayElement( GLint index ) { qglArrayElement(index); } static void R_DrawStripElements( int numIndexes, const glIndex_t *indexes, void ( APIENTRY *element )(GLint) ) { int i; int last0, last1, last2; qboolean even; if ( numIndexes <= 0 ) return; qglBegin( GL_TRIANGLE_STRIP ); int indexes0 = indexes[0]; int indexes1 = indexes[1]; int indexes2 = indexes[2]; // prime the strip element( indexes0 ); element( indexes1 ); element( indexes2 ); last0 = indexes0; last1 = indexes1; last2 = indexes2; even = qfalse; for ( i = 3; i < numIndexes; i += 3 ) { indexes0 = indexes[i+0]; indexes1 = indexes[i+1]; indexes2 = indexes[i+2]; // odd numbered triangle in potential strip if ( !even ) { // check previous triangle to see if we're continuing a strip if ( ( indexes0 == last2 ) && ( indexes1 == last1 ) ) { element( indexes2 ); even = qtrue; } else goto startnewstrip; } else { // check previous triangle to see if we're continuing a strip if ( ( last2 == indexes1 ) && ( last0 == indexes0 ) ) { element( indexes2 ); } // otherwise we're done with this strip so finish it and start // a new one else { startnewstrip: qglEnd(); qglBegin( GL_TRIANGLE_STRIP ); element( indexes0 ); element( indexes1 ); element( indexes2 ); } even = qfalse; } // cache the last three vertices last0 = indexes0; last1 = indexes1; last2 = indexes2; } qglEnd(); } . . .// blablabla if ( primitives == 1 ) { R_DrawStripElements( numIndexes, indexes, R_ArrayElement ); return; } |
14 August 2018, 20:24 | #43 | |
Registered User
Join Date: Dec 2017
Location: Rzeszów
Posts: 404
|
Quote:
Ok. I did some tests and: Game crashing problem. Turn off sound game helped- probably some variable was changin by me (but in Q3 this working OK). I will check it later. Most maps want more memory than I could have in Sonnet. I found only 3 maps witch work. I will try change some variables like: com_hunkMegs etc. In this 3 maps, game work properly, but in some places (where are more objects) is really slow- about 8-9FPS :-( Version 1.0_r3 with r_primitives=0 nothing changed, like grelbfarlk written. |
|
14 August 2018, 20:29 | #44 |
Registered User
Join Date: Dec 2017
Location: Rzeszów
Posts: 404
|
|
14 August 2018, 21:57 | #45 | ||
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 759
|
Quote:
Quote:
And r_primitives 0...someone could test if with a Voodoo 4/5 that works. |
||
15 August 2018, 19:43 | #46 | |
Registered User
Join Date: Dec 2017
Location: Rzeszów
Posts: 404
|
Quote:
I have in this demo 18.4 FPS (timedemo 1) on my Sonnet 400mhz, Voodoo3, in 640x480, vertex, geometric low, texture detail low, JIT on, sound off, cg_drawgun 0 ---> not bad result :-) Last edited by BULI; 22 August 2018 at 17:01. |
|
23 August 2018, 17:01 | #47 | |
Registered User
Join Date: Dec 2017
Location: Rzeszów
Posts: 404
|
Quote:
I done tests again, and compared versions 1.0r2 to 1.0r3 (r_primitives 0). And I was wrong. Smokin'Guns with the same setup is faster about 2FPS (in demo from grelbfarlk) in 1.0r3 (r_primitives 0) version! |
|
02 September 2018, 16:56 | #48 |
mä vaan
Join Date: Nov 2001
Location: Finland
Posts: 1,664
|
I tried to run this in my OS4 machine. Sakura IT's rewarp has made most of warpos programs to work on OS4.
I have already huno's smoking gun installed and working, so I thought it would be just to run it in same directory. Didn't work, running it from shell tells "couldn't open default'cfg" it seems to look it from ENV: Problem is, there is no default.cfg in any directory. So how I get one and where I should put it? |
02 September 2018, 20:57 | #49 | ||
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 759
|
Quote:
Questions are: Are you using smokinguns 1.0 paks (the older ones)? If yes, don't use a previously q3config.cfg: Make a new dir with all there and let the game rebuild all what is needed. Edit: Of course I have to read more : Quote:
Last edited by Cowcat; 02 September 2018 at 23:07. |
||
15 September 2018, 17:59 | #50 | |
mä vaan
Join Date: Nov 2001
Location: Finland
Posts: 1,664
|
Quote:
But I don't know anything about why, just testing for a fun. |
|
15 September 2018, 19:11 | #51 |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 759
|
@utri007
Test "for fun" if these particular "Amiga Classic" Q3 or OpenArena work: If they, SG should be no problem: Basically a matter of having enough memory and cpu. Should make a README one of this days, but anyways some tips again: -Clean dir with no old configurations, only the paks mentioned for every version. -Game starts by default with no sound & windowmode: Using menu to change settings (like going fullscreen, etc) mess up the render. Change Q3config.cfg file (r_fullscreen "1" and add s_initsound "1" ). I remember some patch is needed to be running before all for Rewarp/Warp3d, specially for vertex arrays. Q2 works? |
15 September 2018, 20:05 | #52 |
mä vaan
Join Date: Nov 2001
Location: Finland
Posts: 1,664
|
You mean this http://os4depot.net/index.php?functi...atchwarp3d.lha
Seems that I should have delete config files from smokingun folder also.? It didn't start windowed, but fullsreen and without sound. I can test more latter toninght, when I get my wife sleep. |
15 September 2018, 20:48 | #53 | |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 759
|
Quote:
|
|
15 September 2018, 22:23 | #54 |
Semi-Retired
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 2,016
|
Regarding the patches, it's built-in into ReWarp. See docs. Also, the newer your video card the more likely you get corruption. You can always use wazp3d in combination with ReWarp.
|
15 September 2018, 23:12 | #55 | |
mä vaan
Join Date: Nov 2001
Location: Finland
Posts: 1,664
|
Quote:
Seems that it needs to have default.cfg, it wount start without it. Is just says "can load default.cfg" |
|
16 September 2018, 00:22 | #56 |
mä vaan
Join Date: Nov 2001
Location: Finland
Posts: 1,664
|
Tested Openarena. It work slightly better than smokin guns. Graphics disortion wasn't that bad IF I didn use stairs to get up, jump etc.
|
16 September 2018, 12:05 | #57 | |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 759
|
Quote:
No default.cfg is ever needed with a clean/correct choosen paks installation. When Q3 - whatever version, system, build year, mod, etc - shows this message or "need to download paks...whatever" at the moment to run the game, you ask for later problems trying to bypass it faking cfg files. As read on Q3 thread, using an old installation from years ago didn't work quite well: Texture corruption, etc. |
|
16 September 2018, 16:49 | #58 | ||
mä vaan
Join Date: Nov 2001
Location: Finland
Posts: 1,664
|
Quote:
Quote:
By the way 68k version crash when it tries start local server. I have grim reaper log of it. Do you want it? |
||
16 September 2018, 18:20 | #59 | |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 759
|
Those paks are the correct ones.
Quote:
I know the function where code crashes the game (server side - AKA "going single-play"), but have no idea why it does that. |
|
16 September 2018, 18:47 | #60 |
mä vaan
Join Date: Nov 2001
Location: Finland
Posts: 1,664
|
Here crashlog
Last edited by utri007; 30 May 2022 at 18:43. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hired Guns 2 | Altman | request.Old Rare Games | 12 | 19 January 2014 19:23 |
hired guns | mangemani | support.Games | 6 | 18 April 2006 18:38 |
Hired Guns | Unregistered | support.Games | 1 | 04 December 2004 16:49 |
Hired Guns | Petronius | request.Old Rare Games | 5 | 13 April 2004 16:19 |
Hired Guns | Slayer | request.Old Rare Games | 1 | 27 August 2003 21:55 |
|
|