PCSX2 / pcsx2

PCSX2 - The Playstation 2 Emulator
https://pcsx2.net
Other
10.61k stars 1.54k forks source link

[Feature Request] Implement iLink capabilities #4472

Open gtgamer468 opened 3 years ago

gtgamer468 commented 3 years ago

Description

I would like Firewire and iLink to be fully implemented.

Reason

The Firewire has always been a stub and never was implemented so to me, this seems long overdue. The iLink feature was used in over a dozen titles, mostly first party ones such as Gran Turismo 3 and Concept and providing support for it would allow such games to be played like LAN titles paired with a VPN like Radmin. There's currently nothing in terms of support as iLink hasn't been implemented with any plugins in the past and the plugin system is going to be fully gone soon.
RedDevilus commented 2 years ago

Could maybe need a new label like Firewire?

darkphoenixfox commented 2 years ago

iLink support would be great to be able to play TIme Crisis 2 and Time Crisis 3 with 2 separate screens and 2 modern lightguns like the Sinden

Thigoron commented 1 year ago

If this would be implemented I'd be making a twin arcade cabinet. ^^

shanethmoore commented 1 year ago

I actually thought this already existed in the wild https://youtu.be/-K6rgnaZoms

Was very surprised to see its not.

Does anyone have any ballpark of how difficult this will be to develop?

refractionpcsx2 commented 1 year ago

I call bullshit on that video. Light guns don't work on LCD screens, and no, there's no iLink in PCSX2 right now.

Thigoron commented 1 year ago

I call bullshit on that video. Light guns don't work on LCD screens, and no, there's no iLink in PCSX2 right now.

Sinden lightgun's are not "true" light guns. They do work on LCD's. Not sure how he ran the games in iLink tho'.

refractionpcsx2 commented 1 year ago

oh they're custom light guns? okay. Yeah I have no idea, we've never implemented ilink.

shanethmoore commented 1 year ago

@refractionpcsx2 I have 2 of the sinden guns with the recoil, gotta say they're pretty awesome.

Its basically just a HID mouse with a webcam attached. Theres No IR sensors or CRT needed.

They come with software that paints a white bezel around the game window. Then theres a camera build into the gun which uses some trained model to detect where the sqaure is painted and then from that it determines where the mouse cursor should go.

That all said, I have no idea how the guy in that video managed to do what he's done. I've seen examples where people literally drag their pcsx2 instance halfway across two screens and then use a white border on each, but I don't think thats what he's doing here as he somehow managed to get P1's screen centered right in the middle of Monitor 0. It looks like he did some split screen magic.

Anywho, I was just asking if there were any sizes on how complex ilink would be to implement. If I recall it was some weird firewire cable that had a 6mbs limit. I expect that would be hard to replicate across two pcsx2 instances but I'm hoping someone will prove me wrong.

darkphoenixfox commented 1 year ago

I call bullshit on that video. Light guns don't work on LCD screens, and no, there's no iLink in PCSX2 right now.

That is my video.

There is no iLink on PCSX2. That video was achieved by playing the single-console 2 Player mode and stretching the picture to fill two screens. Calibration for the guns didn't really work.

P1 is centered on the ultrawide screen because the screen was set up in Windows to a lower non-ultrawide resolution, but it's the trick @shanethmoore described.

Sindens work on any screen as stated above.

I wish we didn't need to resort to alchemy-level tricks to get something like this working.

refractionpcsx2 commented 1 year ago

That would explain it

shanethmoore commented 1 year ago

@darkphoenixfox Good to meet you man 👋

Aye, calibration for TC2 has been a pain with Sindens. I'm doing some autoloading of state once the calibration is complete just to avoid going through it over and over. Tempted to try just using lilipad with a mouse instead of nuvee to see how it works.

You had comments disabled on YT so I wasn't able to ask how you did it. Indeed that is some top tier alchemy ☣️
So your left hand screen has a narrower resolution than the monitor supports and thats how you got the 4:3 centered bezel. Clever. And your pcsx2 instance is probably windowed (as oppossed to maximized) and the application window header is hidden behind the sinden border.

