[Experimental] Winsock based DEV9 plugin (Now with HDD Support)
#21
v0.5 is up

Adjustments to HDD emulation.
Crash Fix for running out of space when creating a HDD image
Logging Improvements
Alterations to managed interface
Minor fixes to Network emulation.
Crash Fix for when the PS2's TCP stack resent old data.
Add config options, allowing users to specify which adapter for WinSock to bind to and what DNS addresses to use.
Optional Support for WinPcap and Tap, with config options in the plugin.

v0.5.1

Fixes for crashes when using the tap adapter
Reply

Sponsored links

#22
v0.6.0 is up

Improvements for WinSock which should allow Biohazard outbreak to connect on-line.
Possible fix for rare crash on disconnect.

v0.6.1

Minor improvements to Biohazard fixes
Reply
#23
I'd like to post a bug: When working simultaneously with the HDD, the packets the plugin receive from the internet connection will "rewrite" the offset the HDD is currently using. What I mean is this:


Code:
CLR_DEV9:Dev9 Information: 3 : rDMA // Reading something off the HDD
CLR_DEV9:Dev9 Information: 3 : wDMA // Writing something to the HDD, this is the same I get when I receive a packet from online mode.


I've found this out when I was testing a game installed through HDLoader and emulated through OpenPS2Loader. Any time it would receive a packet, something from the game would be rewritten/corrupted and cause some sort of glitch. As in: Graphics vanishing, music stopping, etc.

The best evidence I've got was by making a backup copy of the HDD raw file before playing online. I've done an offline playthrough beforehand and nothing happened, then I've done an online play and the glitches started to show up, better yet, they'd stick even if I restarted the game and played it offline again. Then I restored the HDD raw file and played offline once more, and no glitches to be found.

I'm sorry, I'm not really a good explainer, but you have the idea.
Reply
#24
(09-20-2016, 02:34 AM)alinho Wrote: I'd like to post a bug: When working simultaneously with the HDD, the packets the plugin receive from the internet connection will "rewrite" the offset the HDD is currently using. What I mean is this:


Code:
CLR_DEV9:Dev9 Information: 3 : rDMA // Reading something off the HDD
CLR_DEV9:Dev9 Information: 3 : wDMA // Writing something to the HDD, this is the same I get when I receive a packet from online mode.


I've found this out when I was testing a game installed through HDLoader and emulated through OpenPS2Loader. Any time it would receive a packet, something from the game would be rewritten/corrupted and cause some sort of glitch. As in: Graphics vanishing, music stopping, etc.

The best evidence I've got was by making a backup copy of the HDD raw file before playing online. I've done an offline playthrough beforehand and nothing happened, then I've done an online play and the glitches started to show up, better yet, they'd stick even if I restarted the game and played it offline again. Then I restored the HDD raw file and played offline once more, and no glitches to be found.

I'm sorry, I'm not really a good explainer, but you have the idea.

Thanks for reporting, I'm currently investigating
Reply
#25
Hello there,

First, I'd like to say I'm pretty thrilled about this new plugin and I sure hope to see it being improved. Emulating HDD is like a dream come true.

Second, I understand this is a work in progress and, as such, It's still not 100% stable.

So me and a few friends have been testing the HDD installation on Biohazard Outbreak File 1 and 2 and some glitches have been happening, like weird graphical glitches after a door loading, game hanging during a cutscene or door loading, emu crashing, etc. I did take a look at the console window while it happened and saved a log.

"CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
(EE pc:001A17E0) TLB Miss, addr=0x7e522180 [store]
(EE pc:001A17E4) TLB Miss, addr=0x7e522180 [load]
(EE pc:001A1F80) TLB Miss, addr=0x7e522182 [load]
(EE pc:001A2000) TLB Miss, addr=0x7e522182 [load]
(EE pc:001A17E0) TLB Miss, addr=0x7e522188 [store]
(EE pc:001A17E4) TLB Miss, addr=0x7e522188 [load]
(EE pc:001A1F80) TLB Miss, addr=0x7e52218a [load]
(EE pc:001A2000) TLB Miss, addr=0x7e52218a [load]
(EE pc:00191F08) TLB Miss, addr=0x0 [store]
(EE pc:00191F08) TLB Miss, addr=0x4 [store]
(EE pc:00191F08) TLB Miss, addr=0x8 [store]
(EE pc:00191F08) TLB Miss, addr=0xc [store]
(EE pc:00191F08) TLB Miss, addr=0x10 [store]
(EE pc:00191F08) TLB Miss, addr=0x14 [store]
(EE pc:00191F08) TLB Miss, addr=0x18 [store]
(EE pc:00191F08) TLB Miss, addr=0x1c [store]
(EE pc:00191F08) TLB Miss, addr=0x20 [store]
(EE pc:00191F08) TLB Miss, addr=0x24 [store]
(EE pc:00191F08) TLB Miss, addr=0x28 [store]
(EE pc:00191F08) TLB Miss, addr=0x2c [store]
(EE pc:00191F08) TLB Miss, addr=0x30 [store]
(EE pc:00191F08) TLB Miss, addr=0x34 [store]
(EE pc:00191F08) TLB Miss, addr=0x38 [store]
(EE pc:00191F08) TLB Miss, addr=0x3c [store]
(EE pc:00191F08) TLB Miss, addr=0x40 [store]
(EE pc:00191F08) TLB Miss, addr=0x44 [store]
(EE pc:00191F08) TLB Miss, addr=0x48 [store]
(EE pc:00191F08) TLB Miss, addr=0x4c [store]
(EE pc:00191F08) TLB Miss, addr=0x50 [store]
(EE pc:00191F08) TLB Miss, addr=0x54 [store]
(EE pc:00191F08) TLB Miss, addr=0x58 [store]
(EE pc:00191F08) TLB Miss, addr=0x5c [store]
(EE pc:00191F08) TLB Miss, addr=0x60 [store]
(EE pc:00191F08) TLB Miss, addr=0x64 [store]
(EE pc:00191F08) TLB Miss, addr=0x68 [store]
(EE pc:00191F08) TLB Miss, addr=0x6c [store]
(EE pc:00191F08) TLB Miss, addr=0x70 [store]
(EE pc:00191F08) TLB Miss, addr=0x74 [store]
(EE pc:00191F08) TLB Miss, addr=0x78 [store]
(EE pc:00191F08) TLB Miss, addr=0x7c [store]
(EE pc:00191F08) TLB Miss, addr=0x80 [store]
(EE pc:00191F08) TLB Miss, addr=0x84 [store]
(EE pc:00191F08) TLB Miss, addr=0x88 [store]
(EE pc:00191F08) TLB Miss, addr=0x8c [store]
(EE pc:00191F08) TLB Miss, addr=0x90 [store]
(EE pc:00191F08) TLB Miss, addr=0x94 [store]
(EE pc:00191F08) TLB Miss, addr=0x98 [store]
(EE pc:00191F08) TLB Miss, addr=0x9c [store]
(EE pc:00191F08) TLB Miss, addr=0xa0 [store]
(EE pc:00191F08) TLB Miss, addr=0xa4 [store]
EE: Unrecognized op 130015
EE: Unrecognized op 11034e
EE: Unrecognized op 40005
CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
CLR_DEV9:Dev9 Information: 3 : rDMA
Closing plugins...
Closing DEV9
Closing FW
CLR_DEV9:NetAdapter Information: 1 : Waiting for RX-net thread to terminate..

EE/iR5900-32 Recompiler Reset"

This happens during an official HDD install game, unlike alinho's report above. We would love if you could investigate this as well if you got the time.
Reply
#26
Heres my Dev9 error when i hosted a HDD game in Resident Evil Outbreak File 2.


CLR_DEV9:ATA Error: 5 : 0
CLR_DEV9WackoMAP Error: 4 : ERROR (!(pbd->ctrl_stat & SMAP_BD_RX_EMPTY))
CLR_DEV9WackoMAP Error: 4 : ERROR : Discarding 60 bytes (RX0 not ready)
CLR_DEV9WackoMAP Error: 4 : ERROR (!(pbd->ctrl_stat & SMAP_BD_RX_EMPTY))
CLR_DEV9WackoMAP Error: 4 : ERROR : Discarding 180 bytes (RX0 not ready)
CLR_DEV9WackoMAP Error: 4 : ERROR (!(pbd->ctrl_stat & SMAP_BD_RX_EMPTY))
CLR_DEV9WackoMAP Error: 4 : ERROR : Discarding 84 bytes (RX0 not ready)
CLR_DEV9WackoMAP Error: 4 : ERROR (!(pbd->ctrl_stat & SMAP_BD_RX_EMPTY))
CLR_DEV9WackoMAP Error: 4 : ERROR : Discarding 92 bytes (RX0 not ready)
CLR_DEV9WackoMAP Error: 4 : ERROR (!(pbd->ctrl_stat & SMAP_BD_RX_EMPTY))
CLR_DEV9WackoMAP Error: 4 : ERROR : Discarding 92 bytes (RX0 not ready)
CLR_DEV9WackoMAP Error: 4 : ERROR (!(pbd->ctrl_stat & SMAP_BD_RX_EMPTY))
CLR_DEV9WackoMAP Error: 4 : ERROR : Discarding 92 bytes (RX0 not ready)
CLR_DEV9WackoMAP Error: 4 : ERROR (!(pbd->ctrl_stat & SMAP_BD_RX_EMPTY))
CLR_DEV9WackoMAP Error: 4 : ERROR : Discarding 84 bytes (RX0 not ready)
CLR_DEV9WackoMAP Error: 4 : SMAP_R_EMAC3_TxMODE1_L 32bit write 380F0000
CLR_DEV9WackoMAP Error: 4 : Adapter Detection Hack - Resetting RX/TX
CLR_DEV9WackoMAP Error: 4 : SMAP_R_EMAC3_TxMODE1_L 32bit write 380F0000
CLR_DEV9WackoMAP Error: 4 : Adapter Detection Hack - Resetting RX/TX
CLR_DEV9:WinPcap Error: 7 : Dropping Looping Packet
CLR_DEV9:WinPcap Error: 7 : Dropping Looping Packet
CLR_DEV9:WinPcap Error: 7 : Dropping Looping Packet
Reply
#27
@leotreves

