Page 1 of 1

Fixed [BUG 3.20] Bug regarding files over 4GB

Posted: Tue Feb 17, 2009 5:55 pm
by odelta
I'm using Romcenter 3.20 on Windows XP SP3. I'm using the latest PS2 redump.org DAT. I am not able to get Romcenter to recognize any ISO's over 4GB. The CRC matches but, Romcenter is not calculating the ISO size correctly. This causes the ISO to not be recognized.

Here is an example.
1. The DAT shows the following:

-----Begin DAT-----
game (
name "Grand Theft Auto III (U) [SLUS-20062]"
description "Grand Theft Auto III (U) [SLUS-20062]"
rom ( name "Grand Theft Auto III (U) [SLUS-20062].iso" size 4640997376 crc 431c2b33 md5 c4c935cc566a32a81af471fef6cde741 sha1 c053ffcbe14d7176608a3d4c113319dfacf91391 )
)
-----End DAT-----

2. I load the DAT and ISO into Romcenter and it shows the following:

Image

Image

3. The CRC's match, but the size is reported incorrectly. This is how Windows reports the size:
Image

So the DAT size matches what Windows is reporting, but it is not being calculated correctly in Romcenter. I know that I can just zero out the size in the DAT to have Romcenter ignore it, but I would prefer not to have to manually update DATs. Any help on this would be greatly appreciated.

Re: Bug regarding files over 4GB

Posted: Tue Feb 17, 2009 6:52 pm
by RomCenter
I will have a look at this bug.

Could you please use the board image upload feature instead of linking external sites ? I will be clearer and available at all time in the thread.

Re: [BUG 3.20] Bug regarding files over 4GB

Posted: Mon Mar 09, 2009 8:32 pm
by RomCenter
I did some try with a 4 GB file and it works.
Could you give the size calculated by romcenter ?

Re: [BUG 3.20] Bug regarding files over 4GB

Posted: Mon Apr 20, 2009 7:05 pm
by odelta
Sorry it's taken so long to get back to you on this. Here is a recap of the problem I'm having:

- The DAT shows the file size should be: 4640997376 bytes.

- Windows shows the file size as actually 4640997376 bytes (4.32GB), which matches the DAT.

- When the DAT is loaded into RomCenter (before the actual ISO is loaded), it shows that RomCenter expects the ISO to be "4.0GB". But this is incorrect. It should show "4.32GB" instead.

- When the ISO is loaded into RomCenter, it calculates the size of the ISO as 4.32 GB (4640997376 bytes), which is actually correct. But since RomCenter is expecting the size to be "4.0GB" it rejects the file as not a match. BTW, the CRC matches exactly so it can't be rejected because of that.

So, I don't know exactly what's wrong. Do you think there may be a problem with the DAT? Or could it be the way RomCenter is reading the DAT?

Thanks for looking into this. Let me know what you think.

Re: [BUG 3.20] Bug regarding files over 4GB

Posted: Mon Apr 20, 2009 8:37 pm
by RomCenter
Rc 3.31 still have troubles ?

Obviously the problem is when rc reads the dat. (the size in the dat is correct).
Could you post the dat or give me the name so that I can download it ?

Re: [BUG 3.20] Bug regarding files over 4GB

Posted: Tue Apr 21, 2009 4:40 am
by odelta
I haven't had a chance to try out the new RC 3.31 yet. I'll be able to do that tomorrow. In the meantime, I've attached the DAT that I'm using.

Re: [BUG 3.20] Bug regarding files over 4GB

Posted: Wed Apr 22, 2009 5:01 am
by odelta
I was able to try RC 3.31 today. Unfortunately, I get the same results.

Re: [BUG 3.20] Bug regarding files over 4GB

Posted: Thu May 07, 2009 2:26 pm
by RomCenter
I found the problem :super:

Datutil 2.45 does not support 64bits roms size. (Datutil is used to convert any dat to xml standart format).

Good news, thanks to Logiqx, version 2.46 is out with 64bits support. Go to logiqx datutil page, download the last version and replace datutil.exe in your rc installation path (usually c:\program files\romcenter)

Re: Fixed [BUG 3.20] Bug regarding files over 4GB

Posted: Sat May 09, 2009 4:58 am
by odelta
Excellent! It works perfectly now with the new Datutil. I appreciate all your help with this. Thanks!

Re: Fixed [BUG 3.20] Bug regarding files over 4GB

Posted: Sat May 09, 2009 12:58 pm
by RomCenter
Thanks to you for your help and your patience. :super: