FS-UAE Net Play Beta

Started by FrodeSolheim, February 25, 2012, 12:03:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FrodeSolheim

Quote from: Hungry Horace on March 01, 2012, 07:34:44 PM
FS - you remember the problem i had running the server program, due to having the 'wrong' python etc? Is there any chance that will be changed?

Yes, the latest version of the server (http://fengestad.no/wp/fs-uae/net-play) has been made Python 3-compatible.

Quote from: Hungry Horace on March 01, 2012, 07:34:44 PM
Will it be made easier? Will re-connects be possible on the same server?
I would love to have some servers hosted by Ultimate Amiga permanently! (if FOL will allow it)

All further net-play development depends on what feedback I get from testing. If it works well, and people like it / use it, I will likely develop it further. The server as it is today will not allow reconnect -it's for one game only. When the game is done, the server shuts down.

A likely further development would introduce a two-layered server. A master server to receive game setup requests, and then spawn a "child server" to handle that game on it's own dedicated port. The master server would run all the time and allow new games to be started. Should probably have password protection etc also.

FrodeSolheim

Version 0.9.11beta2:
* Floppy swapping is performed synchronized in net play mode.
* GUI Reset action can be used with net play.
* Save state saving and restoring is now synchronized in net play mode.
* Parallel port joystick emulation (joystick_port_2, joystick_port_3).
* Reduced input lag in net play games.
* Custom gamepad/joystick -> action mapping.
* Custom keyboard -> action mapping.
* Support mounting zip files as (read-only) volumes.
* Read command line arguments earlier (fixes a Configurations dir issue).
* Renamed "amiga_joystick" config value to "dummy joystick" (more descriptive).
* Renamed "amiga_mouse" config value to "dummy mouse" (more descriptive).
* Floppy speed setting was already implemented, but not documented.
* Finally implemented the volume mute function for OpenAL.
* Detect refresh rate properly on Mac OS X.

Download the beta version (binaries and source) here:
http://fengestad.no/wp/fs-uae/download-beta

(Documentation for custom input events -> actions mapping is not written yet)

FrodeSolheim

Version 0.9.11beta3

* Fixed a bug where large positive mouse movement became negative.
* Event information is written to Synchronization.log during net play (this file can be quite large) -cannot be disabled yet.
* Include slow memory in memory checksumming (chip + slow, now).
* Replaced a busy-loop in net play with proper condition signal/wait, using significantly less CPU now.
* Fixed a race condition in the net play server where input events could be sent to some clients out of order (with regard to frames). This would have caused desync when it occurred.
* Fixed a bug in the net play server where input events could be sent to some clients before all clients were connected.
* Detect refresh rate properly on Mac OS X (was not included in 0.9.11beta2).

Version 0.9.11beta3 can be download here: http://fengestad.no/wp/fs-uae/download-beta

For net play, this version is incompatible with earlier FS-UAE releases, and also requires an updated server: http://fengestad.no/wp/fs-uae/net-play

skateblind

Would I need any other drivers or files besides the ones included with the FS-UAE and the netplay files?
I am having a problem where I am using the exact same setup as FOL and Horace, but mine boots to the aros eyes screen and does nothing else, even though I have the exact same files in the exact same folders as the other two. I have 64bit Win 7.
What are you looking at?

FOL

Quote from: skateblind on March 07, 2012, 11:22:47 PM
Would I need any other drivers or files besides the ones included with the FS-UAE and the netplay files?
I am having a problem where I am using the exact same setup as FOL and Horace, but mine boots to the aros eyes screen and does nothing else, even though I have the exact same files in the exact same folders as the other two. I have 64bit Win 7.

You installed openAL? its on the download page.
QuoteResolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

Hungry Horace

on NetPlay mode, a simple pop-up on forced exit would be nice

"fs-uae quit due to server no longer being available"
"fs-uae quit due to de-sync detected"

that sort of thing.

I cant seem to work out the reason for our disconnections from the .log file

Quote from: KillerGorillabecause winuae is made of code and your amiga is made of stuff


skateblind

Quote from: FOL on March 07, 2012, 11:52:48 PM
Quote from: skateblind on March 07, 2012, 11:22:47 PM
Would I need any other drivers or files besides the ones included with the FS-UAE and the netplay files?
I am having a problem where I am using the exact same setup as FOL and Horace, but mine boots to the aros eyes screen and does nothing else, even though I have the exact same files in the exact same folders as the other two. I have 64bit Win 7.

You installed openAL? its on the download page.

Yes, I have.
What are you looking at?

FOL

#22
Been playing around with play server. To make it easier, as I have never had to install python before.
I made it so it creates win executable with dependants.
Removes the need for installing python on windows machine.

I wrote a quick BAT file to run all commands to make enduser dist.
Works great.

Is it ok to upload it FS?
Scratch that, appears to include 6 os dlls including kernel.
So wont be able to upload it.
QuoteResolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

FOL

Horace, turns out all my slow-mo problems were caused by your configs.
I tried a simple A500 config and it boot with "Very Accurate" and was full speed and perfect, :).

Is wierd though.
QuoteResolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

Hungry Horace

Quote from: FOL on March 08, 2012, 03:56:34 PM
Horace, turns out all my slow-mo problems were caused by your configs.
I tried a simple A500 config and it boot with "Very Accurate" and was full speed and perfect, :).

Is wierd though.

maybe it was the lack of 'space' in the line:

accuracy=0

change to

accuracy = 0

and tell me what happens

there is nothing special about my configs

