Emuforums.com

Go Back   Emuforums.com > PS2 Emulation > PS2 Plugin Questions & Plugin Troubleshooting
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read

WON'T YOU JOIN US?
You are not a registered member and
are viewing this site as a guest.
Registration is simple and FREE.
Join this CrowdGather community today.
Registration offers the following perks:

» Less advertising throughout
» Post and participate in discussions
» Network with other forum members
» Free private messaging

join

Reply
 
Thread Tools Display Modes
Old February 1st, 2008, 19:13   #1
GiGaHeRz
B( o Y o )BS!
 
GiGaHeRz's Avatar
 
Join Date: Feb 2002
Location: Spain
Posts: 895
Gigaherz's cdvd plugin

Latest Stable Version: (none yet!)
Latest Beta Version: (none yet!)
Latest Experimental Version: 0.7 wip4 [WIP!]

In v0.7wip4, disc change detection works, but I don't know if the games will work after swapping.
Starting with an empty drive, and then closing the tray in the bios does NOT work for me.

On the other side, this version should be a LOT faster than other cdvd plugins using real discs, specially when playing FMVs.


Rant:
Heya people,

A few days ago I started to code a CDVD plugin using IOCtl raw reading as the access method.

The main reasons I started this plugin were:
1. To have the ability to start the emulator without a disk in the drive, and to be able to swap discs anytime.
2. To be able to keep some kind of "cache" or maybe a file with "hints" about what is the game gonna read next.

At the moment, the plugin will start without a disc, and will detect when the disc is removed or inserted, but sometimes it fails to detect the disc correctly and it will report the disc as being illegal (making the bios show that annoying red screen).

I have attached two versions of the plugin: v0.1 and v0.1b2. The code is all the same for both, with the exception b2 has pauses after detecting a new disc. These pauses might help in avoiding discs being detected as illegal, but make the detection slower.

In any case, it's a really young plugin, just a few days old, so enjoy it as much as you can, and tell me of any problems you find on it!

Note: If anyone is interested, the code can be downloaded from the SPU2ghz SVN server in SourceForge.net .
Attached Files
File Type: rar cdvdGigaherz-v0.4r2.rar (134.9 KB, 1062 views)
File Type: rar cdvdGigaherz-v0.4r3.rar (42.5 KB, 252 views)
File Type: rar cdvdGigaherz-v0.4r4.rar (135.1 KB, 448 views)
File Type: rar cdvdGigaherz-v0.5r2.rar (42.5 KB, 491 views)
File Type: rar cdvdGigaherz-v0.6.rar (42.5 KB, 2800 views)
File Type: rar cdvdGigaherz-v0.7wip3.rar (76.4 KB, 3143 views)
__________________
"There's only one absolute truth in our world: shït happens." - Gigaherz (whoever decided "s-h-i-t" is a obscene word needs to grow up a few years)

The Book and other stories:
Tears of Fantasy - An Online Book... by ME!
MetaLife, Inc. (intro)
SubGaea (intro)
Crow Blade (intro for now)
Memories - Prayer from the fallen hearts.

My weblog... not like if there was too much to read on it tho.
For anyone interested, there's a mirc script which converts "/me 's" into " * nickname's whatever" and adds a nice "/my" command.

Last edited by GiGaHeRz; August 17th, 2008 at 20:01..
GiGaHeRz is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old February 1st, 2008, 19:36   #2
petit français
Registered User
 
petit français's Avatar
 
Join Date: Feb 2007
Location: France
Posts: 61
Thnaks you !

But i have a problem... Nothing appear with Stella Deus and other original ps2 game
__________________
Intel core 2 duo e4400 @ 2950 GHZ
ATI Radeon HD3850 Gigabyte P35C DS3R 2 GB RAM DDR2 PC26400 Kingston

petit français is offline   Reply With Quote
Old February 1st, 2008, 19:44   #3
GiGaHeRz
B( o Y o )BS!
 
GiGaHeRz's Avatar
 
