FrodeSolheim / fs-uae-launcher

A frontend for the FS-UAE Amiga emulator with support for the OpenRetro online game database.
GNU General Public License v2.0
61 stars 14 forks source link

Added option for NTSC #140

Open smarseille opened 2 years ago

smarseille commented 2 years ago

As when emulation happens in NTSC, the games are quite unplayable due to timing issues.

Added extra functionality: --netplay-ntsc=1

This sets the server timing for NTSC emulation.

Added another functionality for later options: --netplay-debug=1 as I was putting some commented prints behind this option. This will be more apparent once I figured out how to make the server stop crashing after client disconnect, and friendly shutdown when last client disconnect.

ztronzo commented 2 years ago

@FrodeSolheim is there a way for whenever FS-UAE changes NTSC/PAL modes, to send an instruction which can be used by the netplay server script to trigger the NTSC-PAL timing change on-the-fly?

smarseille commented 2 years ago

On other hand, could you let me know for what these events are?:

game not started, ignoring input event 000101b9 game not started, ignoring input event 000101c2

They are generated when clients disconnect and game is not started, so I put up a check to unset client when the event 000101c2 happens. This causes the game to be able to register new client without filling up empty spaces when they disconnect.

Now I am not aware what these codes are as they are send from FS-UAE itself. Before submitting that commit I want to make sure if it is the right event codes