Author Topic: Turok 2 Seeds Of Evil - How possible would be a controller delay patch ?  (Read 5393 times)

0 Members and 1 Guest are viewing this topic.

Offline MockyLock

  • Hero Member
  • *****
  • Posts: 684
  • Karma: +25/-2
    • View Profile
'llo here !
Every one who ever played Turok 2 must have raged against the slight-but-so-annoying delay that cripple the gameplay. Specially in C-Buttons and Jump.
As the N64 scene is pretty active here (looking toward saturnu, Trevor, Ozidual, Aroenai and so much others), i was wondering if any of you, talented coders, could at least explain to my nescient person why this particular game has such plague.
And maybe correct this by an eventually patch...

Thank you for reading, and maybe getting interested in the challenge :)

Offline FeverDrive

  • Hero Member
  • *****
  • Posts: 1292
  • Karma: +54/-0
  • Blast Processing advocate
    • View Profile
Could a N64 processor overclock fix this problem?
WELCO
METOT
HENEX
TLEVEL

Offline MockyLock

  • Hero Member
  • *****
  • Posts: 684
  • Karma: +25/-2
    • View Profile
Hey, thank you for showing interest i this thread (you're the only one sadly :/ )
I have an overclocked N64 so that's a good idea, but the way the game behaves with an overclocked N64 is not really predictable. Some crash, some are speeded up, some don't show anything more.
I'll let you know !

Offline D4v3WTF

  • Sr. Member
  • ****
  • Posts: 279
  • Karma: +9/-0
    • View Profile
have you tried to disable the Hi-Res mode? FIFA 99 for example runs much smoother with Hi-Res disabled.
N64 PAL Games Collection: 204/243
N64 PAL Demo Collection: 1/1
N64 Region Free NTSC Games: 1
Everdrive 64 v2.01 modded UltraCIC II
SD2SNES Rev. F modded Rev. H

Offline MockyLock

  • Hero Member
  • *****
  • Posts: 684
  • Karma: +25/-2
    • View Profile
Well, it's not like a lag in video display or refresh. It's more a delay between input and action.
But I'll give a try too !

Offline Aroenai

  • Sr. Member
  • ****
  • Posts: 264
  • Karma: +20/-0
  • Sentient Hunk of Green Cheese
    • View Profile
Sorry, I'm just not familiar with the game and I'm not really one to play shooters...

What you're describing could still be video delay, especially if you're using composite on an HD tv. You haven't said what kind of tv and video connection (composite, s-video, RGB mod, or UltraHDMI) you're using, or if you're using an official, modded, or third party controller. Most modern tv's introduce a lot of lag on composite signals to remove noise, de-interlace, and upscale so the picture will look acceptable on the higher resolution screen. If you have a "Game Mode" setting on your tv you should turn that on to reduce the effect.

Edit: Is it noticeable on an emulator as well?
---
Mostly working on Zelda OoT & MM GC patches
Also, breaking region protections
Everdrive 64 v2.01 modified with an UltraCIC II, 64drive HW2

Offline D4v3WTF

  • Sr. Member
  • ****
  • Posts: 279
  • Karma: +9/-0
    • View Profile
You could try using SubDrag's controller Mods. Maybe he fixed the problem. http://goldeneyevault.com/viewfile.php?id=312
N64 PAL Games Collection: 204/243
N64 PAL Demo Collection: 1/1
N64 Region Free NTSC Games: 1
Everdrive 64 v2.01 modded UltraCIC II
SD2SNES Rev. F modded Rev. H

Offline MockyLock

  • Hero Member
  • *****
  • Posts: 684
  • Karma: +25/-2
    • View Profile
As far as i can remember, it always had this issue, using :
- A/V cable with SCART adapter on 36cm CRT TV
- RGB cable (SNES one) on CRT and Flat TV
- S-Video on CRT and Flat TV
- UHDMI (on flat TV AH AH).

I'll try to test the whole set up this WE.

Offline polskiftw

  • Newbie
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Well, it's not like a lag in video display or refresh. It's more a delay between input and action.
But I'll give a try too !


This is probably a faulty Expansion Pak.

Offline MockyLock

  • Hero Member
  • *****
  • Posts: 684
  • Karma: +25/-2
    • View Profile
I don't think the Expansion Pak is involved in such behavior.

Offline saturnu

  • ヽ(^o^)丿
  • Hero Member
  • *****
  • Posts: 1182
  • Karma: +156/-0
    • View Profile
    • :D
Re: Turok 2 Seeds Of Evil - How possible would be a controller delay patch ?
« Reply #10 on: September 29, 2016, 11:02 AM »
i guess it's a threading priority problem in the game engine and the controller query thread has too little runtime.
a lower-priority thread is always suspended by a higher priority thread during execution.
so what you have to do is to ramp up the priority level of the input thread. :>

load the devkit symbols and search for this functions in your disassembler
void osCreateThread(OSThread *t, OSId id, void (*entry)(void *), void *arg, void *sp, OSPri pri);
void osSetThreadPri(OSThread *t, OSPri pri);

if you have found the input thread, alter the priority parameter

the value should be between 0 and 127
OS_PRIORITY_IDLE (0) to OS_PRIORITY_APPMAX (127).

i hope this is working :D
maybe there is a reason the polling is so low and the other threads are so time critical that this was a last minute decision.
« Last Edit: September 29, 2016, 11:14 AM by saturnu »

Offline MockyLock

  • Hero Member
  • *****
  • Posts: 684
  • Karma: +25/-2
    • View Profile
Re: Turok 2 Seeds Of Evil - How possible would be a controller delay patch ?
« Reply #11 on: September 29, 2016, 02:49 PM »
Hey, i'm so glad this thread took your interest saturnu :)
I think i understood your explanation, but i don't think i have the capabilities to do those code tricks (what are devkit symbols ? and what is the tool to "load" them ?). :D
I'll give a try anyway to the setup good people asked above, this is something i know how to do :]
I hope i'll update this thread this WE.
Thank you very much for showing interest !

Offline lee4

  • codetype specialist
  • Hero Member
  • *****
  • Posts: 782
  • Karma: +45/-0
    • View Profile
    • gamehacking.org
Re: Turok 2 Seeds Of Evil - How possible would be a controller delay patch ?
« Reply #12 on: September 29, 2016, 10:11 PM »
this game run at 13 fps out of 30 and the game drop frames also discards the buttons inputs
causes input delay

IGN - Turok 2 Seeds Of Evil review
http://www.ign.com/articles/1998/12/12/turok-2-seeds-of-evil-2
ign talk about bad fps
« Last Edit: September 29, 2016, 10:22 PM by lee4 »
ED64 v2.0, 3.0 & X7 | EDMD v3 | MEGAED X7 M15 v2.01 | TED v2.4 | EDN8 v1.2N | SED v2.1 | SD2SNES rev E1 & PRO rev.B | EDGB v1.1 & X7 M17 rev B | EDGBA X5 M16 rev A
Super NT | Mega SG | Super Retro Advance | SGB v1 | PCE+SSD3