Join Date: Feb 2002
Location: Spain
Posts: 895
Is it only those 2 games or all your games?
Are the games on CD or DVD?
What brand is your drive?

I can't help you or fix anything without enough info!
__________________
"There's only one absolute truth in our world: shït happens." - Gigaherz (whoever decided "s-h-i-t" is a obscene word needs to grow up a few years)

The Book and other stories:
Tears of Fantasy - An Online Book... by ME!
MetaLife, Inc. (intro)
SubGaea (intro)
Crow Blade (intro for now)
Memories - Prayer from the fallen hearts.

My weblog... not like if there was too much to read on it tho.
For anyone interested, there's a mirc script which converts "/me 's" into " * nickname's whatever" and adds a nice "/my" command.
GiGaHeRz is offline   Reply With Quote
Old February 1st, 2008, 19:50   #4
petit français
Registered User
 
petit français's Avatar
 
Join Date: Feb 2007
Location: France
Posts: 61
Sorry

All of my game (dragon quest 8, Final Fantasy 12, Stella Deus, Atelier Iris : Eternal Mana 2) don't work. It block here :

Quote:
Starting GS thread
Using Frame Skipping: Limit
Framelimiter rate updated (cpuExecuteBios): 50 fps
* PCSX2 *: ExecuteBios
NTSC
Framelimiter rate updated (UpdateVSyncRate): 50 fps
NTSC
Framelimiter rate updated (UpdateVSyncRate): 50 fps
# Initialize memory (rev:3.63, ctm:393Mhz, cpuclk:295Mhz detected)
# Total accessable memory size: 32 MB (B:2:8:0) (363:2:7c30)
# TLB spad=0 kernel=1:12 default=13:30 extended=31:38
# Initialize Start.
NTSC
Framelimiter rate updated (UpdateVSyncRate): 50 fps
NTSC
Framelimiter rate updated (UpdateVSyncRate): 50 fps
# Initialize GS ...
# Initialize INTC ...
# Initialize TIMER ...
# Initialize DMAC ...
# Initialize VU1 ...
# Initialize VIF1 ...
# Initialize GIF ...
# Initialize VU0 ...
# Initialize VIF0 ...
# Initialize IPU ...
# Initialize FPU ...
# Initialize User Memory ...
# Initialize Scratch Pad ...
# Initialize Done.

EE DECI2 Manager version 0.06 Jul 4 2001 16:03:45
CPUID=2e20, BoardID=0, ROMGEN=2001-1004, 32M

# Restart Without Memory Clear.
NTSC
Framelimiter rate updated (UpdateVSyncRate): 50 fps
NTSC
Framelimiter rate updated (UpdateVSyncRate): 50 fps
# Initialize GS ...
# Initialize INTC ...
# Initialize TIMER ...
# Initialize DMAC ...
# Initialize VU1 ...
# Initialize VIF1 ...
# Initialize GIF ...
# Initialize VU0 ...
# Initialize VIF0 ...
# Initialize IPU ...
# Initialize FPU ...
# Initialize Scratch Pad ...
# Restart Without Memory Clear Done.
EE Recompiler data reset
* PCSX2 *: ExecuteBios Complete
PCSX2 v0.9.5
ExecuteBios Complete
Games on dvd and brand of my drive : LG GSA H42L
__________________
Intel core 2 duo e4400 @ 2950 GHZ
ATI Radeon HD3850 Gigabyte P35C DS3R 2 GB RAM DDR2 PC26400 Kingston

petit français is offline   Reply With Quote
Old February 1st, 2008, 20:25   #5
Squall-Leonhart
Banned
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 23,270
have you updated to the latest Firmware?
Squall-Leonhart is offline   Reply With Quote
Old February 1st, 2008, 20:39   #6
Air-Gamer
BEYOND All Limits
 
Air-Gamer's Avatar
 
Join Date: Jan 2008
Location: UK
Posts: 101
1 good thing is it makes the bios faster

