27 May 2017, 21:26 | #21 |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 758
|
...In fact -nomouse implies in the code, "leave it untouched as the system has it". So....
|
28 May 2017, 08:38 | #22 |
old chunk of coal
Join Date: Nov 2011
Location: Hungary
Posts: 1,289
|
I'll ask sezero about the sheep catapult thing, he could know something about what goes on there.
|
28 May 2017, 11:09 | #23 |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 758
|
BSzili:
It's more than the catapult. The whole level has that issue & this is what I found: sv_effect.c /SV_SendEffect : After Code:
case CE_WHITE_SMOKE: case CE_GREEN_SMOKE: case CE_GREY_SMOKE: case CE_RED_SMOKE: case CE_SLOW_WHITE_SMOKE: case CE_TELESMK1: case CE_TELESMK2: case CE_GHOST: case CE_REDCLOUD: case CE_FLAMESTREAM: case CE_ACID_MUZZFL: case CE_FLAMEWALL: case CE_FLAMEWALL2: case CE_ONFIRE: Code:
Con_Printf("sv_effect - %d\n", sv.Effects[idx].type); Now when you go to that level (The castle key mission), this check shows constantly. Don't really know if its related, but the frame drop is very noticeable. |
28 May 2017, 11:35 | #24 |
old chunk of coal
Join Date: Nov 2011
Location: Hungary
Posts: 1,289
|
Could it be that the level simply has a smoke emitter somewhere? Raven didn't implement client side effect system until Heretic 2, so effects always go through the C/S architecture. You might want to check SV_SendEffect, also there is a "sv_ce_scale" CVAR which you can set to 1 to do distance culling on the effect I think.
|
28 May 2017, 12:41 | #25 |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 758
|
Shit, I messed up "showfps"
Good tip with sv_ce_scale & his companion sv_ce_max_size, but nothing seems to change: The framerate drop stills there as well the message. |
28 May 2017, 13:30 | #26 |
old chunk of coal
Join Date: Nov 2011
Location: Hungary
Posts: 1,289
|
Have you tried to set a small value like 0.1 or 0.01 for sv_ce_scale to reduce the cutoff distance even more? It would be interesting to check the coordinates to see where this offending effect is on the map.
|
28 May 2017, 13:56 | #27 |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 758
|
I was using sv_ce_scale wrong, but now given lower 1.0 values still the same. Just getting closer to the castle there's a good framedrop. Normal in certain circunstances because the animations there but inside or just wandering closer to the catapult you see those problems: The effect never dissapears.
I assume that "4" could be WHITE_SMOKE -> "punching wall = smoke effect". So who is punching ? |
29 May 2017, 00:51 | #28 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,902
|
New beta orks well for me but I can't figure out the sequence of events that causes the gamepad to work. One time it will start and lowlevel.library showed port 0 Mouse port 1 Joystick. I was able to bind keys to it and everything was working but on next reboot lowlevel library showed 4 devices Port 0 mouse, port 1 joystick, port 2 and 3 unknown. And it didn't work again. Come to think of it I removed -nomouse too at this time.
|
29 May 2017, 10:01 | #29 |
old chunk of coal
Join Date: Nov 2011
Location: Hungary
Posts: 1,289
|
This is what you need to do:
1. Start JoyPortTest and make sure the type reported is joystick/gameport 2. Start the game |
29 May 2017, 16:20 | #30 | |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,902
|
Quote:
1. I started game gameport is reported as unknown device 2. Started JoyPortTest and it is recognized as joypad 3. Started Game and it works. Is it preloading lowlevel.library or something that makes it work, do you think? |
|
29 May 2017, 16:42 | #31 |
old chunk of coal
Join Date: Nov 2011
Location: Hungary
Posts: 1,289
|
Your instructions don't look that complicated either. The problem is that lowlevel.library needs some input from the device to autodetect its type. (Now that I think about it, I should have added "push some buttons" as an additional step.) I originally wrote the joystick code for Poseidon, where the types are available right from the beginning for all of the ports. This is a faulty assumption with the genuine lowlevel.library, so I'll have to remove the startup detection, and simply check the controler type when reading from the port.
So in a nutshell yes, lowlevel.library has to be preloaded and it needs some input from the controller before starting the game for the time being. |
29 May 2017, 17:02 | #32 | |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,902
|
Quote:
|
|
29 May 2017, 17:21 | #33 |
old chunk of coal
Join Date: Nov 2011
Location: Hungary
Posts: 1,289
|
If lowlevel.library isn't loaded, then pushing buttons won't do you any good. The purpose of joyporttest is that, and to give you some visual feedback of the detected controllers.
|
29 May 2017, 20:34 | #34 |
Registered User
Join Date: Dec 2015
Location: USA
Posts: 2,902
|
Right, anyway the workaround is fine. And actually Hexen 2 has the nice benefit (for me) of seeing the 4 way joystick control as Aux buttons rather than X-Axis and Y-Axis that I had setting up properly on Quake 2, nice job on this.
|
05 June 2017, 12:18 | #35 |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 758
|
Found the offending effect: It's the vapor coming from a cauldron inside the castle.
The framedrop in this particular level comes from the entities (models) camping around: When you destroy/kill whatever you see, it starts to alleviate. So no problem (?) -> just a matter of cpu cycles. Edit: Why this effect is working outside the room/area it belongs ? I did a new wire/line drawing mode & combined with noclip you see the effect some walls before all other models are drawn.... Last edited by Cowcat; 05 June 2017 at 12:35. |
05 June 2017, 14:46 | #36 |
old chunk of coal
Join Date: Nov 2011
Location: Hungary
Posts: 1,289
|
That's probably the side-effect of the client-server effect code. The server has no idea what the client can see so it always sends it. I'd check why the distance culling doesn't cut off the effect. What's the map name BTW?
|
05 June 2017, 15:43 | #37 | |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 758
|
Quote:
Anyways that goes beyond the Amiga port. Still don't know if really does hurt performance. |
|
05 June 2017, 17:28 | #38 |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 758
|
BSzili:
A clumsy & totally irrelevant video on the net just to show what it is all about. [ Show youtube player ] Of course "wireframe" function comes from an undisclosed BlitzQuake 6.2 (but not in red background ). |
05 June 2017, 17:41 | #39 |
old chunk of coal
Join Date: Nov 2011
Location: Hungary
Posts: 1,289
|
I just checked and sv_ce_scale works fine, at least in the Windows version. If I set sv_ce_scale to 1 and move away from cauldron on Barbican to the doorway the smoke disappears.
|
05 June 2017, 18:25 | #40 |
Registered User
Join Date: Apr 2013
Location: Mallorca
Posts: 758
|
Yep. Doing the same check as you & being in the same place as in the video, the effect dissapears just after the first wall.
Ok, It's the way the code does his thing, checking all the possible effects from wherever part of the level, THEN checking the distance & THEN applying the effect. Mistake from my part, I was seeing the first checks. Just another useless video & time spent |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UAE for WarpOS 0.8.12 | grelbfarlk | request.Apps | 0 | 23 November 2016 01:14 |
WarpOS Programming Help? | esc | support.Other | 8 | 21 October 2015 10:37 |
DarcNES emulator for WarpOS | Leandro Jardim | support.Apps | 1 | 02 May 2015 17:41 |
WarpOS MiniGL blues. | Cowcat | Coders. General | 16 | 22 February 2014 18:44 |
ppc.library and WarpOS | oldpx | support.Apps | 5 | 23 August 2002 16:57 |
|
|