Fixed [BUG 3.20] Bug regarding files over 4GB

Bugs are now stored in a bug tracker application. Click on the "Support/Bug reports" link above.

Moderator: Wanderer

Locked
odelta
Pong
Pong
Posts: 1
Joined: Sun Feb 15, 2009 5:07 pm

Fixed [BUG 3.20] Bug regarding files over 4GB

Post 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.

User avatar
RomCenter
Author
Author
Posts: 1519
Joined: Fri Sep 28, 2001 12:34 pm
Location: France
Contact:

Re: Bug regarding files over 4GB

Post 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.
Eric - RomCenter developer
Report bugs here.

User avatar
RomCenter
Author
Author
Posts: 1519
Joined: Fri Sep 28, 2001 12:34 pm
Location: France
Contact:

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

Post by RomCenter »

I did some try with a 4 GB file and it works.
Could you give the size calculated by romcenter ?
Eric - RomCenter developer
Report bugs here.

odelta
Pong
Pong
Posts: 1
Joined: Sun Feb 15, 2009 5:07 pm

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

Post 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.

User avatar
RomCenter
Author
Author
Posts: 1519
Joined: Fri Sep 28, 2001 12:34 pm
Location: France
Contact:

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

Post 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 ?
Eric - RomCenter developer
Report bugs here.

odelta
Pong
Pong
Posts: 1
Joined: Sun Feb 15, 2009 5:07 pm

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

Post 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.
Attachments
Sony PlayStation 2 (1014) (2009-02-11 17-38-56).zip
PS2 DAT
(93.36 KiB) Downloaded 1831 times

odelta
Pong
Pong
Posts: 1
Joined: Sun Feb 15, 2009 5:07 pm

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

Post by odelta »

I was able to try RC 3.31 today. Unfortunately, I get the same results.

User avatar
RomCenter
Author
Author
Posts: 1519
Joined: Fri Sep 28, 2001 12:34 pm
Location: France
Contact:

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

Post 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)
Eric - RomCenter developer
Report bugs here.

odelta
Pong
Pong
Posts: 1
Joined: Sun Feb 15, 2009 5:07 pm

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

Post by odelta »

Excellent! It works perfectly now with the new Datutil. I appreciate all your help with this. Thanks!

User avatar
RomCenter
Author
Author
Posts: 1519
Joined: Fri Sep 28, 2001 12:34 pm
Location: France
Contact:

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

Post by RomCenter »

Thanks to you for your help and your patience. :super:
Eric - RomCenter developer
Report bugs here.

Locked