[POD/MONACO] I discovered a tweak that shows each game properly in DC Now

Online games, how to get online, and anything involving Dreamcast online can be discussed here.

Moderator: pcwzrd13

User avatar
Scrivani
Vagabond
Posts: 732
Contact:

[POD/MONACO] I discovered a tweak that shows each game properly in DC Now

Post#1 » Mon Jun 19, 2023 10:27 am

Kazade's Dreamcast Now work with DNS requests to recognize the games.

I did some research on dreampi code and TCP packets and find out that Dreamcast Now shows the split game image when "connect.gameloft.com" DNS query is send to the server. But the game detect correctly if you don't send this, and I think Kazade did some work on distinct the games recognition in other method, like this request I captured:

--POD 2 DC 1.0 webservice get request

Code: Select all

GET /gameloft.php?version=POD2DC1.0 HTTP/1.0


Long story short> We don't want Raspberry to send "connect.gameloft.com" to the server anymore and both games will show correctly and distinct.

monaco.jpeg


pod.jpeg


The adjustment will not affect anything else.

#EDIT > UNDER MORE TESTS#
Last edited by Scrivani on Mon Jun 19, 2023 1:35 pm, edited 2 times in total.
Happy if may help:
- BBA Mode for DreamPi: https://bit.ly/3JEIuhs
- VPN Port Fowarding: https://bit.ly/3Bgw4bu
- DC Now Data Analysis: https://bit.ly/42coxXw
- DC KARA NOT DEAD AT ALL- VCD Method: https://bit.ly/3P6VePw
- Know part of BR Community: https://bit.ly/3iLXS12

User avatar
pcwzrd13
Seen Any Sailors?
Posts: 7082
Contact:

Re: [POD/MONACO] I discovered a tweak that shows each game properly in DC Now

Post#2 » Mon Jun 19, 2023 10:45 am

Nice find Scrivani! The workaround for POD/Monaco is that when someone connects to Shu's POD/Monaco server, it sends the IP to the DC Now server along with the game name and DC Now finds the matching IP of the player to associate it with. I'm guessing in some cases, Shu's server sends the data to DC Now first and then the Pi sends the connect.gameloft.com address afterwards, causing it to show the split image. In my case, Shu's sever always sends it after the Pi so it shows up correctly. So it probably depends on your location.

I can have Kazade fix this on his end. He just has to remove the connect.gameloft.com address from the DC Now server as it's not necessary.
PSO Characters:
Teal'c - lvl 119 HUcast - GC# 11666
Alto - lvl 39 FOnewm - GC# 12964

YouTube Channel : Dreamcast Live

User avatar
Scrivani
Vagabond
Posts: 732
Contact:

Re: [POD/MONACO] I discovered a tweak that shows each game properly in DC Now

Post#3 » Mon Jun 19, 2023 10:53 am

Cool PC, i was editing my post to suggest the same solution direct on Server :D
Happy if may help:
- BBA Mode for DreamPi: https://bit.ly/3JEIuhs
- VPN Port Fowarding: https://bit.ly/3Bgw4bu
- DC Now Data Analysis: https://bit.ly/42coxXw
- DC KARA NOT DEAD AT ALL- VCD Method: https://bit.ly/3P6VePw
- Know part of BR Community: https://bit.ly/3iLXS12

kazade
Developer
Posts: 264

Re: [POD/MONACO] I discovered a tweak that shows each game properly in DC Now

Post#4 » Mon Jun 19, 2023 10:55 am

I'll fix this when I can - I'm a bit snowed under with Driving Strikers stuff atm!

Nice find!

User avatar
Scrivani
Vagabond
Posts: 732
Contact:

Re: [POD/MONACO] I discovered a tweak that shows each game properly in DC Now

Post#5 » Mon Jun 19, 2023 1:56 pm

Let me test this better and i'll back with results. Didn't work for Johne, maybe depends on the ISP network routes.
Happy if may help:
- BBA Mode for DreamPi: https://bit.ly/3JEIuhs
- VPN Port Fowarding: https://bit.ly/3Bgw4bu
- DC Now Data Analysis: https://bit.ly/42coxXw
- DC KARA NOT DEAD AT ALL- VCD Method: https://bit.ly/3P6VePw
- Know part of BR Community: https://bit.ly/3iLXS12

User avatar
OlivusPrime
dirty sailor
Posts: 177

Re: [POD/MONACO] I discovered a tweak that shows each game properly in DC Now

Post#6 » Mon Jun 19, 2023 2:55 pm

It would be great if this can be fixed! I'm not much of a fan of POD outside of game nights, but I really enjoy Monaco anytime, so it would be great to be able to distinguish between the two.

User avatar
Scrivani
Vagabond
Posts: 732
Contact:

