-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Network module replacement (ps2) #2
Comments
Do you think it is possible to create an IRX module that is able to use the broadband adapter instead of the modem? |
It is not possible to just replace the irx module. Skip modem operations (modem recognition, ppp connection).
Replace socket operations (TCP open, read, write, select, close, sockopt).
Yes, I think this is another approach. Gundam DX already have AVE protocol stack and network adapter drivers, so we may just need to imitate how to use them. |
The ps2 version of the game is easy to get, but unsatisfactory for fans. |
From my investigation, as long as we can emulate the correct server response, it is better to use https://github.com/flyinghead/flycast with the DC version. Attached is the MODEM log (I've added the
When the modem is going into the ringing state, it reads + dial the number from the So the DC version is using the MODEM to dial to From the PS2 MIPS code, I also found the game is dialing to a very similar number: Finally the below is the full modem log, you can find that the game instructed the modem to dial a number, handshake correctly and the connection is established successfully. (all by modem emulation, no connection is made actually) Then the game is waiting for the initial data from the server, timed out, and close the connection (reset the modem)
|
thanks for good investigation! |
The ppp code seems to be disabled in the MSVC environment on Windows. |
I decided not to fix this issue. |
The embedded protocol stack AVE_TCP is installed as irx modules in the PS2 game.
In the original implementation, the game communicate with game server through this module.
I think it is difficult to reuse this well, so it is better to develop the replacement module using ps2sdk's tcpip and use it instead of AVE_TCP.
I have no knowledge of the irx module, so I have to start with a survey. Fortunately, the irx module in the game still has debug symbols.
In the future, it may be better to provide patches for the original game iso image.
The text was updated successfully, but these errors were encountered: