MegaDev9 plugin !!!

Discussion in 'PS2 Plugin Questions & Plugin Troubleshooting' started by Luigi__, Aug 14, 2008.

  1. kamilusPL

    kamilusPL New Member

    Messages:
    1
    Likes Received:
    0
    First - thanks for your work.
    But now you will see lots of beggings for ethernet support ;)
    FFXI for PC is just screwed by SE - by require of using 3-D secure cards - so many of EU players just can't pay for a game (lol).
    The only way to pay is... PlayOnline for PS2 (because of PS2 limitations - no way to require 3-D secure cards :lol: ).
    PlayOnline is kinda free tool - so i can send you link on PM if you will be interested in writing this ;)
  2. Luigi__

    Luigi__ Formerly NHervé Emu Author

    Messages:
    821
    Likes Received:
    6
    Yup, sure I'm interested by that PlayOnline tool, if it can help me to add ethernet support
    to my plugin. ATM I'm unable to do it because I have only one game that's Ethernet-compliant,
    and this game doesn't run at all under PCSX2 (yup, black screen and nothing. I'm so
    unlucky :( )

    Apart from that, you're welcome :)
  3. zefie

    zefie New Member

    Messages:
    3
    Likes Received:
    0
    small patch

    This is my patched version of MegaDev9 v1.0.1. All I did was tweak the creation process a bit, to speed up file creation (in theory by 1000x, however real increase is as fast as your system can do it.)

    Nothing else was modified, so don't expect this to fix any bugs or whatever, as I said, I only modified the raw file creation process

    Original memory buffer was 1Kbyte, new memory buffer is 1Mbyte, so it creates alot faster.
  4. rama2

    rama2 Emu author Emu Author

    Messages:
    1,467
    Likes Received:
    0
    Thanks a lot for that, zefie.
    Had to recreate the hdd's a lot in the past when testing some stuff, this would've saved me quite some time :p
  5. zefie

    zefie New Member

    Messages:
    3
    Likes Received:
    0
    There is actually a super fast way on NTFS!

    fsutil file createnew dev9hdd.raw (sizeinbytes)
    fsutil file setzerodata offset=0 length=(sizeinbytes) dev9hdd.raw

    without the ()

    example:
    Code:
    C:\Users\zefie>fsutil file createnew dev9hdd.raw 8388608
    File C:\Users\zefie\dev9hdd.raw is created
    
    C:\Users\zefie>dir dev9hdd.raw
     Volume in drive C is Windows 7 System
     Volume Serial Number is CA72-EE5B
    
     Directory of C:\Users\zefie
    
    09/04/2009  10:43 AM         8,388,608 dev9hdd.raw
                   1 File(s)      8,388,608 bytes
                   0 Dir(s)  118,342,463,488 bytes free
    
    C:\Users\zefie>fsutil file setzerodata offset=0 length=8388608 dev9hdd.raw
    Zero data is changed
    Instant 8G zero'd dev9hdd.raw :)
    Last edited: Sep 4, 2009
  6. Luigi__

    Luigi__ Formerly NHervé Emu Author

    Messages:
    821
    Likes Received:
    6
    Wow! That's a nice way to zerofill the HDD image then!
    I could implement this, however, I'll be using a more intelligent HDD image format in the next versions, which will omit zero-filled sectors (reminder: 1 sector = 512 bytes).
    The pros are that HDD image creation will be instant, and it will save 512 bytes per blank sector (for a brand new image: lots of space saved!). The cons are that compatibility with programs such as WinHIIP will be broken.
  7. rama2

    rama2 Emu author Emu Author

    Messages:
    1,467
    Likes Received:
    0
    Hmm, maybe make it optional then? Dunno, your choice :p
    Oh one slight thing though.
    Can you please remove the debug message "Reading/Writing from/to the unknown reg"?
  8. Luigi__

    Luigi__ Formerly NHervé Emu Author

    Messages:
    821
    Likes Received:
    6
    The "unknown reg" messages are just some debugging junk. They'll be removed in the next version.
  9. rama2

    rama2 Emu author Emu Author

    Messages:
    1,467
    Likes Received:
    0
    Great, that one was spamming away my own debug messages :p
  10. jonemon1

    jonemon1 New Member

    Messages:
    208
    Likes Received:
    0
    hi Luigi____ are you still working on this plugin or not
  11. Luigi__

    Luigi__ Formerly NHervé Emu Author

    Messages:
    821
    Likes Received:
    6
    I actually hardly find the motivation for doing so :(
    So many work with DeSmuME and Dolphin... so many distractions too (I'm not just a coding machine, I have a life too :p)

    However, now that I've fixed those weird troubles due to my HDD, I can safely reinstall Visual Studio and all...
  12. jonemon1

    jonemon1 New Member

    Messages:
    208
    Likes Received:
    0
    ok will good luck in coding
  13. Luigi__

    Luigi__ Formerly NHervé Emu Author

    Messages:
    821
    Likes Received:
    6
    Thank you. :)
  14. Pyramid_Head

    Pyramid_Head Trust No One

    Messages:
    328
    Likes Received:
    0
    Any update on this? :)
  15. Luigi__

    Luigi__ Formerly NHervé Emu Author

    Messages:
    821
    Likes Received:
    6
    Yes, here's version 1.0.2. Download it in the attachment. :p
  16. Pyramid_Head

    Pyramid_Head Trust No One

    Messages:
    328
    Likes Received:
    0
    Thanks Lugi! Nice name and avatar btw ;)

    Are planning on adding ethernet support?
  17. Pyramid_Head

    Pyramid_Head Trust No One

    Messages:
    328
    Likes Received:
    0
    Any update on this? :)
    Last edited: Feb 2, 2010
  18. Luigi__

    Luigi__ Formerly NHervé Emu Author

    Messages:
    821
    Likes Received:
    6
    No. I'm busy with other projects.

    Version 1.0.2 is a fake btw. It's just version 1.0.1. Because I just don't like people asking for updates because they sound like releasing an update is just matter of finding your magical stick and pronouncing some weird phrase and done. If it was the case, we would already have perfect emulators and all.

    I don't know when this will be updated. If I knew, I would have posted a date.

    Also, yes, Ethernet support is planned in a next version. It is mentioned in the first post... which also says why it may never get done for now.
  19. Pyramid_Head

    Pyramid_Head Trust No One

    Messages:
    328
    Likes Received:
    0
    I read it. Thanks for letting me know. Didn't know 1.0.2 was just 1.0.1 :D

    Looking forward to Ethernet support if it gets there. One quick question though. In the system bios it doesn't pick up the HDD. But it did create the image upon booting the game. Any ideas?
  20. Luigi__

    Luigi__ Formerly NHervé Emu Author

    Messages:
    821
    Likes Received:
    6
    What. Despite the fact I had changed nothing at all, not even the version number, and had just added a dummy file in the zip so that the board would let me upload the file. Wow :p

    And about that BIOS related issue, I don't know... also, note that developing DEV9 isn't easy, mainly due to a massive lack of documentation (I only have source code from PS2SDK). For example there's that SCE security command, that allows to recognize if the HDD is a Sony one. I have no idea which data it should return. But, as it seems to be just a "custom" way to send standard commands, I guess it should just behave the same as those standard commands...

Share This Page