Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

*View All Threads*Show in Threaded Mode


SubjectCan't access file error Reply to this message
Posted byalkmar
Posted on05/29/07 02:03 AM



Hello All,

I am logged into my XP SP2 PC as Administrator and I am using clrmamepro 3.101a. I have the a file located at c:\progra~1\mame\roms\gtrfrk2m\929jbb02.chd. This file can be opened, copied, and etc at the command prompt. However I keep getting the following error:

[CLR Output]
Guitar Freaks 2nd Mix Ver 1.01 (GQ883 VER. JAD) [system: System 573 BIOS - folder: gtrfrk2m - size: 512kb]
integrity check failed: 929jbb02.chd [reason: can't access file]

[DIR]
Volume in drive C has no label.
Volume Serial Number is

Directory of C:\PROGRA~1\mame\roms\gtrfrk2m

05/28/2007 10:43 PM .
05/28/2007 10:43 PM ..
03/24/2007 06:30 PM 425,672,704 929jbb02.chd
1 File(s) 425,672,704 bytes
2 Dir(s) 397,129,900,032 bytes free

[ATTRIB]
A C:\PROGRA~1\mame\roms\gtrfrk2m\929jbb02.chd

I have even tried other sources for this file (however that shouldn't matter as it seems to be a file access error). Anyone have any ideas on what may cause this? I have not applied any security or attrib settings to the c:\progra~1\mame\*.* /s folder structure.

Any help is appreciated, thank you.





SubjectRe: Can't access file error new Reply to this message
Posted byRoman
Posted on05/29/07 03:35 AM



Looks like a different task (virusscanner etc) is accessing the file while cmpro wants to access it. I will have a look at it later at home but in the meantime you can try to disable your virusscanner while scanning, turn off other programs which may access the file and so on.

*edit* ok, I've looked at the source code and that error appears when a chd_open fails, i.e. assuming the file exists, some other task blocks the access.


Roman Scherzer



SubjectRe: Can't access file error new Reply to this message
Posted byRetr0Man
Posted on06/13/07 01:49 PM



Hi Roman,

Remember me? Guess not, it's been a while;-) We talked about clrmame in the very beginning... and never ever dared to dream that it would come as far as it is now;-)

I discovered this thread hunting for a solution for the VERY SAME problem! Ik have the file 929jbb02.chd, I can access it, move it, copy it, delete it, whatever.... But clrmame 3.101a together with MAME32 1.16 reports:

Guitar Freaks 2nd Mix Ver 1.01 (GQ883 VER. JAD) [system: System 573 BIOS - folder: gtrfrk2m - size: 512kb]
integrity check failed: 929jbb02.chd [reason: can't access file]


I have disabled the only virus scanner on my system before scanning. I'm not behind a software firewall a spyware blocker.

However!
Also the GUI of MAME 32 1.16 reports the file missing. So maybe it's a problem in MAME 32?

ps: I've tried to download another version of the CHD which gave the same result.

I checked some more with Mame 1.16 guitar freaks games:
Although clrmame, after "deep scan", reports a perfect set (besides the issue mentioned above), MAME32-116 reports problems with guitar freaks 3, 4 and 5. Despite the fact that MAME reports gfreaks missing (black square) these games do launch, reporting that "one or more roms/chd's are incorrect".

I think there's a problem between MAME and CLRMame?

Hope to hear from you, and please let me know if I need to test some more,

Greetz,

|\/|arc

> Looks like a different task (virusscanner etc) is accessing the file while cmpro
> wants to access it. I will have a look at it later at home but in the meantime
> you can try to disable your virusscanner while scanning, turn off other programs
> which may access the file and so on.
>
> *edit* ok, I've looked at the source code and that error appears when a chd_open
> fails, i.e. assuming the file exists, some other task blocks the access.
>
>
> Roman Scherzer
>





SubjectRe: Can't access file error new Reply to this message
Posted bydrfinesse
Posted on06/16/07 01:22 PM



I get this error too. I tried chdman.exe -verify on the file and it says:

Input file: gtrfrk2m\929jbb02.chd
Error opening CHD file: invalid file

So either the file is not a valid CHD file (I am not familiar with the format but maybe an invalid header?) or else a bug was introduced into the chd_open routine used by MAME which causes it to think this file is an invalid CHD file. Obviously the MAME team would have to look at this to figure it out.

> Hi Roman,
>
> Remember me? Guess not, it's been a while;-) We talked about clrmame in the very
> beginning... and never ever dared to dream that it would come as far as it is
> now;-)
>
> I discovered this thread hunting for a solution for the VERY SAME problem! Ik
> have the file 929jbb02.chd, I can access it, move it, copy it, delete it,
> whatever.... But clrmame 3.101a together with MAME32 1.16 reports:
>
> Guitar Freaks 2nd Mix Ver 1.01 (GQ883 VER. JAD) [system: System 573 BIOS -
> folder: gtrfrk2m - size: 512kb]
> integrity check failed: 929jbb02.chd [reason: can't access file]
>
>
> I have disabled the only virus scanner on my system before scanning. I'm not
> behind a software firewall a spyware blocker.
>
> However!
> Also the GUI of MAME 32 1.16 reports the file missing. So maybe it's a problem
> in MAME 32?
>
> ps: I've tried to download another version of the CHD which gave the same
> result.
>
> I checked some more with Mame 1.16 guitar freaks games:
> Although clrmame, after "deep scan", reports a perfect set (besides the issue
> mentioned above), MAME32-116 reports problems with guitar freaks 3, 4 and 5.
> Despite the fact that MAME reports gfreaks missing (black square) these games do
> launch, reporting that "one or more roms/chd's are incorrect".
>
> I think there's a problem between MAME and CLRMame?
>
> Hope to hear from you, and please let me know if I need to test some more,
>
> Greetz,
>
> |\/|arc
>
> > Looks like a different task (virusscanner etc) is accessing the file while
> cmpro
> > wants to access it. I will have a look at it later at home but in the meantime
> > you can try to disable your virusscanner while scanning, turn off other
> programs
> > which may access the file and so on.
> >
> > *edit* ok, I've looked at the source code and that error appears when a
> chd_open
> > fails, i.e. assuming the file exists, some other task blocks the access.
> >
> >
> > Roman Scherzer
> >
>





SubjectRe: Can't access file error new Reply to this message
Posted byRoman
Posted on06/16/07 04:58 PM



> Input file: gtrfrk2m\929jbb02.chd
> Error opening CHD file: invalid file

The mame team doesn't have to look into this. You simply have a bad chd. Get the correct one. You can also recheck with chdman -verify.
There were a couple of bad copies of that file floating aroung..again...get the correct one.


Roman Scherzer



SubjectRe: Can't access file error new Reply to this message
Posted byRoman
Posted on06/16/07 04:59 PM



There is no problem with clrmamepro and not with mame. You simply have a bad file.
Although if it says 'can't access' some other task on your system (and that can be anything) locks the file.
Try to test it with chdman -verify as well.
There were a couple of bad copies of that file floating aroung..again...get the correct one.

Roman Scherzer



View All Threads*Show in Threaded Mode