Your issues is likely the same issue that @alinho reported

@Staremind
Do the ERROR : Discarding bytes messages appear only when you boot the game, or does it occur during hosting?
Reply
#28
V0.6.2 is Up

Attempted Crash fix
Fix for games using HDD and Network corrupting the virtual HDD file.

Those that have played games that use HDD and Network (or boot network enabled games via OPL) will need to reinstall the game to fix corruption.
Reply
#29
Thank you, it's working flawlessly now. However, I did get one crash after a long-play. I noticed rDMA and wDMA were sorted out into rSMAP/rATA and wSMAP/wATA. But I think some instances where the old method is called are still present, cuz' I got this when the game crashed:

Code:
CLR_DEV9:Dev9 Error: 3 : rDMA No Data Read
CLR_DEV9:Dev9 Error: 3 : rDMA No Data Read
CLR_DEV9:Dev9 Error: 3 : rDMA No Data Read
CLR_DEV9:Dev9 Error: 3 : rDMA No Data Read
CLR_DEV9:Dev9 Error: 3 : rDMA No Data Read
CLR_DEV9:Dev9 Error: 3 : rDMA No Data Read
CLR_DEV9:Dev9 Error: 3 : rDMA No Data Read
CLR_DEV9:Dev9 Error: 3 : rDMA No Data Read
CLR_DEV9:Dev9 Error: 3 : rDMA No Data Read
CLR_DEV9:Dev9 Error: 3 : rDMA No Data Read
Reply
#30
Same error alinho got using OPL to run the game from the emulated HDD. Got it during an infinite door loading.

CLR_DEV9:SMAP Information: 4 : rSMAP
CLR_DEV9:ATA Information: 5 : rATA
CLR_DEV9:SMAP Information: 4 : rSMAP
CLR_DEV9:ATA Information: 5 : rATA
CLR_DEV9:SMAP Information: 4 : rSMAP
CLR_DEV9:ATA Information: 5 : rATA
CLR_DEV9:SMAP Information: 4 : rSMAP
CLR_DEV9:ATA Information: 5 : rATA
CLR_DEV9:SMAP Information: 4 : rSMAP
CLR_DEV9:ATA Information: 5 : rATA
CLR_DEV9:SMAP Information: 4 : rSMAP
CLR_DEV9:ATA Information: 5 : rATA
CLR_DEV9:SMAP Information: 4 : rSMAP
CLR_DEV9:ATA Information: 5 : rATA
CLR_DEV9:SMAP Information: 4 : rSMAP
CLR_DEV9:ATA Information: 5 : rATA
CLR_DEV9:Dev9 Error: 3 : rDMA No Data Read
CLR_DEV9:Dev9 Error: 3 : rDMA No Data Read
CLR_DEV9:Dev9 Error: 3 : rDMA No Data Read
CLR_DEV9:SMAP Information: 4 : rSMAP
CLR_DEV9:SMAP Information: 4 : rSMAP
CLR_DEV9:SMAP Information: 4 : rSMAP
CLR_DEV9:SMAP Information: 4 : rSMAP
CLR_DEV9:SMAP Information: 4 : rSMAP
CLR_DEV9:SMAP Information: 4 : rSMAP
CLR_DEV9:SMAP Information: 4 : rSMAP
Reply




Users browsing this thread: 1 Guest(s)