Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 [3] 4   Go Down

Author Topic: FS-UAE Net Play Beta  (Read 28759 times)

0 Members and 1 Guest are viewing this topic.

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 307
  • Offline Offline
  • Gender: Male
  • Posts: 3,364
  • Don't forget... Ameboid's need love too!
    • AUW
Re: FS-UAE Net Play Beta
« Reply #30 on: March 09, 2012, 04:12:30 PM »

been thinking - could it be caused by there being no drive on my setups, and is therefore constant checking for the floppy ??

i hope FS is reading this and can comment....

FOL - can you try adding a floppy drive and HDs to a setup?

Thanks
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

FOL

  • PSPUAE Dev Team
  • Site Admin
  • A4000T
  • ******
  • Karma: 690
  • Offline Offline
  • Gender: Male
  • Posts: 3,561
  • Amigakit.com Technical
    • PSPUAE
Re: FS-UAE Net Play Beta
« Reply #31 on: March 10, 2012, 12:14:30 AM »

been thinking - could it be caused by there being no drive on my setups, and is therefore constant checking for the floppy ??

i hope FS is reading this and can comment....

FOL - can you try adding a floppy drive and HDs to a setup?

Thanks

I already tried with floppies and HDD's.
Also tried with just Floppies or just HDD's.
Both resulted in same problem.

Has to be something else in the config, will try and find it once I get chance.
Logged
Quote
Resolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 307
  • Offline Offline
  • Gender: Male
  • Posts: 3,364
  • Don't forget... Ameboid's need love too!
    • AUW
Re: FS-UAE Net Play Beta
« Reply #32 on: March 10, 2012, 10:50:33 AM »

Both resulted in same problem.
Has to be something else in the config, will try and find it once I get chance.

i'm confused. i thought you said you had "reproduced" my config, and it was working fine but added floppies not HDs (like what you posted) and it was ok.....

I need to you to reproduce my setup "from scratch" then and see where it breaks. line-by line if needed - the setup isnt really that long or complex.

Maybe it's to do with using ZIPs as HDs?  I have a version that uses folders you can try instead...  (look on ftp , projects, emulators, fs-uae and the older netplay zip that is there)
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

FrodeSolheim

  • PSPUAE Moderator
  • A600
  • ****
  • Karma: 8
  • Offline Offline
  • Gender: Male
  • Posts: 64
    • FS-UAE Homepage
Re: FS-UAE Net Play Beta
« Reply #33 on: March 10, 2012, 12:19:57 PM »

Hi! -I have been away this week, but now I'm home and can wind down with some emulator coding :)

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.

This is definitely not due to drivers or anything. It means that your FS-UAE does not find the kickstart file (the configuration is not set up correctly for your system). You can post the log if you want help to debug your problem.
Logged

FrodeSolheim

  • PSPUAE Moderator
  • A600
  • ****
  • Karma: 8
  • Offline Offline
  • Gender: Male
  • Posts: 64
    • FS-UAE Homepage
Re: FS-UAE Net Play Beta
« Reply #34 on: March 10, 2012, 12:21:12 PM »

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

Regarding disconnects / error messages: yes, I have of course planned to have the server report back error codes to the client. The current implementation where FS-UAE just quits on error with any message is just a preliminary implementation, due to net play being coded during a single weekend :)

But this is what I am thinking to do: if net play is aborted (for any reason), the server sends error code/message to clients, and shuts down (on unrecoverable errors, at least), but FS-UAE will continue to run in off-line mode (instead of quitting).

This way, it will be possible for players to continue playing alone, or save the game state (if one state is copied to other players, one could in theory continue playing later).

Regarding desyncs, in the future, the game will probably continue (for the same reason as above), but with a clearly marked error message / icon in FS-UAE letting the players know that the game is not in sync -but still, better than just shutting down (allows saving, etc).
Logged

FrodeSolheim

  • PSPUAE Moderator
  • A600
  • ****
  • Karma: 8
  • Offline Offline
  • Gender: Male
  • Posts: 64
    • FS-UAE Homepage
Re: FS-UAE Net Play Beta
« Reply #35 on: March 10, 2012, 12:30:42 PM »

Both resulted in same problem.
Has to be something else in the config, will try and find it once I get chance.

i'm confused. i thought you said you had "reproduced" my config, and it was working fine but added floppies not HDs (like what you posted) and it was ok.....

I need to you to reproduce my setup "from scratch" then and see where it breaks. line-by line if needed - the setup isnt really that long or complex.

Maybe it's to do with using ZIPs as HDs?  I have a version that uses folders you can try instead...  (look on ftp , projects, emulators, fs-uae and the older netplay zip that is there)

