[Patch] Crosshairs for Analog Gun Inputs in Lost Word

Technical discussion for those interested in Supermodel development and Model 3 reverse engineering. Prospective contributors welcome.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

[Patch] Crosshairs for Analog Gun Inputs in Lost Word

Postby HarryTuttle » Wed Jul 04, 2018 1:57 pm

Patch for r735

Well, the topic says it all, nothing much to add besides that I added the disappearing crosshair effect when pressing any of the two triggers.

Differently from light gun control type we don't have a dedicated switch for offscreen coordinates simulation, but two generic TriggerLeft and TriggerRight, so I added the effect for both cases.

EDIT:
if not already done, remember to calibrate the analog guns in test menu because their values are different from light gun inputs.
Attachments
diff.zip
(3.68 KiB) Downloaded 5 times
User avatar
HarryTuttle
 
Posts: 646
Joined: Thu Mar 09, 2017 8:57 am

Re: [Patch] Crosshairs for Analog Gun Inputs in Lost Word

Postby Ian » Wed Jul 04, 2018 3:07 pm

stupid question time :)
Are they supposed to disappear? I assume the real hw there would be some overscan on the CRT, which is pretty common.
Ian
 
Posts: 1468
Joined: Tue Feb 23, 2016 9:23 am

Re: [Patch] Crosshairs for Analog Gun Inputs in Lost Word

Postby HarryTuttle » Wed Jul 04, 2018 3:13 pm

Ian wrote:Are they supposed to disappear? I assume the real hw there would be some overscan on the CRT, which is pretty common.

The original model3 crosshairs shown during intermissions/dialogues aren't touched. Only Supermodel superimposed ones and I (somewhat) followed the same behavior of light gun inputs.

In the original code:
Code: Select all
if ((crosshairs & 1) && !offscreenTrigger[0])

offscreenTrigger is the additional condition that makes them appear/disappear.
User avatar
HarryTuttle
 
Posts: 646
Joined: Thu Mar 09, 2017 8:57 am

Re: [Patch] Crosshairs for Analog Gun Inputs in Lost Word

Postby Ian » Wed Jul 04, 2018 3:16 pm

Okay, I pushed that change :)
Ian
 
Posts: 1468
Joined: Tue Feb 23, 2016 9:23 am

Re: [Patch] Crosshairs for Analog Gun Inputs in Lost Word

Postby YoYo09 » Thu Jul 12, 2018 9:02 am

Harry, Ian
To match cross hair and analogue guns
How do I adjust in the Gun adjustment menu?
YoYo09
 
Posts: 56
Joined: Mon Nov 28, 2016 7:43 pm


Return to The Dark Room

Who is online

Users browsing this forum: No registered users and 1 guest

cron