PS2: MegaDev9 plugin v1.0.0 - 模擬器

Anonymous avatar
By Anonymous
at 2008-08-16T12:03

Table of Contents


http://forums.ngemu.com/ps2-plugin-questions-troubleshooting/109713-megadev9-
plugin.html

Hi,

I′ve written a DEV9 plugin that emulates HDD.

DEV9 is a part of the PS2 that handles USB, HDD and Ethernet.
In PCSX2, USB is handled by a USB plugin, HDD and Ethernet are handled by a
DEV9 plugin.

To get it working :

1- Put MegaDev9.dll in the plugins folder of PCSX2 (NOT THE ROOT FOLDER),
otherwise it won′t
show up in the plugins list. The plugin doesn′t require any external DLL to
work.

2- Make sure you′ve a DEV9-capable PS2 BIOS. Slim PS2 BIOSes aren′t
compatible, your HDD
programs will always think the HDD isn′t formatted (Thanks to Suloku for
this info), and BIOSes
from old PS2s with PCMCIA may cause problems too. You must also have the
EROM, ROM1 and ROM2
files with your BIOS. In other words, you must have a complete BIOS dump from
your PS2. Don′t
complain that the plugin doesn′t work if you′re using a downloaded
(illegal) BIOS.

3- Configure the plugin. For that you must launch PCSX2, select MegaDev9 in
the DEV9 plugins
list and click on the Configure button. A GUI will show up, here′s its
description :
-Enable logging : this is only for debugging purposes. The plugin will write
all events
to a file.
-HDD file : enter the path and the name of the HDD image (see below for more
info about
HDD image). If you leave it, the image will be created in the PCSX2 root
folder.
-HDD size : select the size you want for the emulated HDD (HDD image). You
can choose
from 1 GB to 127 GBs. I recommend selecting at least 8 GBs, lewer sizes could
cause problems.

4- Launch your program. The first time, the HDD image will be created in the
path that you
previously configured. Then your program will ask for formatting if it′s
able to do this. If
you followed the previous steps right, your program won′t ask for formatting
anymore, nor other
programs will do.

The HDD image is a file that will be used as a HDD, ie. when your program
writes data in the
HDD, the plugin will write these data in this file. Don′t delete or move it
without
reconfiguring the HDD file path in the plugin, or you may cause problems.



Troubleshooting
Note : if your problem persists or if it′s not described here, tell it to
me. Attach a log file
if possible.

My program always asks for formatting.
If you′ve this problem, make sure you′ve a complete BIOS dump from a
DEV9-capable PS2. The
first models with PCMCIA aren′t DEV9-capable, and the slim PS2s aren′t too.
Make sure the
console doesn′t tell it couldn′t find rom1, rom2 or erom, these files are
needed.

My program fails writing to the HDD.
Make sure you′ve enough space on your real HDD and also that the HDD image
is big enough. Make
sure the HDD image doesn′t have read-only attribute.

When I use savestates, I′ve problems with HDD funcs in my program.
That′s normal, savestates aren′t supported yet.

When I use the HDD command X, it doesn′t work, it reports an error.
The command you′re trying to use isn′t implemented, or you′re passing
invalid args.

How can I copy games with HDLoader ?
You can′t do this for the moment, except if GiGaHeRz′s CDVD plugin works
for you (it supports
changing DVD on the fly).



Note :
I designed the plugin to be as many portable as possible. The only Win32-only
thing is the GUI.
If somebody is interested in porting the plugin for Linux, he′s free to do
it. Isolate all the
Win32-specific code snippets with #ifdef / #endif tags.

Changelog :

Version 1.0.0
First version, support for HDD emulation.

Download the plugin and its sources in the attachments.

Credits to :
- Sources of PS2SDK and DEV9Linuz, without them I think I couldn′t have
figured out how DEV9 works.
- Various documents explaining how PC IDE controllers work, the DEV9 one
works identically
- Suloku for pointing the compatibility problems with slim PS2 BIOSes.

--

All Comments

PS2:LilyPad v0.9.4

Lily avatar
By Lily
at 2008-08-16T11:59
http://forums.ngemu.com/ps2-plugin-questions-troubleshooting/87274-lilypad- new-pad-plugin-lame-name.html 0.9.4 Changes (More detailed changelog in archiv ...

SNES: Super Sleuth 1.04 Pre 6

Franklin avatar
By Franklin
at 2008-08-16T11:55
http://users.tpg.com.au/advlink/spx/ The relatively unknown SNES emulator Super Sleuth was updated after two years of silence. 2008-08 Version 1.04 Previ ...

PS2:Gigaherz cdvd Plugin 0.7wip3

Liam avatar
By Liam
at 2008-08-16T11:53
http://forums.ngemu.com/ps2-plugin-questions-troubleshooting/99610-gigaherzs- cdvd-plugin.html Hi people, I have been fixing and reorganizing the cdvd plu ...

MAME/SDLMAME v0.126u5

Zanna avatar
By Zanna
at 2008-08-16T11:51
SDLMAME v0.126u5 http://rbelmont.mameworld.info/?page_id=163 MAME v0.126u5 http://www.mamedev.com/ On the Source Updates page. The dev cycle for 0.126 is ...

ePSXe 1.70 繁體中文版可以用PS手把嗎?

Catherine avatar
By Catherine
at 2008-08-16T11:21
昨天才知道ePSXe 昨晚抓了來用 不過我沒遊戲手把只能用鍵盤玩 我想請問 網路上有賣PS手把轉USB的轉接線 或是USB的電腦遊戲手把 請問這兩種東西可以用在ePSXe上嗎? 如果可以的話 裝上就可以偵測到,直接使用嗎? 謝謝 昨天在翻我的PS時 翻到一個很久以前買的記憶卡轉USB讓電腦讀取的線 不 ...