It is possible that there is some condition which could cause slowdown (I don't know of any, but..). Hard drive support is probably the least tested feature in FS-UAE -and especially net play + hard drive, which I have barely tested at all. I do plan to find time to improve hard drive support.

Cycle accurate amiga + floppies is definitively currently the best net play setup since this has been tested well.

I will try to prioritize to fix hard drive issues, if you find any specific problems when testing.

By the way, I think it is a good idea to maintain "minimal" configuration files, not edited example.conf. It will be much more readable and easy to spot errors / differences.

For instance, the config posted by FOL could be simplified to:

Code: [Select]
[config]
amiga_model = 1200/020
kickstart_file = ./Roms/kick3.1.rom
fast_memory = 4096
kickstarts_dir = ./Roms/
save_states_dir= ./States/
joystick_port_0 = PLAYSTATION(R)3 CONTROLLER 
joystick_port_1 = dummy joystick
floppy_drive_0 = ./ADF/another_world-1.adf
floppy_drive_1 = ./ADF/another_world-2.adf
floppy_drive_speed = 0
fullscreen = 1
title = InternationalKarate+
sub_title = WHDLoad autoboot

(since all other lines were either comments, or default values anyway!)
I recommend specifying only *exceptions* to default values...
Logged

skateblind

  • Important 'looking' person
  • Forum Mod
  • A2000
  • *****
  • Karma: 668
  • Offline Offline
  • Gender: Male
  • Posts: 509
Re: FS-UAE Net Play Beta
« Reply #36 on: March 11, 2012, 07:04:31 AM »

Thanks for responding, I will send a log sometime today.
Logged
What are you looking at?

FOL

  • PSPUAE Dev Team
  • Site Admin
  • A4000T
  • ******
  • Karma: 690
  • Offline Offline
  • Gender: Male
  • Posts: 3,561
  • Amigakit.com Technical
    • PSPUAE
Re: FS-UAE Net Play Beta
« Reply #37 on: March 11, 2012, 01:00:13 PM »

Both resulted in same problem.
Has to be something else in the config, will try and find it once I get chance.

i'm confused. i thought you said you had "reproduced" my config, and it was working fine but added floppies not HDs (like what you posted) and it was ok.....

I need to you to reproduce my setup "from scratch" then and see where it breaks. line-by line if needed - the setup isnt really that long or complex.

Maybe it's to do with using ZIPs as HDs?  I have a version that uses folders you can try instead...  (look on ftp , projects, emulators, fs-uae and the older netplay zip that is there)

It is possible that there is some condition which could cause slowdown (I don't know of any, but..). Hard drive support is probably the least tested feature in FS-UAE -and especially net play + hard drive, which I have barely tested at all. I do plan to find time to improve hard drive support.

Cycle accurate amiga + floppies is definitively currently the best net play setup since this has been tested well.

I will try to prioritize to fix hard drive issues, if you find any specific problems when testing.

By the way, I think it is a good idea to maintain "minimal" configuration files, not edited example.conf. It will be much more readable and easy to spot errors / differences.

For instance, the config posted by FOL could be simplified to:

Code: [Select]
[config]
amiga_model = 1200/020
kickstart_file = ./Roms/kick3.1.rom
fast_memory = 4096
kickstarts_dir = ./Roms/
save_states_dir= ./States/
joystick_port_0 = PLAYSTATION(R)3 CONTROLLER 
joystick_port_1 = dummy joystick
floppy_drive_0 = ./ADF/another_world-1.adf
floppy_drive_1 = ./ADF/another_world-2.adf
floppy_drive_speed = 0
fullscreen = 1
title = InternationalKarate+
sub_title = WHDLoad autoboot

(since all other lines were either comments, or default values anyway!)
I recommend specifying only *exceptions* to default values...

Aye, I understand, its just a test config.
Whats odd, is it runs full speed on Horaces mac, but not my pc.
I proberly have a very power gfx card compared to horace, so why its slowing down is confusing me.
Logged
Quote
Resolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

skateblind

  • Important 'looking' person
  • Forum Mod
  • A2000
  • *****
  • Karma: 668
  • Offline Offline
  • Gender: Male
  • Posts: 509
Re: FS-UAE Net Play Beta
« Reply #38 on: March 11, 2012, 03:30:06 PM »

Power doesn't translate to compatibility though. Maybe your card is just not very compatible with some of the things FS-UAE does? Maybe it is not the card but some other bit of hardware? What is your cpu idle and stuff like that looking like?
Logged
What are you looking at?

FOL

  • PSPUAE Dev Team
  • Site Admin
  • A4000T
  • ******
  • Karma: 690
  • Offline Offline
  • Gender: Male
  • Posts: 3,561
  • Amigakit.com Technical
    • PSPUAE
Re: FS-UAE Net Play Beta
« Reply #39 on: March 11, 2012, 03:31:57 PM »

Power doesn't translate to compatibility though. Maybe your card is just not very compatible with some of the things FS-UAE does? Maybe it is not the card but some other bit of hardware? What is your cpu idle and stuff like that looking like?

Ok, lets leave this.
As already mentioned, if I can handle WinUAE maxed out on all settings then this should'nt be a problem.
Logged
Quote
Resolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

FrodeSolheim

  • PSPUAE Moderator
  • A600
  • ****
  • Karma: 8
  • Offline Offline
  • Gender: Male
  • Posts: 64
    • FS-UAE Homepage
Re: FS-UAE Net Play Beta
« Reply #40 on: March 11, 2012, 03:37:29 PM »

Whats odd, is it runs full speed on Horaces mac, but not my pc.
I proberly have a very power gfx card compared to horace, so why its slowing down is confusing me.

Hitting Ctrl+F10 will enable a debug view which can give some indication on what part of FS-UAE is struggling.

Under ideal conditions, it should look something like this (attached) in full sync mode. Both emulation and display is running at 50Hz. Spikes in the SYS and EMU graphs indicate problems. Perhaps you could post a screenshot of your FS-UAE?
Logged

Hungry Horace

  • Amorphous Blue-Blob Man
  • Site Admin
  • A4000T
  • ******
  • Karma: 307
  • Offline Offline
  • Gender: Male
  • Posts: 3,364
  • Don't forget... Ameboid's need love too!
    • AUW
Re: FS-UAE Net Play Beta
« Reply #41 on: March 11, 2012, 09:43:05 PM »

Had slow downs myself on my MacBook 2.2ghz dual core Fol....

I have just reinstalled the OS and it's now running full-speed.

Perhaps there is some other background task causing problems? Could just be a matter of giving fs-UAE the priority?

My Macmini (which I have been running on most of the time) is a higher spec, dual core 2.6 and a better gfx card , so saying "its ok on Horace's mac, it should work on my pc" doesn't mean much, because I've been running on a higher spec machine than yours. Gfx cards affect emulator performace very little afaik.
« Last Edit: March 11, 2012, 09:47:08 PM by Hungry Horace »
Logged
Quote from: KillerGorilla
because winuae is made of code and your amiga is made of stuff

FrodeSolheim

  • PSPUAE Moderator
  • A600
  • ****
  • Karma: 8
  • Offline Offline
  • Gender: Male
  • Posts: 64
    • FS-UAE Homepage
Re: FS-UAE Net Play Beta
« Reply #42 on: March 16, 2012, 09:57:23 PM »

0.9.13beta3 (http://www.ultimateamiga.co.uk/index.php/topic,9482.msg44068.html#new) has improved file system mounting support, and should fix slowdowns occurring while accessing files.
Logged

skateblind

  • Important 'looking' person
  • Forum Mod
  • A2000
  • *****
  • Karma: 668
  • Offline Offline
  • Gender: Male
  • Posts: 509
Re: FS-UAE Net Play Beta
« Reply #43 on: March 21, 2012, 11:50:36 PM »

I am amazed at the speed, I have been so used to disappointment with online amiga gaming and now this WIP comes out and kick arse! Having the developer around to help with problems has of course been fantastic too.  :)

Just some thoughts, I know you are planning on some if not all these things, but I just wanted to put it out there just in case.

Wish list:

Chat function
Better quit function
GUI in general, but also for network stuff.
Checks for the 2 different file type names for 360 controllers.(Mine is fine now, but others will have this problem.)
Taunt button.(So I can taunt Horace and FOL with one key press mid-game) ;)

Of course that will have to wait until you are finished with the main work, which is excellent so far.
Logged
What are you looking at?

FrodeSolheim

  • PSPUAE Moderator
  • A600
  • ****
  • Karma: 8
  • Offline Offline
  • Gender: Male
  • Posts: 64
    • FS-UAE Homepage
Re: FS-UAE Net Play Beta
« Reply #44 on: March 26, 2012, 11:24:55 AM »

I am amazed at the speed, I have been so used to disappointment with online amiga gaming and now this WIP comes out and kick arse! Having the developer around to help with problems has of course been fantastic too.  :)

