How to make clrmamepro scan files >4 GB?

User avatar
amarok
Posts: 679
Joined: Mon Jun 08, 2026 1:26 am

How to make clrmamepro scan files >4 GB?

Post by amarok »

Hi,
like many of you, I use clrmamepro to rename and check my roms/isos. I think my version is quite up-to-date (3.123); I can't check that though since the official page seems to be down. Anyway, I'm having trouble reading files over 4 GB. All my isos are 7-zipped, so the bug might be related to this? When I scan my PS2 folder, for example, I get this warning:

Code: Select all

Corrupt Archive File:C:\Emulation\Dumps\Sony Playstation 2\Champions_E.7z | Reason: NO ENTRIES
Corrupt Archive File:C:\Emulation\Dumps\Sony Playstation 2\God of War.7z | Reason: NO ENTRIES
Both the compressed and uncompressed files are well over 4 GB. Does anyone have the same problem? Are there maybe newer versions of clrmamepro fixing this?
User avatar
Rocknroms
Posts: 858
Joined: Mon Jun 08, 2026 1:26 am

Re: How to make clrmamepro scan files >4 GB?

Post by Rocknroms »

I don't know if they have fixed this problem, but seems that images bigger than a standard DVD5 have this problem even if zipped.
My patch requests thread
--------------------------------
User avatar
amarok
Posts: 679
Joined: Mon Jun 08, 2026 1:26 am

Re: How to make clrmamepro scan files >4 GB?

Post by amarok »

So I'm not alone Image Man, I'd love to use RomCenter anyway, if only it could read 7z...
Sotho Tal Ker
Posts: 267
Joined: Mon Jun 08, 2026 1:26 am

Re: How to make clrmamepro scan files >4 GB?

Post by Sotho Tal Ker »

Zip files never supported anything bigger than 4GB Image

I suspect the 2 files you have are indeed corrupt. Did you try to extract them with 7z directly?
User avatar
cHrI8l3
Posts: 314
Joined: Mon Jun 08, 2026 1:26 am

Re: How to make clrmamepro scan files >4 GB?

Post by cHrI8l3 »

I have alot of >4gb iso scanned by clrmamepro and never had any issues
got version 3.118 but dont think thats the case

maybe you are on FAT file system ?
User avatar
Rocknroms
Posts: 858
Joined: Mon Jun 08, 2026 1:26 am

Re: How to make clrmamepro scan files >4 GB?

Post by Rocknroms »

Rocknroms wrote:I don't know if they have fixed this problem, but seems that images bigger than a standard DVD5 have this problem even if zipped.
Sotho Tal Ker wrote:Zip files never supported anything bigger than 4GB Image

I suspect the 2 files you have are indeed corrupt. Did you try to extract them with 7z directly?
Yes it's different, I had no corrupted images. If I remember well it reports something like "impossible to read central directory", by the way it read checksums.
My patch requests thread
--------------------------------
User avatar
amarok
Posts: 679
Joined: Mon Jun 08, 2026 1:26 am

Re: How to make clrmamepro scan files >4 GB?

Post by amarok »

Extracting them directly via 7-zip works like a charm. The files don't seem to be corrupt - I've dumped and packed the games myself. Also, the problem occurs with all 7-zipped isos >4 GB I have, also the wii ones! This means ~10 files which all happen to be >4 GB would have to be corrupt Image And no, I'm not on FAT, I use Vista64 on an NTFS partition.
Good ideas so far, but I guess either clrmamepro or its implementation of 7z is the culprit Image
Last edited by amarok on Fri May 08, 2009 6:19 am, edited 1 time in total.
Sotho Tal Ker
Posts: 267
Joined: Mon Jun 08, 2026 1:26 am

Re: How to make clrmamepro scan files >4 GB?

Post by Sotho Tal Ker »

Then it would be the best to contact Roman directly and write a 'bug report' on the clrmame forums:
http://www.emulab.it/forum/index.php?board=6.0
User avatar
cHrI8l3
Posts: 314
Joined: Mon Jun 08, 2026 1:26 am

Re: How to make clrmamepro scan files >4 GB?

Post by cHrI8l3 »

4gb is exactly limit of addressing with 32-bit...
but I assume you are using 64-bit version cmpro64.exe ?

if so, the only solution would be replace lzma compressor within clrmame with newer one that supports large files
User avatar
amarok
Posts: 679
Joined: Mon Jun 08, 2026 1:26 am

Re: How to make clrmamepro scan files >4 GB?

Post by amarok »

Then it would be the best to contact Roman directly and write a 'bug report' on the clrmame forums
Just did that Image
4gb is exactly limit of addressing with 32-bit...
but I assume you are using 64-bit version cmpro64.exe ?
I'm using 64 bit clrmamepro and 64 bit 7-zip.
if so, the only solution would be replace lzma compressor within clrmame with newer one that supports large files
How would I do that? Does such an updated compressor even exist? Image
Post Reply