1 bad thing is it freezes the emu when i put a disc in

any advice on this?
Air-Gamer is offline   Reply With Quote
Old February 1st, 2008, 21:50   #7
Squall-Leonhart
Banned
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 23,270
Quote:
GIF reset
NTSC
* CDVD: Opening drive '\\.\E:'...
* CDVD: IO thread started...
* CDVD: Disk Type: No Disc
creating zerogs
ZeroGS: *********
GS WARNING: Need at least 2 simultaneous render targets. Some zbuffer effects will look wro
*********
ZeroGS: *********
GS ERROR: Need separate alpha blending! Some effects will look bad
*********
ZeroGS: ******
GS WARNING: Need independent write masks! Some z buffer effects might look bad
*********
ZeroGS: ******
GS WARNING: Need MRT Post Pixel Shader Blending for some effects
*********
ZeroGS: ******
GS ERROR: Device doesn't support alpha blending for 16bit floating point targets.
Quality will reduce.
*********
ZeroGS: Creating effects
ZeroGS: Creating extra effects
ZeroGS: GS Using pixel shaders ps_2_a
ZeroGS: Set game options: 0x00400000
init zerogs
SYSTEM.CNF not found
loadElfFile:
ZeroGS: Set game options: 0x00400000
NTSC
NTSC
# Initialize memory (rev:3.63, ctm:393Mhz, cpuclk:295Mhz detected)
Write to 32bit count reg counter 5
Counter 5 count write 0
# Total accessable memory size: 32 MB (B:2:8:0) (363:2:7c30)
# TLB spad=0 kernel=1:12 default=13:30 extended=31:38
# Initialize Start.
NTSC
NTSC
# Initialize GS ...
# Initialize INTC ...
# Initialize TIMER ...
# Initialize DMAC ...
# Initialize VU1 ...
# Initialize VIF1 ...
# Initialize GIF ...
# Initialize VU0 ...
# Initialize VIF0 ...
# Initialize IPU ...
# Initialize FPU ...
# Initialize User Memory ...
# Initialize Scratch Pad ...
# Initialize Done.

EE DECI2 Manager version 0.06 Feb 7 2002 16:41:20
CPUID=2e20, BoardID=0, ROMGEN=2002-0207, 32M

# Restart Without Memory Clear.
NTSC
NTSC
# Initialize GS ...
# Initialize INTC ...
# Initialize TIMER ...
# Initialize DMAC ...
# Initialize VU1 ...
# Initialize VIF1 ...
# Initialize GIF ...
# Initialize VU0 ...
# Initialize VIF0 ...
# Initialize IPU ...
# Initialize FPU ...
# Initialize Scratch Pad ...
# Restart Without Memory Clear Done.
# Restart Without Memory Clear.
NTSC
NTSC
# Initialize GS ...
# Initialize INTC ...
# Initialize TIMER ...
# Initialize DMAC ...
# Initialize VU1 ...
# Initialize VIF1 ...
# Initialize GIF ...
# Initialize VU0 ...
# Initialize VIF0 ...
# Initialize IPU ...
# Initialize FPU ...
# Initialize Scratch Pad ...
# Restart Without Memory Clear Done.
Write to 32bit count reg counter 5
Counter 5 count write 0
Write to 32bit count reg counter 5
Counter 5 count write 0
MFC0 Breakpoint debug Registers code = 0
MFC0 PCCR = 0 PCR0 = 0 PCR1 = 0 IMM= 0
MTC0 PCCR = 0 PCR0 = 0 PCR1 = 0 IMM= 0
MTC0 Breakpoint debug Registers code = 0
MTC0 Breakpoint debug Registers code = 0
MTC0 PCCR = 0 PCR0 = 0 PCR1 = 0 IMM= 0
NTSC
NTSC
* CDVD Disk Open: 1 tracks (1 to 1):
* * Track 1: Data (Mode 2) (2441807 sectors)
* CDVD: Disk Type: PS2 DVD
cdvdReadKey(0, 0, 75)
got further then others
Squall-Leonhart is offline   Reply With Quote
Old February 1st, 2008, 21:58   #8
El_Diablos
iLLiDaN sTormRaGe
 
