JaCzekanski / Avocado

🥑 PlayStation 1 emulator
GNU General Public License v2.0
538 stars 31 forks source link

Feature online gaming #25

Open Snicks321 opened 6 years ago

Snicks321 commented 6 years ago

Well, I was thinking of it, in how to make a better online for PSX, because the current online is just emulate playstation controller, but this have synchronization problem, so this was my idea:

Using RTSP, stream the application of the emulator, and put it on a server, then u can set a game to that PSX Server, and start streaming, and also receive packets of controller.

Then with QT and GStreamer create an app, who can watch the stream, and send packets of controller

image

Now we have a server, with the PSX Emulator, streaming Crash Team Racing, and waiting to us to connect, Player 1 (me), Player 2 (you), now we will see the same thing because it is a streaming, then if I press SQUARE (Keypad 4), I send one packet with, Idk, OPCODE: CMSG_PRESS_SQUARE and the PSX Emulator will receive that packet, press SQUARE, and because we can see it, we both will see that I press SQUARE

image