Daytona USA Progress

Online games, how to get online, and anything involving Dreamcast online can be discussed here.
ioncannon
Anarki
Posts: 90

Re: Daytona USA Progress

Post by ioncannon »

Spent a ton of time fixing bugs and getting player join/leave of the lobby/teams working correctly.

I've figured out the packets to start the session as well as to reconnect back to the lobby after one. Session of course doesn't start as we don't have a game server yet.

Image

Image

Only thing left for the lobby server now is:

* Some minor bugs when a player d/cs
* Still gotta figure out how player positions work. Currently you are always p1 regardless.
* Fix a bug with shared memory being set to all players in the team.

Then all that is left is the game server; which should be pretty isolated from the lobby.

User avatar
jial
Developer
Posts: 135
Dreamcast Games you play Online: Phantasy Star Online
Chu Chu Rocket
Worms World Party
Quake 3 Arena
Toy Racer

Re: Daytona USA Progress

Post by jial »

You are doing a great job, any effort about reviving Dreamcast services deserve our gratitude.

User avatar
Sonic1994DC
Vagabond
Posts: 769
Dreamcast Games you play Online: PSO Ver.2, Outtrigger, Driving Strikers, ClassiCube, POD, Maximum Pool, Alien Front, DCPlaya
Location: Gainesville, Florida
Contact:

Re: Daytona USA Progress

Post by Sonic1994DC »

ioncannon wrote:Spent a ton of time fixing bugs and getting player join/leave of the lobby/teams working correctly.

I've figured out the packets to start the session as well as to reconnect back to the lobby after one. Session of course doesn't start as we don't have a game server yet.

Image

Image

Only thing left for the lobby server now is:

* Some minor bugs when a player d/cs
* Still gotta figure out how player positions work. Currently you are always p1 regardless.
* Fix a bug with shared memory being set to all players in the team.

Then all that is left is the game server; which should be pretty isolated from the lobby.
What a fantastic job you've done. How close would you say this is almost playable online again?

ncman071
Vagabond
Posts: 710
Dreamcast Games you play Online: Quake 3 Arena
Starlancer
AFO
Tetris
Maximum Pool
CCR
4x4
PSO v2
Location: North Carolina

Re: Daytona USA Progress

Post by ncman071 »

wow totally impressed with these accomplishments! Daytona is such a great game. Hard to believe just how many games work online for the dreamcast

ioncannon
Anarki
Posts: 90

Re: Daytona USA Progress

Post by ioncannon »

Not much to update in terms of features; but I did find all the socket library functions. Originally I had reverse engineered the low-level Access TCP lib that all these games used, but turns out the upper functions I had labeled were part of the old Berkley Sockets lib that is used in Windows, Unix, and Dreamcast (an implementation of it).

This let me map out the whole network stack for both the Lobby and Net portion of the game. I can see when a socket is made, bound, connected, and recv/send data, and if it is using UDP or TCP. This led me to find that there is a UDP socket being made for pinging individual clients; and completes the rest of the Player struct I was confused about.

Still looking at the NET ENGINE side of things and trying to figure out if it's Peer2Peer (clients connect into each other) or it's expecting a relay server of some kind. I do know non-host clients try to send a UDP packet into the ether on port 0x7F7F. It's just 4 bytes of random data.

Sennar83
rebel
Posts: 19
Dreamcast Games you play Online: all games online

Re: Daytona USA Progress

Post by Sennar83 »

Great. What is missing yet?

User avatar
rjbr
dark night
Posts: 50
Dreamcast Games you play Online: pso v2 e quake 3, 4x4 evo, ooga booga, monaco, tetris, maximum pool, pba, Daytona Usa
Location: Brasil

Re: Daytona USA Progress

Post by rjbr »

Will we have this game online again soon?

User avatar
3style
lithium
Posts: 48

Re: Daytona USA Progress

Post by 3style »

Great job! What is the progress approximately so far, more than 50% ?

Sennar83
rebel
Posts: 19
Dreamcast Games you play Online: all games online

Re: Daytona USA Progress

Post by Sennar83 »

ioncannon wrote:Not much to update in terms of features; but I did find all the socket library functions. Originally I had reverse engineered the low-level Access TCP lib that all these games used, but turns out the upper functions I had labeled were part of the old Berkley Sockets lib that is used in Windows, Unix, and Dreamcast (an implementation of it).

This let me map out the whole network stack for both the Lobby and Net portion of the game. I can see when a socket is made, bound, connected, and recv/send data, and if it is using UDP or TCP. This led me to find that there is a UDP socket being made for pinging individual clients; and completes the rest of the Player struct I was confused about.

Still looking at the NET ENGINE side of things and trying to figure out if it's Peer2Peer (clients connect into each other) or it's expecting a relay server of some kind. I do know non-host clients try to send a UDP packet into the ether on port 0x7F7F. It's just 4 bytes of random data.
Hi

News?

ncman071
Vagabond
Posts: 710
Dreamcast Games you play Online: Quake 3 Arena
Starlancer
AFO
Tetris
Maximum Pool
CCR
4x4
PSO v2
Location: North Carolina

Re: Daytona USA Progress

Post by ncman071 »

i'm sure it will be updated when more progress happens...i dont know what it takes...but i do know it takes so much effort in reversing these games/servers and on top of that...these people have their own lives/jobs/families they deal with in real life

  • Similar Topics
    Replies
    Views
    Last post
  • Progress with questions
    by sutt22 » » in Online
    3 Replies
    6590 Views
    Last post by sutt22
  • (dream neo) how to save scores and progress?
    by Sax20 » » in Emulation
    6 Replies
    8010 Views
    Last post by Sax20
  • Shenmue Challenge on the Sega Saturn - See the Progress!
    by NeoSnk » » in Other Consoles
    4 Replies
    5876 Views
    Last post by NeoSnk
  • Daytona USA Lap Times!
    by bungieman28 » » in Lounge
    2 Replies
    1716 Views
    Last post by Woodneeded
  • Daytona Disconnects
    by Raduga » » in Online
    7 Replies
    7610 Views
    Last post by Xiden