El_Diablos's Avatar
 
Join Date: Jun 2006
Location: Ukraine, Kharkiv
Posts: 386
why do we need new cdvd plugin ? O_O
I thought CDVDbin 0.65 works very well...
__________________
Intel Core Duo E6750 @ 3.0 Ghz
DDR2 1033 Mhz 2x1 Gb
GeForce 8600GT 256Mb 128 bit
Samsung 500Gb
El_Diablos is offline   Reply With Quote
Old February 1st, 2008, 22:08   #9
Godwin
Banned
 
Godwin's Avatar
 
Join Date: Aug 2005
Location: Ohaio
Posts: 1,069
Giga is trying to crack disc swapping.
Godwin is offline   Reply With Quote
Old February 1st, 2008, 22:14   #10
GiGaHeRz
B( o Y o )BS!
 
GiGaHeRz's Avatar
 
Join Date: Feb 2002
Location: Spain
Posts: 895
Quote:
Originally Posted by El_Diablos View Post
why do we need new cdvd plugin ? O_O
I thought CDVDbin 0.65 works very well...
CDVDbin works with images, mine works with real discs. And peops will not support swapping discs and other features I want to implement later.
__________________
"There's only one absolute truth in our world: shït happens." - Gigaherz (whoever decided "s-h-i-t" is a obscene word needs to grow up a few years)

The Book and other stories:
Tears of Fantasy - An Online Book... by ME!
MetaLife, Inc. (intro)
SubGaea (intro)
Crow Blade (intro for now)
Memories - Prayer from the fallen hearts.

My weblog... not like if there was too much to read on it tho.
For anyone interested, there's a mirc script which converts "/me 's" into " * nickname's whatever" and adds a nice "/my" command.
GiGaHeRz is offline   Reply With Quote
Old February 2nd, 2008, 02:18   #11
Harlay
Registered User
 
Join Date: May 2007
Location: Shanghai
Posts: 36
can i use image with the plugin?
all of my game blocked just like the 4#.
Harlay is offline   Reply With Quote
Old February 2nd, 2008, 08:35   #12
petit français
Registered User
 
petit français's Avatar
 
Join Date: Feb 2007
Location: France
Posts: 61
Quote:
Originally Posted by Squall-Leonhart View Post
have you updated to the latest Firmware?
Yes, the firmware is up-to-date (SL01).

EDIT : Don't work with daemon tool
__________________
Intel core 2 duo e4400 @ 2950 GHZ
ATI Radeon HD3850 Gigabyte P35C DS3R 2 GB RAM DDR2 PC26400 Kingston

petit français is offline   Reply With Quote
Old February 2nd, 2008, 13:10   #13
rama2
Emu author
 
Join Date: Sep 2007
Location: Germany
Posts: 1,467
Works fine here, using deamon tools. No complaints from the emulator, all games i tried run.
Good work, Gigaherz
rama2 is offline   Reply With Quote
Old February 2nd, 2008, 13:13   #14
GiGaHeRz
B( o Y o )BS!
 
GiGaHeRz's Avatar
 
Join Date: Feb 2002
Location: Spain
Posts: 895
Oh well... later today I will implement a diagnostic test (to be accessed in the test button in the config) to check what exactly fails on your pcs.
__________________
"There's only one absolute truth in our world: shït happens." - Gigaherz (whoever decided "s-h-i-t" is a obscene word needs to grow up a few years)

The Book and other stories:
Tears of Fantasy - An Online Book... by ME!
MetaLife, Inc. (intro)
SubGaea (intro)
Crow Blade (intro for now)
Memories - Prayer from the fallen hearts.