Makes total sense now (if I've got that right)

darkphoenixfox commented 1 year ago

@shanethmoore you are correct . Don't want to derrail the thread; if you want to talk more about sindens,etc ask for JCT in the Sinden discord

shanethmoore commented 1 year ago

Agreed!

So back on track, I still think Ilink support would be neat. Whats the best way for muggles and/or devs to support this?

RedDevilus commented 1 year ago

Agreed!

So back on track, I still think Ilink support would be neat. Whats the best way for muggles and/or devs to support this?

Foremost there has to be some interest in it, the knowledge and lastly the research in the protocols and how it differs from the normal FireWire if at all.

It's pretty niche all things considered and not many games support, and you can see nobody bothered making an iLink plugin besides null, but that's just a placeholder without any real functionality.

I can understand you making that simple inquiry but there isn't an easy and concise way to answer to finally get the support.

shanethmoore commented 1 year ago

Good to have a todo list, thanks @RedDevilus

ProfgLX commented 1 year ago

Hi, I'm an admin from the sinden discord. iLink (2 players time crisis 2 and 3) and lightgun support in pcsx2 are some of the most asked about subjects in the discord, which has 7400 members. Same for the users of gun4ir, another lightgun system. Niche yes, but very popular still. Love your work btw.

titchgamer commented 1 year ago

Another Sinden/Gun4IR user here and can confirm what Prof says to be true. Lightgun support for PCSX2 Is discussed daily in the discords along with 2 player options.

Time Crisis is a beloved franchise and one of the most popular requested games to be played.

if you can get easier gun support along with Ilink support you will make 1000’s of people very happy!!

shanethmoore commented 1 year ago

I mean I'd be happy to hit that sponsor button if I knew iLink was on the menu ;)

(I wonder if other discordians would feel the same. Only slightly kidding... I'll be more liquid in 2 months and can start contributing then anyways)

stenzek commented 1 year ago

Nagging for it and saying how things like how many people are waiting isn't going to make it happen any faster.

The USB subsystem is a complete mess and needs a fairly large refactor before it can be added to Qt, let alone adding lightgun support. Personally it doesn't really interest me, so I'm not doing it, however anyone else is welcome to, and it would be appreciated.

But until someone takes it on, please stop effectively spamming the thread, it's not helpful at all.

shanethmoore commented 1 year ago

I think those people were just trying to make the case that theres more demand out there as initially thought rather than spamming or nagging. If theres more tangible things people can help with outside of sponsoring then that might be a more productive way to make this feature deliverable

I'm just trying to see whats required to make it happen. So far I've listed

I think Lightgun support is probably out of scope. If mice work in 1.7+ then I imagine most HID compliant devices would too.

@stenzek Fair enough if it doesn't interest you. I'd love to take it on but I'm coming in blind. If you've any more comprehensive or high level lists TODO's to make this happen, please do let us know.

RedDevilus commented 1 year ago

I understand it's nice to have for a decent amount of people. From my point of view, most developers tend to do what they like to work on above the demands of people, not saying they can't align or users are ignored.

refractionpcsx2 commented 1 year ago

It's worth noting that we are an open source project. If somebody else wants to implement it, it's welcomed and very possible, you don't have to wait for us to do it. Of course we will check the code when it's submitted, and we frown upon people just stealing other peoples code and committing it (This happens a lot more often than I would like), so please don't do that.

RageAShadey commented 1 year ago

A wild Snake appears Seems Like a good test of my skills. I'm on it >:3

jamesbailey999 commented 7 months ago

Hi all,

I just wanted to resurrect this and to see if this is still being worked on as mentioned above?

Thanks for any update someone may give

stenzek commented 7 months ago

Nothing has changed (nobody working on it, no plans), please don't bump/spam threads - it doesn't achieve anything.