Daytona USA Progress

Online games, how to get online, and anything involving Dreamcast online can be discussed here.
User avatar
Mechanic
Vagabond
Posts: 793

Re: Daytona USA Progress

Post by Mechanic »

Lovin it !
Italian Stallion

TheTinWhisker
undertow
Posts: 31
Dreamcast Games you play Online: 4x4 Evo, PSO, Crazy Taxi 2, Daytona USA, Quake 3 Arena, Samba de Amigo.
Waiting for Propeller Arena!
Location: Brno, Czech Republic

Re: Daytona USA Progress

Post by TheTinWhisker »

Excellent news about Daytona. I had actually seen the YouTube video before I saw the updated post. Hopefully we can multiplayer soon. I’m ready for some races.

User avatar
Ryo_Hazuki
Graffiti Grind
Posts: 312

Re: Daytona USA Progress

Post by Ryo_Hazuki »

Amazing to be able to follow all the progress of this work, all documented in this topic, great job.

User avatar
mickschen
blackout!
Posts: 135
Dreamcast Games you play Online: All :-P
Location: Germany

Re: Daytona USA Progress

Post by mickschen »

But its for console too or only emulation?

ioncannon
Anarki
Posts: 90

Re: Daytona USA Progress

Post by ioncannon »

kazade wrote:
ioncannon wrote:Was able to get a working Flycast copy with debugger and open ports. Hopefully it doesn't start crashing.


The problem is when an incoming UDP packet is received it reads where it came from; which ends up being the REAL IP address of the machine (not the PPP one). So the "getPlayerForSocket" function returns -1 as it can't find the player, and aborts packet parsing.
So a few other games have the same issue (if I'm understanding you correctly) where they assume the Dreamcast is directly connected to the outside world and so the DC IP is the external IP.

Shuoma made some utilities that are in the Dreampi image which manipulate the packets on the fly to replace the IP address IIRC.
Yep got into contact
mickschen wrote:But its for console too or only emulation?
It should once we fix the PPP IP issue. I've already contacted Shu who made a similar fix for the 2K2 games. Basically a service on the DreamPi looks for the session start packet and rewrites the PPP assigned IP to the real WAN one, so then everything should work properly.

Treamcaster
fire
Posts: 71
Dreamcast Games you play Online: PSOv1/v2

Re: Daytona USA Progress

Post by Treamcaster »

This is LEGENDARY, seriously. Wow.

User avatar
Retro-45
dirty sailor
Posts: 173
Dreamcast Games you play Online: PSO and Quake 3
Contact:

Re: Daytona USA Progress

Post by Retro-45 »

This is gonna be fun
Great job Ioncannon you deserve a break after this man.
Bender: Behold: The Internet!
Fry: My God! It's full of ads!


https://one-eyed-nerd.blogspot.com/

ioncannon
Anarki
Posts: 90

Re: Daytona USA Progress

Post by ioncannon »

Been working on making the lobby server more stable.

* Gutted and replaced all the networking stuff with better code from my other projects.
* Added code to handle disconnects and bad (either due to corruption or hackers) packets.
* Logging in with the same handle or IP will kick the currently logged in duplicate. This is due to limitations of Daytona (it uses the Handle as a unique key for packets, and always assumes your WAN IP is unique due to PPP days).
* Rewrote a bunch of the packing processing code to fix weird sync errors (IE: teams not showing up, or the host not appearing as a host).

Still one big bug with team data being screwy but I think it's just a malformed packet. Otherwise it feels a lot more stable now.

User avatar
itsthinkingstill
Vagabond
Posts: 790
Dreamcast Games you play Online: pso, 4x4, max pool, planet ring, afo, chu chu.... all of them

Re: Daytona USA Progress

Post by itsthinkingstill »

Amazing Work as always, cant wait to play it online!

ioncannon
Anarki
Posts: 90

Re: Daytona USA Progress

Post by ioncannon »

Fixed the team data bug and implemented the (very basic) search feature. There is still the stats stuff which I am unsure how it works; but reward cars at least save when you quit. Other than stats we are now feature complete.

Image

Just more testing to catch anything else and in chats with Shu to getting the PPP issue fixed.

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