My weblog... not like if there was too much to read on it tho.
For anyone interested, there's a mirc script which converts "/me 's" into " * nickname's whatever" and adds a nice "/my" command.
GiGaHeRz is offline   Reply With Quote
Old February 2nd, 2008, 15:06   #15
cyclonmaster
EmuAddict-_-;;
 
cyclonmaster's Avatar
 
Join Date: Apr 2005
Location: Sarawak, Malaysia
Posts: 2,735
Very nice. Thanks. Start testing now
__________________

Win XP SP3 | Monitor BenQ FP 91G+|Intel Core i3-530 2.93GHz | GA-P55-USB3L - GIGABYTE | Albatron 6600GT 128MB PCI-E | Corsairs 2GB DDR3

Laptop Lenovo z460 : Win XP SP3 | Intel Core i5-460M(2.8GHz) | NVidia G310M CUDA DDR3 1GB | 2GB DDR3 Memory | 500GB HDD SATA | 14.1 WXGA LED Display


Please Answer This Survey. Thank You.
cyclonmaster is offline   Reply With Quote
Old February 2nd, 2008, 15:28   #16
Shiro_Yamada
Schoolboy-type guy
 
Shiro_Yamada's Avatar
 
Join Date: Jan 2008
Location: 日本
Posts: 77
Cool, i hope this new pluggin work fine enought to spend some hard disk space.
thanks!!
Shiro_Yamada is offline   Reply With Quote
Old February 2nd, 2008, 15:42   #17
orusskich
Felix Leonhart
 
orusskich's Avatar
 
Join Date: Nov 2004
Location: Russia
Posts: 124
One question: Will the second game work if the bios is NTSC, the first game is NTSC but the second game I swap is a PAL?
__________________
| C2D Q8200 2.3@2.8 | Radeon x4850 Sonic 1gb | 2x2GB DDRII 6400 | Logitech Rumblepad 2 | Lite-On DVD-RW |
| Windows XP SP2 | Windows Vista Ultimate SP1 32 bit |

Felix Leonhart breaks out!
orusskich is offline   Reply With Quote
Old February 2nd, 2008, 17:26   #18
TLIXX
<( '-')>
 
TLIXX's Avatar
 
Join Date: Nov 2005
Location: nom nom nom
Posts: 274
0.1b2 still crashes my action replay max. I'm looking forward to your diagnostic test
__________________
Who is General Failure and why is he trying to access my drive?

Intel Core2Duo E6300 @ 1.86Ghz @ 2.49Ghz
Sparkle 9600GT
Windows Vista Ultimate x86
TLIXX is offline   Reply With Quote
Old February 2nd, 2008, 19:32   #19
GiGaHeRz
B( o Y o )BS!
 
GiGaHeRz's Avatar
 
Join Date: Feb 2002
Location: Spain
Posts: 895
Uploaded v0.2 on the first post earlier. Just marking the thread changed.
__________________
"There's only one absolute truth in our world: shït happens." - Gigaherz (whoever decided "s-h-i-t" is a obscene word needs to grow up a few years)

The Book and other stories:
Tears of Fantasy - An Online Book... by ME!
MetaLife, Inc. (intro)
SubGaea (intro)
Crow Blade (intro for now)
Memories - Prayer from the fallen hearts.

My weblog... not like if there was too much to read on it tho.
For anyone interested, there's a mirc script which converts "/me 's" into " * nickname's whatever" and adds a nice "/my" command.
GiGaHeRz is offline   Reply With Quote
Old February 2nd, 2008, 19:53   #20
afx420
Registered User
 
Join Date: Jan 2007
Location: usa
Posts: 36
by diagnostic do you mean that test button? if so... http://rafb.net/p/a2ROR575.html it fails on step one for me with FFX-2 SLUS_206.72. pc stat: AMD x2 4400+ oc2.6ghz, 2gigs DDR2 667, ATI HD2400 pro, TSSTcorp SH-S182F latest SB02 firmware.
afx420 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 03:00.

© 2006 - 2012 Emu Forums | About Emu Forums | Advertisers | Investors | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.