what sync options did you use?

i had;
sync = auto

maybe your machine cant handle the AGA or higher-end A1200 options , i.e.
model = A1200/020
Quote from: KillerGorillabecause winuae is made of code and your amiga is made of stuff


FOL

#25
Quote from: Hungry Horace
maybe your machine cant handle the AGA or higher-end A1200 options , i.e.
model = A1200/020

Hmmmm, I can emulate higher in WinUAE without issue, your really telling me it cant handle E-UAE?

EDIT:-Just setup my own 1200/020 config, result is a full speed, no slowdown emu, :).
So has to be the config file.
QuoteResolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

Hungry Horace

#26
be reasonable FOL - how can a config file itself cause a slowdown?

it cant - only the settings within it can cause the slowdown, and even then, it's because the computer / emulator doesnt like something about what options are being set.

Post your exact setup here. in the code [ ] tags and/or upload your config here.

set all the options in your config the same as my config one at a time, and tell me when the slow-down occurs?

- add the memory settings
- add the hard drives, using the same files/folders i gave you
- add the other misc. hardware settings

you also didnt answer my questions about the other settings :/  I cant diagnose the problem without info!
Quote from: KillerGorillabecause winuae is made of code and your amiga is made of stuff


Hungry Horace

#27
@ FrodeSolheim

I am running Version 0.9.11beta3

I have a 3 HD setup running, Drives 1 and 2 are using ZIP files and are read-only.

Drive 3 is an HD Folder. I am trying to use this as a "saves" folder for WHDLoad.

I have managed to get WHDload to read my files from this folder, this is working fine.

However, when saving a game (in this case, The Settlers) there is no indication of any OS-Swaps (black screen) taking place, as I think there should be. The game says that the file has saved, but when i go to reload it it is not updated. There is no change to the date-stamp of the file on the Host machine either.

Could you look into this? I can post setup files / configs if needed. It could just be a bug with HD-folders pretending to be Writable when they are not (using CLI says the drive is READ/WRITE)


edit : ignore the above, this relates to WHDload running from a Read-Only drive i believe now

I also cannot save save-states with HD setups? The last one crashed my Mac really badly, so I do not really feel like testing it again!!!

I am trying to find "safe" (secure) ways of managing save-games online. (WHDload high-scores have been re-directed to the RAM: to help prevent possible future de-syncs, but other games will need to save their progress somehow.)

Thanks
Quote from: KillerGorillabecause winuae is made of code and your amiga is made of stuff


FOL

#28
Quote from: Hungry Horace on March 08, 2012, 05:35:22 PM
be reasonable FOL - how can a config file itself cause a slowdown?

it cant - only the settings within it can cause the slowdown, and even then, it's because the computer / emulator doesnt like something about what options are being set.

Post your exact setup here. in the code [ ] tags and/or upload your config here.

set all the options in your config the same as my config one at a time, and tell me when the slow-down occurs?

- add the memory settings
- add the hard drives, using the same files/folders i gave you
- add the other misc. hardware settings

you also didnt answer my questions about the other settings :/  I cant diagnose the problem without info!

I was being resonable. You were insisting it must be my computer. If I was using my laptop, then yeh I would agree.
I tried the settings you posted in earlier post exact same issue.
I even went back to your original config for IK+ and changed same settings, still same issue.
I then created my own with just A1200/020, 2MB Chip, 4MB Fast and pointed it to a floppy.
Result was a full speed emulation, no slow down at all.


[amiga]
model = 1200/020
accuracy = 1
#cycle_exact = 0
#ntsc_mode = 0
kickstart_file = ./Roms/kick3.1.rom
#kickstart_ext_file = /path/to/extended-kickstart.rom
chip_memory = 2048
# slow_memory = 512
fast_memory = 4096
#zorro_iii_memory = 4096
grab_input = 1
#bsdsocket_library = 0


[paths]
kickstarts_dir = ./Roms/
save_states_dir= ./States/
# floppy_overlays_dir = ./Overlays/
# flash_memory_dir = ./Flash/
# controllers_dir = ./Controllers/
# logs_dir = ./logs/
# base_dir = ./


[input]
joystick_port_0 = PLAYSTATION(R)3 CONTROLLER 
joystick_port_1 = dummy joystick
# joystick_port_2 =
# joystick_port_3 =


[media]
floppy_drive_0 = ./ADF/another_world-1.adf
floppy_drive_1 = ./ADF/another_world-2.adf
# floppy_image_n = /path/to/adf_or_ipf
floppy_drive_volume = 20
floppy_drive_speed = 0

# cdrom_drive_0 = ./iso/CD32.iso
# cdrom_image_n = ./

#hard_drive_0 = ./Games/_BootHD.zip
#hard_drive_1 = ./Games/InternationalKarate+.zip
#hard_drive_2 = ./Saves/InternationalKarate+/

#hard_drive_0_label = BootHD
#hard_drive_1_label = Game
#hard_drive_2_label = Saves/InternationalKarate+

[video]
fullscreen = 1
# fsaa = 4
sync = auto
# keep_aspect = 1
# viewport = 0 0 752 574
# viewport = 74 36 640 400

[application]
title = InternationalKarate+
sub_title = WHDLoad autoboot

# netplay_server = 192.168.1.96
# netplay_port = 9999
# netplay_tag = Horace
QuoteResolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

Hungry Horace

so you are saying that adding HD's causes massive slowdown?
Quote from: KillerGorillabecause winuae is made of code and your amiga is made of stuff