Re: [POD/MONACO] I discovered a tweak that shows each game properly in DC Now

Post#7 » Mon Jun 19, 2023 5:29 pm

kazade wrote:I'll fix this when I can - I'm a bit snowed under with Driving Strikers stuff atm!

Nice find!



Kazade,
With my ISP, the solution works, but not with the Johne ISP for example.

Seems like you have something on DNS Server that recognize the GET methods of each game, that are the unique things that distinct them. But is not all ISP that are delivering the GET properly inside your server.
TCP_Dump_POD_and_MONACO_connections.png

I did implemented some packets reading to grep Quake3Arena masterserver DNS Query, cause the game don't do that on BBA mode, and stored the packet informations, then inject on syslog so the dcnow.py send to server with query [A] flag.

Is possible to GREP those GET's from each game and inject some unique DNS Query in syslog in same way, then you Map on your side.
Like:
query[A] connect.gameloft.com/gameloft.php?user=user1&version=MONDC1.0 HTTP/1.0
query[A] connect.gameloft.com/gameloft.php?version=POD2DC1.0 HTTP/1.0


GET_http.png
Happy if may help:
- BBA Mode for DreamPi: https://bit.ly/3JEIuhs
- VPN Port Fowarding: https://bit.ly/3Bgw4bu
- DC Now Data Analysis: https://bit.ly/42coxXw
- DC KARA NOT DEAD AT ALL- VCD Method: https://bit.ly/3P6VePw
- Know part of BR Community: https://bit.ly/3iLXS12

User avatar
pcwzrd13
Seen Any Sailors?
Posts: 7082
Contact:

Re: [POD/MONACO] I discovered a tweak that shows each game properly in DC Now

Post#8 » Mon Jun 19, 2023 6:23 pm

Scrivani wrote:Seems like you have something on DNS Server that recognize the GET methods of each game, that are the unique things that distinct them.


No, that's not how it works. Shuouma knows what game server the player is on and what their IP is. Shu's server tells the DC Now server what the game is by sending a "GAMENAME" and the player IP. Your ISP shouldn't matter as everything is done on Shu's side after a player connects to the server.

Internet Game Pack uses the same method since it just uses a static IP. I think Johne has issues with that game showing up as well. Not sure why.

The only way it wouldn't work is if Dreamcast Now can't match the IP to a player that's online. This could be down to an IPv4 vs. IPv6 issue. This is what we originally thought this issue was.
PSO Characters:
Teal'c - lvl 119 HUcast - GC# 11666
Alto - lvl 39 FOnewm - GC# 12964

YouTube Channel : Dreamcast Live

User avatar
Scrivani
Vagabond
Posts: 732
Contact:

Re: [POD/MONACO] I discovered a tweak that shows each game properly in DC Now

Post#9 » Mon Jun 19, 2023 8:50 pm

pcwzrd13 wrote:
Scrivani wrote:Seems like you have something on DNS Server that recognize the GET methods of each game, that are the unique things that distinct them.


No, that's not how it works. Shuouma knows what game server the player is on and what their IP is. Shu's server tells the DC Now server what the game is by sending a "GAMENAME" and the player IP. Your ISP shouldn't matter as everything is done on Shu's side after a player connects to the server.

Internet Game Pack uses the same method since it just uses a static IP. I think Johne has issues with that game showing up as well. Not sure why.

The only way it wouldn't work is if Dreamcast Now can't match the IP to a player that's online. This could be down to an IPv4 vs. IPv6 issue. This is what we originally thought this issue was.
Ok thanks PC for correcting the understanding.

You think we should keep the temporary fix suggestion to people test if work for them?
Happy if may help:
- BBA Mode for DreamPi: https://bit.ly/3JEIuhs
- VPN Port Fowarding: https://bit.ly/3Bgw4bu
- DC Now Data Analysis: https://bit.ly/42coxXw
- DC KARA NOT DEAD AT ALL- VCD Method: https://bit.ly/3P6VePw
- Know part of BR Community: https://bit.ly/3iLXS12

User avatar
jrsdc
rebel
Posts: 17

Re: [POD/MONACO] I discovered a tweak that shows each game properly in DC Now

Post#10 » Tue Jun 20, 2023 12:50 am

I conducted the test, and it seems to have worked well. The game I connected to appeared on Dreamcast Now. The online game I was playing, Monaco, was successfully loaded with its image. I will continue conducting tests over the next few days to verify if the issue has been resolved. I will remain in support of my friend Scrivani.

"I will continue conducting the tests in the coming days."

Image

The game's photo was uploaded on Dreamcast Now.
Image

  • Similar Topics
    Replies
    Views
    Last post

Return to “Online”

Who is online

Users browsing this forum: No registered users