Just some thoughts, I know you are planning on some if not all these things, but I just wanted to put it out there just in case.

Wish list:

Chat function
Better quit function
GUI in general, but also for network stuff.
Checks for the 2 different file type names for 360 controllers.(Mine is fine now, but others will have this problem.)
Taunt button.(So I can taunt Horace and FOL with one key press mid-game) ;)

Of course that will have to wait until you are finished with the main work, which is excellent so far.

Version 0.9.13beta11 has many of the features you requested :)
http://fengestad.no/wp/fs-uae/download-beta

* Can specify joystick port mode (useful for forcing CD32 gamepad emulation on non-CD32 model).
* Overlay GUI "console" displaying chat and emulation warning messages.
* Emulation will now also close when using the quit function, even if the emulation thread is non-responsive.
* FS-UAE continues in offline mode if net play connection is broken.
* FS-UAE continues in offline mode if a desync or other net play error occurs.
* On-screen connection dialog showing when connecting to net play server.
* FS-UAE will keep try connecting until successful or manually aborted by user (net play server can be started after clients are started..)
* On-screen dialog while waiting for net play game to start (waiting for other players...).
* Integrated text chat for net play.
* Net play HUD / status bar can be toggled on/off with the TAB key.
* Support passwords for net play games (option netplay_password).
* Fadeout effect when closing the emulator.
* Some name changes in custom / advanced input mapping.
* Added aliases for Xbox 360 controllers with slightly different names on some Windows systems.

For net play. this version requires that you also update to the latest net play server.
Logged
Pages: 1 2 [3] 4   Go Up
 

TinyPortal 2.2.2 © 2005-2022